You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(daemon): preserve worktree on any successful result, not just in_review
Previously finalize checked getTask status — if the task was rejected
between review_requested and agent finish, getTask returned in_progress
and finalize released the worktree, destroying the resume entry point.
Now: any agent that produced a result (resultReceived=true, not crashed)
gets its worktree preserved. The daemon loop's checkRejectedReviews
handles cleanup for done/cancelled tasks. This eliminates the race
between reject and finalize, and removes the getTask call from finalize.
0 commit comments