Subagent worktree deletion risk on git inspection failure
Cluster 88113 · agent. Data as of
Nothing open on GitHub. Fix merged in #88419 on 17 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #88419. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #88419. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items concern a bug where subagent worktree cleanup can delete uncommitted work when git inspection fails, and proposed fixes to prevent deletion in that failure case.
Open issues0
Open PRs0
Fixes on record
-
#88419 fix(delegate): don't delete a subagent's uncommitted work when git inspection fails
files:
tests/tools/test_subagent_worktree.py,tools/delegate_tool.py,tools/subagent_worktree.py,website/docs/user-guide/features/delegation.md
1 PR closed without merging
From the close comments: merged via another change 1
-
#88125 fix(delegate): keep the worktree when git inspection fails · merged via another change →
#88419,#88113
Closed issues · 1
- Closed#88113[Bug]: subagent worktree cleanup deletes uncommitted work when Git inspection fails
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Merged PRs
- #88419
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 17 Aug 2026