docs(crdt): #259 CRDT Primitives QA contract v2 — correct /muse/crdt against the running library and engine
Checked on musehub dev 4aa7b9e8 and Muse 0.2.1rc20 (muse dev 5becda10) in a disposable sandbox (isolated HOME, no identity, no hub, no remotes, pure Python). The Muse engine bundled in the c13 image has byte-identical muse/core/crdts modules.
Claim matrix: 72 claims (VERIFIED 27, INCORRECT 28, BROKEN 7, MISSING 4, AMBIGUOUS 5, NOT EXECUTABLE 1). Every INCORRECT, BROKEN and MISSING row has a disposition.
Page corrections (the intended contracts are kept; each known defect carries a note that links its ticket): - Join is join(other) on five types and merge(other) on VectorClock; the types are immutable classes, not module-level merge(a, b) functions over State dicts. Per-type method tables, wire formats and examples are generated from the classes and executed by the tests. - File names vclock.py / g_counter.py; AWMap values are strings (concurrent sets resolve to the greater random token); ORSet and RGA state shapes; "proven" becomes "tested, not proofs"; unfounded "Used in" lines replaced by verified "Used today" lines. - CRDTPlugin extends MuseDomainPlugin; the merge path is marked "Not available in Muse 0.2.1rc20" (musehub#204: muse merge never reads merge_mode, crdt_join_snapshots has no caller); the three_way literal is corrected; schema types documented. - RGA known defects (muse#125: join not idempotent, unknown anchors dropped, recursion limit at 997 elements) stay as contract plus warning. - V1 lattice-law cards: one card per type, fixed replicas, every result computed from the real classes; the RGA card shows the idempotency failure and says convergence is not verified.
Tickets: gabriel/muse#214 (new: CRDT source docs and annotate wording, P3), commented existing gabriel/muse#125 and gabriel/musehub#204; linked gabriel/musehub#276.
Tests: tests/docs_contract/test_crdt.py (45 pass, 4 strict xfails: muse#125 x3, musehub#204). Whole docs_contract (database-free, the three docdb_01/docdb_03 functions deselected): 705 passed, 91 xfailed against 660 / 87 at the base. Page-owned styles in _crdt-docs.scss with interim musehub#283 contrast overrides scoped to the page; the superseded .crdt-primitive-api and badge-modifier rules are removed from _refpages.scss.
Semantic Changes
234 symbols
Files Changed
+3
~4
1204 in snapshot
0 comments
muse hub commit comment sha256:259e6968cab8c57d9cd790b248e033ceeab2d75a7bdb547e2e41ffb4316cd3cf --body "your comment"
No comments yet. Be the first to start the discussion.