fix(prime-agent): preserve final responses - #34
Merged
Conversation
Thread transfer impact
This comment will update automatically after the next completed run. |
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.
Prime Agent could complete after tool loops, queued continuations, or reconnects without placing its authoritative final response in the right timeline item. Some completed or failed turns therefore appeared silently blank even though the provider had settled them.
This gives daemon assistant segments unique per-turn identities, keeps reconnect continuations attached to the admitted turn, and classifies authoritative textless terminals in both daemon and ACP paths. The server persists only a provider-neutral outcome, while web and mobile present fixed safe response-status copy without fabricating an assistant message, exposing provider-private details, or changing other providers.
Verification:
t3,@t3tools/web,@t3tools/mobile, and@t3tools/contractstypechecksgit diff --checkVisual evidence SHA-256:
1f306df83786e8d61d3ce4a82ad8b29ca410bfa023e5ea0f955accd029c18492f830028e2ec6de6f460854043ba87832374659996342c0ea1ee5c03ecaa811ceb6a7cd6d1ad26e69cc525dd5713a062b0a79722e7deb8b9ba5c8aea1e858be4ad08c791c59b598e4cf810e24bd37133eed1fc8d9e708aca9b831e451cb78b111b51b92f91ff081fee34fd7b6e5a25fbeea39996de72f53ef4fa2f9ed25602b0574e6033588a9684b24e9ebbb30238909023d92e4d7a08d44ea2526324a31bb31Built with GPT-5.6 Sol in Prime Agent.
Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.