1.4 KiB
1.4 KiB
Documentation Strategy
This repository's documentation should help both humans and Codex agents make safe, accurate changes.
Principles
- Authority first: identify authoritative files clearly (Compose +
services-up.shfor runtime; Terraform for structured inventory/reconciliation). - Task-oriented docs: include practical workflow steps, not only conceptual text.
- No speculation: document implemented behavior, not aspirational designs without code evidence.
- Cross-linking: root README and topic docs should point to each other for discoverability.
- Safety clarity: explicitly note what should not be committed or applied casually.
Documentation quality checklist
Before merging doc changes, check:
- Is this statement verifiable from current repo files?
- Does this conflict with existing docs?
- Does this clarify source-of-truth boundaries?
- Does this improve a real workflow for contributors/Codex?
- Are sensitive details excluded?
Recommended update cadence
Update docs when any of these change:
services-up.shcomposition behavior,- major Compose directory or profile structure,
- Terraform workflow conventions,
- inventory output shapes,
- secret handling conventions.
Audience-specific outcomes
- Humans should quickly understand how to operate the repo safely.
- Future Codex runs should quickly identify authoritative files, guardrails, and reconciliation workflows.