job4: SPEC-09 retire-real-state-snapshot
Deleted T4e + its coupled echo note in lib/tests/run-reconcile.sh and the fixtures/real-state.snapshot it read — superseded by SPEC-08's T7, which actually DRIVES the tree_clean/pushed/msg_committed oracles instead of miming them via a static line-count regex. Closes J4-09 (WEAK+drift): T4e only counted fixture line-suffixes matching `=(true|resolved|present)$`; the snapshot itself was stale (BLK-009=open contradicted blockers-snapshot.md's already-resolved status) and unowned, and the drift was inert (`=open` doesn't even match the count regex) — the assertion could never have caught anything. Updated skills/reconcile/SKILL.md:53's hardcoded "20/20" claim to the new total (unguarded file, same logical step, ordered after SPEC-08+ SPEC-10 per the report). grep -c 'real-state.snapshot' lib/tests/run-reconcile.sh == 0 (verified). No red demo (deletion, per spec) — gate is the green run + that grep. GREEN: 25/25 passed, shellcheck clean.
This commit is contained in:
-12
@@ -1,12 +0,0 @@
|
||||
# Frozen oracle answers as of the reconcile point (bdfa9bc). Each value is an
|
||||
# independently-checkable git/fs truth, hand-recorded — NOT generated by reconcile.sh.
|
||||
# Consumed by the deterministic kernel test (T4). Live oracles are proven separately (T6).
|
||||
merge_done:bugfix/prune-memory-hardening=true
|
||||
pushed:develop=true
|
||||
tree_clean=true
|
||||
commit_msg:gitmodules=true
|
||||
path:.claude/skills/darwin-skill=present
|
||||
blk_current:BLK-008=resolved
|
||||
blk_current:BLK-009=open
|
||||
blk_current:BLK-001=open
|
||||
blk_current:BLK-003=open
|
||||
@@ -57,9 +57,6 @@ if [ "$(reconcile_verdict ' ' true)" = "STALE:open-but-done" ]; then ok "T4a
|
||||
if [ "$(reconcile_verdict 'x' false)" = "STALE:done-but-open" ]; then ok "T4b 'x'+!done → STALE"; else no "T4b wrong"; fi
|
||||
if [ "$(reconcile_verdict '~' true)" = "STALE:partial-but-done" ]; then ok "T4c '~'+done → STALE"; else no "T4c wrong"; fi
|
||||
if [ "$(reconcile_verdict 'x' true)" = "CONSISTENT" ]; then ok "T4d 'x'+done → CONSISTENT"; else no "T4d wrong"; fi
|
||||
truths=$($GREP -cE '=(true|resolved|present)$' "$FIX/real-state.snapshot")
|
||||
if [ "$truths" -ge 6 ]; then ok "T4e snapshot supplies $truths real-true facts → kernel yields STALE for the 6 git-verifiable items"; else no "T4e snapshot facts=$truths (<6)"; fi
|
||||
echo " (7th cat-4 item — twin doc-sync [~] cross-ref — is SURFACED for review, not auto-verified: honest limit)"
|
||||
|
||||
echo; echo "=== T5 contradiction candidates (surface, never assert) ==="
|
||||
cand=$(reconcile_contradiction_candidates "$FIX/decisions-snapshot.md" "$FIX/todo-snapshot.md")
|
||||
|
||||
@@ -50,4 +50,4 @@ Reconciling the TODO edits a tracked file → never silent. Show the proposed di
|
||||
- Writing a disclaimer ("à vérifier si déjà fait") instead of verifying → the engine verifies, it never hedges-and-advances.
|
||||
|
||||
## Validation
|
||||
`bash lib/tests/run-reconcile.sh` → 20/20, shellcheck clean. Oracle of record = the 2026-06-29 inventory (7 gaps + 3 blocked + 5 deferred + 1 contradiction), fixtures frozen under neutral names in `lib/tests/fixtures/`.
|
||||
`bash lib/tests/run-reconcile.sh` → 25/25, shellcheck clean. Oracle of record = the 2026-06-29 inventory (7 gaps + 3 blocked + 5 deferred + 1 contradiction), fixtures frozen under neutral names in `lib/tests/fixtures/`.
|
||||
|
||||
Reference in New Issue
Block a user