Repository navigation
feat(id): id-native-shell crate — F13.6 native reference shell, step 1 (#5542) - #5573
Merged
Merged
Conversation
New isolated Bevy app package at pkgs/id/crates/id-native-shell: workspace member outside default-members, so the default id build stays Bevy-free (verified: cargo tree -p id contains no bevy). Step 1 scope per doc/2026-11-01_design_id788.md §7: identity/connection bootstrap reusing the CLI client key (id::CLIENT_KEY_FILE + id::load_or_create_keypair), F13.1 contract frame builders with the contract bounds enforced (paste <= 4096 bytes, resize 1..=500 x 1..=200), the view fallback rule (validated surface text projection, else legacy data), and a transcript fixture checked against the machine-readable shell contract. The binary boots on Bevy MinimalPlugins; window/render plugins and the live parity harness are step 2. Verified on laptop: cargo check -p id-native-shell; cargo test -p id-native-shell (9 passed: 7 unit + 2 transcript).
|
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 41 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. |
Codex Review SummaryThis 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Implements step 1 of design #788 (F13.6 native reference shell) for #5542. Queue task 9602's sibling work: task 9609, lane code-n. Design:
doc/2026-11-01_design_id788.md§7 — each numbered step is a separate PR; this is step 1 only.What lands
pkgs/id/crates/id-native-shell(Bevy 0.17 app target), added to the pkgs/id workspacemembersbut notdefault-members, so the ordinaryidbuild acquires no Bevy or desktop dependencies.ShellConfig+load_client_keyreuse the CLI's own client identity (id::CLIENT_KEY_FILE,id::load_or_create_keypair) — no second identity, no copied key policy.input/paste/resize/chatwith the contract's own bounds enforced (paste ≤ 4096 bytes; resize 1..=500 × 1..=200), and the view fallback rule (present: validated surface → its escape-free text projection, else legacydata).tests/fixtures/transcript_step1.json) checked against the machine-readable contract (pkgs/id/contract/shell-contract.v1.json) — frame kinds, declared fields, and numeric bounds.MinimalPluginsand announces the contract it speaks. Window/render plugins (bevy_window/bevy_winit/bevy_render) and the live parity session harness are step 2, landing with their flake system-library wiring; Q1's rich 3D/audio/widget surfaces stay deferred per the design.Verification (laptop, CI-first exceptions: crate is outside default-members so PR CI does not build it)
cargo check -p id-native-shell— passcargo test -p id-native-shell— 9 passed (7 unit + 2 transcript)cargo tree -p id— contains no bevy (dependency isolation, design §6 criterion 1)Refs #5542, design #788. Steps 2–5 remain, per the design's phased plan.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.