Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
5af0ba9
plan(FEAT-LOOP-2026-0251): refuse a missing deliverable before the ve…
Nov 25, 2026
a94cf1e
chore(roadmap): FEAT-LOOP-2026-0251 planned -> active
Nov 25, 2026
738052e
chore(loop): FEAT-LOOP-2026-0251 build pin recorded
Nov 25, 2026
abe743d
chore(loop): FEAT-LOOP-2026-0251 plan baseline snapshot
Nov 25, 2026
fbf5516
feat: T01 — walking skeleton: refuse `produces_not_in_diff` before `v…
Nov 25, 2026
706b14a
feat: T02 — presence refusals early, and the `fail_fast_deliverables`…
Nov 25, 2026
f87d14a
feat: T03 — the retry note lists the paths the attempt did change
Nov 25, 2026
31d37b5
feat: T04 — arm-time warning for an unmentioned `produces:` path, and…
Nov 25, 2026
c66a4d0
chore(loop): gate 1 broad run failed — awaiting_review
Nov 25, 2026
2200ece
fix(FEAT-LOOP-2026-0251): match shape findings precisely in test_prod…
Nov 25, 2026
82b87e3
chore(loop): FEAT-LOOP-2026-0251 build pin recorded
Nov 25, 2026
ec17233
chore(loop): gate 1 broad run clean
Nov 25, 2026
fe7f032
chore(loop): FEAT-LOOP-2026-0251/G1-CLOSE blocked (judge-editing term…
Nov 25, 2026
1bce694
fix(FEAT-LOOP-2026-0251): keep re-plan and honest refusal signals for…
Nov 26, 2026
170f208
chore(loop): FEAT-LOOP-2026-0251/G1-CLOSE re-armed (operator acknowle…
Nov 26, 2026
e55f567
chore(loop): FEAT-LOOP-2026-0251 build pin recorded
Nov 26, 2026
b76ffc6
chore(loop): gate 1 broad run clean
Nov 26, 2026
d1fc68d
feat: G1-CLOSE — terminal close
Nov 26, 2026
216b70a
chore(loop): FEAT-LOOP-2026-0251/G1-CLOSE judge cost fold
Nov 26, 2026
de29580
chore(loop): gate 1 awaiting_review
Nov 26, 2026
f3ae262
chore(loop): FEAT-LOOP-2026-0251 — record the follow-up issues the dr…
Nov 26, 2026
c2c6851
chore(FEAT-LOOP-2026-0251): amend gate 1 definition of done for #3608…
Nov 26, 2026
c66843b
chore(loop): FEAT-LOOP-2026-0251 build pin recorded
Nov 26, 2026
0bf636d
chore(loop): gate 1 broad run clean
Nov 26, 2026
6176256
feat: G1-CLOSE — terminal close
Nov 26, 2026
bcacd2a
chore(loop): FEAT-LOOP-2026-0251/G1-CLOSE judge cost fold
Nov 26, 2026
612999a
chore(loop): gate 1 awaiting_review
Nov 26, 2026
1c8bb73
chore(loop): FEAT-LOOP-2026-0251 — record the follow-up issues the dr…
Nov 26, 2026
f372529
chore(loop): FEAT-LOOP-2026-0251 — state one precedence rule for deli…
Nov 26, 2026
396aa51
chore(loop): FEAT-LOOP-2026-0251 build pin recorded
Nov 26, 2026
1eaac2c
chore(loop): gate 1 broad run clean
Nov 26, 2026
fc3cd2b
feat: G1-CLOSE — terminal close
Nov 26, 2026
9ce2791
chore(loop): FEAT-LOOP-2026-0251/G1-CLOSE judge lowered verdict to no…
Nov 26, 2026
4f8d2d1
chore(loop): FEAT-LOOP-2026-0251/G1-CLOSE judge cost fold
Nov 26, 2026
64e64ba
chore(loop): gate 1 awaiting_review
Nov 26, 2026
f567393
chore(loop): FEAT-LOOP-2026-0251 — record the follow-up issues the dr…
Nov 26, 2026
e61a5b9
fix(loop): retry note lists only the paths this attempt changed (#3612)
Nov 26, 2026
30f2552
chore(loop): FEAT-LOOP-2026-0251 — re-arm the close after the #3612 fix
Nov 26, 2026
6e7cdab
chore(loop): FEAT-LOOP-2026-0251 build pin recorded
Nov 26, 2026
543b99f
chore(loop): gate 1 broad run clean
Nov 26, 2026
506d033
feat: G1-CLOSE — terminal close
Nov 26, 2026
7de6fc8
chore(loop): FEAT-LOOP-2026-0251/G1-CLOSE judge cost fold
Nov 26, 2026
94ad43f
chore(loop): gate 1 awaiting_review
Nov 26, 2026
f660261
chore(loop): FEAT-LOOP-2026-0251 — record the follow-up issues the dr…
Nov 26, 2026
e6ba5e5
fix(loop): retry note lists kept files the attempt deleted or reverte…
Nov 26, 2026
aa946bb
chore(loop): FEAT-LOOP-2026-0251 — re-arm the close after the #3613 fix
Nov 26, 2026
1ebf159
chore(loop): FEAT-LOOP-2026-0251 build pin recorded
Nov 26, 2026
308a5fd
chore(loop): gate 1 broad run clean
Nov 26, 2026
976d533
feat: G1-CLOSE — terminal close
Nov 26, 2026
db17388
chore(loop): FEAT-LOOP-2026-0251/G1-CLOSE judge cost fold
Nov 26, 2026
73c6efc
chore(loop): gate 1 awaiting_review
Nov 26, 2026
7699a78
chore(loop): FEAT-LOOP-2026-0251 — record the follow-up issues the dr…
Nov 26, 2026
6459959
fix(loop): build the retry note's path list by comparing tree state (…
Nov 26, 2026
b63fdbc
chore(loop): FEAT-LOOP-2026-0251 — re-arm the close after the #3614 fix
Nov 26, 2026
10e229c
chore(loop): FEAT-LOOP-2026-0251 build pin recorded
Nov 26, 2026
1029fa7
chore(loop): gate 1 broad run clean
Nov 26, 2026
0f559c7
feat: G1-CLOSE — terminal close
Nov 26, 2026
e9a1b4b
chore(loop): FEAT-LOOP-2026-0251/G1-CLOSE judge lowered verdict to no…
Nov 26, 2026
01e1998
chore(loop): FEAT-LOOP-2026-0251/G1-CLOSE judge cost fold
Nov 26, 2026
aba53a3
chore(loop): gate 1 awaiting_review
Nov 26, 2026
24e0113
chore(loop): FEAT-LOOP-2026-0251 — record the follow-up issues the dr…
Nov 26, 2026
8984c81
fix(loop): retry note leaves out driver bookkeeping by full path, not…
Nov 26, 2026
75d7173
chore(loop): FEAT-LOOP-2026-0251 — amend clause 5 (#3617, #3619), re-…
Nov 26, 2026
1abffca
chore(loop): FEAT-LOOP-2026-0251 build pin recorded
Nov 26, 2026
6ea7011
chore(loop): gate 1 broad run clean
Nov 26, 2026
596d1e7
feat: G1-CLOSE — terminal close
Nov 26, 2026
f0dbfb4
chore(loop): gate 1 awaiting_review
Nov 26, 2026
2a12fdc
chore(loop): FEAT-LOOP-2026-0251/G1-CLOSE terminal flips
Nov 26, 2026
069189c
chore(loop): FEAT-LOOP-2026-0251 — record the follow-up issues the dr…
Nov 26, 2026
6f43013
Merge branch 'main' into feat/FEAT-LOOP-2026-0251-fail-fast-deliverables
clabonte Nov 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Follow-ups — FEAT-LOOP-2026-0251

Seventh close, 2026-11-26. No entry is open. The re-run conditions of #3608, #3609, #3610,
#3612, #3613, #3614, #3617, #3618 and #3619 hold.

## Resolved

#### Definition of done clause 5 (arm-time warning)

**Tracked as #3617.** **Re-run condition holds.** The entry's gap was that clause 5 did not
allow the parent-directory match. `GATE-01.md` clause 5 now says the warning is silent when
the body names the path's parent directory, narrowed under `PLAN.md` decision 7. This
close's probe of `check_produces_mentioned` on `specfuse/loop/loop.py`: silent for the full
path, the file name and `specfuse/loop/data/docs` (the entry's case, which contains the
parent `specfuse/loop`); WARN for a body naming none. The entry's silent result is now the
stated behaviour. With the parent directory dropped from the check in a scratch copy,
`TestArmTimeWarning` gives 1 failure.

- command: `PYTHONPATH=. python3 $TMPDIR/close7/p5.py`
- exit: 0

#### Definition of done clause 4 (tree and note)

**Tracked as #3618.** **Re-run condition holds.** On a kept tree, attempt 2 writing only
`docs/events.jsonl`, or only `docs/PROGRESS.md`, now gets that file in its note, with
fail-fast on and off; so do the same names at the repository root and a `docs/WU-T01.md`.
Writing nothing still says "changed no files". Covered by
`test_agent_files_named_like_driver_bookkeeping_are_listed`. With the base-name filter put
back in a scratch copy, `TestTreeAndNote` gives 2 failures. The driver's own three files in
the feature folder are still left out. Git-ignored files are still not listed; the entry did
not name them (see `RETROSPECTIVE.md`).

- command: `PYTHONPATH=. python3 $TMPDIR/close7/p4.py` (uses
`TestTreeAndNote._second_attempt_note`)
- exit: 0

#### T04#3

**Tracked as #3619.** **Re-run condition holds**, by amendment. T04's RESULT notes still have
not been seen: the driver keeps none for passed attempts. `GATE-01.md` clause 5 ("Measurement
record") accepts the `check_produces_mentioned` docstring and the sixth judge's recount. The
docstring reads 81 and 35 of 401, matching `GATE-01.md`. This close's own recount of `done`
units with `produces:` gave 81 and 35 of 402.

- command: `PYTHONPATH=. python3 $TMPDIR/close7/count.py`
- exit: 0

### Resolved at earlier closes

**Tracked as #3621.**

The text below is as the sixth close wrote it. Its "this close" and "this session" mean the
close named in each entry or the sixth. Where #3614 lists files named like driver bookkeeping
as a limit, #3618 above has since narrowed it.

#### The retry note's path list missed renames, non-ASCII names and mode changes

**Tracked as #3614.** **Re-run condition holds** (first branch). In this close's probe the
note lists the right paths in R9 (both rename names), R10, R11, R13 and R15, and R7 and R14
say nothing changed, with fail-fast on and off. Tests cover each of R9, R10, R11, R13, R15
and R14 with both settings (`test_rename_lists_both_names`,
`test_writing_back_a_renamed_file_lists_it`, `test_mode_only_change_lists_it`, the three
`test_non_ascii_name_*` tests). R7 (a deleted tracked file, then nothing) rests on the probe.
Remaining limits that no entry named (git-ignored files, files named like driver
bookkeeping, non-UTF-8 names, and the older `git add -N` crash) are in `RETROSPECTIVE.md`.

#### A kept file that an attempt deletes or reverts is missing from its retry note

**Tracked as #3613.** **Re-run condition holds** (first branch). The note lists a deleted
kept file, a reverted tracked edit, and a deleted file plus a new one, with fail-fast on and
off (`test_deleting_a_kept_file_lists_it`,
`test_reverting_a_kept_tracked_edit_lists_it`,
`test_deleting_a_kept_file_and_writing_another_lists_both`; probe cases R1, R2, R5). With
the removed-path branch disabled in a scratch copy, `TestTreeAndNote` gives 6 failures. The
condition covers deletes and reverts of ordinary names; other kinds of change were #3614, above.

#### A later attempt's note listed the earlier attempt's kept edits as its own

**Tracked as #3612.** **Re-run condition holds** for the case the entry describes. Attempt 2
writing nothing now gets "this attempt changed no files", and attempt 2 writing another file
gets only that file, with fail-fast on and off
(`test_later_attempt_that_changed_nothing_says_so`,
`test_kept_edits_of_an_earlier_attempt_are_not_listed`,
`test_editing_a_kept_file_again_lists_it`; probe cases R0 and R3). With the filter removed in
a scratch copy, `TestTreeAndNote` gives 4 failures. The entry named no deletion or revert;
that was #3613, below.

#### The early refusal also outranks three other checks, and no precedence is stated for them

**Tracked as #3610.** **Re-run condition holds** (first branch). `GATE-01.md` ("Precedence
when two refusals apply") and the close unit's escalation trigger both state that a
deliverable refusal outranks every check that runs after the agent session, which covers
cases D to G. `docs/methodology.md` states it too, with the kept-tree side effect. The
third close reran D to G with the same results as before, plus controls; see
`RETROSPECTIVE.md` under "Early against late, same input". A test asserts only the
`files_changed_mismatch` pair; the other pairs rest on the probe.

#### An early refusal records a different outcome from the late order for one input

**Tracked as #3608.** **Re-run condition holds.** `GATE-01.md` ("Precedence when two
refusals apply") and the close unit's escalation trigger state that the deliverable refusal
takes precedence over `files_changed_mismatch`.
`test_deliverable_refusal_outranks_files_changed_mismatch` asserts both sides and passed in
this session; the probe's case A agrees.

#### Clause 6 does not hold literally for two pre-existing tests

**Tracked as #3609.** **Re-run condition holds.** `GATE-01.md` clause 6, widened on
2026-11-26, covers edits forced by moving code into a shared helper and by new lint wording.
The ten changed modules pass (68 tests, exit 0), and the two edits are named in
`RETROSPECTIVE.md`.

This seventh close reran the oracle (which holds the #3608, #3612, #3613, #3614 and #3618
tests) and the ten modules behind #3609 (68 tests, `OK`). It did not repeat the earlier
mutation for #3612 and #3613 or probe cases D to G. For #3610 the condition is wording in
`GATE-01.md`, the close unit and `docs/methodology.md`; the fifth close found it present.
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
### T01#1

- **criterion:** `tests.test_fail_fast_deliverables.TestProducesNotInDiffEarly` fails on HEAD and passes
- **state:** `unverified`
- **covers:** specfuse/loop/loop.py, tests/test_fail_fast_deliverables.py

### T01#2

- **criterion:** The early refusal's `failure_class`, `failure_signature` and `summary` equal what the late
- **state:** `unverified`
- **covers:** specfuse/loop/loop.py, tests/test_fail_fast_deliverables.py

### T01#3

- **criterion:** `python3 -m unittest tests.test_dispatch_skeleton tests.test_gate_timings -b` passes; any
- **state:** `unverified`
- **covers:** specfuse/loop/loop.py, tests/test_fail_fast_deliverables.py

### T02#1

- **criterion:** `tests.test_fail_fast_deliverables.TestPresenceEarly` fails on HEAD and passes after: an
- **state:** `unverified`
- **covers:** specfuse/loop/loop.py, .specfuse/verification.yml.example, specfuse/loop/data/verification.yml.example, tests/test_fail_fast_deliverables.py

### T02#2

- **criterion:** `TestOptOut` fails on HEAD and passes after: with `fail_fast_deliverables: false`, each of
- **state:** `unverified`
- **covers:** specfuse/loop/loop.py, .specfuse/verification.yml.example, specfuse/loop/data/verification.yml.example, tests/test_fail_fast_deliverables.py

### T02#3

- **criterion:** `diff .specfuse/verification.yml.example specfuse/loop/data/verification.yml.example` is
- **state:** `unverified`
- **covers:** specfuse/loop/loop.py, .specfuse/verification.yml.example, specfuse/loop/data/verification.yml.example, tests/test_fail_fast_deliverables.py

### T03#1

- **criterion:** `tests.test_fail_fast_deliverables.TestTreeAndNote` fails on HEAD and passes after. It
- **state:** `unverified`
- **covers:** specfuse/loop/loop.py, tests/test_fail_fast_deliverables.py

### T03#2

- **criterion:** The cap holds: a diff of 30 paths lists 20 and the count of the remaining 10.
- **state:** `unverified`
- **covers:** specfuse/loop/loop.py, tests/test_fail_fast_deliverables.py

### T04#1

- **criterion:** `tests.test_fail_fast_deliverables.TestArmTimeWarning` fails on HEAD and passes after: a
- **state:** `unverified`
- **covers:** specfuse/loop/lint_plan.py, docs/methodology.md, specfuse/loop/data/docs/methodology.md, tests/test_fail_fast_deliverables.py

### T04#2

- **criterion:** `specfuse lint` exits 0 on every feature folder under `.specfuse/features/` (WARN only).
- **state:** `unverified`
- **covers:** specfuse/loop/lint_plan.py, docs/methodology.md, specfuse/loop/data/docs/methodology.md, tests/test_fail_fast_deliverables.py

### T04#3

- **criterion:** The RESULT's notes give the measured count and total from the Context bullet.
- **state:** `unverified`
- **covers:** specfuse/loop/lint_plan.py, docs/methodology.md, specfuse/loop/data/docs/methodology.md, tests/test_fail_fast_deliverables.py

### T04#4

- **criterion:** `diff docs/methodology.md specfuse/loop/data/docs/methodology.md` is empty.
- **state:** `unverified`
- **covers:** specfuse/loop/lint_plan.py, docs/methodology.md, specfuse/loop/data/docs/methodology.md, tests/test_fail_fast_deliverables.py

### T04#5

- **criterion:** `grep -c "unittest.skip" tests/test_fail_fast_deliverables.py` prints `0`.
- **state:** `unverified`
- **covers:** specfuse/loop/lint_plan.py, docs/methodology.md, specfuse/loop/data/docs/methodology.md, tests/test_fail_fast_deliverables.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
gate: 1
status: passed
feature_oracle: "python3 -m unittest tests.test_fail_fast_deliverables -v -b"
cost_budget_usd: 14.00
broad_run:
tree: 005cbf7fae31cc70ae2611ac1daa3e6f33f8c06b:07bbf72d1e7af3c1a03af605f40e5563dc3a18db:0ec7c6da6e74f0b56753f09657b654a6d289b91b:12064a6191eeb830a9826d911a8543fbaba3da75:27968248a450a842ccd187b7dce0fb0ded934866:287efde8f90320baffac08f5f3287b9456a65cb9:2e29b2f7e073a0cbe290f01d3b397e1cdd10c81c:42796ea0e0a6c03811b0e4bc9dbd3b5ee62dd2e4:453dde1cefd6975f95fef87586aebf0587449a5d:4acc6dfc5e8cece358c167d876515eba4a39a500:56ae45adcc17a1292977c436fd195ef8c61cc9e4:834d9d9c16094a386cd9b5a6f9ced9a3a9b4e7fb:bbd1aea514612d76722a18c7aece7c767cf1a076:c23b62e87f1ae3890c6f9e3d8c7ca7ec9225ed81:caffe2d63ceacde448842a91bc7a12c206a67523:d74b7d113b844e84f0009098f576fd28477f072d:e3b0de29b81a6c8e0abeacb3898519b98014b9ef:edd5a2872c1d0bda9e1273c586da80e330e1652c:fa2f4f88657587b6e3b560977858810846b1d366
ran_at: 2026-11-26T21:46:35.359538+00:00
ok: true
failing: []
---

# Gate 1 — a missing deliverable is refused before any verification gate runs

## Definition of done

**Stated as an outcome.** In temporary feature folders, with a stubbed agent session that
leaves a known diff and a `verify_fn` that counts its calls:

1. **`produces_not_in_diff` early.** An attempt whose diff leaves a declared `produces:` path
untouched, with no `produces_unchanged:` / `produces_amended:` in its RESULT, ends
`produces_not_in_diff` with `verify_fn` called zero times, `verify_seconds: 0` and no
`gate_result` events. The same unit with the path changed calls `verify_fn` once and passes.
2. **Presence early.** `deliverable_missing` (a declared path absent or empty) and
`no_deliverable_files` (the diff names only the unit file and events) are likewise refused
with `verify_fn` never called.
3. **Opt-out.** With `defaults.fail_fast_deliverables: false`, each of the three cases calls
`verify_fn` before refusing, with the same outcome and failure class as today.
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).
5. **Arm-time warning.** `specfuse lint` prints a WARN for a dispatchable unit whose `produces:`
path appears nowhere in its body, by full path, file name or parent directory, and stays
silent when it does. *(Parent directory added 2026-11-26 by the operator after the sixth
close, #3617: `PLAN.md` decision 7 required narrowing above a 10% warning rate; by full path
or file name the warning fired on 81 of 401 `done` units with `produces:` (20.2%), with the
parent directory on 35 (8.7%).)* **Measurement record** *(operator, 2026-11-26, #3619):* the
driver keeps no RESULT notes from passed attempts, so T04's measured count and total are
recorded by the `check_produces_mentioned` docstring in `specfuse/loop/lint_plan.py` (81 and
35 of 401) and confirmed by the sixth close's judge, who recounted independently (81 and 35
of 402; one unit finished since). That pair is the accepted evidence for WU-04's reporting
criterion.
6. **Nothing else changes.** Every existing test of the three guards passes unchanged, apart
from assertions on the order of `verify` and the guard, and edits forced by moving code into
a shared helper or by new lint wording that a text-matching assertion picks up. No such edit
removes or weakens an assertion, and each is named in the close. *(Widened 2026-11-26 by the
operator after the first close, #3609.)*

**Precedence when two refusals apply** *(stated 2026-11-26 by the operator after the first
close, #3608; widened after the second close, #3610).* Under the default order a deliverable
refusal (`produces_not_in_diff`, `deliverable_missing`, `no_deliverable_files`) takes
precedence over every check that runs after the agent session: the verification gates and
the later guards, including `files_changed_mismatch`, `smoke_import_failed`, the
blocked-verdict guard and the closing-deliverable guards. An attempt that trips a
deliverable refusal and one of those checks records the deliverable refusal, and the other
check runs only on a later attempt, once the deliverable is fixed. With
`fail_fast_deliverables: false` the old order and its outcomes hold. The
`files_changed_mismatch` pair is asserted on both sides by
`TestProducesNotInDiffEarly.test_deliverable_refusal_outranks_files_changed_mismatch`.
Clause 3's "same outcome and failure class" applies to inputs that trip only one refusal.

One side effect follows and is accepted. The early refusal keeps or resets the tree per
`defaults.retain_on_guard_refusal` (clause 4), so by default it keeps the tree. The
smoke-import and closing-deliverable refusals it now outranks always reset it. On an input
that trips both, the next attempt therefore starts from the kept tree, not a clean one.

The `feature_oracle` proves 1–5. It is red on the current tree; `FEAT-LOOP-2026-0251/T01` is the
walking skeleton that creates `tests/test_fail_fast_deliverables.py` and turns clause 1 green,
with every other class `unittest.skip` naming its owner (T02–T04). A skip surviving to the close
is a hollow oracle.

## Arming discipline (see `.specfuse/rules/planning-discipline.md`)

- **One decision, two call sites.** The early and late checks call the same helper; a
duplicated condition is a defect.
- **Positive controls.** Clause 1 pairs a refused attempt with a passing one; clause 3 pairs
the opt-out with the default; clause 5 pairs a mentioned path with an unmentioned one.
- **Counted, not inferred.** "Verification did not run" is asserted by a call counter on
`verify_fn`, never by timing.
- **Expected self-halt.** `loop.py` and `lint_plan.py` are judge surfaces; acknowledge the stop
with your own reason and `/unblock-wu`.

## Reflection notes

<Written by the human at review time.>
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!--
Copyright 2026 Specfuse Contributors
Licensed under the Apache License, Version 2.0. See LICENSE.
-->

# Lessons staged for promotion — FEAT-LOOP-2026-0251

`autonomy_default: auto`, so `FEAT-LOOP-2026-0251/G1-CLOSE` may not append to
`.specfuse/LEARNINGS.md` directly (`assert_learnings_staged_under_auto`). Three entries generalize.

## Entries

- [FEAT-LOOP-2026-0251/T01] **A unit that moves a guard earlier must state which refusal wins
when two apply, for every check it now runs ahead of.** Moving `produces_not_in_diff`
before `verify()` also moved it ahead of `files_changed_mismatch`, the blocked-verdict
check, the smoke-import check and the closing-deliverable guards. The plan named none. The
amendment after the first close named one, and the re-close failed on the others. List
every overtaken check, probe each one early against late, and put the whole list in one
follow-up; a "read in the code" aside does not reach the operator's decision. Prefer one general rule
over a list of named exceptions: here a list cost a second re-close. Also name what else the
order changes besides the label, such as whether the tree is kept or reset.

- [FEAT-LOOP-2026-0251/T04] **A unit that adds a lint message must run every test module
that lints, not only the ones its Verification section names.** Existing tests filtered
lint output on the word "directory"; the new WARN contained it, the narrow tier passed,
and the gate's broad run went red. The named module (`tests.test_lint_plan`) did not
exist, so check that each module a unit names can be imported before arming.

- [FEAT-LOOP-2026-0251/T03] **A "what this attempt changed" list cannot be a filter over a
name-only diff.** On a kept tree it missed deletes and reverts, which leave the diff, and
after that fix it still missed a renamed file's old name (rename detection), later edits
to a non-ASCII name (git quotes it, so the file cannot be opened) and mode changes.
Compare attempt-start and attempt-end states over the union of their paths, read with
`--no-renames -z`. Test write, edit, delete, revert, rename and a non-ASCII name on a
second attempt, and probe the whole matrix before the first fix, not one case per close
(the state comparison closed the whole matrix at once; three filter fixes had not). When
switching git reads to `-z`, decide how a non-UTF-8 name decodes: quoting had hidden that. A filter that
hides the tool's own bookkeeping must match full paths: matched by base name it also hid an
agent's own `docs/events.jsonl`, and a close that argued such a limit was acceptable was
overruled by the judge.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"gates": [
{
"gate": 1,
"work_units": [
{
"goal": "T01 \u2014 walking skeleton: refuse `produces_not_in_diff` before `verify()`",
"id": "FEAT-LOOP-2026-0251/T01",
"planned_cost_usd": 2.0,
"type": "implementation"
},
{
"goal": "T02 \u2014 presence refusals early, and the `fail_fast_deliverables` opt-out",
"id": "FEAT-LOOP-2026-0251/T02",
"planned_cost_usd": 1.5,
"type": "implementation"
},
{
"goal": "T03 \u2014 the retry note lists the paths the attempt did change",
"id": "FEAT-LOOP-2026-0251/T03",
"planned_cost_usd": 1.0,
"type": "implementation"
},
{
"goal": "T04 \u2014 arm-time warning for an unmentioned `produces:` path, and docs",
"id": "FEAT-LOOP-2026-0251/T04",
"planned_cost_usd": 1.5,
"type": "implementation"
},
{
"goal": "G1-CLOSE \u2014 terminal close",
"id": "FEAT-LOOP-2026-0251/G1-CLOSE",
"planned_cost_usd": 5.0,
"type": "close"
}
]
}
]
}
Loading