On this page
  1. The bottleneck
  2. Three ways to do it
  3. Compare the options
  4. One real repair
  5. When to choose the Action
  6. FAQ

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.

shell
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).

shell
brew install bossanova-dev/tap/bossanova

When 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

Documented behavior checked November 15, 2026. Costs reflect the services used, not a price quote.
OptionWhere it runsWhat starts itCostWhat still needs you
By handYour machineYou notice the red check or comment and prompt the agentYour model key or planEvery step: triggering, checking, pushing, and replying
Claude Code ActionGitHub Actions runnerWorkflow events, mentions, or an explicit promptRunner minutes plus model usageWorkflow triggers, permissions, and ambiguous requests
Claude Code auto-fixDesktop or Claude cloud sessionFailing checks and review comments once turned on for that PRYour Claude plan (cloud sessions count toward limits)Enabling per PR, ambiguous feedback, and asking for a rebase on conflicts
BossanovaYour own machines, in the PR worktreeFailing checks, merge conflicts, or requested changes (on by default)Free locally; your agent’s model key or planAn 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:

text
services/bossd/testharness/caller.go: protobuf belongs at the API edge; use an owned domain type or consumer interface

The repair session swapped the harness over to the domain type and folded the fix into the branch:

diff
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:

text
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:

text
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.

Frequently asked questions

Does automatic repair work with Codex?
Yes. Bossanova runs native Claude Code and Codex sessions in the PR worktree using whichever agent you pick for the repository. The Claude Code Action and Claude Code auto-fix are Claude Code only.
Does it push directly to my PR branch?
Yes. When a repair passes local checks, the agent commits and pushes to the PR branch so CI re-runs on the new head. You still review the diff before merging.
Can I turn it off per repository?
Yes. Toggle Automatic repair in Repo Settings, or set canAutoRepair to false in .boss-project.json. That single switch controls failing checks, merge conflicts, and requested changes.
What happens when a repair cannot fix the failure?
Repair attempts are capped so a stuck PR does not burn tokens in a loop. The PR stays unmerged, and you can inspect the repair chat and failing check to finish it yourself. See the repair troubleshooting guide.