Repository navigation
id: #5873 flow verbs in the shared world_line grammar (#7616 part 1) - #11251
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou'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 43 minutes. View limit details
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. |
71d4e7c to
54a2fc5
Compare
…p surfaces The parser already carried the #5873 section 3 verbs; this pins the acceptance property that the SSH command mode and the id world join pump consume exactly the same shared parse, that no flow verb is forwarded to the world program as a frame, and that the pump answers them locally instead of sending a frame the host cannot mean.
Part 1 of #7616 (terminal participation in object discussions): the #5873 section 3 flow verbs land in the shared world_line grammar, so all three surfaces parse them identically.
Grammar (pkgs/id/crates/id-worlds/src/world_line.rs):
/anchor <target> [type],/anchor confirm <n>,/anchor list,/talk <target>,/anchors <target>,/resolve <thread> [into <target>],/queue,/flushare new WorldLine variants with the same verb-boundary rules as the existing set (ASCII space only, tab is not a separator, glued verbs stay unknown, bare argument verbs answer with usage, unknown /verbs still become WorldLine::Message and are never treated as chat text)./anchorsis matched before/anchorso the shared prefix cannot misparse.id://<target-id>reference (with a#pa1...part selector where applicable, per part 0's verdict on id: implement terminal participation in object discussions (from #5873) #7616) or a friendly-name phrase.Surfaces: world_ssh.rs gains the mirrored WorldCommand variants and mapping; command_frame returns no frame for the new verbs and the SSH command-mode shell answers them locally with a not-available-in-this-session notice, following the Logs precedent. The
id world joinpump (id-cli commands/world.rs) answers them with the same kind of local notice, following the Documents precedent. Both help texts list the new verbs. Execution wiring (chat.anchor.v1 emission, talk_for binding, resolve mechanics, outbox inspect/drain) is deliberately NOT in this PR: it lands per-verb in follow-on work without grammar changes, and no surface silently forwards a frame the world program cannot mean in the meantime.Verification, stated plainly: the parser is self-contained and was verified standalone (rustc --test on world_line.rs): 10/10 tests pass, including the two new flow-verb tests. The in-crate build cannot currently verify: id-worlds does not compile on main for pre-existing reasons (issue #11250 — ClientFrame Pointer/Hover E0004 in world_session, #1831 S2 fallout, plus test-module fallout from the #10456 split). A cargo check of this branch surfaced exactly those pre-existing errors and none in the files this PR touches, but id-cli could not be reached behind the id-worlds failure. This PR should merge only after #11250 is fixed, this branch is rebased, and
cargo test -p id-worlds -p id-cliruns green in-crate.Part 0 of #7616 (the #5870 grammar vs #5873 section 5.2 frame check) is already recorded on the issue: the pa1 grammar is fragment-safe, no amendment to the #5873 record is needed. Parts 2 (textual anchor rendering) and 3 (offline compose on the existing Outbox) remain after this.
Refs #7616
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.