feat(runtime-host): admit approved guest Turn requests - #4197
Draft
M4n5ter wants to merge 1 commit into
Draft
Conversation
M4n5ter
force-pushed
the
feat/session-turn-access-requests
branch
from
August 29, 2026 17:30
0ccbfbf to
dc68ac3
Compare
M4n5ter
force-pushed
the
feat/session-turn-access-requests
branch
2 times, most recently
from
August 29, 2026 21:51
2cc6cb1 to
fb1fc06
Compare
Persist immutable Guest Turn requests and Owner decisions, then recover approved exact intents through the canonical Turn admission path. Generated-by: OpenAI Codex
M4n5ter
force-pushed
the
feat/session-turn-access-requests
branch
from
August 29, 2026 21:56
fb1fc06 to
2944be8
Compare
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
Add durable exact Turn access requests. A Guest requests one immutable
turn.startintent; the Owner decides it with revision fencing, and only an approved intent enters the canonical Turn admission path. Recovery schedules approved requests without delaying Host readiness, while idle-wait failures drain and leave the request recoverable.Refs #3843
Verification
npm run build:testnode --test packages/runtime-host/dist/__tests__/session-collaboration-authority.test.jsnpm run lintnpm run format:checkAI use
Tool(s) and scope: OpenAI Codex implemented and verified the change under the maintainer's direction and review.
Checklist
Does this PR entail a change in behavior?
中文
摘要
加入持久化的精确 Turn access request。Guest 请求一个不可变的
turn.startintent;Owner 通过 revision fence 决策,只有获批 intent 才进入 canonical Turn 准入路径。恢复过程不会因已批准请求而延迟 Host ready;等待 Session idle 失败时会进入 drain,并保留请求以供恢复。关联 #3843
验证
npm run build:testnode --test packages/runtime-host/dist/__tests__/session-collaboration-authority.test.jsnpm run lintnpm run format:checkAI 使用
OpenAI Codex 在维护者的指导和审核下参与了实现与验证。