feat: better branch titles

This commit is contained in:
2026-07-22 11:17:24 -04:00
parent c46f8f1783
commit 0034272c54
3 changed files with 50 additions and 14 deletions

View File

@@ -260,7 +260,7 @@ async function executePlanBatches(
// Clean up stale worktrees from interrupted runs before starting.
if (config.execution.worktrees !== "never" && projectDir) {
const removed = cleanupStaleWorktrees(projectDir, progress.getKey());
const removed = cleanupStaleWorktrees(projectDir, config.paths.stateDir);
if (removed.length > 0) {
ctx.ui.notify(
`Cleaned up ${removed.length} stale worktree(s) from previous run.`,