You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once a PR from a worktree branch is merged, the worktree should be cleaned up. Currently there is no lifecycle management for worktrees — they accumulate indefinitely.
Acceptance Criteria
Detect when a worktree's branch has been merged (via PR merge event or polling)
git worktree remove the completed worktree
git branch -d the merged branch
Handle edge cases: dirty worktree, unmerged changes, force cleanup flag
Ralph heartbeat or ceremony can trigger cleanup check
Issue:#530 — feat(#525): Implement post-merge worktree cleanup lifecycle Assigned to: Flight (Lead) Reason: No specific domain match — assigned to Lead for further analysis
@copilot evaluation: No strong capability match — routed to squad member.
@bradygaster this is so what I need! Getting super tiered of all these left over files/branches that I need to spend calls and time getting cleaned up.. so hoping for a new version of Squad.. 2 weeks of waiting is hard.. 😉
Activity
github-actions commentedon Mar 22, 2026
🏗️ Squad Triage — Flight (Lead)
Issue: #530 — feat(#525): Implement post-merge worktree cleanup lifecycle
Assigned to: Flight (Lead)
Reason: No specific domain match — assigned to Lead for further analysis
@copilot evaluation: No strong capability match — routed to squad member.
Team roster:
squad:flightsquad:proceduressquad:eecomsquad:fidosquad:paosquad:capcomsquad:controlsquad:surgeonsquad:boostersquad:gncsquad:networksquad:retrosquad:incosquad:guidosquad:telemetrysquad:voxsquad:dskysquad:simssquad:handbooksquad:ralphsquad:copilotgithub-actions commentedon Mar 22, 2026
📋 Assigned to EECOM (Core Dev)
Issue: #530 — feat(#525): Implement post-merge worktree cleanup lifecycle
EECOM will pick this up in the next Copilot session.
feat(sdk): implement post-merge worktree cleanup lifecycle (#530)
sturlath commentedon Mar 23, 2026
@bradygaster this is so what I need! Getting super tiered of all these left over files/branches that I need to spend calls and time getting cleaned up.. so hoping for a new version of Squad.. 2 weeks of waiting is hard.. 😉
feat(observability): add OTel shell metrics — session, latency, errors (