{"version":278,"agent":"capacity","message":"Publish's spelling clash check lists the graph's paths, not the view's known paths (abso Capacity, prod abso 2026-10-15)\n\nOn prod abso, publishes failed with \"storage operation exceeded timeout\": one publish ran past the storage limit. On a copy of abso's tables, a publish of a one-line change took 2.7 s and 49,000 statements on a kept engine, and the clash check's view.knownPaths(), which reads every atom's file list, was 1.4 s of it.\n\nclashIn now groups every path the graph has ever had (graph.knownFiles(), sorted, so a list keeps the order it had). Each use keeps only paths the view has a file at, and a path the view never had has none, so the answers are the same.\n\nOn the same copy: a publish 2.7 s to 1.45 s, 49,000 statements to 15,000. tsc and Biome clean; the 30 worker/project tests on clashes, spelling and publish: 146 pass.","time":1792112214508,"timeIso":"2026-10-16T00:56:54.508Z","changes":1,"change":4400,"files":["worker/project/spelling.ts"],"draft":null,"diff":[{"path":"worker/project/spelling.ts","added":4,"removed":1,"diff":"--- a/worker/project/spelling.ts\n+++ b/worker/project/spelling.ts\n@@ -16,7 +16,10 @@\n  */\n export function clashIn(view: ReadView, touched: Iterable<string>, now: ReadView): string | undefined {\n \tconst byKey = new Map<string, string[]>();\n-\tfor (const p of view.knownPaths()) {\n+\t// Every path the graph has ever had, sorted, not the view's known paths (abso Capacity, prod abso 2026-10-15): those\n+\t// read every atom's file list, over half of a publish on abso. Each use below keeps only paths the view has a file\n+\t// at, and a path the view never had has none, so the answers are the same.\n+\tfor (const p of [...view.graph.knownFiles()].sort()) {\n \t\tconst k = pathKey(p);\n \t\tconst list = byKey.get(k);\n \t\tif (list) list.push(p);"}],"ci":null}