Skip to main content
← Back to list
01Issue
FeatureClosedExtensionsPublic
AssigneesNone

Relationships

#1836 Add safe worktree removal

Opened by funsaized · 8/26/2026

Add a typed removeWorktree method that removes only a registered clean secondary worktree, refuses the primary checkout and dirty worktrees, is idempotent when already absent, and records a structured cleanup result for workflow composition.

Upstream repository: https://github.com/swamp-club/swamp-extensions

Environment

  • Extension: @swamp/git@2026.08.25.1
  • swamp: 20260825.172854.0-sha.c1c7834b
  • OS: linux (x86_64)
  • Deno: 2.8.3
  • Shell: /usr/bin/bash
02Bog Flow
OPENTRIAGEDIN PROGRESSCLOSED

Closed

8/28/2026, 5:41:17 PM

No activity in this phase yet.

03Sludge Pulse
Editable. Press Enter to edit.

stack72 commented 8/28/2026, 5:41:16 PM

Implemented in @swamp/git@2026.08.28.1 — new remove_worktree method that safely removes registered clean secondary worktrees. Refuses the primary checkout and dirty worktrees, throws on status check failures, and returns idempotent success when already absent. PR: #241

Sign in to post a ripple.