The scheme is most useful when documentation evolves with the project rather than following it later.
workflowgovernancereview
Review documentation in the same change that alters behavior, and renew the review record on an explicit interval.
What it does
Treats manual source as maintained project material with validation, review reporting, and continuous integration.
How it works
- Run check and review --strict in CI for every proposed change.
- Set manual.reviewed to the date and commit of the last substantive review. interval_days defaults to 180 days.
- 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 wayrecorded
Documentation drift is primarily a workflow problem. A review record shows when a person last examined the material, while co-located review and a minimum contract make stale reasoning easier to catch when relevant context is still available.
Evidence
- README.md
README.md - scripts/manual.py
scripts/manual.py - .github/workflows/verify.yml
.github/workflows/verify.yml
Related: Scope and inventory · Agent adaptation workflow · Review status and freshness
Review status and freshness
#
reviewfreshnessprovenance
A manual records when it was last reviewed and reports entries that still need attention.
python3 scripts/manual.py review SOURCE [--check-evidence] [--strict]
What it does
Reads manual.reviewed and reports unreviewed, stale, inferred, missing-evidence, and weak-evidence items without rewriting the source.
How it works
- Set manual.reviewed.date and manual.reviewed.commit when a human completes a substantive review.
- Set manual.reviewed.interval_days to the project's review cadence; the default is 180 days.
- Run review to list items for human attention, and review --strict when CI should fail on any item.
- Pair review with --check-evidence and --check-urls when the review should also verify targets.
Why it works this wayrecorded
A review date is only useful if readers can see it and maintainers are prompted to renew it. A separate report preserves human judgment while making neglect visible to automation.
Evidence
- scheme/manual.schema.json
scheme/manual.schema.json - scripts/manual.py
scripts/manual.py - tests/test_manual.py
tests/test_manual.py
Related: Validation and visible gaps · Optional writing lint · Maintenance lifecycle
Agent adaptation workflow
#
agentshandoff
Agents use the same schema, provenance expectations, review report, and validation gate as human authors.
What it does
Gives coding and documentation agents an explicit protocol for discovering, drafting, checking, reviewing, 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.
- Set why_basis and cite implementation-specific claims.
- Preserve stable IDs, run check, review, and build --check, then report warnings and review items that require human judgment.
Why it works this wayrecorded
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 - .github/workflows/verify.yml
.github/workflows/verify.yml
Related: Facts, inference, and rationale · Maintenance lifecycle · Review status and freshness