Resolve review reactions to an archie-owned task, drop the rest #1171
Notifications
Due Date
No due date set.
Blocks
Reference: sam/archie#1171
Reference in new issue
Block a user
Resolve a reaction's PRNumber to the archie task that owns it, and drop
everything else.
Step 4 of docs/prds/pr-review-remediation.md, and the authorization boundary
named in its decisions 3 and 6: a review event must only ever cause work
against a PR archie itself opened and still owns. Without it a signed webhook
for any repository the bot can see enqueues work.
The lookup does not exist. pr_number is written by internal/store/store.go
(lines 250, 291, 325, 384, 397, 414) and never read in a WHERE clause. This
needs:
without one is forbidden (CLAUDE.md, internal/infrastructure/staterpc)
Unmatched, merged, closed and archived PRs are all dropped through one
counter.
Acceptance: a reaction for a PR with no task is dropped and counted; one for a
merged or archived task is dropped and counted; one for a live pr_open task
resolves to that task.
Close reason
Closed
Imported from beads
archie-core-8li9.2· GitHub #914 · type feature · priority P1 · created 2026-09-18 · closed 2026-09-18