Pull Requests
Buck interacts with pull requests in two ways: automatic code review when PRs are opened or updated, and ad-hoc responses when you comment @bucky.
Ownership & review flow
Section titled “Ownership & review flow”Bucky PRs follow Fetch’s PR guidelines for agentic workflows: the engineer who requested the work owns the PR and reviews it first.
- Sessions open PRs as drafts, with a
Requested by:line in the body - Buck assigns the requester to the PR and requests their review, using the GitHub username from their dashboard settings
- Automatic code review runs during the draft phase, so Buck addresses its own findings before the requester looks
- When the requester approves the draft, Buck flips it to ready-for-review — that’s the moment the PR opens up to the team (and CODEOWNERS review requests fire)
Automatic code review
Section titled “Automatic code review”When a PR is opened or updated, the bucky-code-review workflow runs automatically. It:
- Reads the PR diff and understands the changes in context
- Searches related code via Sourcegraph for broader understanding
- Posts review comments with context-aware feedback
- Catches bugs, suggests improvements, and flags potential issues
Ad-hoc @bucky comments
Section titled “Ad-hoc @bucky comments”Comment @bucky on a PR to ask questions or request changes:
@bucky can you explain what this change does to the error handling?@bucky add unit tests for the new retry logicPR comments with @bucky are handled by the agent service via GitHub App webhooks, the same way Slack and Jira mentions work.