diff --git a/src/hooks/sisyphus-orchestrator/index.ts b/src/hooks/sisyphus-orchestrator/index.ts index f50a0e2c7..c6677ba7d 100644 --- a/src/hooks/sisyphus-orchestrator/index.ts +++ b/src/hooks/sisyphus-orchestrator/index.ts @@ -640,10 +640,20 @@ export function createSisyphusOrchestratorHook( }) } + // Preserve original subagent response - critical for debugging failed tasks + const originalResponse = output.output + output.output = ` ## SUBAGENT WORK COMPLETED ${fileChanges} + +--- + +**Subagent Response:** + +${originalResponse} + ${buildOrchestratorReminder(boulderState.plan_name, progress, subagentSessionId)} `