docs: close the documentation drift found by the final truth audit #77
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 578 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.381
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #77"
general
weight: 0.35
Xander-Xai
Documentation and comments only. No architecture, config, evidence level or capability changed, and no boundary was weakened to make a claim fit.
P0 — architecture contradiction
docs/README.mdanddocs/deployment-guide-k8s.mdboth describeddeploy/k8s/as "API gateway only", while the manifest runs the repositoryDockerfilewhose entrypoint ispython app.py. The K8s guide contradicted itself six sections later, where it correctly states the entrypoint is the monolith. Both now say one workload — the FastAPI monolith — and nameapi-gateway/as the component the manifest does not deploy.Taxonomy
SYNTHETIC DEMOwas used beside the six evidence levels in five documents while being defined in none — precisely whatdocs/evidence-map.mdrule 6 forbids. It is now registered in the existing "Run outcomes that are not evidence levels" table as fixture provenance, with a rule that it sits beside the evidence column and can never satisfy an upgrade path. It remains a literal UI marker the demo capture script requires, which is what it actually is.Microservice inventory
Every document listing the retained service components named four;
cache-service/andrewrite-service/are also tracked and carry code. All seven lists now name six.docs/final-canonical-runtime-audit.mdadditionally asserted exhaustiveness, which is what made the omission a claim rather than an abbreviation.Audit action inventory
common/audit.py'sKNOWN_ACTIONSregisters nine actions. The truth audit listed nine; the PRD listed five and the runbook seven, both omittingknowledge.source.trust_decisionandknowledge.source.quarantine. Both now list all nine and point at the constant as canonical.Dead references
| Where | Defect |
|---|---|
|
monitoring/prometheus/alerts.yml×4 |runbook:annotations pointed at#high-error-rate/#high-latency; headings are## HighErrorRate/## HighLatency, so all four silently resolved to the top of the file ||
docs/final-canonical-runtime-audit.md×11 | stalefile:linecitations — blank lines, table headers, unrelated sections — after #70–#75 renamed files ||
CHANGELOG.md2.2.0 | announcesPOST /api/query/upload; that route does not exist (nine routes, none upload; no frontend call) ||
reports/benchmark/README.md| documented abenchmark./latency_ms.schema with no producer;locustfile.pywrites the seven-file artifact toartifacts/performance/<run-id>/||
docs/README.md| claimed everydocs/.mdis indexed or archived;docs/demo/is neither ||
ruff.toml| excludeddocs/superpowers/, removed in #33 |The stale
file:linecitations are replaced with file + section, and the document now states why: a line-number citation in an audit goes stale on the next unrelated edit, and a stale citation invites re-verifying the wrong line.docs/repository-drift-report.mdkeeps its line references on purpose — it is a point-in-time audit whose rows record where a defect was.CHANGELOG.mdis annotatedHISTORICALrather than deleted: retiring an artifact records it, it does not erase it.Comment accuracy
deploy/prometheus.ymlopened by saying it scrapesmonitoring-service; its primary job is the canonical monolith's/api/metrics, and therag-monitoring-servicejob emits none of the six alert metrics.models/adapter_manager.pydocumentedQwen/Qwen2.5-14B; the canonical topology is Qwen3.run_services.pyhardcodescross-encoder-ms-marco-MiniLM-L-6whileconfig.jsonnames different cross-encoders. Left as-is — it is the legacy service path, not the canonical reranker — but the comment now says so instead of implying it is config-driven.Vocabulary
Removed the last
interviewwording from tracked files: two references in the truth audit's lineage and link text, plus a comment incheck_repo_consistency.pydescribing a README section that no longer exists. No recruiter, hiring, résumé, career or interview wording remains in any tracked file.Verification
scripts/check_repo_consistency.pypassesruff check .+ruff format --check .cleantests/test_check_repo_consistency.py,tests/monitoring/,tests/test_runtime_api_metadata.pyREADME.mdalso carries the microservice-inventory correction here so the fact lands atomically with the other six documents; a separate follow-up PR finalizes the rest of the README.🤖 Generated with opencode