Episode 05 - The Six Method Protocol is live!
Six Methods. Infinite Domains.
How can the same version-control engine understand source code, MIDI, chess games, timelinesβand domains that haven't even been invented yet?
The answer is surprisingly small:
β’ snapshot
β’ diff
β’ merge
β’ drift
β’ apply
β’ schema
That's it.
Implement the six-method MuseDomainPlugin protocol and Muse gives your domain the DAG, branching, checkout, lineage, history, merge-base finding, and merge machinery for free.
But the interesting part is what sits behind those six methods.
A code plugin can understand functions, classes, imports, and variables.
A MIDI plugin can understand notes, automation curves, and track structure.
They can use completely different notions of what a "change" meansβtrees, sequences, tensors, sets, mapsβwhile the core Muse engine doesn't need to know or care what it's versioning.
Same six methods. Wildly different state.
This episode goes straight into the real source code and walks through the complete loop:
**declare β capture β compare β compare β reconcile β rebuild**
https://youtu.be/I2TvV2W3CR0