volt: Q141 addendum -- landing readings, clone parity, gate 12/12

This commit is contained in:
volt committed 2026-10-31 21:31:07 +00:00
1 parent 52b9aceff9
commit d896804bf3
3 files changed
+51 -14

No files matched your search

+33
View File
@@ -225,3 +225,36 @@ q136: sandbox FAULT 8 path(s) opened, 0 outside the sandbox,
to Q140 and its directory moved with it.
- Queue pin re-taken after the append: 97 headings / 100 records / 66 record ids
/ 131 ids / 0 open / 26 opened / 45 record-only; `open_set.py --check` rc 0.
## Q141 — the ledger dir census graded its host; now it grades a pinned rev
- Entry state, two verdicts on one commit: `bash CHECK-ledger-dir-census` → rc 1,
594 committed vs 598 re-derived in the worktree; the same check in a clean
clone of `3747f17` → rc 1, 594 vs 580 (20 `__pycache__/*.pyc` rows on the
host, 0 in the clone). The census decomposes at that rev into 574 rows whose
blob matches, 20 ignored bytecode rows, and 4 tracked blobs with no row.
- Repair: `wizard-work/ledger/verify_ledger_dir_census.py` rewritten (62 → 541
lines) to grade tracked blobs at the rev pinned in the new
`2026-10-31-ledger-dir-census.manifest.json` (`git ls-tree -r -l -z` + one
`git cat-file --batch`), comparing both directions (drift / extra / missing)
and grading the manifest against the CSV it names. rc 0/1/2, and an
unresolvable rev is 2, never a pass. Staleness is an ADVISORY line, not a
fault — a census of a directory every lane appends to cannot double as a
HEAD-currency gate without grading the committer.
- The two `os.walk` builders (`build_dir_census.py`,
`build_2026-10-31_ledger_dir_census.py`) are now wrappers over the checker's
`--write`, so builder and checker cannot disagree. `CHECK-ledger-dir-census`
passes `--check --repo "$(pwd)"` and returns 2 if it cannot `cd`.
- Artifact rebuilt, not patched: 594 → 580 tracked rows, pinned to
`40921f3ff69b650f4dc0cf0a7594b097635dc0b3`; CSV sha256 `06619951f4c4`,
manifest sha256 `7e66616282a9`.
- Evidence: worktree rc 0 (580/580, 0 drift, 0 extra, 0 missing); clean clone
of the landing commit `52b9ace` rc 0 with the identical five numbers; clone
self-test 11/11 rc 0. Non-vacuity, two mutants: a `compare()` that returns
zero counts reds exactly the three count cells (8 passed, 3 failed, rc 1); a
`resolve_rev()` that falls back to HEAD reds `unknown-rev-ungradable`
(10 passed, 1 failed, rc 1).
- Gate on the staged tree before the commit: `python3 tools/verify.py` → 12
legs, 12 pass, 0 fault, 0 ungradable, 0 skipped, rc 0.
- Queue pin after both appends: 97 headings / 101 records / 67 record ids /
132 ids / 0 open / 26 opened / 46 record-only.