docs: playground simulation — Phase 2 spec (+ Phase 1 status) - #5
Merged
Conversation
added 7 commits
September 3, 2026 00:10
An umbrella spec for everything Phase 1 deferred, staged as nine milestones (2a–2i): many connections + fan-out (2a), multi-instance nodes + forwarding (2b), fault injection (2c), a virtual clock with step/pause/speed (2d), record & replay + shareable-session URLs (2e), sandboxed user-written behaviours (2f), a framing/codec matrix + MsgPack codec (2g), route A — the real generated module transpiled and run in-browser (2h), and an embeddable `<sim>` for the tutorial (2i). Core stays almost untouched: the model generalises (`connection` → `connections[]`, node hosts many instances, `TappedTransport` gets a `FaultSpec` + `Clock`), and `describe_project` / the vendored runtime contract / the drift guard are unchanged. The one possible `comline-core` touch (a codegen re-export for route A's import rewrite) is flagged in Open questions, along with the `esbuild-wasm`-on-Pages risk that could keep 2h behind a flag. Links from Phase 1's "Deferred" section; nav + design index updated.
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.
Two things, both in the
playground-simulationdoc area:Phase 1 status (the tail of #4's branch)
PR #4 merged only the spec commit; the six "1a landed"…"Phase 1 complete" commits that followed on the same branch were left unmerged. They flip Phase 1 to Built, fold the milestone PRs into the status line, and fold the two
ir_hash/ array-freezing open questions closed as resolved in 1a.Phase 2 spec (new)
design/playground-simulation-phase-2.md— an umbrella for everything Phase 1 deferred, staged as nine independently-shippable milestones:<sim>with a locked topology for tutorial lessonsCore stays almost untouched — the model generalises (
connection→connections[], nodes host many instances,TappedTransportgains aFaultSpec+Clock);describe_project, the vendored runtime contract, and the drift guard are unchanged. The one possiblecomline-coretouch (a codegen re-export for route A) and theesbuild-wasm-on-Pages risk (which could keep 2h flag-only) are in Open questions.mkdocs build --strictclean. Nav + design index updated.