cgcardona / muse public
feat main

feat: live Acts 6-9 in Tour de Force, drop Phase N labels everywhere

Tour de Force (tools/tour_de_force.py) --------------------------------------- - Acts 6-9 now run real code — not narration stubs. Act 6 (Typed Delta Algebra): `muse show` + `muse show --json` + `muse log --stat` capture live StructuredDelta output. Act 7 (Domain Schema): `muse domains`, `muse domains --json`, and `muse domains --new genomics` (scaffold + auto-cleanup). Act 8 (OT Merge): two scenarios — independent InsertOps commute to a clean merge; identical-address ReplaceOps produce a genuine conflict. Act 9 (CRDT Primitives): direct API demo of ORSet add-wins, LWWRegister last-write-wins, GCounter monotonic join, and VectorClock causal ordering — all with real assertions. - Total tour: 69 operations in ~260ms (was 41). - Fixed type: ignore[union-attr] in render_html loading — replaced importlib.util dynamic spec loading with a clean sys.path + import. - Added ot-left/ot-right/ot-conflict-l/ot-conflict-r to BRANCH_COLORS. - ACT_TITLES dict extended with acts 6-9.

domains.py ---------- - _CapabilityLevel → _CapabilityLabel; labels changed from "Phase N" to "Typed Deltas" / "Domain Schema" / "OT Merge" / "CRDT". - Updated module docstring, _capabilities docstring, and the `domains` command help text to use the new descriptive labels.

Narration script (docs/demo/tour-de-force-script.md) ----------------------------------------------------- - Stripped "(Phase N)" suffix from all Act 6-9 headings. - Updated `muse domains` example output to show descriptive capability labels matching the new domains.py output. - OUTRO: "five-method" → "six-method"; "Phase 1/2/3/4" bullets replaced with "Typed Deltas / Domain Schema / OT Merge / CRDT Semantics". - Appendix Q&A: "Phase 3 OT and Phase 4 CRDT" → "OT Merge and CRDT Semantics"; test count updated to 697. - Chapter markers: stripped Phase N labels; "Muse v1.0" → "Muse v0.1.1".

Verification: mypy (0), typing_audit (0), pytest (697/697 green)

G Gabriel Cardona <gabriel@tellurstori.com> · 2d ago Mar 18, 2026 · d76aac35 · parent 5a7035e3
← Older Oldest commit on main
All commits
Newer → Latest commit on main

Comments

0

No comments yet. Be the first to start the discussion.