diff --git a/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/research-results/B14-result.json b/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/research-results/B14-result.json new file mode 100644 index 0000000000..3f12631e70 --- /dev/null +++ b/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/research-results/B14-result.json @@ -0,0 +1,358 @@ +{ + "assessments": [ + { + "criterion_id": "data-model-history", + "evidence_refs": [ + "b10-result", + "b11-result", + "b12-result", + "b13-result" + ], + "option_id": "adopt-one-now", + "reason": "No candidate fits the whole data model and history: Diamond Types is plain-text only, Willow's store join prunes overwritten and prefix-deleted entries, OCapN has no persistent data model, and Automerge's B10 assessment leaves adoption-now unjustified without a workload.", + "status": "unsupported" + }, + { + "criterion_id": "convergence", + "evidence_refs": [ + "automerge-concepts", + "eg-walker-paper", + "willow-data-model" + ], + "option_id": "adopt-one-now", + "reason": "Three of four candidates do converge within their own model: Automerge documents can always be merged, Eg-walker merges concurrent text edits peer-to-peer, and Willow stores form a join semi-lattice. OCapN does not, so the choice would be limited to the first three.", + "status": "supported" + }, + { + "criterion_id": "scale-performance", + "evidence_refs": [ + "b10-result", + "b11-result", + "b12-result", + "b13-result" + ], + "experiment_ref": "representative-workload-comparison", + "option_id": "adopt-one-now", + "reason": "Every per-candidate result marks scale for this design's workloads as unmeasured; the only published figures are Eg-walker's on its own text-editing traces. Adopting any one now is an unmeasured commitment.", + "status": "unknown" + }, + { + "criterion_id": "signed-history-compat", + "evidence_refs": [ + "b10-result", + "b11-result", + "b12-result", + "b13-result" + ], + "option_id": "adopt-one-now", + "reason": "None carries the design's signed history: Automerge actor IDs and Diamond Types agent IDs are not authenticated signers, Willow authenticates writes through its own tokens and hashes payloads with WILLIAM3 rather than ID's BLAKE3-256, and OCapN signs only per-session handoff certificates.", + "status": "unsupported" + }, + { + "criterion_id": "cross-language-format-interop", + "evidence_refs": [ + "b11-result", + "willow-confidential-sync", + "ocapn-captp" + ], + "option_id": "adopt-one-now", + "reason": "Maturity is uneven: the Diamond Types crate API is in flux, Willow's Confidential Sync is a paused proposal its authors call outdated, and the OCapN CapTP document is a draft likely to undergo significant change. Only Automerge documents a stable binary format and per-document sync protocol.", + "status": "unsupported" + }, + { + "criterion_id": "authority-boundary", + "evidence_refs": [ + "b10-result", + "b12-result", + "b13-result", + "versioned-design-s145" + ], + "option_id": "adopt-one-now", + "reason": "Each candidate either has no authority model (Automerge, Diamond Types) or brings its own that would replace the explicit grant layer (Willow's Meadowcap with key-derived identifiers, OCapN's reference-as-authority).", + "status": "unsupported" + }, + { + "criterion_id": "evidence-revisit-gate", + "evidence_refs": [ + "versioned-design-s145", + "b14-research-note" + ], + "option_id": "adopt-one-now", + "reason": "The versioned design bars CRDT implementation before evaluation gives a measured reason plus an interop and signature adapter contract; adopting now would skip that gate.", + "status": "unsupported" + }, + { + "criterion_id": "data-model-history", + "evidence_refs": [ + "b10-result", + "b11-result", + "b12-result", + "b13-result" + ], + "option_id": "defer-all-behind-threshold", + "reason": "Each conditional path is scoped to where its model fits (structured documents, text-only, scoped reconciliation, bounded relay authority), and ID's own records, history and conflict reports stay authoritative meanwhile.", + "status": "supported" + }, + { + "criterion_id": "convergence", + "evidence_refs": [ + "versioned-design-s145" + ], + "option_id": "defer-all-behind-threshold", + "reason": "Convergence stays with ID's deterministic fold and conflict-report-first sync until a measured case selects a candidate for a narrower role.", + "status": "supported" + }, + { + "criterion_id": "scale-performance", + "evidence_refs": [ + "b10-result", + "b11-result", + "b12-result", + "b13-result" + ], + "experiment_ref": "representative-workload-comparison", + "option_id": "defer-all-behind-threshold", + "reason": "Still unmeasured, but by design: this option is defined by running the per-candidate experiments B10-B13 planned on one representative workload before any choice, so the criterion is answered at the revisit gate.", + "status": "unknown" + }, + { + "criterion_id": "signed-history-compat", + "evidence_refs": [ + "versioned-design-s145" + ], + "option_id": "defer-all-behind-threshold", + "reason": "Any later adapter consumes signed operations and emits deterministic state with retained provenance without authenticating authorship itself, so signed history stays the independent layer.", + "status": "supported" + }, + { + "criterion_id": "cross-language-format-interop", + "evidence_refs": [ + "b14-research-note", + "versioned-design-s145" + ], + "option_id": "defer-all-behind-threshold", + "reason": "A later choice must ship cross-implementation vectors, and maturity may change before then (Willow's new Confidential Sync spec, OCapN's drafts), so interop is judged at the revisit rather than now.", + "status": "unknown" + }, + { + "criterion_id": "authority-boundary", + "evidence_refs": [ + "versioned-design-s145" + ], + "option_id": "defer-all-behind-threshold", + "reason": "Grants stay in the existing layer; every conditional adapter sits behind it and grants nothing by itself.", + "status": "supported" + }, + { + "criterion_id": "evidence-revisit-gate", + "evidence_refs": [ + "b14-research-note", + "versioned-design-s145" + ], + "option_id": "defer-all-behind-threshold", + "reason": "The revisit threshold is explicit (conflict reports exist and representative fleet workloads show merge cost, latency or user-value evidence), the comparison is declared non-exhaustive, and newly found prior art gets a new evidence row rather than replacing the decision.", + "status": "supported" + }, + { + "criterion_id": "data-model-history", + "evidence_refs": [ + "versioned-design-s145" + ], + "option_id": "adopt-none", + "reason": "The current records, retained history and pre-merge conflict report are unchanged.", + "status": "supported" + }, + { + "criterion_id": "convergence", + "evidence_refs": [ + "versioned-design-s145" + ], + "option_id": "adopt-none", + "reason": "Convergence stays with the existing deterministic fold; nothing is added or removed.", + "status": "supported" + }, + { + "criterion_id": "scale-performance", + "evidence_refs": [ + "versioned-design-s145", + "b14-research-note" + ], + "option_id": "adopt-none", + "reason": "No unmeasured protocol is adopted; the versioned design states a complete 'adopt none' outcome is valid.", + "status": "supported" + }, + { + "criterion_id": "signed-history-compat", + "evidence_refs": [ + "versioned-design-s145" + ], + "option_id": "adopt-none", + "reason": "The signed-envelope layer is untouched.", + "status": "supported" + }, + { + "criterion_id": "cross-language-format-interop", + "evidence_refs": [ + "b14-research-note" + ], + "option_id": "adopt-none", + "reason": "Adopting none gains no interoperability with any candidate's ecosystem; a bridge would be needed if that becomes a requirement.", + "status": "unsupported" + }, + { + "criterion_id": "authority-boundary", + "evidence_refs": [ + "versioned-design-s145" + ], + "option_id": "adopt-none", + "reason": "The authority boundary is unchanged.", + "status": "supported" + }, + { + "criterion_id": "evidence-revisit-gate", + "evidence_refs": [ + "b14-research-note" + ], + "option_id": "adopt-none", + "reason": "Adopt none is a complete, passing result on its own, but taken as final it would drop the revisit rule; whether it stays final depends on whether scale evidence ever earns reconsideration.", + "status": "unknown" + } + ], + "checked_at": "2026-11-19T02:55:00Z", + "criteria": [ + { + "id": "data-model-history", + "question": "Does the option fit the data model and history the design needs (structured documents with inspectable change history)?" + }, + { + "id": "convergence", + "question": "Does the option provide deterministic convergence for concurrent changes?" + }, + { + "id": "scale-performance", + "question": "Is the option's scale/performance cost (memory, CPU, wire) established for representative workloads?" + }, + { + "id": "signed-history-compat", + "question": "Is the option compatible with signed history (authenticated signer identity stays verifiable)?" + }, + { + "id": "cross-language-format-interop", + "question": "Does the option interoperate across languages and formats (including the Rust core and the per-document sync protocol)?" + }, + { + "id": "authority-boundary", + "question": "Does the option preserve the design's authority boundary (actor identity is not authority; grants stay in the existing layer)?" + }, + { + "id": "evidence-revisit-gate", + "question": "Does the option rest on measured evidence and keep an explicit revisit threshold, so newly found prior art adds an evidence row instead of silently replacing the decision?" + } + ], + "decision": { + "outcome": "defer", + "reason": "Across B10-B13 no candidate is adopted now: none fits the whole data model and history, none carries the design's signed history, two bring authority models that would replace the explicit grant layer, maturity ranges from documented formats (Automerge) to a paused proposal (Willow Confidential Sync) and a living draft (OCapN), and scale is unmeasured for every candidate on this design's workloads. Default is defer all: each per-candidate conditional path stays closed until conflict reports exist and one representative workload measures merge cost, latency or user value that justifies it; a later choice must preserve signed origin, conflict artifacts, deletion and privacy scope, and cross-implementation vectors. Adopt-none is a complete, passing outcome until that evidence appears. The comparison is non-exhaustive; new prior art adds a row rather than replacing this decision. This preserves the contingent-tier trigger recorded on #10161 / S1.45-S1.46." + }, + "experiments": [ + { + "checked_at": "2026-11-19T02:55:00Z", + "id": "representative-workload-comparison", + "method": "Once V2 conflict reports exist, run the experiments planned in B10-B13 (Automerge structured-document benchmark, Diamond Types text adapter against Automerge, Willow-style scoped reconciliation prototype, OCapN handoff attenuation proof) on one shared representative fleet workload, measuring memory, CPU, wire bytes, round trips and merge latency, and check signed-origin preservation and cross-implementation vectors for each. Planned only in this slice; nothing was run, so no measurements are asserted.", + "status": "unmeasured" + } + ], + "limitations": [ + "The validator checks structural completeness and traceability only, not factual truth; this synthesis relies on the B10-B13 result artifacts for per-candidate findings and re-read the five cited primary sources on 2026-11-19 only to confirm the claims this matrix repeats.", + "The comparison is non-exhaustive by design; prior art not covered by B10-B13 (for example other CRDT libraries or sync protocols) was not surveyed here.", + "No measurements exist for any candidate on this design's workloads, so every scale assessment is unknown rather than estimated.", + "Grouping four different kinds of system (structured-document CRDT, text CRDT, scoped sync protocol, capability protocol) on shared criteria compares fit, not quality; a candidate scoring unsupported here may still be the right tool for a narrower role its own result describes." + ], + "options": [ + { + "id": "adopt-one-now", + "label": "Adopt one candidate (Automerge, Diamond Types, Willow or OCapN) now as the shared merge, sync or authority layer" + }, + { + "id": "defer-all-behind-threshold", + "label": "Defer all: keep each candidate's conditional adapter path (B10-B13) closed until conflict reports exist and a representative workload measures merge cost, latency or user value that justifies one" + }, + { + "id": "adopt-none", + "label": "Adopt none: keep conflict-report-first sync, signed envelopes and explicit grants with no CRDT or capability protocol" + } + ], + "question": "Joining the B10-B13 results on the common #9143 criteria (statements S1.45 and S1.46), should ID/Atlas adopt one candidate now, defer all behind an explicit evidence threshold, or adopt none?", + "report_kind": "research-matrix", + "research_scope": "crdt-common-matrix", + "schema_version": 1, + "source_ledger": [ + { + "accessed_at": "2026-11-19T02:55:00Z", + "id": "b10-result", + "reference": "doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/research-results/B10-result.json", + "undated_reason": "Repo research-matrix result for slice B10 (scope crdt-automerge) on main, read 2026-11-19; cited for its own dated source ledger, assessments and defer decision, not re-derived here." + }, + { + "accessed_at": "2026-11-19T02:55:00Z", + "id": "b11-result", + "reference": "doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/research-results/B11-result.json", + "undated_reason": "Repo research-matrix result for slice B11 (scope crdt-diamond-types) on main, read 2026-11-19; cited for its own dated source ledger, assessments and defer decision, not re-derived here." + }, + { + "accessed_at": "2026-11-19T02:55:00Z", + "id": "b12-result", + "reference": "doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/research-results/B12-result.json", + "undated_reason": "Repo research-matrix result for slice B12 (scope crdt-willow) on main, read 2026-11-19; cited for its own dated source ledger, assessments and defer decision, not re-derived here." + }, + { + "accessed_at": "2026-11-19T02:55:00Z", + "id": "b13-result", + "reference": "doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/research-results/B13-result.json", + "undated_reason": "Repo research-matrix result for slice B13 (scope crdt-ocapn) on main, read 2026-11-19; cited for its own dated source ledger, assessments and defer decision, not re-derived here." + }, + { + "accessed_at": "2026-11-19T02:55:00Z", + "id": "automerge-concepts", + "reference": "https://automerge.org/docs/reference/concepts/", + "undated_reason": "Living documentation page with no publication date. Re-read 2026-11-19: a document is the unit of change with git-like history in a compact binary format; any two documents can always be merged; repositories use a transport-agnostic per-document sync protocol. The page does not discuss actor IDs, signatures or authentication." + }, + { + "accessed_at": "2026-11-19T02:55:00Z", + "id": "eg-walker-paper", + "published_at": "2025-03-30T00:00:00Z", + "reference": "https://martin.kleppmann.com/2025/03/30/eg-walker-collaborative-text.html", + "undated_reason": "Publication page for Gentle and Kleppmann, EuroSys 2025. Re-read 2026-11-19: Eg-walker merges concurrent text edits, claims an order of magnitude less steady-state memory than CRDTs, orders of magnitude faster loads than CRDTs and faster long-branch merges than OT, and works peer-to-peer." + }, + { + "accessed_at": "2026-11-19T02:55:00Z", + "id": "willow-data-model", + "reference": "https://willowprotocol.org/specs/data-model/", + "undated_reason": "Specification page marked Final, no date. Re-read 2026-11-19: stores of one namespace join order-independently into a join semi-lattice; newer entries prune older ones at prefix paths; timestamps are claimed." + }, + { + "accessed_at": "2026-11-19T02:55:00Z", + "id": "willow-confidential-sync", + "published_at": "2025-11-21T00:00:00Z", + "reference": "https://willowprotocol.org/specs/confidential-sync/", + "undated_reason": "Date from the page's status line, Proposal as of 2025-11-21. Re-read 2026-11-19: design is paused, many designs are outdated, and a new spec will be drafted." + }, + { + "accessed_at": "2026-11-19T02:55:00Z", + "id": "ocapn-captp", + "reference": "https://github.com/ocapn/ocapn/blob/main/draft-specifications/CapTP%20Specification.md", + "undated_reason": "Living draft with no date or version. Re-read 2026-11-19: 'This is a draft specification likely to undergo significant change'; defines references and third-party handoff; does not mention attenuation." + }, + { + "accessed_at": "2026-11-19T02:55:00Z", + "id": "b14-research-note", + "reference": "doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/B14-research-crdt-matrix.md", + "undated_reason": "Repo research note for slice B14; evidence checked 2026-11-12. Gives the common matrix, the default 'defer all' revisit rule, the conditions a later choice must preserve, and the non-exhaustive prior-art rule." + }, + { + "accessed_at": "2026-11-19T02:55:00Z", + "id": "versioned-design-s145", + "reference": "doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/versioned-design.md", + "undated_reason": "Repo versioned design record, Part B. Its #9143 lines (S1.41-S1.46) set the common comparison and revisit threshold, state that a complete 'adopt none' result is valid, keep conflict reports preserved pre-merge, bar CRDT implementation before measured reason plus an interop and signature adapter contract, and require any later adapter to consume signed operations without authenticating authorship." + } + ] +}