feat(maestro): force kill deletes dirty worktrees
Previously --force left the worktree on disk so the operator could inspect it. Now it removes the worktree unconditionally — the confirmation prompt already shows the breakdown, so the decision happens before the delete, not after. Natural exit still leaves dirty worktrees on disk (no operator confirmation in that path). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
f2c0882c36
commit
1b2e5f5f05
@@ -133,7 +133,7 @@ pub struct KillArgs {
|
||||
/// Session ID to kill.
|
||||
pub session_id: Uuid,
|
||||
/// End the session even when its worktree holds unsaved work (#81). The
|
||||
/// worktree is left on disk — never removed.
|
||||
/// worktree is removed along with the session.
|
||||
#[arg(long)]
|
||||
pub force: bool,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user