Commit Graph

5 Commits

Author SHA1 Message Date
can1357 1b458f2e61 fix(coding-agent): preserved teardown exit reasons during session disposal
- Thread the postmortem reason through the session teardown pipeline to the session dispose process.
- Prevent generic "dispose" logs from overwriting real triggers like SIGTERM, SIGHUP, or uncaught exceptions.
- Ensure the first teardown trigger's reason is preserved when concurrent disposal calls occur.
- Add comprehensive test coverage verifying signal-specific reason mapping inside exit diagnostics.
- Fix a minor unhandled-exception test utility expectation in input controller tests.
2026-07-02 01:51:10 +02:00
can1357 5f1ed0fcde chore: reformat 2026-07-01 23:14:36 +02:00
can1357 9403df1abd fix(session): avoid empty exit-marker sessions 2026-07-01 21:55:01 +02:00
roboomp d1f91f0c70 fix(session): detected pending tool calls without toolUse
Collected assistant tool calls regardless of stopReason so malformed or legacy restored tails still surface pending-tool diagnostics.

Added regression coverage for a toolCall-bearing assistant stop message.

Fixes #2606
2026-06-15 02:58:18 +00:00
roboomp 48e6f4d306 fix(session): recorded silent exit diagnostics
Recorded durable tool-start and session-exit markers so resumes can warn when a prior branch ended with pending tool calls.

Added regression coverage for pending bash tool calls and shutdown diagnostics.

Fixes #2606
2026-06-15 02:50:07 +00:00