Skip to content

docs(adr): 0047, the dashboard makes a lane from a branch - #187

Merged
7schmiede merged 2 commits into
mainfrom
docs/adr-0047
Oct 21, 2026
Merged

7schmiede merged 2 commits into
mainfrom
docs/adr-0047

Conversation

@7schmiede

Copy link
Copy Markdown
Member

Proposal, for the project owner to decide. No code depends on it yet.

What it proposes

  • The header's lane picker becomes a branch picker (the sidebar already switches lanes). It lists local and remote-tracking branches, each marked with its worktree or lane. Per branch: Show, New lane, New branch from here, and Remove lane for a stopped lane.
  • The hub runs git worktree add / remove, from the dashboard only. The CLI and MCP get no such command.
  • The worktree folder follows the repository's existing worktrees (placed by an IDE or Orca). Without one, it goes to <parent>/<repo>.worktrees/, never inside the repo.
  • The main working tree's checkout is never changed. "Switching" means New lane, then Take main ports.
  • Security as in ADR-0046 and ADR-0019: the page names only branches the hub listed, new names must pass git check-ref-format, the folder is chosen by the hub, and there are no git prompts.
  • Fetch only on a button. Commits, push and merge stay with a Git client (GitHub Desktop, feat(hub): open a tree in GitHub Desktop #185).

Needs a decision

This partly reverses ADR-0024. Point 1 says devstack never creates or removes a worktree, and its second amendment (2026-10-15) removed lane add / lane remove as "a second way … with a path convention of their own". The proposal keeps that rule for the CLI, MCP and daemon. It answers the amendment's reason by placing the folder beside the existing worktrees. Once 0047 is accepted, ADR-0024's status and Related lines get a link to it.

🤖 Generated with Claude Code

7schmiede and others added 2 commits October 21, 2026 17:34
The header's lane picker becomes a branch picker: show a branch's lane,
make a lane (a worktree) from a branch or a new one, remove a stopped one.
The hub runs git; the main working tree's checkout is never changed, a
lane on the main ports is the switch. Replaces part of ADR-0024 point 1
for the hub only, and answers its second amendment's reason by placing
the folder beside the repository's existing worktrees.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@7schmiede 7schmiede changed the title docs(adr): 0047, the dashboard makes a lane from a branch (Proposed) docs(adr): 0047, the dashboard makes a lane from a branch Oct 21, 2026
@7schmiede
7schmiede merged commit d91616c into main Oct 21, 2026
@7schmiede
7schmiede deleted the docs/adr-0047 branch October 21, 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.

1 participant