Commit Graph

9 Commits

Author SHA1 Message Date
can1357 5e74444c27 fix(test): repair auth-storage-rotation merge resolution and normalize changelogs 2026-07-14 18:50:47 +02:00
can1357 72b1ddf04c fix(session): validate pending exit diagnostics 2026-07-14 18:39:53 +02:00
Christian Stewart bdad9ca8c0 fix(session): recover interrupted switched sessions
Close pending tool turns recorded during normal shutdown and apply interrupted-tail recovery when switching or reloading sessions.

Signed-off-by: Christian Stewart <christian@aperture.us>
2026-07-11 16:18:39 -07:00
Christian Stewart a420dd11e4 fix(session): preserve terminal failed tool turns
Skip interrupted-turn recovery when an error or aborted assistant already closed its tool calls with synthetic results.

Signed-off-by: Christian Stewart <christian@aperture.us>
2026-07-11 16:18:39 -07:00
Christian Stewart de236903d4 fix(session): close all interrupted transcript tails
Detect pending tool calls from assistant content and use the selected model metadata to terminate first-turn user tails after abnormal process exits.

Signed-off-by: Christian Stewart <christian@aperture.us>
2026-07-11 16:18:39 -07:00
Christian Stewart e3e5bf8775 fix(session): recovered interrupted session turns
Appended one terminal aborted assistant record when a persisted abnormal-exit diagnostic follows a non-terminal transcript tail, preserving partial history while making resumed context valid.

Signed-off-by: Christian Stewart <christian@aperture.us>
2026-07-11 16:18:39 -07:00
can1357 0e2feab742 refactor(coding-agent): reduced session log footprint
- Projected full tool-call arguments down to a compact summary containing only `command` and `path`.
- Truncated summarized argument fields to 200 characters to prevent inflating session log sizes.
- Replaced routine clean session disposal warnings with debug logs to reduce noise.
- Streamlined debug context in assistant message removal and agent continuation skip paths.
- Extracted duplicate user-facing compaction warning strings into a helper function.
2026-07-02 02:40:08 +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