GeezerVison is showing github.com — docs(id): Bevy incorporation design — ID worlds as Bevy applications (#5781) by developing-today[bot] · Pull Request #7672 · developing-today/code
Conversation
developing-today
Bot
commented
Nov 8, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Design for #5781: Bevy incorporation — ID worlds as Bevy applications.
Decision-ready proposal (doc/2026-11-08_design_id5781.md), following the repo's design-doc conventions (cf. doc/2026-11-08_design_id5787.md). Design only; no code.
Recommendation in one line: the journal is the only authority; Bevy is a projection. A Bevy app holds a materialized projection of the world's entity/triple state, advanced exclusively from journal positions; mutations go back as intents to the append gate and take effect only when journaled.
The doc covers:
- State mapping — ID entities ↔ Bevy
Entity via a bridge-owned mapping table; triples → components by predicate class with authority stated per data class (world / presentation / purely local); fail-closed for unclassified predicates.
- Event flow — journal application at a fixed schedule point (
JournalSet), position-ordered, with a lag budget; intents as the only write path; optimistic world-state application prohibited, presentation prediction fenced and reconciled.
- Authority postures — presenter-client first, embedded host second (consuming its own journal through the same projection), id: Phase 13 F13.8 multi-server, multi-client topology; client-only mode always supported #790 simultaneity by composition.
- Determinism — replay property stated as a testable invariant (recorded journal → identical world-state components), with frame-timing nondeterminism quarantined in the presentation class.
- Provider face — Bevy's render/audio/input surfaces declared through the standard design(id): client-side capability providers — one provider model for ESP32/MQTT, terminal, Bevy, smartphone, and web #5686 manifest and grant model; scripting (bevy_mod_scripting) gets the curated presenter API, never journal writes; lightyear/bevy_replicon never carries ID world state.
- All four open questions answered — bridge as a separate crate on the pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447 seams (
bevy_ecs-first); pin-per-release + scheduled tracked bumps with the replay oracle as the bump gate; id: Phase 13 F13.6 native client shells on the shell contract #788 WIT decision is binding-level only (contract-level bridge); headless-logic-first proving target, 2D as first presenter target.
- Consumes the id: research: capability-provider field survey — current options & variants per provider class + cross-cutting frameworks (from #5686) #5931 §4 field survey rather than re-surveying; implementation slicing (5 slices) included for follow-on issues.
This PR does not close #5781: per the design's own slicing section, the issue stays open until Drew reviews the design or the first implementation issue supersedes it.
Queue: task 13264 (repo-health-code-pilot), lane code-e. Triage re-verification for this task (2026-11-08): issue open, no held/user/owned/do-not-merge/do-not-auto-edit labels, parent #2056 and relations #788/#5686/#5931 all open, no prior merged PR or commit referencing #5781.
![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.
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:
45c8a675-bbaf-4790-b614-95da60d34702
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.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 23, 2026
This was referenced Nov 25, 2026
Reviewers
dezren39
Awaiting requested review from dezren39
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|