cli: worktree status and rebase exist only on the MCP surface - bring them to the CLI or pin them agent-only #170

Closed
opened 2026-07-16 21:49:50 +00:00 by hexajon · 1 comment
hexajon commented 2026-07-16 21:49:50 +00:00 (Migrated from codeberg.org)

madt_worktrees dispatches list / status / add / remove / rebase / prune. The CLI madtea worktree supports only list / add / remove / prune. The two missing ones are not niche: status is the batch clean/dirty/ahead-behind report across every tree, and rebase is the guarded re-base of a worktree's branch (refuses primary checkouts) - both useful to a human running a multi-worktree setup, not just to agents.

Decide one:

  • Bring worktree status and worktree rebase to the CLI. Natural fit with the cobra-subcommand conversion in #169; the names already match the MCP actions, so parity is free. COMPARISON.md rows follow.
  • Pin the asymmetry as deliberate (agent-coordination surface only): record it in the naming-conventions divergence list so the parity story stays honest, and keep docs from advertising them as CLI commands.

Context: the README taught worktree status and worktree rebase as CLI commands until 2026-07-16 (fixed in the readme-edits batch, which now attributes them to MCP). #169 covers the drift-test hole that let that ship.

`madt_worktrees` dispatches list / status / add / remove / rebase / prune. The CLI `madtea worktree` supports only list / add / remove / prune. The two missing ones are not niche: `status` is the batch clean/dirty/ahead-behind report across every tree, and `rebase` is the guarded re-base of a worktree's branch (refuses primary checkouts) - both useful to a human running a multi-worktree setup, not just to agents. Decide one: - **Bring `worktree status` and `worktree rebase` to the CLI.** Natural fit with the cobra-subcommand conversion in #169; the names already match the MCP actions, so parity is free. COMPARISON.md rows follow. - **Pin the asymmetry as deliberate** (agent-coordination surface only): record it in the naming-conventions divergence list so the parity story stays honest, and keep docs from advertising them as CLI commands. Context: the README taught `worktree status` and `worktree rebase` as CLI commands until 2026-07-16 (fixed in the readme-edits batch, which now attributes them to MCP). #169 covers the drift-test hole that let that ship.
hexajon commented 2026-07-17 14:19:32 +00:00 (Migrated from codeberg.org)

Parity is ideal, going to bring them in.

Parity is ideal, going to bring them in.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sixfold-space/madtea#170
No description provided.