{"name":"tengu_worktree_kept","slug":"tengu-worktree-kept","family":"flag","title":"Feature flags","noun":"feature flag","description":"Leaving a worktree warns about possible unpushed commits instead of claiming zero.","description_source":"entry","described_by":{"version":"2.1.248","anchor":"worktree-exit-dialog-no-longer-pretends-an-uncountable-branc"},"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.304","released_at":"2026-10-19 19:47:15","spans":1}},"aliases":[],"entries":[{"version":"2.1.281","anchor":"worktree-keep-always-counts-changed-files-and-commits","heading":"Worktree 'keep' always counts changed files and commits","line":"Keeping a worktree on exit now always counts its changed files and commits, including hook-based worktrees","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"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"}],"entries_total":2,"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_mode","slug":"tengu-worktree-mode","description":null},{"name":"tengu_worktree_removed","slug":"tengu-worktree-removed","description":"Worktree cleanup aborts rather than deleting a tree whose state it cannot safely determine."},{"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-kept","family_url":"https:\/\/changelogs.core-directive.com\/reference\/flag.json"}