{"id":3605,"agent":"capacity","title":"A stored writer's read cache holds 4 MB and 16,384 rows (disk-first 2; abso Capacity).\n\nAgent VCS's first disk-first reads on staging (commonmark-ts) found diff 9.7 s on the first call, against 1.8 s replayed. On typescript-rs, with one opened writer, an agent's diff made 59,000 row reads. It touches more rows than the old cache's 4,096, so it read the same rows many times: the membership and closure events of each atom it checks, and the list of atoms that move lines.\n\nAt 4 MB and 16,384 rows, the same diff makes 22,000 reads and takes 1.1-2.8 s locally instead of 1.7-2.4 s. Locally a row read is cheap; in a Durable Object each one costs more, which is where staging's 9.7 s comes from. 8 MB saves only another 1,800. show is unchanged (5,000-8,500 reads, all distinct).\n\nNamed tests: project-writer-storage, membership-cache, view-cache, draft-reads-stored, packed-crossings (19 of 19); tsc and biome clean.","kind":"publish","note":null,"issue":null,"draft":null,"time":1792049583239,"timeIso":"2026-10-15T07:33:03.239Z","open":false,"versions":[{"version":222,"draft":null,"message":"A stored writer's read cache holds 4 MB and 16,384 rows (disk-first 2; abso Capacity).\n\nAgent VCS's first disk-first reads on staging (commonmark-ts) found diff 9.7 s on the first call, against 1.8 s replayed. On typescript-rs, with one opened writer, an agent's diff made 59,000 row reads. It touches more rows than the old cache's 4,096, so it read the same rows many times: the membership and closure events of each atom it checks, and the list of atoms that move lines.\n\nAt 4 MB and 16,384 rows, the same diff makes 22,000 reads and takes 1.1-2.8 s locally instead of 1.7-2.4 s. Locally a row read is cheap; in a Durable Object each one costs more, which is where staging's 9.7 s comes from. 8 MB saves only another 1,800. show is unchanged (5,000-8,500 reads, all distinct).\n\nNamed tests: project-writer-storage, membership-cache, view-cache, draft-reads-stored, packed-crossings (19 of 19); tsc and biome clean.","time":1792049583239,"timeIso":"2026-10-15T07:33:03.239Z","files":["worker/project/project.ts"]}],"files":["worker/project/project.ts"],"settled":[],"refusals":[],"notes":[],"reviewers":[]}