On this page
The bottleneck
Your agent opens a pull request and exits. Ten minutes later, a lint rule fails or a reviewer flags an edge case while you are in another branch or away from your desk. Until someone pulls the logs, restarts an agent in that worktree, pushes a fix, and replies on the thread, the PR just sits there.
Three ways to do it
1. Hand the failure to Claude Code or Codex by hand
Pull the failed job output with gh, paste the relevant lines into your agent, verify the fix locally, push, and reply on the original review thread.
gh run view RUN_ID --log-failed
# Feed the failure output to your agent, check the diff, then push:
git push
# Reply on the review thread once the fix is up:
gh api repos/OWNER/REPO/pulls/PR_NUMBER/comments/COMMENT_ID/replies \
-F [email protected]Fine for one or two open PRs. Painful once you have five or ten branches moving in parallel.
2. Trigger the Claude Code Action in GitHub Actions
Anthropic’s Claude Code Actionruns inside your GitHub Actions runner and authenticates against Anthropic directly, Amazon Bedrock, Google Vertex AI, or Microsoft Foundry. It activates on mentions, assignments, or workflow events you configure.
The trade-off is workflow upkeep: a mention-triggered install alone does not watch failing checks. You write the trigger rules, permissions, and repair prompt yourself, starting from the project’s setup guide.
3. Let Bossanova watch the PR
Install Bossanova, add your repository, and leave Automatic repair on (it is enabled by default via canAutoRepair in .boss-project.json).
brew install bossanova-dev/tap/bossanovaWhen a check fails, a branch conflicts with main, or a reviewer requests changes, the local daemon starts a repair session inside that PR’s existing git worktree. The agent reproduces the failure, commits and pushes the fix, and replies on review threads once addressed (or explains why a finding needs no code change). Your dev environment and model credentials stay on the machine running the agent.
See the quick start, the PR lifecycle guide, and GitHub PR callbacks if you want events routed to a specific chat.
Compare the options
| Option | Where it runs | What starts it | Cost | What still needs you |
|---|---|---|---|---|
| By hand | Your machine | You notice the red check or comment and prompt the agent | Your model key or plan | Every step: triggering, checking, pushing, and replying |
| Claude Code Action | GitHub Actions runner | Workflow events, mentions, or an explicit prompt | Runner minutes plus model usage | Workflow triggers, permissions, and ambiguous requests |
| Claude Code auto-fix | Desktop or Claude cloud session | Failing checks and review comments once turned on for that PR | Your Claude plan (cloud sessions count toward limits) | Enabling per PR, ambiguous feedback, and asking for a rebase on conflicts |
| Bossanova | Your own machines, in the PR worktree | Failing checks, merge conflicts, or requested changes (on by default) | Free locally; your agent’s model key or plan | An online machine, stuck failures, and final merge approval |
Claude Code’s built-in auto-fix is worth knowing about if you only use Claude. Its desktop docs cover PR monitoring, and the cloud docs cover starting a cloud session with /autofix-pr. Unlike Bossanova, it is opt-in per PR and does not rebase merge conflicts automatically.
Walkthrough: one real repair
On a real pull request in the Bossanova repo, a boundary guard failed CI because a test harness imported a protobuf type directly instead of using an owned domain type:
services/bossd/testharness/caller.go: protobuf belongs at the API edge; use an owned domain type or consumer interfaceThe repair session swapped the harness over to the domain type and folded the fix into the branch:
fix(bossd): [#3875] require operator capabilities for approval and merge
…
+func (operatorCallerAuthority) Principal(context.Context) domain.CallerPrincipal {
+ return domain.CallerPrincipal{Kind: domain.CallerOperator}
+}On the same PR, a security review flagged a subtle edge case where an exited peer process could still be treated as an operator:
P1: A vanished peer can be classified as an operator because this returns `os.ErrNotExist`, which ancestry treats as a successful end-of-chain. Reject unresolved ancestry as unattested; a surviving process retaining the socket must not inherit operator authority from a partial chain.After tightening the ancestry check and adding regression tests, the repair session replied on the original thread with what changed and how it was verified:
Updated after the operator authorized further review:
- Vanished peer: fixed. Fresh independent verification showed a transferred socket could remain in chat ancestry while its captured peer exits. Every failed parent lookup now returns unattested. Vanished-peer and vanished-ancestor regressions failed before and passed after; independent delta reviews passed. This deliberately tightens the plan's process-gone exception.
…CI went green on the next push and the PR merged. Excerpts above are from an actual Bossanova PR repair, with private links and runner paths omitted.
When to choose the Action instead
Pick the Claude Code Action if you do not keep a dev machine running, prefer explicit@claude opt-in per PR, or want all logs and permissions inside GitHub Actions. Pick Bossanova when you already run Claude Code or Codex on your own machines and want open PRs to keep moving through CI and review without babysitting them.