fix(tests): R5.7 gate findings, digest typo, census needs #[test] fns

RUST.md and FILES.tsv carry ba79698c...fde7; ledger cargo targets must name a #[test]
function. Verifier and security reports recorded, journal entry.
This commit is contained in:
bchanot committed 2026-10-25 04:18:52 +01:00
1 parent 4e0a6c04d6
commit 475a41d705
5 files changed
+32 -3

No files matched your search

@@ -0,0 +1,20 @@
# R5.7 fresh verifier, 2026-10-25 (diff 756b7ef..4e0a6c0, contract `.claude/tasks/contracts/2026-10-25-rust-r5-7-cleanup.md`)
VERDICT: ECARTS(2). C1-C5, C7, C9, C10 MET; C6 NOT-MET; C8 NOT-MET.
- C6: `tsx@4.23.15` still in pnpm-lock.yaml (`packages:`, `snapshots:` with the diff's one added line `optional: true`,
peer suffix of vite@7.3.6 / vitest@3.2.7), installed under node_modules/.pnpm; declared by no manifest; documented
(RUST.md §11.23, CHANGELOG, r5.census asserts `optional: true`); `pnpm dedupe --check` clean. Contract says "tsx gone",
no Clarification → owner decision (accept residue, or a lockfile change).
- C8: RUST.md §11.23 abbreviated report-v2.minimal.json digest as `ba79698c…dfe7` (actual `…7399c33cfde7`). Fixed after
the pass (RUST.md, FILES.tsv note): `…fde7`.
- Evidence of the pass: cargo test core cli,upload 382 passed 1 ignored (pre-existing release-only timing); 154/154 ledger
targets in `--list`; vitest app 446, core-wasm 60, supabase 40, census 18/18; typecheck, lint rc 0; fmt, clippy ×2, deny
ok; `pnpm import:equine --check` 0 differences; fixtures sha256 equal before/after; no diff under oracles, goldens,
conformance, pdf ledger, app fixtures, supabase/seed, migrations, n-1, types; 18 seed hashes equal the §11.23 table;
every "ported at R5.7" ledger row checked TS-vs-Rust; random sample of other rows consistent.
- FLOOR: 42 `DELETED_TEST` hits, all files of the two deleted packages; covered by the contract's deletion clause and
LEDGER.tsv (verifier reading; orchestrator may require an explicit Clarification).
- Notes: leftover scratch worktrees (ts-repro, prev-59521dc, r56final, r56wt) and git-ignored
`packages/{anatomy,domain}/node_modules` = owner housekeeping.
- After the pass (not re-verified): security LOW "census accepts any `fn`" fixed, ledger cargo targets must be `#[test]` fns.