Skip to content

feat: add supporting repositories to a repo window - #739

Merged
Ziinc merged 5 commits into
mainfrom
ccr-b83e4421-guxm5e
Oct 11, 2026
Merged

Ziinc merged 5 commits into
mainfrom
ccr-b83e4421-guxm5e

Conversation

@Ziinc

@Ziinc Ziinc commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator
  • Link other local repos to a window (File > Add Repository); each gets a home row and workspace group, and the terminal pane shows every repo's agents
  • Main-repo agents get read access to supporting repos and delegate changes with treq -r <repo> (--repo on mv)
  • Links persist in the main repo's .treq/local.db; spec in prds/multi-repo.md, screenshot specs cover the flow
    🤖 Generated with Claude Code
    https://claude.ai/code/session_01F6cRhkhfxRs9XaiqCdVMCb
    Generated by Claude Code

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

@Ziinc
Ziinc force-pushed the ccr-b83e4421-guxm5e branch from 4cc419f to 720d677 Compare October 9, 2026 21:56
@Ziinc Ziinc changed the title Add supporting repositories to a repo window feat: add supporting repositories to a repo window Oct 9, 2026
@Ziinc
Ziinc force-pushed the ccr-b83e4421-guxm5e branch from 71d06bc to 29a5c2a Compare October 11, 2026 14:43
claude and others added 5 commits October 11, 2026 22:43
A window's main repository can link other local repositories. Each one
gets its own home row and workspace group in the sidebar; selecting it
puts that repository on screen. Main-repo agents get read-only access to
supporting repos and delegate changes with `treq -r <repo>`.

- local.db `supporting_repos` table, core validation/resolution, Tauri
  commands, File > Add Repository menu item
- Window registry and routing include supporting repos; windows where the
  repo is the main repo win
- CLI `-r/--repo` on add/set/st/diff/agent/commit (`--repo` on mv);
  `treq agent .` is rejected
- Dashboard keeps mainRepoPath and an active repo; sidebar renders
  per-repo groups via RepoWorkspaceList
- PRD, CLI reference and agent skill updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F6cRhkhfxRs9XaiqCdVMCb
- Agent PTY ids include a repo hash; session ids are per repository, so
  main and supporting sessions both got `session-1` and the second
  terminal attached to the first's PTY
- Auto-review events for the main repo are no longer dropped while a
  supporting repo is on screen
- Queued main-repo agent requests no longer stall behind an empty
  supporting repo
- Clear selection when the on-screen supporting repo goes missing
- Sidebar: inactive home rows no longer show dead action icons, the
  "missing" tag is not truncated away, group labels leave room for the
  scheduling toggle, spinners only match the on-screen repo, collapse
  state reloads with the main repo
- `-r org/app` is no longer shadowed by a same-named directory under cwd
- Screenshot spec covering the supporting repositories flow

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F6cRhkhfxRs9XaiqCdVMCb
- The terminal pane stays mounted across repo switches and lists agent
  sessions from the main and supporting repos. Pane ids stay unique
  across repos (`dbSessionId` carries the per-repo id for session APIs)
- Linked repos' sessions load under one stable key so switching repos
  never unmounts a running agent's terminal
- Clicking a terminal or its workspace badge switches to its repo; the
  badge now matches full workspace paths
- Sidebar spinners are filtered per repo group
- Sidebar: "Workspaces" header above the repo groups, no divider
  between groups
- activateRepo only switches to linked supporting repos (remote
  workspaces carry the remote path)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F6cRhkhfxRs9XaiqCdVMCb
- Sidebar groups for supporting repositories now refresh every 10s, so a
  workspace an agent creates with `treq add -r` appears without a
  refocus or reselect
- Screenshot spec walking the entry points a multi-repo user reaches
  for: Add Repository discovery, Cmd+K, Cmd+I, supporting home header,
  Repository Settings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F6cRhkhfxRs9XaiqCdVMCb
@Ziinc
Ziinc force-pushed the ccr-b83e4421-guxm5e branch from 29a5c2a to 8fc7285 Compare October 11, 2026 14:43
@Ziinc
Ziinc enabled auto-merge (squash) October 11, 2026 15:57
@Ziinc
Ziinc disabled auto-merge October 11, 2026 15:57
@Ziinc
Ziinc merged commit efae45c into main Oct 11, 2026
26 checks passed
@Ziinc
Ziinc deleted the ccr-b83e4421-guxm5e branch October 11, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants