{"id":3657,"agent":"capacity","title":"Who wrote what, read from the packed layout and each atom's author once (disk-first 2; abso Capacity).\n\nOn website, with one opened writer, tree with authors took 9.6 s, tree for an agent with authors 9.1 s, and a folder's blame 4.9 s. Replay takes about 0.25 s. Few row reads: the time went on reading the same few large atoms again and again.\n\n- tree with authors, a folder's blame and a file's blame look up each atom's author once per call. graph.atom read and parsed the whole atom for every line, and most lines share a few big atoms.\n- The packed layout keeps each visible line's writer (visWriter), and lines() and buildLines use it instead of looking each line's writer up again.\n- The packed layout reads each atom's lamport number once per layout instead of once per line.\n\nOn website adopted fresh, cold: tree with authors 3.2 s, tree for an agent with authors 4.5 s, a folder's blame 2.4 s; all seven tree and blame answers match replay.\n\nNew test authors-stored: tree with authors (head, an older version, an agent's draft, a folder), folder blame and file blame on a writer-backed project answer as the in-memory one; it fails when the layout records the wrong writer. Named tests: every engine test (288 of 288), authors-stored, history, trail, draft-reads-stored, packed-crossings, version-files, files-reads, view-cache, membership-pages, project (54 of 54); tsc and biome clean.","kind":"publish","note":null,"issue":null,"draft":null,"time":1792055493972,"timeIso":"2026-10-15T09:11:33.972Z","open":false,"versions":[{"version":230,"draft":null,"message":"Who wrote what, read from the packed layout and each atom's author once (disk-first 2; abso Capacity).\n\nOn website, with one opened writer, tree with authors took 9.6 s, tree for an agent with authors 9.1 s, and a folder's blame 4.9 s. Replay takes about 0.25 s. Few row reads: the time went on reading the same few large atoms again and again.\n\n- tree with authors, a folder's blame and a file's blame look up each atom's author once per call. graph.atom read and parsed the whole atom for every line, and most lines share a few big atoms.\n- The packed layout keeps each visible line's writer (visWriter), and lines() and buildLines use it instead of looking each line's writer up again.\n- The packed layout reads each atom's lamport number once per layout instead of once per line.\n\nOn website adopted fresh, cold: tree with authors 3.2 s, tree for an agent with authors 4.5 s, a folder's blame 2.4 s; all seven tree and blame answers match replay.\n\nNew test authors-stored: tree with authors (head, an older version, an agent's draft, a folder), folder blame and file blame on a writer-backed project answer as the in-memory one; it fails when the layout records the wrong writer. Named tests: every engine test (288 of 288), authors-stored, history, trail, draft-reads-stored, packed-crossings, version-files, files-reads, view-cache, membership-pages, project (54 of 54); tsc and biome clean.","time":1792055493972,"timeIso":"2026-10-15T09:11:33.972Z","files":["src/engine/view.ts","worker/project/blame.ts","worker/project/history.ts","worker/project/test/authors-stored.test.ts"]}],"files":["src/engine/view.ts","worker/project/blame.ts","worker/project/history.ts","worker/project/test/authors-stored.test.ts"],"settled":[],"refusals":[],"notes":[],"reviewers":[]}