feat(runtime-host): own session revision authority - #1664
Merged
likun666661 merged 6 commits intoJul 31, 2026
Merged
Conversation
M4n5ter
force-pushed
the
feat/runtime-host-session-revision-authority
branch
from
July 30, 2026 17:31
b93ab9d to
9f783a6
Compare
M4n5ter
force-pushed
the
feat/runtime-host-session-revision-authority
branch
from
July 31, 2026 07:36
9f783a6 to
071c4d6
Compare
M4n5ter
marked this pull request as ready for review
July 31, 2026 07:37
M4n5ter
force-pushed
the
feat/runtime-host-session-revision-authority
branch
2 times, most recently
from
July 31, 2026 09:00
6f392d4 to
8bae1a2
Compare
M4n5ter
marked this pull request as draft
July 31, 2026 09:51
M4n5ter
force-pushed
the
feat/runtime-host-session-revision-authority
branch
from
July 31, 2026 10:12
69d94f4 to
85427ab
Compare
M4n5ter
force-pushed
the
feat/runtime-host-session-revision-authority
branch
from
July 31, 2026 10:13
85427ab to
8aeff48
Compare
M4n5ter
marked this pull request as ready for review
July 31, 2026 10:13
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.
English
Summary
Make Runtime Host the canonical authority for exact, retryable Session branches and revisions through the v0
session.branch.createandsession.revision.createcommands.A branch retains the selected source turn; a revision retains the conversation strictly before that turn. Both operations bind a Client-supplied target identity to the complete request, compare the expected source revision, and publish one cross-store conversation snapshot.
Revision authority
Exact conversation copy
Coordination and boundaries
operation_unavailable; this slice supports same-Session legacy child AgentRuns only.Validation
git diff --checkpassed.Part of #1167 and #853.
简体中文
概要
让 Runtime Host 通过 v0
session.branch.create和session.revision.createcommand,成为精确、可重试的 Session branch 与 revision 权威所有者。Branch 会保留选中的 source turn;revision 会保留该 turn 之前的 conversation。两种 operation 都会把 Client 提供的 target identity 绑定到完整 request,比较预期的 source revision,并发布一份跨 Store 的 conversation snapshot。
Revision authority
精确 Conversation Copy
协调与边界
operation_unavailablefail closed;本 slice 只支持同一 Session 内的 legacy child AgentRun。验证
git diff --check通过。属于 #1167 和 #853 的一部分。