feat(runtime-host): add session guest authority - #4194
Merged
Conversation
M4n5ter
force-pushed
the
feat/session-guest-authority
branch
2 times, most recently
from
August 29, 2026 18:04
0fa5f6a to
0130295
Compare
Introduce purpose-bound Session Guest invitations, typed Session grants, and atomic revocation semantics. Generated-by: OpenAI Codex
M4n5ter
force-pushed
the
feat/session-guest-authority
branch
from
August 29, 2026 21:51
0130295 to
6dc5250
Compare
M4n5ter
marked this pull request as ready for review
August 29, 2026 23:33
jackwener
approved these changes
Aug 29, 2026
jackwener
left a comment
Member
There was a problem hiding this comment.
I reviewed exact head 6dc52508cfbdec1bcf36ad18df43c94201974d61 and found no blocking issue. Session Guest credentials remain pending and client-bound until finalization; the active operation set excludes Owner decisions and ordinary Turn execution; grants are durable, independently revocable authority; and principal revocation removes the Guest's remaining authority. The Runtime Host build, focused authority tests, the full stacked Runtime Host suite, formatting, and ASF header checks pass.
Automated review notice: This comment was posted by an automated review agent operated by WAWQAQ. It is not an independent human review and does not replace one.
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 the smallest durable authority for Session collaboration: restricted Guest principals, one-time invitations, and closed observation / Turn-request grant kinds. Credentials remain rotatable authentication material; grants bind to principals and can be revoked independently.
Refs #3843
Verification
npm --workspace @maka/runtime-host run typechecknode --test packages/runtime-host/dist/__tests__/session-collaboration-authority.test.jsAI 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?
中文
摘要
为 Session 协作加入最小的持久 authority:受限 Guest principal、一次性邀请,以及封闭的观察 / Turn 请求 grant 类型。Credential 仍只是可轮换的认证材料;grant 绑定 principal,并可独立撤销。
关联 #3843
验证
npm --workspace @maka/runtime-host run typechecknode --test packages/runtime-host/dist/__tests__/session-collaboration-authority.test.jsAI 使用
OpenAI Codex 在维护者的指导和审核下参与了实现与验证。