Multi-Repo Sessions
Multi-repo sessions allow Bucky to work across multiple repositories simultaneously. This is useful for tasks that span services — like updating a shared API contract, coordinating a migration, or investigating a cross-service issue.
How it works
Section titled “How it works”- The agent’s
run_multi_repo_sessiontool dispatches arepository_dispatchevent with typebucky-multi-repo-sessionto the buck-bronson repo itself - The
bucky-multi-repo.ymlworkflow clones all specified repos intorepos/<name>/subdirectories - Claude runs with multi-repo-specific prompts that are aware of the multi-repo layout
- Results are reported back via the same callback pattern as single-repo sessions
Workflow details
Section titled “Workflow details”The bucky-multi-repo.yml workflow:
- Clones repos from
client_payload.repos(an array ofowner/repostrings) - Sets up Node.js and Go toolchains without running package installation
- Registers all plugins (common, web, golang, LSPs) but only injects
SOURCEGRAPH_TOKEN - Uses prompts from
.github/actions/bucky-execute/prompts/with additional placeholders:
| Placeholder | Value |
|---|---|
{{ISSUE_REPO}} | The repo where the GitHub issue lives (always buck-bronson) |
{{REPO_LIST}} | Comma-separated list of repos |
{{REPO_PATHS}} | Paths where repos are cloned (repos/<name>/) |
Key differences from single-repo sessions
Section titled “Key differences from single-repo sessions”| Aspect | Single-repo | Multi-repo |
|---|---|---|
| Runs in | Target repo | buck-bronson |
| GitHub issues | In target repo | In buck-bronson |
| Package install | Yes (per preset) | No |
| Secrets | Per-preset tokens | Only SOURCEGRAPH_TOKEN |
| Dispatch type | bucky-session | bucky-multi-repo-session |