Expand description
Sync subsystem — staging and reconciliation of authority events.
Three-layer state model (API.md §12):
- Canonical Truth — owned by authority (spacetime or local)
- Client Mirror — read-optimized snapshot for runtime
- Presentation — interpolated/render-only state (fabric + gpu)
Rules:
- Authority updates staged first, applied at tick boundary
- Presentation interpolates through correction
- No direct write from network thread into scene/render data
Re-exports§
pub use reconciliation::reconcile;pub use stage::StagingBuffer;
Modules§
- reconciliation
- Reconciliation — apply canonical corrections at tick boundary. When authority sends corrections, presentation interpolates through them.
- stage
- Staging buffer — holds authority events until tick boundary application.