From d84d18395f12af5d22aa1dda68c6eaca1079cdcf Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 03:25:51 +0000 Subject: document.md: values through a view are built --- docs/document.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'docs/document.md') diff --git a/docs/document.md b/docs/document.md index 8051cfe..4830cd7 100644 --- a/docs/document.md +++ b/docs/document.md @@ -2,11 +2,12 @@ A design, built stage by stage ([Stages](#stages), below). So far: what is written here of the node as it is; and of the second stage, what was the engine's in other modules on -the engine's side (`document::own`, `dropping`, `screen`), and the rules judging a unit -at the state its writer saw (`access::rules::judge_seen`). The node's document is an -Automerge document, and that is all it can be; this says what the rest of the node asks of it, which of that is Automerge's shape -and which is continuum's, and where the seam goes behind which a swarm's document may be -of another kind. +the engine's side (`document::own`, `dropping`, `screen`), the rules judging a unit +at the state its writer saw (`access::rules::judge_seen`), and values read and written +through a view any kind gives (`document::view`, `AppState::mutate_doc`). The node's +document is an Automerge document, and that is all it can be; this says what the rest of +the node asks of it, which of that is Automerge's shape and which is continuum's, and +where the seam goes behind which a swarm's document may be of another kind. Why: every write to an Automerge document is a change kept forever, and what Automerge does grows with their number, so a swarm takes no frequent writing; only a remake, which -- cgit v1.3.1