fix(interrupt): don't send the interrupt-close row to providers that own their transcript (t_f40dc54a) - #1101
Merged
Conversation
…own their transcript (t_f40dc54a) close_interrupted_tool_sequence() appends a harness-authored assistant row (partial text or 'Operation interrupted.', flagged _interrupt_close) on every interrupted turn, including a gateway restart. For a bridge relay over a resident CLI session that row is an assistant reply the CLI never produced; the relay's continuation gate reports final-reply-produced-elsewhere and re-sends the whole history into a fresh session. Live 2026-09-25 sub-vps-1: one 828k-token re-mint on the first turn after the 06:25 PT restart. New opt-in ProviderProfile.owns_transcript (default False). When the active provider's profile sets it, the send path omits interrupt-close rows from the wire. Persisted history is untouched; strict-alternation providers (NousResearch#48879) keep the row. Lookup fails open (row sent). Tests: row detection, default False, lookup + fail-open, bridge omits / native keeps, and a contract test on the send-path wiring (red with the wiring reverted). 356 interrupt/sanitize/close tests + 92 provider tests green.
Collaborator
Author
|
🤖 merged-by: apollo · lane: kanban-t_f40dc54a · gate: BYPASS: FR PAUSED by Ace ruling 2026-09-22 (state/fleetreview-pause-20260922.md); Apollo-reviewed lands via bypass · why: Apollo own fix: opt-in ProviderProfile.owns_transcript; send path omits interrupt-close rows for such providers; persisted history + strict-alternation lanes unchanged; fail-open; contract test red with wiring reverted; 356+92 tests; CI 39/39 |
FleetReviewFleetReview's daily member-call budget is spent (600/600 for 2026-09-26 UTC); review skipped. FleetReview · reviewKind: skipped-budget |
This was referenced Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See commit. Opt-in field; consumers are the claude-bpr/bpx provider plugins (hermes-home), which set owns_transcript=True guarded by a field-exists check so they stay loadable on runtimes that predate this PR. Card t_f40dc54a.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.