Repository navigation
Conversation
manzt
force-pushed
the
protocol/explainer
branch
2 times, most recently
from
November 19, 2026 03:53
26df293 to
2bde165
Compare
Introduce notebook objects, identity, and host ownership through a scroll-driven article, then let readers inspect a simulated connection, snapshot, and ready event. Objects remain on the host while transient events populate a client replica. Keep the React and Effect app independent of the launcher, with reversible playback, adjustable speed, and inline inspection. Include its workspace dependencies so the example can be installed and built from a fresh checkout.
manzt
force-pushed
the
protocol/explainer
branch
from
November 25, 2026 15:32
2bde165 to
1b6b8cd
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.
Adds a separate app for explaining the host protocol through its object model. The article introduces a cell’s source, identity, and configuration, then shows how cells and documents relate to notebooks and how a host owns those objects. The illustrations reveal each concept as the reader scrolls.
The connection example follows a client opening an event stream to a host that has not loaded the notebook yet. Loading creates the host’s notebook records together; snapshot events then carry them to the client one at a time. The host retains its objects, the client builds a replica, and
readyends the snapshot while leaving the connection open.Readers can pause, scrub backward, change playback speed, and inspect records and event envelopes. This is a deterministic illustration of one host implementation, with React rendering the scene and Effect managing playback. It does not connect to a real host or require the launcher refactor.
Run it with
bun run --cwd apps/@moku-protocol-explainer devafter repository setup.