fix(FN-1300): capture agent run output in heartbeat and step sessions

- Wire AgentLogger into heartbeat runs, including tool/text callbacks and stdout excerpts on run records
- Persist heartbeat context taskId snapshots earlier and ensure logger flushes on success and failure paths
- Pass TaskStore into StepSessionExecutor and flush per-attempt agent logs in finally cleanup
- Expand heartbeat and step-session tests to verify log persistence and flush behavior, and add a patch changeset for @gsxdsm/fusion
This commit is contained in:
gsxdsm
2026-04-08 12:46:24 -07:00
parent f465c3688c
commit b0b3ca7e4b
6 changed files with 275 additions and 29 deletions

View File

@@ -0,0 +1,5 @@
---
"@gsxdsm/fusion": patch
---
Fix missing agent run output by wiring agent log capture into heartbeat and step-session execution paths, ensuring run records include task context and visible output excerpts in the dashboard.