docs(rfd): draft turn_complete signal for session/update sync#644
Open
stablegenius49 wants to merge 1 commit intoagentclientprotocol:mainfrom
Open
docs(rfd): draft turn_complete signal for session/update sync#644stablegenius49 wants to merge 1 commit intoagentclientprotocol:mainfrom
stablegenius49 wants to merge 1 commit intoagentclientprotocol:mainfrom
Conversation
Add a Draft RFD proposing a session/update turn_complete signal to provide a deterministic end-of-turn barrier for clients consuming streaming updates (issue agentclientprotocol#554). Also add the RFD to docs navigation.
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.
Summary
Draft RFD to address #554 by proposing a protocol-level
turn_completesignal insession/update.This gives clients a deterministic end-of-turn barrier for streamed updates and removes the need for sleep-based heuristics after
session/promptresolves.What this PR changes
docs/rfds/turn-complete-signal.mdxdocs/docs.jsonunder RFDs > Draft)Proposal highlights
sessionUpdate: "turn_complete"promptRequestId) and optionalstopReasonsessionCapabilities.turnCompleteWhy RFD-first
This appears to touch ordering semantics and SDK behavior across multiple implementations. Starting with an RFD should help converge on semantics before unstable schema/runtime changes.
Refs #554