diff options
| author | tv <tv@krebsco.de> | 2026-11-29 03:51:35 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-29 03:51:35 +0000 |
| commit | f497cf6ef14de8204bc1edec078116593d791b97 (patch) | |
| tree | 193830a60b605c4efcc2204a4a8137042dfa1c97 | |
| parent | facc05316e2b350d7b7bbd7dfd0c013cc167f341 (diff) | |
document.md: passing on, what of it is built in the node
| -rw-r--r-- | docs/document.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/document.md b/docs/document.md index fa96aa1..77fa0bd 100644 --- a/docs/document.md +++ b/docs/document.md @@ -3,11 +3,13 @@ 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`), 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. +at the state its writer saw (`access::rules::judge_seen`), values read and written +through a view any kind gives (`document::view`, `AppState::mutate_doc`), and what goes +to a peer next and what is made of what it sent on the document's side, as the wire +carries it now (`document::passing`). 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 (a *kind* of document, a kind for short). 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 |
