{"draft":null,"from":251,"to":252,"files":[{"path":"src/engine/view.ts","added":12,"removed":0,"diff":"--- a/src/engine/view.ts\n+++ b/src/engine/view.ts\n@@ -898,6 +898,18 @@\n \n \t/** Files with at least one visible line, sorted. */\n \tpaths(): string[] {\n+\t\t// Without walking every file the graph has ever had (abso Capacity): a draft's view over its base's has the base's\n+\t\t// files, with the ones its draft touches checked here; a published version's are kept (knowPaths).\n+\t\tconst shared = this.#filesFrom === undefined ? null : this.#sharedFiles();\n+\t\tif (shared) {\n+\t\t\tconst out = shared.from.paths().filter((p) => !shared.except.has(p));\n+\t\t\tfor (const p of shared.except) if (this.hasFile(p)) out.push(p);\n+\t\t\treturn out.sort();\n+\t\t}\n+\t\tif (this.#pathsFrom !== undefined) {\n+\t\t\tif (this.#knownPaths === undefined) this.#knownPaths = this.#pathsFrom() ?? null;\n+\t\t\tif (this.#knownPaths) return [...this.#knownPaths].sort();\n+\t\t}\n \t\tif (this.#stable) {\n \t\t\tconst paths: string[] = [];\n \t\t\tfor (const path of this.graph.knownFiles()) {"}],"unmatched":[]}