Keep docs as living artifacts generated and validated from code changes. Use for API, architecture, or workflow updates.
Use whenever changes affect command contracts, public modules, architecture, setup, or operations.
docs:check to enforce no drift.openapi/openapi.generated.json: generated command contract artifactdocs/reference/: generated API/module docsdocs/adr/: architecture decisionsdocs/architecture/overview.md: system boundaries and data flowREADME.md: setup, commands, env table, troubleshooting.env.example is source of truth for env vars.docs:generate must be deterministic.docs:check must fail if generated docs are stale.Return: