Repository navigation
Commit 620deea
EN-132 lane M: ownership manifest, source checker, and the D4 divergence test
Lane m (round 1 + round 2). Adds the revision-3 value-ownership contract as
data plus a source-only checker that reconstructs producers independently and
compares them, with negative controls and an independent D4 reconstruction.
- tests/ownership/manifest.v1.json: the contract (vocabulary, sinks,
admission routes, descriptors, catalog and canonical schema) with a closed
kept_branches section recording the L6 D6 KEEPs (rows 17, 21, 22) and their
function/literal anchors.
- scripts/check_selected_window_ownership.py: reads source only (stdlib, -I
safe), discovers S/G/R/X producers and rejects any divergence from the
manifest; a settlement or native-arming G producer that contradicts a KEEP
is rejected irrespective of the manifest; unknown syntax fails closed.
- tests/ownership/test_manifest_checker.py: negative controls (renames,
omissions, duplicates, same-count swaps, catalog/registry drift, kept-branch
anchor removal and producer gain) on temp copies, plus the route-two D4
reconstruction by evaluating the real report builders.
- wiring: ci_preflight.py, ci_verify.py and tests/CMakeLists.txt register the
checker and the controls.
Round 2 adds the kept_branches decision set and the no-settlement /
no-native-arming G guard. Source-trace only; no checker, test or build was
executed by the lane (the supervisor's box runs them).
Keep every existing file.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>1 parent 44b4d00 commit 620deea
6 files changed
Lines changed: 2000 additions & 0 deletions
File tree
- scripts
- tests
- ownership
0 commit comments