Documentation Reality Audit Program
Documentation Reality Audit Program
Section titled “Documentation Reality Audit Program”This program tracks aspiration vs fulfillment and documentation vs code truth using a single machine-readable backlog. It complements (does not replace) vox ci guards such as command-compliance, retired-symbol-check, and ssot-drift.
Authoritative artifacts
Section titled “Authoritative artifacts”| Artifact | Purpose |
|---|---|
contracts/documentation/docs-reality-audit.program.v1.yaml | Taxonomy, scoring formula, priority bands, cadence |
contracts/reports/docs-reality-audit/inventory.v1.json | Claim inventory (high-authority docs/contracts + path hints) |
contracts/reports/docs-reality-audit/findings.v1.json | Triaged mismatches with dual-track classification |
contracts/reports/docs-reality-audit/metrics.v1.json | Rollout / queue health snapshot (regenerated; safe to commit) |
*.schema.json (same directory) | JSON Schema enforced by vox ci docs-reality-audit verify |
# Validate schemas, score invariants, and that inventory path hints resolvecargo run -q -p vox-cli -- ci docs-reality-audit verify
# Recompute metrics (stdout; add --write to refresh metrics.v1.json)cargo run -q -p vox-cli -- ci docs-reality-audit metrics --writevox ci ssot-drift runs docs-reality-audit verify after contracts-index.
Classification (dual-track triage)
Section titled “Classification (dual-track triage)”Every finding uses one primary class:
- CodeDeficit — spec/doc intent not fully implemented
- DocDeficit — code behavior not reflected in docs
- IntentionalHistorical — dated or superseded narrative; not current normative behavior
- AmbiguousNeedsDecision — needs an explicit architecture/product call before changing either side
Add secondary tags (e.g. naming-drift, security-policy) in the finding row when useful.
Priority score
Section titled “Priority score”PriorityScore = Impact×2 + BlastRadius×2 + Staleness + EnforcementGap + Tractability (see program YAML for band thresholds).
Operating cadence
Section titled “Operating cadence”- Weekly: extend inventory / findings for files touched in the branch; re-run
verify - Monthly: full pass over
docs/src/claims and hygiene of closed vs open findings - Release: focus on
docs/src/reference/cli.md, env vars, and operations catalog parity
Automation
Section titled “Automation”- Optional orchestration:
vox run scripts/docs-reality-audit-cycle.vox(verify + metrics write) - CI catalog entry:
contracts/ci/check-targets.v1.yamliddocs-reality-audit(standalone job; pre-push still gets coverage viassot-drift)
Related
Section titled “Related”- Documentation governance — authority tiers and
statusvocabulary - Command compliance reference — registry and parity SSOT
- Where things live —
vox ciimplementation paths