Open and answer this issue on GitHub.
blocked, bugs · opened 2026-11-21 · updated 2026-11-21 · 1 comment
Found by the supervisor of the safety lane on 2026-11-21.
drive_blocked_on (scripts/drive.nika) holds an issue on every #M under its last report’s Needs: when the run ended partial, including the issues a Needs: supervisor decision: <gap> only cites as context. The run of the fix for #2577 ended partial with Needs: supervisor decision: how a drive.nika hook gets a directory … Step 1 of #2470 … waits for this. The driver then logged DROPPED #2577 waits for #2470, labelled it blocked and wrote Needs: #2470 into the renamed report (drive_report_aside). That reads the dependency the wrong way round: #2470 waits for #2577. Cause, traced: drive_blocked_on returns drive_hash_numbers(needs.join(" ")) for partial || (blocked && handled) without telling a decision line from a list of issues. drive_found_dependency makes the same distinction for Found: but not for Needs:.
Probe: a report with these lines, read by drive_blocked_on(report, false):
Result: partial: x
Needs: supervisor decision: which root. Step 1 of #9999 waits for this
Expected: [], because a decision holds through the supervisor (the decision label or the renamed report), not through the issues it cites. Actual: ["9999"].
.nika test under tests/compiler/tests/ that pins the probe through a drive hook (standard input, as the #2577 hooks do), red on the current script.drive_blocked_on: a Needs: line that starts with supervisor decision names no dependency. Only a Needs: that lists issues (Needs: #A, #B, or Needs: #A to be fixed) holds.drive_report_aside then writes no Needs: #M taken from a decision line.The probe gives [], a Needs: #A, #B report still holds on #A and #B (the existing drive tests stay green), and the new test is green.
Generated by Claude Code
Driver: not queued, this issue waits for #2577, which is still open (#1819). Set ready again when it is closed.
Generated by Claude Code