fix: rework pickup ignores feedback when the verdict was COMMENT (reassignment starves the agent of context) #476
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#476
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?
Known gap, now with two field failures (igor#468, 2026-08-09): when a PR is REASSIGNED to the bot while its latest shadow verdict is
COMMENT(notREQUEST_CHANGES), the rework agent receives no feedback payload --.review.pending_rc_bodyis only populated on an RC verdict -- so it sees nothing actionable and exits without commits. Both rework rounds on #468 stalled exactly this way while an explicit, actionable reviewer comment sat on the thread unread.The change: in the PR-reassignment pickup path (
bin/tick.sh/ wherever the rework user message is assembled), when there is no pending RC body, include the recent PR discussion instead: the last shadow-review comment AND any human/operator comments posted after the latest review marker (<!-- review sha=... -->). Fence them as feedback to address, same framing as the RC body gets.Guard: keep the existing no-op path -- if there are genuinely no comments beyond the reviewed state, the current "no changes made" exit is correct.
Tests: extend the relevant
bin/test-*.sh(review/rework surface): (1) reassignment with COMMENT verdict + a post-review operator comment -> the assembled prompt contains that comment; (2) reassignment with no post-review comments -> prompt assembly unchanged from today.