Add Episode 06 script + demo: Build a Domain
Documents building a real, working muse domain plugin (todo) live for the episode, starting from muse/plugins/scaffold: schema(), diff() with task-level address-keyed child_ops nested under a file-level PatchOp, and merge() proving two independent additions never conflict.
The plugin is real and now shipped in muse's own dev branch (all three remotes) with 12 passing tests -- not a presentation-only mockup. The script honestly documents all three real bugs hit while building it: the object-hash format (blob_id vs bare sha256, Episode 03's own subject), the checkout address-key mismatch (task-level vs file-level addresses), and a drift() that never forwarded repo_root into diff() (caught only by tests, not live).
make-todo-episode06-demo.sh reproduces the exact verified sequence via muse-dev (the plugin isn't in a released muse tarball yet) -- ran it for real before committing, output matches the script exactly.
Landed via the same mv workaround as Episodes 03-05 (temp filename, then muse mv into the poisoned path). See staging#90.
Updated README's status table: episode 06 script + demo done.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Semantic Changes
2 symbols
Files Changed
+1
~1
−1
36 in snapshot
0 comments
muse hub commit comment sha256:3497fd8cf66ff96e3e7bf55d0dd2bfc98cb4a6782201ef5d4d66cec8c9f0c4cc --body "your comment"
No comments yet. Be the first to start the discussion.