From b259ee75fbbbf8e265a0bf2a0b79c4f6a75f395a Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 02:34:27 +0000 Subject: document.md: what the node asks of its document, and the seam A design: what the rest of the node asks of its document today, by what asks it; which of that is Automerge's shape and which any document's; what users and the wire see of the engine; the seam, around a kind of document with its passing on, its units and their judging, and its disk; the kinds (Automerge, merged state without a history, a set of events); and the stages. --- docs/architecture.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/architecture.md') diff --git a/docs/architecture.md b/docs/architecture.md index 5a5d438..124fcf5 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -52,7 +52,9 @@ One Automerge document per node (`document::replica::Replica`: the document, its cached heads). Automerge is used directly only in `document` and in what remakes do to documents ([`remake/`](../src/remake/): `snapshot`, `delta`, `catchup`, `kind`, `quarantine`); the rest of the node names its types as `document` re-exports them (`Document`, `ChangeHash`, -`Change`, `ActorId`) and works through `document`'s functions. Two views of it: +`Change`, `ActorId`) and works through `document`'s functions; what it asks of the +document, and where a document of another kind would go, is in +[`document.md`](document.md). Two views of it: * **The store** (`document::store`): JSON over slash-separated paths, with Automerge's concurrent values merged into one view (maps union, scalars newest-wins; where the -- cgit v1.3.1