{"draft":null,"from":7,"to":318,"files":[{"path":"worker/project/record.ts","added":6,"removed":6,"diff":"--- a/worker/project/record.ts\n+++ b/worker/project/record.ts\n@@ -1,7 +1,7 @@\n // Whole files as the agent's folder has them. Writes go through RecordHost;\n // today the host is Project.\n \n-import { canonicalText, type Hunk, type View } from \"../../src/engine/index.ts\";\n+import { canonicalText, type Hunk, type ReadView } from \"../../src/engine/index.ts\";\n import { checkPath } from \"./path-rules.ts\";\n import { isComposed, pathKey } from \"./pathkey.ts\";\n import { ProjectError } from \"./project-error.ts\";\n@@ -24,12 +24,12 @@\n \treadonly agents: ReadonlyMap<string, AgentState>;\n \treadonly whole: ProjectOptions[\"whole\"];\n \tinitialized(): boolean;\n-\tagentView(agent: AgentState): View;\n-\tsharedView(): View;\n+\tagentView(agent: AgentState): ReadView;\n+\tsharedView(): ReadView;\n \twholeOut(\n \t\tfiles: Readonly<Record<string, string | null>>,\n \t\tblobs: Readonly<Record<string, string>>,\n-\t\tview: View | undefined,\n+\t\tview: ReadView | undefined,\n \t\tconfig?: string,\n \t): { files: Record<string, string | null>; blobs: Record<string, string> };\n \tcheckBlobs(blobs: unknown, files: object): Record<string, string>;\n@@ -37,7 +37,7 @@\n \tdraftFiles(agent: AgentState): Set<string>;\n \trecordFile(\n \t\tagent: AgentState,\n-\t\tview: View,\n+\t\tview: ReadView,\n \t\tpath: string,\n \t\ttext: string | null | undefined,\n \t\ttime: number,\n@@ -77,7 +77,7 @@\n \t\tif (view) {\n \t\t\t// A record naming both spellings (the old one gone, the new one written) is a rename, taken as it is.\n \t\t\tconst named = new Set([...Object.keys(files), ...Object.keys(modes), ...Object.keys(blobs)]);\n-\t\t\t// Both written is two spellings of one new file (Git Lessons' review, batch 3): refused, naming both.\n+\t\t\t// Both written is two spellings of one new file: refused, naming both.\n \t\t\tconst written = new Map<string, string>();\n \t\t\tfor (const p of named) {\n \t\t\t\tif (files[p] === null) continue;"}],"unmatched":[]}