feat(mission-control): give the list handler its own review task
"Let Claude handle it" now creates one ClaudeDo task per run to host the ConPTY session (Idle/IsManual, never queued) instead of an untracked ad-hoc tile, so the run has a real title, diff, and review outcome. Since the handler merges its own changes straight into the list's working dir, the task never gets a WorktreeEntity; its review range lives as new HandlerBaseCommit/HandlerHeadCommit columns on TaskEntity instead, reusing the existing commit-range diff machinery and keeping it out of the worktrees overview entirely.
This commit is contained in:
@@ -51,6 +51,15 @@ public sealed class TaskEntity
|
||||
public int SortOrder { get; set; }
|
||||
public string? SessionSkills { get; set; }
|
||||
|
||||
// Review range for a worktree-less task hosting an interactive "list handler" run
|
||||
// (Mission Control's "Let Claude handle it"): the handler commits its own changes
|
||||
// straight to the list's working dir, so there is no per-task worktree to diff. These
|
||||
// capture the repo's HEAD at session start / submit-for-review instead, so the normal
|
||||
// diff/get_task_diff paths can show `HandlerBaseCommit..HandlerHeadCommit` over the
|
||||
// list's working dir exactly like a merged task's commit-range diff.
|
||||
public string? HandlerBaseCommit { get; set; }
|
||||
public string? HandlerHeadCommit { get; set; }
|
||||
|
||||
public string? ParentTaskId { get; set; }
|
||||
public string? PlanningSessionId { get; set; }
|
||||
public string? PlanningSessionToken { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user