orca/config
Trevin Chow bf51593706
fix(worktree): make generated workspace names unique across repos (#2857)
Auto-generated workspace names walked the marine-creature list in order
and deduped only within the active repo (the default when workspaces are
nested), so the first auto-named worktree in every repo landed on
"Nautilus". That guaranteed identical branch names across repos, which
appear flat and indistinguishable in the sidebar.

The in-order walk also produced "Nautilus-2", "Nautilus-3", ... within a
single repo: the suggester ignores branches left behind by deleted
worktrees, so it kept re-proposing "Nautilus", and the create-time retry
loop suffixed it to dodge the lingering branch. Random selection now
yields a fresh creature each time instead of marching the same name.

- Dedup against worktrees in every repo, not just the active one
- Pick randomly from the unused pool instead of the first list entry
- Lowercase the result to match branch-name convention (fix/seahorse)
- Expand the corpus 260 -> 552 (more marine species plus public-domain
  mythological sea creatures) so random picks rarely repeat

getSuggestedCreatureName drops the now-unused repoId/nestWorkspaces
params; the RNG is injectable for deterministic tests.

Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-05-28 20:41:10 -04:00
..
patches Fix Windows ConPTY process-list fallback (#3009) 2026-05-28 16:49:14 -04:00
scripts fix(worktree): make generated workspace names unique across repos (#2857) 2026-05-28 20:41:10 -04:00
dev-app-update.yml chore: move dev-app-update.yml into config/ (#1276) 2026-04-30 00:11:14 -07:00
electron-builder.config.cjs Unpack yaml for packaged Orca CLI (#2790) 2026-05-25 12:31:56 -07:00
tsconfig.cli.json Add Command Code agent status tracking 2026-05-26 14:45:34 -07:00
tsconfig.node.json feat(telemetry): PR 2 — transport (client, validator, burst cap, IPC, build gate) (#1374) 2026-05-03 16:51:31 -07:00
tsconfig.relay.json Support agent status hooks over SSH (#1865) 2026-05-14 16:06:23 -07:00
tsconfig.tc.cli.json refactor to clean up the codebase (#412) 2026-04-08 22:49:16 -07:00
tsconfig.tc.web.json fix(preload): collapse index.d.ts into type-checked api-types.ts (#1197) 2026-04-27 21:46:17 -07:00
tsconfig.web.json fix(preload): collapse index.d.ts into type-checked api-types.ts (#1197) 2026-04-27 21:46:17 -07:00
vitest.config.ts Update onboarding feature wall experience (#2652) 2026-05-23 12:21:13 -07:00