feat(plugin): add trusted Relay rooms and Relayfile access#2
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e47042b7bc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Cross-repo Fleet and trusted-room signoffReviewed as one immutable stack:
Fresh sequential cross-node reviews:
Codex exact-head validation:
Live Fleet placement and Relay coordination were also proven:
The v1 contract uses existing Relaycast agent-token and workspace APIs. No Relaycast or relaycast-cloud source or dependency change is required. |
Summary
V1 trust model
Every invited member is a trusted full participant for ordinary agent-level collaboration actions. Workspace owner keys, owner-only Relaycast administration, and Cloud organization administration remain owner-only.
Cloud is used only for invite, membership, and participant-device credential lifecycle. It is not a chat proxy. This change does not modify or bump Relaycast or relaycast-cloud.
Invitation token contract
The plugin accepts only opaque invitations in the generic
relay_room_inv_namespace followed by exactly 43 URL-safe characters, matching Cloud and the Agent Relay CLI. It rejects product-specific, malformed, and truncated values before invoking the accept command and redacts valid room tokens from subprocess output.Validation
434ea128b168948d5fb538f32c93b317b9c4dcbe: all applicable GitHub checks passedcargo fmt --checkcargo clippy --all-targets --locked -- -D warningsStack