From 7eed3bc2dfe0df7ec1adf655ffce2fa5eb6163a1 Mon Sep 17 00:00:00 2001 From: Matteo Michele Bianchini Date: Wed, 18 Mar 2026 10:03:40 +0000 Subject: [PATCH] fix(workflows): add explicit TaskOutput instructions to map-codebase The workflow spawns 4 background agents but didn't tell Claude how to wait for them. Without explicit TaskOutput instructions, the orchestrator displays "Waiting for agents to complete..." indefinitely. Co-Authored-By: Claude Opus 4.6 --- get-shit-done/workflows/map-codebase.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/get-shit-done/workflows/map-codebase.md b/get-shit-done/workflows/map-codebase.md index 901b14511..0cfcd9c27 100644 --- a/get-shit-done/workflows/map-codebase.md +++ b/get-shit-done/workflows/map-codebase.md @@ -172,9 +172,19 @@ Continue to collect_confirmations. -Wait for all 4 agents to complete. +Wait for all 4 agents to complete using TaskOutput tool. -Read each agent's output file to collect confirmations. +**For each agent task_id returned by the Agent tool calls above:** +``` +TaskOutput tool: + task_id: "{task_id from Agent result}" + block: true + timeout: 300000 +``` + +Call TaskOutput for all 4 agents in parallel (single message with 4 TaskOutput calls). + +Once all TaskOutput calls return, read each agent's output file to collect confirmations. **Expected confirmation format from each agent:** ```