fix: prevent stale assistant replies after stopped turns #121

Merged
karsten merged 1 commit from fix/stop-stale-reply into main 2026-10-27 12:24:01 +00:00
Collaborator

Attribute final responses only to completion events from the current invocation, never historical assistant text. Preserve cancellation through generation, idle and checkpoint cleanup; suppress final prose for cancelled turns. Reject unsupported /reload explicitly while preserving registered commands and documented slash-word passthrough. Six-path regression fix, history preserved. Exact original baseline reproduces 11 failing assertions; candidate focused tests 116/116, default Linux tests 648/648, typecheck and build pass. Independent acceptance in progress. No credentials or deployment changes.

Attribute final responses only to completion events from the current invocation, never historical assistant text. Preserve cancellation through generation, idle and checkpoint cleanup; suppress final prose for cancelled turns. Reject unsupported /reload explicitly while preserving registered commands and documented slash-word passthrough. Six-path regression fix, history preserved. Exact original baseline reproduces 11 failing assertions; candidate focused tests 116/116, default Linux tests 648/648, typecheck and build pass. Independent acceptance in progress. No credentials or deployment changes.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harness/core!121
No description provided.