From c2f14090dfb8a34ce9d8f2dceda59cc920d74e9c Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 21 Nov 2026 11:56:49 +0100 Subject: [PATCH] Design 47 H: H-A-255, the sweep reads the builds from a followed view, not pages; the cursor by sequence is H2 --- 03-DESIGN/01-to-be/47-milestones/H-lead-answers.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/03-DESIGN/01-to-be/47-milestones/H-lead-answers.md b/03-DESIGN/01-to-be/47-milestones/H-lead-answers.md index d59da2f8..95462252 100644 --- a/03-DESIGN/01-to-be/47-milestones/H-lead-answers.md +++ b/03-DESIGN/01-to-be/47-milestones/H-lead-answers.md @@ -1456,3 +1456,11 @@ Where two preparers disagreed, the chosen one is named. state read in pages costs the bucket once per page. The page read continues from the cursor the caller hands back (the last key's sequence), reading only what follows it, so a state is read once however many pages it takes. In mesh-tools, beside H-A-251. P7, P4. +- **H-A-255 (the sweep reads the builds from a followed view, not pages; the cursor by sequence is H2, 11:56)** + Amends H-A-250 (2) and H-A-254. The page read's contract is key order with a key as cursor, and the bus reads + no key range, so a page read costs the bucket once per page: a large state read in pages costs more than key by + key. (1) The artifact store's bundle reads the builder's builds as a followed view (the SDK's first view once at + start, then its updates), and a pass judges from that view in memory: no bus read per pass at all. (2) H-A-254 + (pages in sequence order with an opaque cursor, a contract change in the SDK and its callers) is H2; in H1 the tool + runner's page read stays as it is and nothing of H1 reads a large state in pages. P-NATS-native (a view followed, + not a state replayed), P7.