Repository navigation
feat(ci): docs-affected map-integrity lint + count-0 map-gap nudge - #513
Conversation
|
📝 Doc-accuracy review (advisory · scoped · Layer 2) Reviewed:
Findings:
Advisory & scoped to the pages the change touches — recall for cross-cutting or unmapped drift is covered by the weekly Layer 3 audit. |
|
📝 Doc-accuracy review (advisory · scoped · Layer 2) Reviewed:
No contradictions found in the reviewed pages. Both edits are accurate to the code:
Advisory & scoped to the pages the change touches — recall for cross-cutting or unmapped drift is covered by the weekly Layer 3 audit. |
Summary
Follow-up hardening for the doc-accuracy net (#490) — issue #512. Makes the hand-authored docs-affected map self-defending, and closes a feedback-loop gap in the Layer-2 reviewer.
Changes
scripts/docs-affected.py— new--validate: a whole-map integrity check. Exits non-zero on any stale entry (a mapped page/dir that no longer exists — deterministic map rot); warns (non-blocking) on source subsystems with no map key..github/workflows/build-docs.yml— run--validateas a blocking Layer-1 gate alongside the telemetry + link/xref gates; the map + resolver join the trigger paths so a map-only edit is validated too..github/workflows/doc-accuracy-review.yml— post the unmapped/stale map-gap nudge even when 0 pages are affected. Previously the review step (and its nudge) was skipped on count-0 PRs, so a change touching only unmapped source surfaced no prompt to extend the map.Why this shape
Unmapped subsystems don't need a hard gate — Layer 3's weekly whole-corpus audit is the correctness floor (it reads the whole corpus, map-independent). Stale entries are deterministic map rot, so they block. The count-0 nudge closes the "adjust the map" feedback loop at the earliest actionable moment (the PR that introduces unmapped code) instead of waiting for L3 to catch the drift and hoping someone back-infers the missing key.
Validation (local)
--validate: clean tree → exit 0 (18 areas, 0 stale); a synthetic moved page → exit 1 naming the entry.count/nudgeextraction logic verified on count-0 and count>0 inputs.build-docs.yml's new--validatestep runs on this very PR (workflow taken from the PR head), so the gate dogfoods here.Also in this commit
Carries two pending, unrelated doc-accuracy corrections: the
DurabilityOverride"declared but not wired into the engine" fixes indoc/feature-set/README.mdanddoc/in-depth-overview/11-durability.md.Part of #490 · #512.
🤖 Generated with Claude Code
https://claude.ai/code/session_01E8KzH4pPW5Dq7Y94NXfgrM