feat(ag-ui): distinguish run outcomes from HTTP completion - #1163
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
blove
enabled auto-merge (squash)
September 24, 2026 21:53
Contributor
This branch was successfully deployed
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.
A closed HTTP stream does not establish that an AG-UI run succeeded. The locked SDK also accepts mismatched root identifiers and trailing terminal events, while the supported Python provider represents a pause with
CUSTOM on_interruptfollowed byRUN_FINISHED.Add a private run owner over the private HTTP request owner. Each invocation captures caller-assigned identity, admits matching root events, and resolves exactly once to success, pause, interruption, error or abort. It captures terminal evidence before the projection callback, so callback mutation cannot change authority; synchronous local or external cancellation still wins if triggered inside that callback. Every domain terminal closes the physical request, even if the server holds it open.
Native child events remain observations and cannot settle the parent. Child-tagged
RUN_*events delivered by the SDK are rejected. Supported SSE tests preserve that distinction; protobuf can erase those tags before the coordinator, so this change makes no guarantee about recovering absent attribution. Public exports, SDK state application, transcripts, tools, dependencies and releases are unchanged.Validation:
This is private run authority. Neutral session publication, complete transcript fidelity and public AG-UI/React parity remain separate work.