Skip to content

feat(editor): add retained Play transition foundations - #888

Open
JeanPhilippeKernel wants to merge 1 commit into
developfrom
feat/m3-retained-authoring
Open

JeanPhilippeKernel wants to merge 1 commit into
developfrom
feat/m3-retained-authoring

Conversation

@JeanPhilippeKernel

@JeanPhilippeKernel JeanPhilippeKernel commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

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 TetragramaTests and 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.

@JeanPhilippeKernel
JeanPhilippeKernel force-pushed the feat/m3-retained-authoring branch from 1f96c42 to 45ae2f2 Compare November 18, 2026 02:40
@JeanPhilippeKernel JeanPhilippeKernel changed the title feat(editor): suspend retained authoring sessions feat(editor): add retained Play transition foundations Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant