Repository navigation
feat(editor): add retained Play transition foundations - #888
Open
JeanPhilippeKernel wants to merge 1 commit into
Open
JeanPhilippeKernel wants to merge 1 commit into
JeanPhilippeKernel wants to merge 1 commit into
Conversation
JeanPhilippeKernel
force-pushed
the
feat/m3-retained-authoring
branch
from
November 18, 2026 02:40
1f96c42 to
45ae2f2
Compare
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.
Start M3 with a retained-authoring suspension boundary and a main-thread Play transition ledger.
Suspension cancels an active preview, discards queued requests and rejects further authoring commands while preserving the same scene, epoch, dirty checkpoint and undo/redo history. Resume checks the retained scene and tracked revisions; a mismatch leaves authoring suspended.
The coordinator records Enter, Pause, Step and Stop states, guarded commit outcomes, cleanup ownership and failed-return retry. It reuses the bounded scene-request ledger for request identity and retained outcomes. Its activation generation is separate from scene-publication generation.
These are foundation APIs: they are not connected to a Play UI, do not switch worlds or run simulation, and do not establish gameplay/physics/audio service support. The service inventory records those outstanding contracts. Revision guards cannot detect arbitrary direct component writes; world-scoped isolation and external-change handling remain M3 work.
Validation: built
TetragramaTestsand passed 107 coordinator and editor-session tests, covering transition legality, cancellation/cleanup backpressure, stale generations, return retry, owner-thread checks, preview rollback and undo/redo preservation. Formatting checks passed.Part of #874.