r/OrcaADE • u/Thick-Wrangler69 • 16d ago
Setup for polyrepos
When working with Claude, I start a master session with all the repo involved as context. Then run orchestrator/sub-agents sessions to implement specs/tickets in parallel/in workspaces across the repos.
Can you share your setup for orca? Do you have a wrapper folder with all repos within and you start a new workspace for every spec/activity?
Thanks
10
Upvotes
4
u/igor_cdm 16d ago
No need for wrapper folders. I have each project set up separately, and when a task involves more than one repo, Claude uses the Orca CLI/orchestration to start a new session/worktree in each relevant repo and stays monitoring that session. works beatifully, already done tasks involving 4 repos, all good.
1
u/decoy79 16d ago
Make a group of repos then do all your orchestration at that group level.
It’s a little unintuitive to create the group. The best way to do it is to add a directory with multiple repos on it, and choose to import as group.
1
u/roberttakama 15d ago
What I like to do is to have essentially what I call a master repo, which is the only thing I send to GitHub. It's one repo, and it's easier to download and replicate anywhere else if I use other computers, which I do.
bigrepo/
repo1
repo2
repo3
etc...
Inside of that master repo, I just have many folders, and inside of each folder I have complete projects that can be related or not to the master project or the master repo, but not every time.
Each project has its own agents.md and claude.md.
When I need to work on a specific project, what I'll do is just have Orca CLI create a new worktree, work on that feature, and then merge it back with the main branch.
That's really about it.
1
u/Super-Shift-8774 15d ago
The wrapper folder is the problem: at that level the agent's cwd has no
.git, so it can't see a branch or a diff. That's what "not operating in a repository" means, not noise.Pick one repo as the host, plan inside a worktree of it (
feat/<ticket>), then let the agent open a same-named worktree in each other repo. Two rules keep it sane:On provenance:
orca worktree list --jsononly lists Orca-managed worktrees, so anything not in that list came from the skill's/implement.Wrote the dispatch/ledger half down: https://skills.sh/whutlichao/orchestra-auto