Skip to content

docs(id): specify and test the F13.8 client-only boundary (#3846) - #3862

Merged
dezren39 merged 2 commits into
mainfrom
queue/5833-3846-client-only-boundary
Nov 1, 2026
Merged

dezren39 merged 2 commits into
mainfrom
queue/5833-3846-client-only-boundary

Conversation

@dezren39

@dezren39 dezren39 commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Implements #3846 (F13.8 Phase 2, parent #790). Queue task 5833.

What

Documents and regression-tests the client-only authority boundary:

  • CLI help — the World command doc now states every world subcommand is a client command: it connects out to a host, opening further world sessions starts no listener/host/authority, there is no --client-only flag because no world subcommand has a server mode, and node connectivity is not world authority (a valid world capability is still required). The Serve doc names id serve as the only command that starts a server or listener, with SSH world serving opt-in via its flags.
  • README — a new "Client-only boundary" section plus a pointer in the usage examples.
  • Regression test — test_world_client_commands_never_dispatch_serve in cli.rs: representative client argvs (world join, invite, records, list) parse to Command::World, never Command::Serve (the only arm main dispatches server startup from); id serve still parses as Serve; --client-only is rejected.

Scope

Docs + one parse-level test only. No runtime behaviour, hosting, or capability changes; no redundant --client-only flag (per #3846's exclusion). The concurrent multi-server coordinator stays with #3845.

Docs/test-only diff (78 insertions, 2 files). Tests run in CI per the fleet's CI-first rule.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

World subcommands and remote operations are client-only: they connect
out to a host and never start a listener, host, or authority; serving
begins only through explicit id serve (SSH serving opt-in). Document
the boundary in the World/Serve CLI help and the README, and pin it
with a parse-level regression test: representative world client argvs
parse to Command::World, never Command::Serve, and no --client-only
flag exists. Node connectivity is documented as not world authority;
a valid world capability remains required.
@dezren39
dezren39 requested a review from a team as a code owner November 1, 2026 17:09
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 30715e02-a5b1-4ed7-a967-b4cd1071c558
Commits

Reviewing files that changed from the base of the PR and between 3c3c585 and 7e11b61.

Files selected for processing: 2
  • pkgs/id/README.md
  • pkgs/id/src/cli.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T17:44:41.115971Z 7e11b61 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f2caec6a21

ℹ️ 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".

Comment thread pkgs/id/README.md Resolved
…3846)

world ssh-tunnel without --stdio binds a local TcpListener and world
mirror runs a replica endpoint that accepts sync connections, so the
blanket no-listener claim was wrong. The boundary is about hosting and
authority: no world subcommand hosts a world or grants authority, and
the two listener exceptions are now documented in the CLI help and
README.
@dezren39

dezren39 commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

@codex review — head updated to 7e11b61 addressing the round-1 finding (boundary narrowed to hosting/authority; ssh-tunnel and mirror listener exceptions documented).

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 7e11b6101e

ℹ️ 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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant