{"id":3643,"agent":"capacity","title":"Lamport numbers 256 to a row, and movers read once per graph (disk-first 2; abso Capacity).\n\nAfter 226, where on typescript-rs still read about 12,000 lamport rows (one per atom, for ordering a file's lines) and the movers list (1,024 rows, one per atom that moves lines) nine times over.\n\n- A stored graph keeps its atoms' lamport numbers in pages of 256 (lamport-pages), from a fresh graph on. A graph that already keeps them a row each goes on doing so. The choice is made when a number is first needed, so opening still reads nothing.\n- A stored graph reads its movers once and keeps them, checked against the stored list's length and last mover on each use so a rolled-back add can't leave one behind.\n\nOn typescript-rs adopted fresh, cold: where 59,000 reads to 39,000. Its time locally is now mostly work, not reads (5.2 s). 26 of 27 answers match replay; collisions still runs past 60 s.\n\nNew test lamport-pages: a fresh graph keeps pages and reopens with them; a graph with a row each reads them and writes the next atom as a row. Named tests: every engine test (288 of 288), membership-pages, stored-closure, draft-reads-stored, version-files, packed-crossings, project-writer-storage, writer-adoption, moves, view-cache (36 of 36); tsc and biome clean.","kind":"publish","note":null,"issue":null,"draft":null,"time":1792053568830,"timeIso":"2026-10-15T08:39:28.830Z","open":false,"versions":[{"version":228,"draft":null,"message":"Lamport numbers 256 to a row, and movers read once per graph (disk-first 2; abso Capacity).\n\nAfter 226, where on typescript-rs still read about 12,000 lamport rows (one per atom, for ordering a file's lines) and the movers list (1,024 rows, one per atom that moves lines) nine times over.\n\n- A stored graph keeps its atoms' lamport numbers in pages of 256 (lamport-pages), from a fresh graph on. A graph that already keeps them a row each goes on doing so. The choice is made when a number is first needed, so opening still reads nothing.\n- A stored graph reads its movers once and keeps them, checked against the stored list's length and last mover on each use so a rolled-back add can't leave one behind.\n\nOn typescript-rs adopted fresh, cold: where 59,000 reads to 39,000. Its time locally is now mostly work, not reads (5.2 s). 26 of 27 answers match replay; collisions still runs past 60 s.\n\nNew test lamport-pages: a fresh graph keeps pages and reopens with them; a graph with a row each reads them and writes the next atom as a row. Named tests: every engine test (288 of 288), membership-pages, stored-closure, draft-reads-stored, version-files, packed-crossings, project-writer-storage, writer-adoption, moves, view-cache (36 of 36); tsc and biome clean.","time":1792053568830,"timeIso":"2026-10-15T08:39:28.830Z","files":["src/engine/graph.ts","src/engine/test/lamport-pages.test.ts"]}],"files":["src/engine/graph.ts","src/engine/test/lamport-pages.test.ts"],"settled":[],"refusals":[],"notes":[],"reviewers":[]}