{"name":"tengu_worktree_removed","slug":"tengu-worktree-removed","family":"flag","title":"Feature flags","noun":"feature flag","description":"Worktree cleanup aborts rather than deleting a tree whose state it cannot safely determine.","description_source":"entry","described_by":{"version":"2.1.247","anchor":"worktree-cleanliness-checks-and-removal-use-the-same-pinned-"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":{"version":"2.1.248","released_at":"2026-08-27 20:35:36","spans":1}},"aliases":[],"entries":[{"version":"2.1.268","anchor":"forced-destructive-removal-of-agent-worktrees","heading":"Forced (destructive) removal of agent worktrees","line":"Agent worktrees can now be force-removed, deleting all their files after verifying they're linked worktrees, not standalone repos","released_at":"2026-09-10 18:41:11","reason":"gate cited by this entry"},{"version":"2.1.248","anchor":"worktree-exit-dialog-no-longer-pretends-an-uncountable-branc","heading":"Worktree exit dialog no longer pretends an uncountable branch has zero commits","line":"Leaving a worktree warns about possible unpushed commits instead of claiming zero.","released_at":"2026-08-27 20:35:36","reason":"gate cited by this entry, found in this entry's text"},{"version":"2.1.247","anchor":"worktree-cleanliness-checks-and-removal-use-the-same-pinned-","heading":"Worktree cleanliness checks and removal use the same pinned config, and removal aborts when unsure","line":"Worktree cleanup aborts rather than deleting a tree whose state it cannot safely determine.","released_at":"2026-08-26 18:02:01","reason":"gate cited by this entry, found in this entry's text"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"tengu_worktree_detection","slug":"tengu-worktree-detection","description":"An extra pass-through step was added to the internal chain that reports git worktree detection timing"},{"name":"tengu_worktree_kept","slug":"tengu-worktree-kept","description":"Leaving a worktree warns about possible unpushed commits instead of claiming zero."},{"name":"tengu_worktree_mode","slug":"tengu-worktree-mode","description":null},{"name":"tengu_worktree_resume_root_rejected","slug":"tengu-worktree-resume-root-rejected","description":"Resuming into a missing worktree now warns you, and headless runs exit with an error instead of continuing."},{"name":"tengu_worktree_stale_lock_released","slug":"tengu-worktree-stale-lock-released","description":"An analytics event, not a feature flag. Claude Code logs it after a sweep that releases stale liveness locks on its own git worktrees, when at least one release was attempted. It carries `attempted`, the number of locks it tried to release in that sweep."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/flag\/tengu-worktree-removed","family_url":"https:\/\/changelogs.core-directive.com\/reference\/flag.json"}