Boris content audit ratchet
Maintenance ID: 0.1.00304.boris-content-audit-ratchet
Date: 2026-12-02
Scope: metadata/boris-content-audit-version.json, metadata/content-audit-baseline.json, metadata/content-audit-policy/, scripts/ensure-boris-content-audit.sh, scripts/filed-content-audit.sh, scripts/check_content_audit_baseline.py, audit regression tests, CI, operator documentation, reports/boris-content-audit-integration.md, content/changelog.md, and README census totals.
What changed
- Integrated the standalone
boris-content-audittool as pinned, read-only poetry telemetry. The tool is pinned to upstreamv0.8.2commita87537230595c4b4e9ed0cf48432a7c1416e0f7fand built with Zig 0.16.0 throughscripts/ensure-boris-content-audit.sh. - Added
scripts/filed-content-audit.sh, which checks derived ownership-policy drift, writes full-tree and scoped audit reports under.tools/content-audit/, and enforces the committed regression ratchet. - Added
metadata/content-audit-baseline.json. The ratchet permits inherited ambiguity to remain visible but fails new structural exceptions, duplicate-coverage multiplicity growth, loss of previously present coverage, malformed-coverage appearance, and growth in malformed verse units across the full poetry tree. - Corrected the audit population so generic
relates_tolinks are not treated as poetry-ownership evidence. Ownership evidence now comes from the reviewed exact mappings derived from canonical recovery metadata; ordinary semantic links remain semantic links. - Regenerated the content-audit policy summary. Its poetry census had drifted while the derived mapping table had not.
- Added a CI content-audit lane with regression tests, report artifacts, step summaries, and final status enforcement. Generated reports remain local or CI artifacts and are not committed.
- Documented the fit, measurements, upstream grammar limitations, and operating commands in
reports/boris-content-audit-integration.md.
What was deliberately left alone
- No poems, mascot records, lorelog records, reference records, IDs, parents, tags, or semantic relations were edited.
- No orphan poetry was assigned a new owner. No missing verse was generated. The audit observes those states; it does not repair them by enthusiasm.
- The duplicate-coverage cases already present at integration time remain in the baseline. They are inherited evidence, not newly certified truth.
- The full-tree audit's
missing_idfindings for path-derived changelog records were not normalized. Boris derives changelog identity from paths; the standalone auditor's explicit-ID requirement is a tool limitation, not an archival defect. - Publication certification remains governed by Boris and
./bin/validate_graph.sh. The audit is development telemetry and regression control, not publication evidence.
Verification performed
python3 scripts/build_content_audit_policy.py --check— PASS; committedpolicy.jsonandsummary.jsonmatch fresh deterministic generation.python3 scripts/test_content_audit_policy.py— PASS; all 16 checks passed.python3 scripts/test_content_audit_baseline.py— PASS; all 12 tests passed.python3 scripts/test_ensure_boris_content_audit.py— PASS; all 4 tests passed.python3 scripts/test_ensure_boris.py— PASS; all 13 tests passed../scripts/ensure-boris-content-audit.sh --provision— PASS; built the pinned audit binary with Zig 0.16.0../scripts/filed-content-audit.sh— PASS; policy drift check passed, full/scoped reports were generated, and the ratchet passed with 14 baseline structural exceptions and 468 source records checked../bin/validate_graph.sh— PASS.
Unresolved follow-up
- The upstream audit CLI reports
boris-content-audit/0.8.2, whilereport.jsoncarriestool_version: "0.1.0". Filed preserves that upstream value in the pinned report contract rather than rewriting it. - The full-tree report remains useful for orphan-poem telemetry but noisy for changelog identity because the standalone auditor does not implement the current Boris path-derived identity convenience. The scoped ratchet avoids treating that limitation as a content failure.
- The 867 unmapped poetry records visible in full-tree telemetry remain unmapped. This is a census observation, not an instruction to manufacture ownership.