Documentation Governance
When docs and code drift, trust sources in this order:
- task tracking
- implementation files
- interface contracts and runtime scripts
- infra templates and deploy scripts
- summary docs
Update Rules
Update documentation when:
- onboarding changes
- commands change
- routes or APIs change
- runtime configuration changes
- architecture boundaries change
- observability expectations change
- error-handling expectations change
- validation workflow changes
- mobile UX workflow expectations or quality rules change