GeezerVison is showing github.com — pkgs/id crate split step 5a: create id-worlds — leaves, groups::worlds bridge (seam 6), FoldedWorlds (#4408) by dezren39 · Pull Request #8762 · developing-today/code
Conversation
dezren39
commented
Nov 11, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Step 5a of the pkgs/id crate split (#4408; design doc/2026-11-01T16-53-00Z_design_id_crate_split/): create the id-worlds crate and move the first, leaf-most slice of the world family. The world core, sessions, sandbox and the rest of the family follow in later step-5 PRs, each merged before the next starts.
What moved (implementation exists only in pkgs/id/crates/id-worlds; the facade re-exports every historical id:: path):
world_cache, world_line, world_terminal — the family leaves that name nothing above them. Three world_terminal items the facade's world_ssh/commands use across the new crate boundary (probe_local_tty, ProbeOutcome, its replay field) were widened from pub(crate) to pub; the facade re-export stays pub(crate).
groups/worlds.rs → id_worlds::groups::worlds — seam 6: the groups→worlds bridge is the consumer side of the relationship, so it lives in the worlds crate, over a groups module that re-exports the id-events group model (the same re-exports id_groups::groups carries).
blob_gate::FoldedWorlds → id_worlds::blob_gate (with its 4 folded tests) — step 4 parked this adapter in the facade to move together with worlds.rs. It cannot live in id-groups: that crate is below id-worlds and must not name world types; it is blob-gate logic over world state, so it lands here as the consumer.
id-worlds deps this PR: id-events, id-groups (per the design map; the full map — id-core/id-caps/id-store/id-sync — arrives with the core move), plus the extern crates the moved files already used. No behaviour changes; no fuel-relevant code moved.
Verification (laptop, fresh CARGO_TARGET_DIRs — the cargo-target-broker is broken fleet-wide; counting run = full workspace cargo test --no-fail-fast with tests/probe_attestation_sign.rs set aside, exactly as step 4 enumerated around the pre-existing probe compile breakage from f998d27, plus the feature-gated dht_testnet):
- Baseline on unmodified main (
850f2fce31): 73 suites, 3,719 passed / 1 failed / 33 ignored. The 1 failure is the known frames::tests::byte_refusal_… (pkgs/id: frames byte_refusal test fails deterministically on main (RequestTooLarge vs BudgetExhausted) #8620).
- After: 75 suites, 3,719 passed / 1 failed (same test) / 33 ignored — an exact redistribution: facade lib 1,965 → 1,918 passed, new
id-worlds lib suite 47 passed / 0 ignored; every other suite identical.
- Fuel canary (adapted for this step — the numbers are the invariant, not the file): (1)
print_fuel_baseline output byte-identical, 72 lines, sha256 59cfad49c7553c8309a8b40b23405321399bb76bb741acaeb90f78570f45c32c before and after; (2) the FUEL_BUDGETS table literal is untouched (sandbox.rs does not move in this PR; file sha256 still db88ec8d…); (3) the checked-in fuel tests pass (in the facade lib suite, 0 failures there).
- Feature shapes:
cargo check --no-default-features fails with the identical 28 error locations on main and this branch; --no-default-features --features world fails identically (2 errors, both src/boards.rs) on both — pre-existing shapes, unchanged.
- Completeness grep: no
FoldedWorlds/Worlds/Isolation/world-cache implementation remains in facade src/ (only re-export shims); src/groups/ now holds only the shim mod.rs.
- Nix:
nix build ./pkgs/id#id-lib — see the PR comment thread for the result (build phase / check phase parity with main, whose check phase fails on the same probe compile error).
🤖 Agent note — crate-split step 5a, issue #4408.
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
…s bridge (seam 6), FoldedWorlds (#4408)
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 58 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:
18dc9eec-3822-4fc2-81ca-cdef073e798f
Commits
-
Reviewing files that changed from the base of the PR and between 50d73cc and 229bdcc.
Files ignored due to path filters: 1
-
pkgs/id/Cargo.lock is excluded by !**/*.lock
Files selected for processing: 13
-
pkgs/id/Cargo.toml
pkgs/id/crates/id-groups/src/groups/mod.rs
pkgs/id/crates/id-worlds/Cargo.toml
pkgs/id/crates/id-worlds/src/blob_gate.rs
pkgs/id/crates/id-worlds/src/groups/mod.rs
pkgs/id/crates/id-worlds/src/groups/worlds.rs
pkgs/id/crates/id-worlds/src/lib.rs
pkgs/id/crates/id-worlds/src/world_cache.rs
pkgs/id/crates/id-worlds/src/world_line.rs
pkgs/id/crates/id-worlds/src/world_terminal.rs
pkgs/id/src/blob_gate.rs
pkgs/id/src/groups/mod.rs
pkgs/id/src/lib.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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-11T19:20:10.405109Z |
229bdcc |
PR opened |
ℹ️ 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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Verification complete (full numbers in the PR body): tests at exact parity with unmodified main (3,719 passed / 1 known frames failure / 33 ignored, redistribution facade 1,965→1,918 + id-worlds 47), fuel canary byte-identical (72 lines, sha256 59cfad49…32c; FUEL_BUDGETS untouched), feature shapes identical to main, completeness grep clean.
Nix: nix build ./pkgs/id#id-lib on this branch — build phase passed; check phase failed only on the pre-existing tests/probe_attestation_sign.rs E0061 ×2 (from f998d27, present on unmodified main) — the same failure shape as main, i.e. parity. Merging with a merge commit per the step protocol.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 11, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|