docs: seed Golden Context#343
Conversation
Adds ARCHITECTURE.md, AGENTS.md, .bito.yaml + guidelines, docs/ADRs/ (6 ADRs + index), and docs/specs/ scaffold. Enriches existing CONTRIBUTING.md with testing, linting, BC check, branch strategy, release workflow, and CI/CD table. Appends agent navigation section to README.md. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Code Review Agent Run #0e4556Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Changelist by BitoThis pull request implements the following key changes.
|
Impact Analysis by BitoInteraction DiagramsequenceDiagram
participant Dev as Developer
participant BitoYaml as .bito.yaml<br/>🟩 Added | ●●● High
participant DomainInv as domain-invariants.txt<br/>🟩 Added | ●●● High
participant RepoTruth as repo-truth-and-boundaries.txt<br/>🟩 Added | ●●● High
participant ReviewPost as review-posture.txt<br/>🟩 Added | ●●● High
Dev->>BitoYaml: Create file with Bito config
Dev->>DomainInv: Add backward compatibility rules
Dev->>RepoTruth: Add documentation alignment rules
Dev->>ReviewPost: Add review posture guidelines
BitoYaml->>BitoYaml: Enable sequence_diagram_enabled
DomainInv->>DomainInv: Define resource pool invariants
RepoTruth->>RepoTruth: Set repo boundaries
ReviewPost->>ReviewPost: Establish review guidelines
DomainInv->>DomainInv: Include link resolution depth rules
DomainInv->>DomainInv: Add PHP version minimum
This MR adds a .bito.yaml configuration file and three guideline files to the contentful.php repository. The .bito.yaml enables Bito AI features like sequence diagrams, while the guidelines define domain invariants (including resource pool for persistence, link resolution for integration, and PHP version for communication), repository boundaries, and review posture. No code changes were made, so the library's runtime behavior and user journeys remain unaffected. Future PR reviews will follow these guidelines to maintain backward compatibility and architectural integrity. Code Paths AnalyzedImpact: Flow: Direct Changes (Diff Files): Repository Impact: Cross-Repository Dependencies: Database/Caching Impact: API Contract Violations: Infrastructure Dependencies: Additional Insights: Testing RecommendationsFrontend Impact: Service Integration: Data Serialization: Privacy Compliance: Backward Compatibility: OAuth Functionality: Cross-Service Communication: Reliability Testing: Additional Insights: Analysis based on known dependency patterns and edges. Actual impact may vary. |
✅ Review Settings OverriddenStatus: Guidelines:
Note: Extra guidelines beyond 3 general purpose guidelines and 1 language specific guideline per language are not processed. Guidelines are fetched from the source branch. |
Summary
Seeds the full Golden Context artifact set into
contentful.phpso that any engineer (or AI agent) can get productive quickly and work safely without a human tour guide.Coverage: Before → After
README.mdARCHITECTURE.mdAGENTS.mdCONTRIBUTING.mddocs/ADRs/docs/specs/.gitkeep+ README.bito.yaml.bito/guidelines/ADRs Generated
contentful/coreas the shared SDK foundationFlagged Items
php-vcris also unmaintained. Existing cassettes are preserved but new integration tests should use Guzzle mock handlers. Documented in ADR-0005 and AGENTS.md.LocalizedResource::$sysPHPStan violation — Intentionally unfixed (fix requires PHP 8.2+ attribute that would break PHP 8.1 consumers). Documented in ADR-0004 and AGENTS.md.feat:/fix:/chore:prefixes by convention but nothing enforces it. Could be added viacommitlintin a follow-up.Redactions Applied (PUBLIC repo)
contentful.atlassian.net/wiki/...) from AGENTS.md and CONTRIBUTING.md. Replaced with a reference to the release workflow section within CONTRIBUTING.md itself.Checklist
<!-- Generated by seed-golden-context | Last updated: 2026-05-11 -->composer.jsonscripts and.github/workflows/ci.yml— no invented commands🤖 Generated with Claude Code
Summary by Bito
Seeds the full Golden Context artifact set into contentful.php so that any engineer (or AI agent) can get productive quickly and work safely without a human tour guide, establishing comprehensive documentation including architecture overviews, development guidelines, and decision records.
Detailed Changes