refactor: rename StructuredMergePlugin to AddressedMergePlugin; add AddressedInsertOp/AddressedDeleteOp
Code domain uses Map CRDT semantics (address-keyed, commute on different addresses, Harmony resolves same-address conflicts) — not classical OT. Rename the plugin protocol to reflect this accurately.
- AddressedMergePlugin: new canonical name with corrected docstring - StructuredMergePlugin: backward-compat alias (all isinstance checks work) - AddressedInsertOp / AddressedDeleteOp: no position field — code symbols are name-addressed, not position-indexed in an ordered sequence - InsertOp / DeleteOp: retained with position for sequence domains (MIDI) - LeafDomainOp: extended to include AddressedInsertOp / AddressedDeleteOp - diff_map in core/diff_algorithms: switched to AddressedInsertOp/DeleteOp since map keys are always name-addressed - symbol_diff.py: all ops switched to Addressed variants - Tests: 21 new tests in test_addressed_merge_plugin.py (all green)
Files Changed
+1087
1087 in snapshot
0 comments
muse hub commit comment sha256:84df9126d09aeec0b8f1b908f0b06c10913feec28f3514b382efb1ba6d619385 --body "your comment"
No comments yet. Be the first to start the discussion.