GeezerVison is showing github.com — id-native-shell: world directory application surface (#15022) by developing-today-fleet[bot] · Pull Request #15147 · developing-today/code
Conversation
First end-user application slice on the F13.6 Bevy native shell (graphical-client design #5782 §3), for #15022.
What changed
New module pkgs/id/crates/id-native-shell/src/directory.rs — the world directory surface:
WorldDirectory: built from one host directory reply — the existing discovery API WorldClient::directory() — ordered pinned, then recent, then discovered (§3), with the cursor starting on the host's default world. Marks for worlds the host does not list never fabricate entries.
DirectoryMarks: pins (user order) and recents (most-recent-first, capped at 10), with JSON persistence whose parser is deliberately forgiving — it is the user's own local state file, never wire data, and must never stop the app opening.
SessionRegistry: the state half of §3's "one client, many worlds" rule — entering a world foregrounds it, leaving returns to the directory, and neither act removes another world's session; only an explicit close does, and only that one.
DirectoryApp + DirectoryKey/DirectoryEffect: keyboard navigation (Up/Down/Home/End, Enter open, Esc back, P pin, X close session) as a pure, headless-tested model; session opening/closing is handed to the binary as effects.
- Accessible path:
DirectoryApp::text_table() is a deterministic list/table projection (cursor, default star, section tag, loaded state, presence count, live-session mark). The Bevy DirectoryPlugin renders exactly those lines as UI rows, so the graphical list and the accessible list are the same list by construction — a headless test asserts row-for-row equality and that entering a session hides the directory.
Binary (src/main.rs) — directory mode: launched with --node/--capability but no --world, the app probes the host directory on a short-lived connection, opens on the directory, and gives each entered world its own session bridge; drive_directory drains all bridges and publishes only the foreground world's views, keeping each bridge's latest view so re-foregrounding shows current state. --world keeps the direct-join path unchanged. Marks persist in directory-marks.json beside the client key file. No new contract frames, no new dependencies, crate remains a non-default workspace member.
Verification (remote only, fleet-command on this branch)
- Tests, run 45639528509 (head 03c2712):
nix develop --command cargo test -p id-native-shell → TEST_EXIT=0; lib 99 passed / 0 failed (main baseline is 85 — the +14 are the new directory::tests, all passing by name), every integration suite ok. Baseline control run 45636000256 on unmodified main: TEST_EXIT=0, lib 85 passed — no pre-existing suite regressed. (The bare-executor attempt, run 45631012804, cannot link wayland-sys — the executor image lacks the GUI system libraries; the nix dev shell is the repo's own route to them.)
- Clippy, run 45633010473:
cargo clippy -p id-native-shell --all-targets → CLIPPY_EXIT=0.
- rustfmt, run 45641948372 (final head): FMT_EXIT=0. The commits after the test run are formatting-only.
Not verified live
The GUI itself was not launched against a live host from the sandbox seat (no display/host here): the presentation is proven by the headless Bevy app test under MinimalPlugins, the navigation/session semantics by the model tests, and the directory fetch rides the existing WorldClient::directory API. A live launch + directory pass on a desktop seat remains a worthwhile follow-up before this is called done.
Refs #15022
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-25T15:17:13Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "8826be7a94faf495a143e45eab53db6f11c96eab"
},
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
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.
First end-user application slice on the F13.6 Bevy shell (design
#5782 section 3): launched at a host without --world, the app now
opens on the host's public world directory (WorldClient::directory)
ordered pinned, then recent, then discovered.
New directory module: the pure, headless-tested model (ordering,
cursor, pins/recents marks with forgiving local-state parsing, and
a SessionRegistry whose enter/leave never tear down another
world's session), the accessible text table, and a Bevy plugin
that renders exactly that table's lines and routes keyboard input
(Up/Down/Home/End/Enter/Esc/P/X).
Binary: directory mode probes the directory on a short-lived
connection, then gives each entered world its own session bridge;
drive_directory drains all bridges and publishes only the
foreground world's views. --world keeps the direct-join path.
Marks persist in directory-marks.json beside the client key file.
Refs #15022
The row find matched the header line, which also names the
default world; rows are now searched below the header by whole
word. Test-only change.
Important
Review skipped
Bot user detected.
To trigger a single review, invoke the @coderabbitai review command.
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:
70c60e99-87cc-48b7-9c97-3240dd76238a
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
- 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.
This was referenced Nov 25, 2026
Uh oh!
There was an error while loading. Please reload this page.
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.
|