GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: design: Bevy incorporation — ID worlds as Bevy applications (ECS mapping of the entity/triple model) · Issue #5781 · developing-today/code

id: design: Bevy incorporation — ID worlds as Bevy applications (ECS mapping of the entity/triple model) #5781

New issue
Copy link
New issue
Copy link
Done
#7672
Done
id: design: Bevy incorporation — ID worlds as Bevy applications (ECS mapping of the entity/triple model)#5781
#7672
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)status:donetask/fixhas a fix task queuedtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

Summary

Design the incorporation of ID worlds into Bevy: how a world's entity/triple state maps onto Bevy's ECS, how journal events drive a Bevy application, and what it means for a Bevy app to host or join a world — as Bevy's own design line.

Motivation

Bevy currently appears only as a name inside other designs: #788 lists "Bevy or Qt" as candidate frameworks for the reference native shell (a conformance question), and #5686 lists "a game engine integration (Bevy named)" as one of five capability-provider targets (a provider-model question). Neither designs the incorporation itself — the state mapping, the event flow, the authority model. Drew's 2026-11-04 instruction is explicit: each platform thing gets its own design issue rather than riding inside a bundle. A game engine is also the stress case for the whole client story: tick-driven, frame-budgeted, and stateful in ways a terminal never is — if the shell contract and the triple model survive Bevy, they survive anything.

Sketch

  • State mapping: ID entities ↔ Bevy Entity; triples/components ↔ Bevy Components; the mapping's ownership rules (which side is authoritative for what) stated per data class — world state, presentation state, purely local state.
  • Event flow: journal appends and state deltas in; shell-contract input events out. How journal positions map to Bevy schedules/ticks, and what a frame is allowed to not apply yet (interpolation, prediction) without violating the presenter contract.
  • Authority postures: Bevy app as presenter-client; as world host (an embedded server); as both (id: Phase 13 F13.8 multi-server, multi-client topology; client-only mode always supported #790's simultaneity) — and which posture the design blesses first.
  • Determinism: the game loop against the deterministic replay infrastructure (its own design issue) — a recorded world stream replayed through Bevy must land on identical state; the soak/replay oracles are how engine integration bugs get caught.
  • Provider face: what the engine offers as a design(id): client-side capability providers — one provider model for ESP32/MQTT, terminal, Bevy, smartphone, and web #5686 capability provider — render surfaces, audio, input devices — under the same grant model as every other provider.

Open questions

  • Where the bridge lives: inside id-worlds, as a separate bridge crate on the pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447 seams, or as a Bevy plugin crate owned outside the workspace?
  • Bevy version policy: Bevy's release cadence vs the workspace's — pin, track, or abstract behind the mapping?
  • Does the WIT/component-model decision in id: Phase 13 F13.6 native client shells on the shell contract #788 change the bridge's shape, or is the bridge contract-level only?
  • 2D-first, 3D-first, or headless-logic-first as the proving target?

Relations

Parent: epic #2056. Relations: #788 (shell contract + framework decision record — this design consumes it), #5686 (capability providers — Bevy as one provider class, designed there in the abstract, here concretely), #790 (client/server simultaneity), #3447 (crate seams). Filed in the 2026-11-04 gap pass (WS-F) per Drew's order that Bevy gets its own design issue.

Activity

Next
  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1465

  3. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    Field survey filed: #5931 (capability-provider research widening, per Drew's 2026-11-04 ruling) covers the current option space relevant to this issue in §4 (game-engine/Bevy) — Bevy 0.20 ecosystem state, bevy_ecs standalone (incl. no_std on ESP32), bevy_mod_scripting (Lua/Rhai; Rune on hold), lightyear/bevy_replicon replication vs journal replication, Fyrox/Godot variants. It is an inventory, not a decision — the section ends with the open questions this design needs to answer.

  4. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 5, 2026
  5. github-actions
    assigned
    dezren39
    on Nov 5, 2026
  6. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-w
    • Session / ID: task 10185
    • Found via: queue claim
    • Task: Triage issue id: design: Bevy incorporation — ID worlds as Bevy applications (ECS mapping of the entity/triple model) #5781 — execution lane assigned to opencode; handing off to the opencode claimant, which launches the bound session.
    • Expectation: claimant launches the bound opencode session for task 10185; this lane does not work the task directly.
    • Links: id: design: Bevy incorporation — ID worlds as Bevy applications (ECS mapping of the entity/triple model) #5781
  7. developing-today
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  8. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    agent-note:v1
    task: 10185
    state: handed_off
    lane: code-a (execution lane: opencode)

    Picked up by Lane A shift (attempt 3/6). Revalidated 2026-11-05: issue #5781 is OPEN, no held / user/owned / do-not-merge / do-not-auto-edit labels. Execution lane is opencode — handed off to the opencode claimant (repeat handoff: prior park expired unbound). Parking 1800s for the claimant window.

  9. developing-today
    added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 8, 2026
  10. 33 remaining items

  11. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note — task 14606 triage verdict

    • Current state: issue remains open. Fetched origin/main at e4648341bb; merged PR docs(id): Bevy incorporation design — ID worlds as Bevy applications (#5781) #7672 delivered doc/2026-11-08_design_id5781.md, a decision-ready proposal, not an implemented bridge. It addresses entity/triple mapping, journal and intent flow, authority, replay, provider face, and the four design questions.
    • Verdict/scope: the design deliverable exists, but the issue is still live for its explicitly recorded disposition: Drew’s review of the proposal or supersession by the first implementation issue. The issue was intentionally reopened after an accidental auto-close; do not close it merely because the design merged. No implementation was performed in this triage.
    • Named follow-on: Drew/design owner review the landed Bevy incorporation proposal in id: design: Bevy incorporation — ID worlds as Bevy applications (ECS mapping of the entity/triple model) #5781; alternatively, the first implementation issue for the documented bridge-crate skeleton and schema can supersede this issue. Subsequent slices are listed in the design. This is a named route, not a claim that review or implementation is complete.
    • Evidence: PR docs(id): Bevy incorporation design — ID worlds as Bevy applications (#5781) #7672; the issue’s reopening note; doc/2026-11-08_design_id5781.md on current main, especially Status and Implementation slicing.
  12. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  13. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: queue worker (repo-worker-code), lane code-h (openchamber-scheduled-lane)
    • Task: 18371 (triage)
    • Verdict: still open on fresh GitHub state (checked 2026-11-17). Design-only issue; no held / user/owned / do-not-merge / do-not-auto-edit labels; no stated blocking dependency. Its relations (id: Phase 13 F13.6 native client shells on the shell contract #788, design(id): client-side capability providers — one provider model for ESP32/MQTT, terminal, Bevy, smartphone, and web #5686, id: Phase 13 F13.8 multi-server, multi-client topology; client-only mode always supported #790, pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447, id: research: capability-provider field survey — current options & variants per provider class + cross-cutting frameworks (from #5686) #5931 field survey) are design inputs, not blockers.
    • Routing: no implementation packet. Design work stays with the design owner; no autonomous worker follow-on is scoped from this issue.
  14. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — standing design-review gate now ledgered for Drew

    • Agent: queue worker (repo-worker-code), lane code-a shift
    • Session / ID: queue task 19890 (small_fix, follow-on of triage task 18371)
    • Task: task 19890 for issue id: design: Bevy incorporation — ID worlds as Bevy applications (ECS mapping of the entity/triple model) #5781 — Bevy incorporation design
    • Fresh verification (2026-11-17, this shift): issue id: design: Bevy incorporation — ID worlds as Bevy applications (ECS mapping of the entity/triple model) #5781 OPEN, no hard-stop labels. Concurring with triage task 18371 (today): the design deliverable exists (PR docs(id): Bevy incorporation design — ID worlds as Bevy applications (#5781) #7672 merged, doc/2026-11-08_design_id5781.md, decision-ready proposal); no implementation packet is routed from this issue.
    • Gap found and fixed: task 14606's verdict (2026-11-11) recorded the disposition as Drew's review of the proposal or supersession by the first implementation issue — but that gate was never written into the pending-decisions ledger, so it never reached Drew (the exact failure the 2026-11-11 escalation audit named). It is now ledgered as item bevy-incorporation-5781-design-review in the pending-questions ledger, with options: adopt as design of record / adopt with changes / supersede by a first implementation issue / reject the Bevy direction.
    • Verdict: task 19890 completes as triaged. The issue stays open until Drew's disposition lands via the ledger.
  15. dezren39
    removed their assignment
    on Nov 20, 2026
  16. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Decision recorded 2026-11-23 (Archer, under Drew's standing decision posture of 2026-11-23 13:17 CST — decide rather than park; prefer the more capable option): ADOPT the Bevy incorporation design (PR #7672) as the design of record.

    Rationale: the design already landed and answers this issue's questions; adopting it unblocks the incorporation slices, while superseding would discard landed, reviewed work for no recorded defect. This closes the ledgered decision bevy-incorporation-5781-design-review. Next step is queued as fleet work (ID-100R): file and sequence the first implementation slices from the design.

  17. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane felix claiming queue task 21488 (ID-100R) — done check complete; no new design will be written.

    Done-check verdict, verified against current main and this issue's full record:

    • The design this issue asks for already landed: PR docs(id): Bevy incorporation design — ID worlds as Bevy applications (#5781) #7672 merged 2026-11-08, doc/2026-11-08_design_id5781.md on main — journal-authoritative projection, state mapping per data class (§1), journal-ordered event flow with intents as the only write path (§2), presenter-client posture first (§3), replay determinism as a testable invariant (§4), the standard design(id): client-side capability providers — one provider model for ESP32/MQTT, terminal, Bevy, smartphone, and web #5686 provider face (§5), and all four of the issue's 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 with bumps gated on the replay oracle; id: Phase 13 F13.6 native client shells on the shell contract #788 WIT decision is binding-level only; headless-logic-first proving target).
    • The issue's recorded disposition was: stays open until Drew reviews the design or the first implementation issue supersedes it. The review landed today — the 2026-11-23 decision comment above adopts the design as the design of record and queues the next step as this task: file and sequence the first implementation slices from the design.
    • No duplicate slice issues exist (checked: no issue references id-bevy-bridge; no Bevy implementation slices are filed).

    So this task executes that recorded next step: the five implementation slices from the design's slicing section are filed and sequenced below. No worktree or design PR is needed for this disposition — nothing is being written to the repo by this lane.

  18. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane felix, queue task 21488 (ID-100R) — complete. Verification record and slice filing.

    Done check (against current main): the design requested by this issue exists and is complete — doc/2026-11-08_design_id5781.md, merged via PR #7672 on 2026-11-08. It covers the issue's full scope: state mapping with per-data-class authority (§1), journal-ordered event flow with intents as the only write path (§2), authority postures with presenter-client first (§3), replay determinism as a testable invariant (§4), the #5686 provider face (§5), and explicit answers to all four of the issue's open questions. No duplicate was written.

    Disposition now satisfied on both recorded routes: this issue was deliberately kept open until (a) Drew reviews the design, or (b) the first implementation issue supersedes it. (a) landed today: the 2026-11-23 decision comment adopts the design as the design of record. (b) landed in this task — the design's five implementation slices are filed and sequenced:

    1. impl(id): Bevy bridge slice 1 — crate skeleton, IdEntityMap, fail-closed schema projection #13702 — slice 1: bridge crate skeleton, IdEntityMap, fail-closed schema projection (bevy_ecs-first)
    2. impl(id): Bevy bridge slice 2 — journal tail, JournalSet application, intent round-trip #13703 — slice 2: journal tail, JournalSet application, intent round-trip (after impl(id): Bevy bridge slice 1 — crate skeleton, IdEntityMap, fail-closed schema projection #13702)
    3. impl(id): Bevy bridge slice 3 — replay oracle soak, the determinism gate for Bevy bumps #13704 — slice 3: replay oracle soak, the determinism gate for Bevy bumps (after impl(id): Bevy bridge slice 2 — journal tail, JournalSet application, intent round-trip #13703)
    4. impl(id): Bevy bridge slice 4 — presenter-client reference app (2D, provider manifest, prediction reconciliation) #13705 — slice 4: presenter-client reference app, 2D, provider manifest, prediction reconciliation (after impl(id): Bevy bridge slice 2 — journal tail, JournalSet application, intent round-trip #13703, impl(id): Bevy bridge slice 3 — replay oracle soak, the determinism gate for Bevy bumps #13704)
    5. impl(id): Bevy bridge slice 5 — host posture (embedded append gate + journal lifecycle) #13706 — slice 5: host posture, embedded append gate + journal lifecycle (after impl(id): Bevy bridge slice 2 — journal tail, JournalSet application, intent round-trip #13703)

    Each slice records why it is deliberately not enqueued (operator-managed queue intake), per the repo's file-and-enqueue rule. New dependencies proposed by the design are named in the slices that introduce them: bevy_ecs in #13702 and the full bevy engine in #13705, both pinned per the design's Q2 policy.

    Recommendation to Felix: close #5781 — the design is landed and adopted, and the implementation line is filed; nothing remains that belongs to this issue. One cosmetic remainder, noted not done: the design doc's Status line still reads "decision-ready proposal"; a one-line update to reflect the 2026-11-23 adoption would keep the doc truthful.

  19. developing-today
    removed
    status:to-do
    on Nov 23, 2026
  20. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13712 from developing-today/felix/5781-status-line

    7c5f069
  21. developing-today
    added
    status:in-review
    on Nov 23, 2026
  22. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Closed by Felix on the verification record above (comment 7113761403): the design landed via PR #7672 (2026-11-08), was adopted as the design of record by Drew's decision recorded 2026-11-23, and the first implementation slices are filed and sequenced — #13702, #13703, #13704, #13705, #13706. Nothing remains that belongs to this issue. The design doc's status line is being updated to reflect the adoption in a small follow-on PR.

  23. dezren39
    closed this as completedon Nov 23, 2026
  24. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)status:donetask/fixhas a fix task queuedtask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.