Skip to content

fix(autocoder): fix-loop-gate BLOCKING set omits blocked and awaiting-integration - #128

Merged
laird merged 1 commit into
masterfrom
fix/gate-blocked-label
Aug 17, 2026
Merged

fix(autocoder): fix-loop-gate BLOCKING set omits blocked and awaiting-integration#128
laird merged 1 commit into
masterfrom
fix/gate-blocked-label

Conversation

@laird

@laird laird commented Aug 17, 2026

Copy link
Copy Markdown
Owner

fix-loop-gate.sh's classify() BLOCKING set excludes needs-approval/needs-design/needs-clarification/too-complex/future/decomposed from the claimable pool, but not blocked or awaiting-integration — even though /fix's own candidate-selection filter (fix.md) treats all eight as the same class of blocking label. A correctly-blocked issue re-enters the claimable pool every gate tick and gets re-selected forever.

Reproduced live: an athena2 issue labeled blocked (design fork resolved by the operator, but explicitly gated on two still-open prerequisite issues) was re-selected as FIX work on three consecutive gate ticks.

Verified against the actual script (stubbed issue_list/issue_claim/issue_update, ran fix-loop-gate.sh directly) across three synthetic issue sets: blocked-only P1 → IDLE, blocked P1 + claimable P2 → picks the P2, awaiting-integration-only P1 → IDLE. All matched expectations.

…-integration

fix-loop-gate.sh's classify() excludes needs-approval/needs-design/
needs-clarification/too-complex/future/decomposed from the claimable
pool, but not blocked or awaiting-integration -- even though /fix's
own candidate-selection filter (fix.md) treats all eight as the same
class of blocking label. A correctly-blocked issue (carrying only
blocked, with none of the other six) re-enters the claimable pool
every gate tick and gets re-selected forever, since nothing else
distinguishes it from real work.

Reproduced live: an athena2 issue labeled blocked (design fork
resolved by the operator, but explicitly gated on two still-open
prerequisite issues) was re-selected as FIX work on three consecutive
gate ticks.

Verified against the actual script (not a reimplementation) by
stubbing issue_list/issue_claim/issue_update and running
fix-loop-gate.sh directly against three synthetic issue sets: a
blocked-only P1 (expect IDLE), a blocked P1 alongside a claimable P2
(expect the P2, not the blocked issue), and an awaiting-integration-only
P1 (expect IDLE). All three matched.
@laird
laird merged commit b232448 into master Aug 17, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant