Skip to content

PE-8082 githubbot: immediate working reaction on owned-PR management turns - #17

Draft
oponder wants to merge 1 commit into
mainfrom
feat/pe-8082-management-turn-ack
Draft

PE-8082 githubbot: immediate working reaction on owned-PR management turns#17
oponder wants to merge 1 commit into
mainfrom
feat/pe-8082-management-turn-ack

Conversation

@oponder

@oponder oponder commented Aug 6, 2026

Copy link
Copy Markdown

Summary

PE-8082: when gerard is asked for a review it reacts immediately, but when it responds to review feedback on a PR it owns there is no activity until it pushes or replies.

Review-request (review.ts), issue-work (issue-manager.ts), and @-mention (index.ts) turns all ack instantly; owned-PR management turns (pr-manager.ts: address-review, CI-fix, conflict resolution) were the one silent path. This adds the same 👀 → 🚀/😕 subject-reaction lifecycle to fireManagementTurn, the choke point all management turns flow through, reusing the existing reactWorkingOnSubject/settleSubjectReaction helpers. The ack is fired without awaiting so it lands before the sandbox turn starts, and a failed reaction never blocks the turn.

Reactions land on the PR itself rather than the triggering review because the REST reactions API has no endpoint for review bodies — this matches what review-request turns already do.

Testing

  • pnpm --filter githubbot test — 79 pass (2 new: eyes ack + settle on a changes-requested review; no reaction on the approved/merge path).
  • pnpm --filter githubbot run check:types — clean.

Deploy notes

  • Chart untouched; only the centaur-githubbot image changes. It must be rebuilt + imported on the cluster box via deploy-centaur after merge (no registry on the box), then the deployment restarted.
  • Fork main is currently tree-identical to upstream paradigmxyz/centaur; merging this diverges it. Recommend upstreaming this patch so a future fork sync doesn't drop it.

🤖 Generated with Claude Code

…n (PE-8082)

Review-request and issue-work turns already ack instantly (eyes on the
subject, settled to rocket/confused when the turn finishes), but owned-PR
management turns — address-review, CI-fix, conflict resolution — gave no
signal until the agent pushed or replied. A reviewer leaving feedback on a
bot-owned PR saw silence while the turn ran.

Fire the same subject-reaction lifecycle from fireManagementTurn, the choke
point all management turns flow through: eyes before the turn starts (not
awaited, so the ack can't delay the turn), settled in the background chain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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