Security-block findings are written to a comment the re-queued agent can never read #434
Labels
No labels
Agent
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Total time spent: 10 minutes 32 seconds
Due date
igor
10 minutes 32 seconds
No due date set.
Dependencies
No dependencies set
Reference
joshtronic/igor#434
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The problem
When the security review blocks a build, the harness posts its findings as an issue comment and instructs:
Following that instruction cannot work. The issue-work path passes only the issue body to the model:
Comments are never included in the prompt. So a re-queued ticket hands the agent the same body that produced the rejected diff, with no trace of why it was rejected. The most likely outcome is that it rebuilds the same thing and is blocked again — burning a full build, a security review and a rework cycle per lap, with nothing in the loop that can break it.
Evidence
joshtronic/igor#433, 2026-07-27:The findings — a real authorization gap, correctly caught — went into a comment. The ticket only re-queued successfully because a human copied the requirement into the body by hand first. Without that step it would have looped.
What "fixed" looks like
Either direction closes it; pick one:
Whichever is chosen, the outcome to test is: a ticket blocked for a stated reason, then re-queued, presents that reason to the next run.
Acceptance criteria
Related, NOT required here
The blocked build is also discarded entirely — the worktree is removed and nothing is pushed, so the next run starts from zero. There is precedent for the opposite: a build that exceeds the turn cap checkpoints to a draft PR and resumes (igor#356) rather than throwing the work away. Applying the same treatment to a security block would turn "rebuild from scratch" into "fix one predicate." Deliberately out of scope for this ticket — noted so it is not lost, and it should be split into its own if wanted.