aboutsummaryrefslogtreecommitdiffstats
path: root/docs/architecture.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-29 02:34:27 +0000
committertv <tv@krebsco.de>2026-11-29 02:34:27 +0000
commitb259ee75fbbbf8e265a0bf2a0b79c4f6a75f395a (patch)
tree14f28c3a52bd55704db1268330a59707569cb29a /docs/architecture.md
parentbcb729ce0cae2cd8bbd8f60f8e98a81674bcd4fb (diff)
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.
Diffstat (limited to 'docs/architecture.md')
-rw-r--r--docs/architecture.md4
1 files changed, 3 insertions, 1 deletions
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