Skip to content

[FEAT-LOOP-2026-0251 follow-up] An early refusal records a different outcome from the late order for one input #3608

Backlog

Description

@clabonte

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

Criterion (verbatim). "A surviving skip, or an early refusal whose outcome or failure
class differs from the late one for the same input: record not_met with a follow-up."

Evidence. A probe drove loop.run() with a unit declaring src/rule.py, an attempt
writing only docs/notes.md, a RESULT listing both under files_changed, and green gates.
With fail_fast_deliverables: true the first attempt_outcome is produces_not_in_diff
(class produces_not_in_diff, 0 verify calls). With false it is files_changed_mismatch
(class files_changed_mismatch, 1 verify call). The control with a plain RESULT gives
produces_not_in_diff both ways. tests/test_files_changed_auto_repair.py,
test_untouched_deliverable_still_refuses, had its expected outcome changed to match.

What happened, in plain terms. The attempt is refused both ways. Only the name of the
refusal, and so the retry advice, differs. PLAN.md says the feature does not change what
is refused, only when, and that files_changed_mismatch stays where it is. It does not say
which refusal wins when both apply. The close cannot settle that.

Options.

  1. Accept the new precedence and state it in the definition of done and the docs. For: no
    code change; no gate run is paid; the retry note names the missing deliverable. Against:
    the RESULT's false files_changed claim is not reported on that attempt.
  2. Skip the early refusal when the RESULT's files_changed would trip the mismatch guard.
    For: outcomes match the old order. Against: code and tests change, and those attempts pay
    for a full gate run again.

Recommendation. Option 1.

Re-run condition. Either GATE-01.md and the close unit state that a deliverable
refusal takes precedence over files_changed_mismatch, or case A records the same outcome
and failure class with the key true and false, asserted by a test.

Activity

  1. added
    specfuse:follow-up
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    specfuse:follow-up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions