Merge pull request #698 from chilipvlmer/fix/preserve-subagent-response
fix(sisyphus-orchestrator): preserve subagent response in output transformation
This commit is contained in:
commit
14dc8ee8df
@ -640,10 +640,20 @@ export function createSisyphusOrchestratorHook(
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Preserve original subagent response - critical for debugging failed tasks
|
||||||
|
const originalResponse = output.output
|
||||||
|
|
||||||
output.output = `
|
output.output = `
|
||||||
## SUBAGENT WORK COMPLETED
|
## SUBAGENT WORK COMPLETED
|
||||||
|
|
||||||
${fileChanges}
|
${fileChanges}
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Subagent Response:**
|
||||||
|
|
||||||
|
${originalResponse}
|
||||||
|
|
||||||
<system-reminder>
|
<system-reminder>
|
||||||
${buildOrchestratorReminder(boulderState.plan_name, progress, subagentSessionId)}
|
${buildOrchestratorReminder(boulderState.plan_name, progress, subagentSessionId)}
|
||||||
</system-reminder>`
|
</system-reminder>`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user