After revision: ad34e6c92ce601be54aff7c5c22901c8100503e9 Linux fs-31; real web dev server; Chrome 1280x800; same original orphan created and deleted on base. Isolated copied snapshot migration metadata 68-70 (PeerLinks/PeerLinkFence/WaitingLinkRequestIndex) removed before startup; current main migration68 ShellStopRequestIndex ran. No thread/event/projection data edited. Pre-start: parent deletedAt 2026-10-22T23:32:35.297Z; native child deletedAt null; checkout existed and was clean. Enabled project Custom > Delete worktrees with deleted threads in real UI. This triggered cleanup sweep. Expanded Last run: 1 removed, 0 kept; reason Thread was deleted; attributed to Test Subagent Completion. Effective settings: {"18ca8ec6-f095-49a1-89bb-562a8fb24f79": {"worktreeCleanup": {"mode": "custom", "rules": {"worktreeKeepWhen": "uncommitted-changes", "worktreeAfterDays": null, "worktreeSettledAfterDays": null, "worktreeOnMerge": false, "worktreeOnDelete": true, "worktreeUnchanged": false}}}} {"id": "72981082-34a4-46fd-b7c5-a582558f9535", "title": "Test Subagent Completion", "lineage": {"parentThreadId": null, "relationshipToParent": null, "rootThreadId": "72981082-34a4-46fd-b7c5-a582558f9535"}, "worktreePath": "/home/ubuntu/wt/issue-17812/.t3/worktrees/issue-17812-repro/t3-7d7d6c30", "deletedAt": "2026-10-22T23:32:35.297Z"} {"id": "thread:provider:codex:native-thread:01a165f5-2492-7152-9ab7-f54404a1f461", "title": "/root/child", "lineage": {"parentThreadId": "72981082-34a4-46fd-b7c5-a582558f9535", "relationshipToParent": "subagent", "rootThreadId": "72981082-34a4-46fd-b7c5-a582558f9535"}, "worktreePath": "/home/ubuntu/wt/issue-17812/.t3/worktrees/issue-17812-repro/t3-7d7d6c30", "deletedAt": null} os.path.exists(/home/ubuntu/wt/issue-17812/.t3/worktrees/issue-17812-repro/t3-7d7d6c30): False git worktree list --porcelain: worktree /tmp/issue-17812-repro HEAD f75fadc11fa505c4c9f7a38063ac31bcc56341da branch refs/heads/main