Previously, branch computation errors and ensureBranch failures were silently swallowed for all tasks, allowing execution agents to spawn without proper git isolation. This caused alert-pony to commit directly to main instead of its task branch. - manager.ts: Verify each project worktree subdirectory exists after createProjectWorktrees; throw if any are missing. Convert passive cwdVerified log to a hard guard. - dispatch/manager.ts: Make branch computation and ensureBranch errors fatal for execution tasks (execute, verify, merge, review) while keeping them non-fatal for planning tasks.
18 KiB
18 KiB