Repository navigation
Description
Parent
Part of #401. Verifiability-coherence track. Sibling to #429.
Problem
The docs/plans/*.yaml manifests are now load-bearing for verification (topology-target.yaml, migrations.yaml, file-size-budgets.yaml, test-ownership.yaml, and the cross-cut tags inside topology-target.yaml). Each is consumed by a lint that gates devtools verify --quick. But nothing verifies the manifests themselves.
Concrete rot vectors observed or possible today:
- Stale issue refs. Manifest entries cite owning issues by number (
owner: "#414",until: "#403",issue: "#413"). When an issue closes, no lint flags exceptions or migrations whose owning issue is gone — a closed sunset never triggers cleanup. - Target collisions across issues. Two cells in
topology-target.yamlcan declare the sametarget:path.verify-topologyflags this as a conflict, but only if both rows are present. A target that collides with the kernel-rule path (polylogue/__init__.pyetc.) is not flagged. - Cross-cut vocabulary drift.
cross_cut: { layer: read | write | both }is a controlled vocabulary, butverify-cross-cutsdoes not assert that values are drawn from the declared enum. A typo (layer: reads) silently passes. - Untagged structural cells.
verify-cross-cutsis clean today partly because most cells have nocross_cut:block. The lint cannot demand coverage without a coverage manifest (covered separately by feat(devtools): evidence-driven structural specification — cross-cut manifest, witness, dashboard #432, but the underlying check belongs here). - Path divergence.
must_vanish_pathsinmigrations.yamlmay reference a path that no longer exists; the migration reportscompletefor the wrong reason (file moved, not retired). - Owner mismatches. A cell with
owner: "#414"whosetarget:does not begin with the path refactor: rationalize product ownership and package boundary #414 declares it owns slips through.
Target
Add devtools verify-manifests and run it in verify --quick. The lint reads every docs/plans/*.yaml and checks:
Universal (all manifests)
- Every cited issue (
owner:,until:,issue:) exists. Usegh api repos/:owner/:repo/issues/:nor a cached map. - Closed issues are flagged with
[warn]forowner:/issue:(work is "owned" by something complete) and[block]foruntil:(sunset never fired). - Every path in any manifest exists in the realized tree (or is declared by a
must_vanish_pathsmigration entry, in which case it is expected not to exist post-completion).
topology-target.yaml
- No two cells declare the same non-
TBDtarget:path. - No cell's
target:collides with a kernel-rule path unless the cell hasowner: kernel. - Cross-cut tag values come from the declared enums (
layer ∈ {read, write, both},lifecycle ∈ {runtime, model, both},api ∈ {sync, async, none},surface ∈ <known-set>). - Cells under a package matching
*_runtime.py,*_models.py,facade*, orsync*must declare the corresponding cross-cut tag (escalation strictness controlled per feat(devtools): evidence-driven structural specification — cross-cut manifest, witness, dashboard #432).
migrations.yaml
must_vanish_pathsresolve to either an existing path (migration not yet complete) or a confirmed-deleted path (migration complete) — but not to a path renamed elsewhere in the tree (that's an aliasing bug).must_vanish_cli_commandscorrespond to actual CLI commands found in the proof catalog or the rendered CLI reference.must_vanish_devtools_commandscorrespond to actual devtools commands in the catalog.
file-size-budgets.yaml
- Every
exceptions[*].pathexists in the realized tree. - Every per-package ceiling key resolves to a directory that exists.
test-ownership.yaml
- Every
untested[*].pathandshared[*].pathexists. - No
untested:entry has a corresponding test that imports it (justification is stale).
Why this matters
- The manifests are the source of truth for the verification system. If they rot silently, every lint downstream is producing confident-looking output against drifted inputs.
- This is the meta-meta gap: verifying the verifiers' inputs. Not having it means a contributor closing an issue can leave behind orphaned manifest entries that no lint will ever surface.
Acceptance (executable)
devtools verify-manifests # exits 0; reports [info] for stale-issue warnings
devtools verify-manifests --strict # treats stale-issue warnings as blocking
Wire verify-manifests into devtools verify --quick.
Related
- feat(devtools): make architectural cohesion executable #429 (executable topology) — uses
topology-target.yaml; this issue protects its input. - feat(devtools): evidence-driven structural specification — cross-cut manifest, witness, dashboard #432 (cross-cut manifest) — adds the cross-cut vocabulary; this lint enforces the controlled-vocabulary check.
- Soft-mode escalation manifest (sibling) — this lint validates manifest structure; the escalation lint validates manifest signals.
Cross-reference: holistic assurance umbrella
Filed 2026-04-27. This issue is part of the holistic assurance coverage map (#506) which restructures verifiability work around four tracks (stop lying / coverage map / routing-proof-pack / product confidence) and introduces an Oracle primitive (#507), declarative coverage manifests (#508 assurance-domains, #509 oracle-quality), and operator-facing proof packs (#510).
Read in conjunction with #506 to see how this issue fits into the broader confidence model.
Activity
Sinity commentedon Apr 29, 2026
Implemented: #478 test fixes, Oracle primitive, suppressions scaffolding, manifest consistency lint, and Track B coverage manifests.
feat(proof): land verifiability ontology foundation — Oracle, Assuran…
feat(proof): land verifiability ontology foundation — Oracle, Assuran…