Merge pull request #698 from chilipvlmer/fix/preserve-subagent-response

fix(sisyphus-orchestrator): preserve subagent response in output transformation
This commit is contained in:
Kenny
2026-01-12 22:16:59 -05:00
committed by GitHub

View File

@@ -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}
<system-reminder>
${buildOrchestratorReminder(boulderState.plan_name, progress, subagentSessionId)}
</system-reminder>`