Skip to content

Commit aa44c54

Browse files
committed
fix(sisyphus-orchestrator): preserve subagent response in output transformation
1 parent 945b090 commit aa44c54

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/hooks/sisyphus-orchestrator/index.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,10 +640,20 @@ export function createSisyphusOrchestratorHook(
640640
})
641641
}
642642

643+
// Preserve original subagent response - critical for debugging failed tasks
644+
const originalResponse = output.output
645+
643646
output.output = `
644647
## SUBAGENT WORK COMPLETED
645648
646649
${fileChanges}
650+
651+
---
652+
653+
**Subagent Response:**
654+
655+
${originalResponse}
656+
647657
<system-reminder>
648658
${buildOrchestratorReminder(boulderState.plan_name, progress, subagentSessionId)}
649659
</system-reminder>`

0 commit comments

Comments
 (0)