The scheme is most useful when documentation evolves with the project rather than following it later.
workflowgovernance
Review documentation in the same change that alters documented behavior or rationale.
What it does
Treats manual source as maintained project material with validation in local workflows and continuous integration.
How it works
- Run
check in CI for every proposed change. - Use
watch while restructuring or writing several entries. - Update What when contracts change, How when implementation boundaries move, and Why when constraints or decisions change.
- Preserve entry IDs during title edits and review the built artifact before release.
Why it works this way
Documentation drift is primarily a workflow problem. Co-locating review and enforcing the minimum contract makes stale reasoning easier to catch when relevant context is still available.
Evidence
- README.md
README.md - scripts/manual.py
scripts/manual.py
Related: Scope and inventory · Agent adaptation workflow
Agent adaptation workflow
#
agentshandoff
Agents use the same schema, evidence expectations, and validation gate as human authors.
What it does
Gives coding and documentation agents an explicit protocol for discovering, drafting, checking, and handing off a project manual.
How it works
- Read the schema and the project sources in scope.
- Inventory behavior and architecture before drafting entries.
- Cite implementation-specific claims and label inferred rationale.
- Preserve stable IDs, run validation and generation, then report warnings requiring human judgment.
Why it works this way
Structured outputs reduce ambiguity between tools and sessions. Using the human workflow also keeps agent-produced documentation reviewable instead of creating a separate, opaque automation path.
Evidence
- README.md
README.md - scheme/manual.schema.json
scheme/manual.schema.json - tests/test_manual.py
tests/test_manual.py
Related: Facts, inference, and rationale · Maintenance lifecycle