diff --git a/docs/superpowers/plans/2026-06-04-child-tasks-and-improvement-loop.md b/docs/superpowers/plans/2026-06-04-child-tasks-and-improvement-loop.md index 7c50e37..09c7661 100644 --- a/docs/superpowers/plans/2026-06-04-child-tasks-and-improvement-loop.md +++ b/docs/superpowers/plans/2026-06-04-child-tasks-and-improvement-loop.md @@ -723,10 +723,9 @@ Expected: FAIL — parent goes `WaitingForReview` (routing not implemented), chi - [ ] **Step 3: Implement the routing** -In `src/ClaudeDo.Worker/Runner/TaskRunner.cs`, replace the status-setting block in `HandleSuccess` (lines 337-350, the `if (task.ParentTaskId is null && task.PlanningPhase == PlanningPhase.None)` … `else` … block) with: +In `src/ClaudeDo.Worker/Runner/TaskRunner.cs` (post-rebase), `HandleSuccess` already declares `var finishedAt` and calls `SetRoadblockCountAsync` ABOVE the routing block — KEEP both. Replace ONLY the `var reviewResult = …;` line plus the `if (task.ParentTaskId is null && task.PlanningPhase == PlanningPhase.None)` … `else` block (the routing decision) with: ```csharp - var finishedAt = DateTime.UtcNow; var reviewResult = ComposeReviewResult(result.ResultMarkdown, result.Blocks); bool isStandalone = task.ParentTaskId is null && task.PlanningPhase == PlanningPhase.None;