GeezerVison is showing github.com — impl(id): Bevy bridge slice 2 — journal tail, JournalSet application, intent round-trip · Issue #13703 · developing-today/code
impl(id): Bevy bridge slice 2 — journal tail, JournalSet application, intent round-trip #13703Labels app/idPackage/app: id (pkgs/ or apps/ in this repo) DescriptionImplementation slice 2 of 5 from the Bevy incorporation design of record — doc/2026-11-08_design_id5781.md (PR #7672), adopted as the design of record on #5781 (decision recorded 2026-11-23). Parent: #5781; epic #2056. Sequenced after slice 1 (#13702).
Scope (design §2)
- Journal tail: the bridge tails the journal from the app's last applied position and advances the projection (slice 1) from journal positions only.
JournalSet: a dedicated system set at a fixed point in the Bevy schedule — after input collection, before gameplay systems. Applying a position is atomic with respect to the schedule: all deltas at the next position (or a bounded batch of positions, in order) or none. Systems always observe a consistent journal prefix, identified by position; the current applied position is readable by any system.
- Lag budget: catch-up applies at most a configured number of positions per tick and reports lag; during catch-up, presentation state may extrapolate but world-state components only ever show applied positions.
- Intent round-trip (design §2.2): a system submits an intent (shell-contract input-event shape) carrying the applied position it was based on; the append gate accepts or rejects; the change becomes visible as world state only when the projection applies the confirming journal position — including to the proposing app. No optimistic local application of world state. Presentation-layer prediction is marked predicted and reconciles or visibly snaps back on rejection (minimal form here; the full demo is slice 4).
Acceptance
- Tests against a hosted-world fixture (remote evidence run; executed counts and named tests verified in the log): positions never applied out of order; a position applies atomically (no half-applied observation); the lag budget caps positions applied per tick and lag is reported; intent accept path (visible only at the confirming position) and intent reject path (no world-state change; predicted presentation snaps back).
Sequencing
After #13702 (slice 1). Slices 3–5 filed alongside from #5781. Deliberately not enqueued: queue/shortlist intake for filed slices is operator-managed (Felix) — recorded here per the repo's file-and-enqueue rule. Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 24, 2026 Triage verdict (oc-code-08, task 22385, 2026-11-24): blocked on slice 1. This issue is sequenced after #13702, which is still OPEN with no merged PR. Slice 2 builds on the projection that slice 1 defines, so it is not started. Resume when #13702 merges. developing-today-fleet commented on Nov 25, 2026 Triage update (ITEM-WORK-278, task 22385, 2026-11-25): verdict stands — blocked by sequence.
- The task's park gate has cleared: blocker task 23194 is terminal-done (verified 2026-11-25).
- The substantive blocker has not: slice 1 (impl(id): Bevy bridge slice 1 — crate skeleton, IdEntityMap, fail-closed schema projection #13702) is still open and its implementation PR feat(id): add headless Bevy projection bridge slice 1 #14482 is open and unmerged (slice-1 task 23497 completed with the PR awaiting merge). Slice 2 builds on the projection that slice 1 defines, so slice 2 implementation is not started.
- Disposition: task 22385 is dep-blocked on impl(id): Bevy bridge slice 1 — crate skeleton, IdEntityMap, fail-closed schema projection #13702. Wake condition: PR feat(id): add headless Bevy projection bridge slice 1 #14482 merges / impl(id): Bevy bridge slice 1 — crate skeleton, IdEntityMap, fail-closed schema projection #13702 closes — then re-triage impl(id): Bevy bridge slice 2 — journal tail, JournalSet application, intent round-trip #13703 and route the slice 2 implementation (journal tail, JournalSet application, intent round-trip).
dezren39 commented on Nov 25, 2026 Claimed by lane 11, 2026-11-25T19:32Z
Slice 1 (#13702, PR #14482) is the blocker. Its head is now d25a562, where the earlier pkgs/id/Cargo.toml conflict has been resolved by a main merge, and GitHub reports it mergeable. I'm re-running cargo test -p id-bevy-bridge at that head on a GitHub-hosted runner. If it passes, I'll merge #14482 and then build this slice.
Generated by Claude Code
MetadataMetadataapp/idPackage/app: id (pkgs/ or apps/ in this repo) DevelopmentNo branches or pull requestsIssue actions
|