{"draft":null,"from":249,"to":318,"files":[{"path":"worker/project/version-log.ts","added":37,"removed":2,"diff":"--- a/worker/project/version-log.ts\n+++ b/worker/project/version-log.ts\n@@ -66,12 +66,18 @@\n \t\t\tconst p = space.versions[v]!;\n \t\t\tif (![...p.atoms, ...(p.dropped ?? [])].some((id) => g.filesOf(id).some((f) => sources.has(f)))) continue;\n \t\t}\n+\t\t// With a path: only the versions that changed that file (its history), under its name then. Their files first, and\n+\t\t// the whole entry (every atom of the version read) only for those (abso Capacity): a file's history read every\n+\t\t// version's atoms down to its twentieth change.\n+\t\tif (path !== undefined && !host.paths.versionFiles(space, v, views).includes(nameAt(v))) {\n+\t\t\tviews.delete(v + 1);\n+\t\t\tcontinue;\n+\t\t}\n \t\tconst entry = logEntry(host, space, v, views);\n \t\t// The walk goes down: a view above this version won't be needed again (#46).\n \t\tviews.delete(v + 1);\n-\t\t// With a path: only the versions that changed that file (its history), under its name then.\n \t\tif (path === undefined) versions.push(entry);\n-\t\telse if (entry.files.includes(nameAt(v))) versions.push(nameAt(v) === path ? entry : { ...entry, path: nameAt(v) });\n+\t\telse versions.push(nameAt(v) === path ? entry : { ...entry, path: nameAt(v) });\n \t}\n \tconst next = v >= 0 && versions.length > 0 ? versions[versions.length - 1]!.version : undefined;\n \tconst movedFrom = names.slice(0, -1).map((n, i) => ({ path: names[i + 1]!.path, version: n.since }));\n@@ -238,6 +244,35 @@\n \t};\n }\n \n+/**\n+ * fileAt for exactly this spelling, from the file's own lines (abso Capacity, 2026-10-17): no spelling lookup and no\n+ * list of the version's files. fileAt's hasFile answers from the version's whole path list, folded from version 0\n+ * when nothing's kept, and a spelling it doesn't find reads every known path. A name nothing ever wrote is one read.\n+ * The pipeline's project files (abso.yml and the like) are read this way on every tick.\n+ */\n+export function fileExactAt(\n+\thost: LogHost,\n+\tpath: string,\n+\tversion: number,\n+\toptions: { draft?: string | null; agent?: string } = {},\n+): { path: string; version: number; text: string | null; blob?: string } {\n+\thost.needInit();\n+\tcheckReadPath(path);\n+\tconst space = host.spaceFor(options);\n+\thost.checkVersion(space, version);\n+\tif (!host.graph.hasAtomsIn(path)) return { path, version, text: null };\n+\tconst view = host.viewAt(space, version);\n+\tconst attrs = view.attrs(path);\n+\t// hasFile's own test, without its path list: kept while empty, a link, a binary, or a visible line.\n+\tconst exists = attrs.exists || attrs.link !== null || attrs.blob !== null || view.lines(path).length > 0;\n+\treturn {\n+\t\tpath,\n+\t\tversion,\n+\t\ttext: exists ? view.text(path) : null,\n+\t\t...(attrs.blob !== null ? { blob: attrs.blob } : {}),\n+\t};\n+}\n+\n /** The files that may differ between two versions, and both views: compare's and compareSummary's ground. */\n function compared(\n \thost: LogHost,"}],"unmatched":[]}