You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEAT-LOOP-2026-0251 follow-up] T03#1 — a kept file that an attempt deletes or reverts is missing from its retry note #3613
T03#1 — a kept file that an attempt deletes or reverts is missing from its retry note
Criterion (GATE-01.md, clause 4): "Tree and note. An early refusal keeps or resets
the tree per defaults.retain_on_guard_refusal, as the late refusal does; its retry note
states that verification did not run and lists the paths this attempt changed (or says it
changed none)."
Evidence. A probe drove loop.run() over the oracle's fixture with stubbed dispatch and verify and a kept tree, with fail_fast_deliverables both true and false (same results).
It exited 0 and read the path list in the note for attempt 2:
attempt 1 writes docs/notes.md, attempt 2 deletes it: "(none — this attempt changed no
files)";
attempt 1 edits tracked docs/tracked.md, attempt 2 restores its old content: the same
"(none)" line;
attempt 1 writes docs/notes.md, attempt 2 deletes it and writes docs/second.md: only docs/second.md.
python3 -m unittest tests.test_fail_fast_deliverables -b exits 0 (33 tests); no test
covers these cases. The cause is that attempt_own_paths filters the diff the guard judged,
and a removed or restored file has left that diff. The gap is not new with the #3612 fix:
by the code, the earlier listing used the same diff.
Re-run condition. Either of these:
the note lists a kept file the attempt deleted or reverted, and does not say "changed no
files" in that case, shown by a test for each, with fail-fast on and off. A likely fix:
also take every path in the attempt-start snapshot that is no longer in the diff and whose
digest has changed;
or the operator amends clause 4 to say the list covers only paths still in the diff, and
the note's "changed no files" wording is changed so that it does not claim more.
The first is recommended: it is a small change, and the current line tells the next session
something false.
Activity