{"path":"worker/project/version-files.ts","version":318,"newest":318,"draft":null,"agent":null,"exists":true,"lines":[{"n":1,"text":"// Each version of shared's changed files, worked out as the version lands from what it touched (disk-first 2;","author":"capacity","version":207},{"n":2,"text":"// abso Capacity). The log, a path's history and the tree read these lists; working them out from two layouts of every","author":"capacity","version":207},{"n":3,"text":"// touched file per version cost game's whole history 460 s to adopt. Here a version costs about its own size:","author":"capacity","version":207},{"n":4,"text":"// - a file it touched differs when its visible lines' count or texts changed, or its mode or blob did;","author":"capacity","version":207},{"n":5,"text":"// - whether a file exists before and after comes from a running count of each file's visible lines;","author":"capacity","version":207},{"n":6,"text":"// - only a version whose added and removed lines have the very same texts, or one with moves, drops or a change to","author":"capacity","version":207},{"n":7,"text":"//   shared's closure, is laid out as before.","author":"capacity","version":207},{"n":8,"text":"// The answers are exactly differs() in view-changes.ts.","author":"capacity","version":207},{"n":9,"text":"","author":"capacity","version":207},{"n":10,"text":"import { type AtomId, type Graph, type ReadView, View } from \"../../src/engine/index.ts\";","author":"capacity","version":207},{"n":11,"text":"import type { GraphStateStorage } from \"../../src/engine/state-source.ts\";","author":"capacity","version":207},{"n":12,"text":"import { touchedFiles } from \"./collisions.ts\";","author":"capacity","version":207},{"n":13,"text":"import { utf8Bytes } from \"./project-helpers.ts\";","author":"capacity","version":251},{"n":14,"text":"import type { Published } from \"./spaces.ts\";","author":"capacity","version":207},{"n":15,"text":"import { differs } from \"./view-changes.ts\";","author":"capacity","version":207},{"n":16,"text":"","author":"capacity","version":207},{"n":17,"text":"const COUNTS = \"head-visible\";","author":"capacity","version":207},{"n":18,"text":"const META = \"head-visible:meta\";","author":"capacity","version":207},{"n":19,"text":"","author":"capacity","version":251},{"n":20,"text":"// Author totals (docs/disk-first-2.md, abso Capacity, issue 664): each shared file's lines by author and its text's size","author":"capacity","version":251},{"n":21,"text":"// in UTF-8 bytes, as tree with authors counts them, so it reads one value per file instead of laying every file out.","author":"capacity","version":251},{"n":22,"text":"// AUTHORS holds each file's totals at the newest version kept; AUTHORS_LOG each file's totals at every version that","author":"capacity","version":251},{"n":23,"text":"// changed them, oldest first. Shared only, never a draft (Security on ask 2096). They live in the writer's state, so","author":"capacity","version":251},{"n":24,"text":"// whatever clears or replaces that state (a new adoption, a restore, a drop of the project) takes them with it.","author":"capacity","version":251},{"n":25,"text":"const AUTHORS = \"head-authors\";","author":"capacity","version":251},{"n":26,"text":"const AUTHORS_LOG = \"author-totals\";","author":"capacity","version":251},{"n":27,"text":"const AUTHORS_META = \"head-authors:meta\";","author":"capacity","version":251},{"n":28,"text":"","author":"capacity","version":251},{"n":29,"text":"/** A file's lines by author and its text's size, stored: authors by name, none at zero; null when it has no lines. */","author":"capacity","version":251},{"n":30,"text":"type StoredTotals = { a: [string, number][]; b: number };","author":"capacity","version":251},{"n":31,"text":"","author":"capacity","version":251},{"n":32,"text":"/** A shared file's lines by author and its text's size in UTF-8 bytes. */","author":"capacity","version":251},{"n":33,"text":"export interface FileTotals {","author":"capacity","version":251},{"n":34,"text":"\treadonly authors: ReadonlyMap<string, number>;","author":"capacity","version":251},{"n":35,"text":"\treadonly bytes: number;","author":"capacity","version":251},{"n":36,"text":"}","author":"capacity","version":251},{"n":37,"text":"","author":"capacity","version":251},{"n":38,"text":"const NO_TOTALS: FileTotals = { authors: new Map(), bytes: 0 };","author":"capacity","version":251},{"n":39,"text":"","author":"capacity","version":251},{"n":40,"text":"/** The newest shared version whose author totals are kept, or undefined when this writer keeps none. */","author":"capacity","version":251},{"n":41,"text":"export function authoredVersion(storage: GraphStateStorage): number | undefined {","author":"capacity","version":251},{"n":42,"text":"\treturn storage.read(AUTHORS_META, \"version\") as number | undefined;","author":"capacity","version":251},{"n":43,"text":"}","author":"capacity","version":251},{"n":44,"text":"","author":"capacity","version":251},{"n":45,"text":"/** A shared file's totals at version `v`, or undefined when they aren't kept that far: lay the file out instead. */","author":"capacity","version":251},{"n":46,"text":"export function authorTotalsAt(storage: GraphStateStorage, path: string, v: number): FileTotals | undefined {","author":"capacity","version":251},{"n":47,"text":"\tconst upTo = authoredVersion(storage);","author":"capacity","version":251},{"n":48,"text":"\tif (upTo === undefined || v > upTo) return undefined;","author":"capacity","version":251},{"n":49,"text":"\tconst log = storage.read(AUTHORS_LOG, path) as [number, StoredTotals | null][] | undefined;","author":"capacity","version":251},{"n":50,"text":"\tif (!log) return NO_TOTALS;","author":"capacity","version":251},{"n":51,"text":"\t// The newest entry at or before v.","author":"capacity","version":251},{"n":52,"text":"\tlet lo = 0;","author":"capacity","version":251},{"n":53,"text":"\tlet hi = log.length - 1;","author":"capacity","version":251},{"n":54,"text":"\tlet found = -1;","author":"capacity","version":251},{"n":55,"text":"\twhile (lo <= hi) {","author":"capacity","version":251},{"n":56,"text":"\t\tconst mid = (lo + hi) >> 1;","author":"capacity","version":251},{"n":57,"text":"\t\tif (log[mid]![0] <= v) {","author":"capacity","version":251},{"n":58,"text":"\t\t\tfound = mid;","author":"capacity","version":251},{"n":59,"text":"\t\t\tlo = mid + 1;","author":"capacity","version":251},{"n":60,"text":"\t\t} else hi = mid - 1;","author":"capacity","version":251},{"n":61,"text":"\t}","author":"capacity","version":251},{"n":62,"text":"\tconst totals = found < 0 ? null : log[found]![1];","author":"capacity","version":251},{"n":63,"text":"\treturn totals ? { authors: new Map(totals.a), bytes: totals.b } : NO_TOTALS;","author":"capacity","version":251},{"n":64,"text":"}","author":"capacity","version":251},{"n":65,"text":"","author":"capacity","version":251},{"n":66,"text":"/** Each atom's author, read once. */","author":"capacity","version":251},{"n":67,"text":"function authorsOf(graph: Graph): (id: AtomId) => string {","author":"capacity","version":251},{"n":68,"text":"\tconst known = new Map<AtomId, string>();","author":"capacity","version":251},{"n":69,"text":"\treturn (id) => {","author":"capacity","version":251},{"n":70,"text":"\t\tlet author = known.get(id);","author":"capacity","version":251},{"n":71,"text":"\t\tif (author === undefined) known.set(id, (author = graph.atom(id).author));","author":"capacity","version":251},{"n":72,"text":"\t\treturn author;","author":"capacity","version":251},{"n":73,"text":"\t};","author":"capacity","version":251},{"n":74,"text":"}","author":"capacity","version":251},{"n":75,"text":"","author":"capacity","version":251},{"n":76,"text":"/** Totals in stored form: authors sorted, none at zero; null for a file with no lines. */","author":"capacity","version":251},{"n":77,"text":"function normalTotals(authors: ReadonlyMap<string, number>, bytes: number): StoredTotals | null {","author":"capacity","version":251},{"n":78,"text":"\tconst a = [...authors].filter(([, n]) => n !== 0).sort(([x], [y]) => (x < y ? -1 : x > y ? 1 : 0));","author":"capacity","version":251},{"n":79,"text":"\treturn a.length === 0 && bytes === 0 ? null : { a, b: bytes };","author":"capacity","version":251},{"n":80,"text":"}","author":"capacity","version":251},{"n":81,"text":"","author":"capacity","version":251},{"n":82,"text":"/**","author":"capacity","version":258},{"n":83,"text":" * A laid-out file's lines by author, from its visible lines' writers (abso Capacity): each writer's author once, instead","author":"capacity","version":258},{"n":84,"text":" * of making an atom id and a line id for every line (an agent's tree spent 0.4 s on that for its draft's files).","author":"capacity","version":258},{"n":85,"text":" */","author":"capacity","version":258},{"n":86,"text":"export function authorsInView(","author":"capacity","version":258},{"n":87,"text":"\tview: ReadView,","author":"capacity","version":258},{"n":88,"text":"\tpath: string,","author":"capacity","version":258},{"n":89,"text":"\tgraph: Graph,","author":"capacity","version":258},{"n":90,"text":"\tauthorOf: (id: AtomId) => string,","author":"capacity","version":258},{"n":91,"text":"): Map<string, number> {","author":"capacity","version":258},{"n":92,"text":"\tconst out = new Map<string, number>();","author":"capacity","version":258},{"n":93,"text":"\tconst writers = (view as { visibleWriters?(path: string): readonly number[] }).visibleWriters?.call(view, path);","author":"capacity","version":258},{"n":94,"text":"\tif (!writers) {","author":"capacity","version":258},{"n":95,"text":"\t\tfor (const l of view.lines(path)) {","author":"init","version":0},{"n":96,"text":"\t\t\tconst author = authorOf(l.atom);","author":"capacity","version":230},{"n":97,"text":"\t\t\tout.set(author, (out.get(author) ?? 0) + 1);","author":"capacity","version":258},{"n":98,"text":"\t\t}","author":"capacity","version":258},{"n":99,"text":"\t\treturn out;","author":"capacity","version":258},{"n":100,"text":"\t}","author":"capacity","version":258},{"n":101,"text":"\tconst bySeq = new Map<number, number>();","author":"capacity","version":258},{"n":102,"text":"\tfor (const seq of writers) bySeq.set(seq, (bySeq.get(seq) ?? 0) + 1);","author":"capacity","version":258},{"n":103,"text":"\tfor (const [seq, n] of bySeq) {","author":"capacity","version":258},{"n":104,"text":"\t\tconst author = authorOf(graph.idOfSeq(seq));","author":"capacity","version":258},{"n":105,"text":"\t\tout.set(author, (out.get(author) ?? 0) + n);","author":"capacity","version":258},{"n":106,"text":"\t}","author":"capacity","version":258},{"n":107,"text":"\treturn out;","author":"capacity","version":258},{"n":108,"text":"}","author":"capacity","version":258},{"n":109,"text":"","author":"capacity","version":258},{"n":110,"text":"/** A file's totals from its layout in a view, as tree with authors counts them. */","author":"capacity","version":251},{"n":111,"text":"function laidOutTotals(view: ReadView, path: string, authorOf: (id: AtomId) => string): StoredTotals | null {","author":"capacity","version":251},{"n":112,"text":"\tif (!view.hasFile(path)) return null;","author":"capacity","version":251},{"n":113,"text":"\tconst authors = authorsInView(view, path, view.graph, authorOf);","author":"capacity","version":258},{"n":114,"text":"\treturn normalTotals(authors, authors.size === 0 ? 0 : utf8Bytes(view.text(path)));","author":"capacity","version":251},{"n":115,"text":"}","author":"capacity","version":251},{"n":116,"text":"","author":"capacity","version":251},{"n":117,"text":"/** Keep a file's totals at version `v`, when they differ from what it had. */","author":"capacity","version":251},{"n":118,"text":"function keepTotals(storage: GraphStateStorage, v: number, path: string, totals: StoredTotals | null): void {","author":"capacity","version":251},{"n":119,"text":"\tconst was = (storage.read(AUTHORS, path) as StoredTotals | undefined) ?? null;","author":"capacity","version":251},{"n":120,"text":"\tif (JSON.stringify(was) === JSON.stringify(totals)) return;","author":"capacity","version":251},{"n":121,"text":"\tif (totals) storage.write(AUTHORS, path, totals);","author":"capacity","version":251},{"n":122,"text":"\telse storage.remove(AUTHORS, path);","author":"capacity","version":251},{"n":123,"text":"\tconst log = (storage.read(AUTHORS_LOG, path) as [number, StoredTotals | null][] | undefined) ?? [];","author":"capacity","version":251},{"n":124,"text":"\tstorage.write(AUTHORS_LOG, path, [...log, [v, totals]]);","author":"capacity","version":251},{"n":125,"text":"}","author":"capacity","version":251},{"n":126,"text":"","author":"capacity","version":207},{"n":127,"text":"/** The shared version the running counts describe, or undefined when this writer keeps none. */","author":"capacity","version":207},{"n":128,"text":"export function countedVersion(storage: GraphStateStorage): number | undefined {","author":"capacity","version":207},{"n":129,"text":"\treturn storage.read(META, \"version\") as number | undefined;","author":"capacity","version":207},{"n":130,"text":"}","author":"capacity","version":207},{"n":131,"text":"","author":"capacity","version":207},{"n":132,"text":"export interface VersionFilesHost {","author":"capacity","version":207},{"n":133,"text":"\treadonly storage: GraphStateStorage;","author":"capacity","version":207},{"n":134,"text":"\treadonly graph: Graph;","author":"capacity","version":207},{"n":135,"text":"\t/** Shared's set at a version (closed) and its view. */","author":"capacity","version":207},{"n":136,"text":"\tat(version: number): ReadonlySet<AtomId>;","author":"capacity","version":207},{"n":137,"text":"\tviewAt(version: number): ReadView;","author":"capacity","version":207},{"n":138,"text":"\tempty(): ReadView;","author":"capacity","version":207},{"n":139,"text":"\t/** Whether shared's closure changed at this version (spaces.ts). */","author":"capacity","version":207},{"n":140,"text":"\tclosureChangedAt(version: number): boolean;","author":"capacity","version":207},{"n":141,"text":"}","author":"capacity","version":207},{"n":142,"text":"","author":"capacity","version":207},{"n":143,"text":"/** A file's visible lines in a view: a laid-out count, for the slow path. */","author":"capacity","version":207},{"n":144,"text":"function visibleCount(view: ReadView, path: string): number {","author":"capacity","version":207},{"n":145,"text":"\tconst counted = (view as { visibleCount?(path: string): number }).visibleCount;","author":"capacity","version":207},{"n":146,"text":"\treturn counted ? counted.call(view, path) : view.lines(path).length;","author":"capacity","version":207},{"n":147,"text":"}","author":"capacity","version":207},{"n":148,"text":"","author":"capacity","version":207},{"n":149,"text":"/** The changed files of shared's version `v`, sorted, and which existed before and after; the running counts moved to `v`. */","author":"capacity","version":207},{"n":150,"text":"export function versionFiles(","author":"capacity","version":207},{"n":151,"text":"\thost: VersionFilesHost,","author":"capacity","version":207},{"n":152,"text":"\tp: Published,","author":"capacity","version":207},{"n":153,"text":"): { files: string[]; exists?: Map<string, readonly [boolean, boolean]> } {","author":"capacity","version":207},{"n":154,"text":"\tconst { storage, graph } = host;","author":"capacity","version":207},{"n":155,"text":"\tconst v = p.version;","author":"capacity","version":207},{"n":156,"text":"\tconst counted = countedVersion(storage);","author":"capacity","version":207},{"n":157,"text":"\tconst atoms = [...p.atoms, ...(p.dropped ?? [])];","author":"capacity","version":207},{"n":158,"text":"\tconst before = v === 0 ? host.empty() : host.viewAt(v - 1);","author":"capacity","version":207},{"n":159,"text":"\tconst after = host.viewAt(v);","author":"capacity","version":207},{"n":160,"text":"\tconst fast =","author":"capacity","version":207},{"n":161,"text":"\t\tv > 0 &&","author":"capacity","version":207},{"n":162,"text":"\t\tcounted === v - 1 &&","author":"capacity","version":207},{"n":163,"text":"\t\t!p.dropped?.length &&","author":"capacity","version":207},{"n":164,"text":"\t\t!p.atoms.some((id) => graph.atom(id).moves?.length) &&","author":"capacity","version":207},{"n":165,"text":"\t\t!host.closureChangedAt(v);","author":"capacity","version":207},{"n":166,"text":"\t// The same moves as the version before: share them, and where lines sit, instead of resolving them again.","author":"capacity","version":207},{"n":167,"text":"\tif (fast && before instanceof View && after instanceof View) after.shareMoves(before);","author":"capacity","version":207},{"n":168,"text":"\tconst touched = touchedFiles(graph, atoms, [before, after]);","author":"capacity","version":207},{"n":169,"text":"\t// Author totals start with the first version too, and are kept only while every version since has kept them.","author":"capacity","version":251},{"n":170,"text":"\tconst authored = authoredVersion(storage);","author":"capacity","version":251},{"n":171,"text":"\tconst authoring = authored === v - 1 || (v === 0 && authored === undefined);","author":"capacity","version":251},{"n":172,"text":"\tconst authorOf = authorsOf(graph);","author":"capacity","version":251},{"n":173,"text":"\tlet files: string[];","author":"capacity","version":207},{"n":174,"text":"\tif (!fast) {","author":"capacity","version":207},{"n":175,"text":"\t\tfiles = [...touched].filter((path) => differs(before, after, path)).sort();","author":"capacity","version":207},{"n":176,"text":"\t\t// Counts start with the first version; a writer adopted before has none and keeps none.","author":"capacity","version":207},{"n":177,"text":"\t\tif (counted === v - 1 || (v === 0 && counted === undefined)) {","author":"capacity","version":207},{"n":178,"text":"\t\t\tfor (const path of files) storage.write(COUNTS, path, visibleCount(after, path));","author":"capacity","version":207},{"n":179,"text":"\t\t\tstorage.write(META, \"version\", v);","author":"capacity","version":207},{"n":180,"text":"\t\t}","author":"capacity","version":251},{"n":181,"text":"\t\t// Every touched file's totals from its layout: one whose lines are the same texts by someone else isn't among","author":"capacity","version":251},{"n":182,"text":"\t\t// the changed files, but its authors changed.","author":"capacity","version":251},{"n":183,"text":"\t\tif (authoring) {","author":"capacity","version":251},{"n":184,"text":"\t\t\tfor (const path of touched) keepTotals(storage, v, path, laidOutTotals(after, path, authorOf));","author":"capacity","version":251},{"n":185,"text":"\t\t\tstorage.write(AUTHORS_META, \"version\", v);","author":"capacity","version":251},{"n":186,"text":"\t\t}","author":"capacity","version":207},{"n":187,"text":"\t\treturn { files };","author":"capacity","version":207},{"n":188,"text":"\t}","author":"capacity","version":207},{"n":189,"text":"\tconst beforeSet = host.at(v - 1);","author":"capacity","version":207},{"n":190,"text":"\tconst afterSet = host.at(v);","author":"capacity","version":207},{"n":191,"text":"\tconst visibleIn = (set: ReadonlySet<AtomId>, n: number) => {","author":"capacity","version":207},{"n":192,"text":"\t\tfor (const seq of graph.eachDeleterSeqOf(n)) if (set.has(graph.idOfSeq(seq))) return false;","author":"capacity","version":207},{"n":193,"text":"\t\treturn true;","author":"capacity","version":207},{"n":194,"text":"\t};","author":"capacity","version":207},{"n":195,"text":"\tconst fileOf = (view: ReadView, line: string, n: number) =>","author":"capacity","version":207},{"n":196,"text":"\t\tview.hasMoves() ? view.fileOf(line) : graph.writtenIn(n);","author":"capacity","version":207},{"n":197,"text":"\t// Per file: visible lines added minus removed, and the texts' balance; and, while totals are kept, each author's lines","author":"capacity","version":251},{"n":198,"text":"\t// and the bytes added minus removed (a line and its newline, as joinLines makes the file).","author":"capacity","version":251},{"n":199,"text":"\tconst changes = new Map<","author":"capacity","version":251},{"n":200,"text":"\t\tstring,","author":"capacity","version":251},{"n":201,"text":"\t\t{ net: number; texts: Map<string, number>; lines: number; authors: Map<string, number>; bytes: number }","author":"capacity","version":251},{"n":202,"text":"\t>();","author":"capacity","version":251},{"n":203,"text":"\tconst change = (path: string) => {","author":"capacity","version":207},{"n":204,"text":"\t\tlet c = changes.get(path);","author":"capacity","version":207},{"n":205,"text":"\t\tif (!c) changes.set(path, (c = { net: 0, texts: new Map(), lines: 0, authors: new Map(), bytes: 0 }));","author":"capacity","version":251},{"n":206,"text":"\t\treturn c;","author":"capacity","version":207},{"n":207,"text":"\t};","author":"capacity","version":207},{"n":208,"text":"\tfor (const id of p.atoms) {","author":"capacity","version":207},{"n":209,"text":"\t\tfor (const line of graph.eachInsertedLine(id)) {","author":"capacity","version":207},{"n":210,"text":"\t\t\tconst n = graph.lineN(line);","author":"capacity","version":207},{"n":211,"text":"\t\t\tif (!visibleIn(afterSet, n)) continue;","author":"capacity","version":207},{"n":212,"text":"\t\t\tconst c = change(fileOf(after, line, n));","author":"capacity","version":207},{"n":213,"text":"\t\t\tconst text = graph.textOf(n);","author":"capacity","version":207},{"n":214,"text":"\t\t\tc.net++;","author":"capacity","version":207},{"n":215,"text":"\t\t\tc.lines++;","author":"capacity","version":207},{"n":216,"text":"\t\t\tc.texts.set(text, (c.texts.get(text) ?? 0) + 1);","author":"capacity","version":207},{"n":217,"text":"\t\t\tif (authoring) {","author":"capacity","version":251},{"n":218,"text":"\t\t\t\tconst author = authorOf(id);","author":"capacity","version":251},{"n":219,"text":"\t\t\t\tc.authors.set(author, (c.authors.get(author) ?? 0) + 1);","author":"capacity","version":251},{"n":220,"text":"\t\t\t\tc.bytes += utf8Bytes(text) + 1;","author":"capacity","version":251},{"n":221,"text":"\t\t\t}","author":"capacity","version":251},{"n":222,"text":"\t\t}","author":"capacity","version":207},{"n":223,"text":"\t\tfor (const line of graph.deletedLines(id)) {","author":"capacity","version":207},{"n":224,"text":"\t\t\tconst n = graph.lineN(line);","author":"capacity","version":207},{"n":225,"text":"\t\t\tconst writer = graph.idOfSeq(graph.writerSeqOf(n));","author":"capacity","version":251},{"n":226,"text":"\t\t\tif (!beforeSet.has(writer) || !visibleIn(beforeSet, n)) continue;","author":"capacity","version":251},{"n":227,"text":"\t\t\tconst c = change(fileOf(before, line, n));","author":"capacity","version":207},{"n":228,"text":"\t\t\tconst text = graph.textOf(n);","author":"capacity","version":207},{"n":229,"text":"\t\t\tc.net--;","author":"capacity","version":207},{"n":230,"text":"\t\t\tc.lines++;","author":"capacity","version":207},{"n":231,"text":"\t\t\tc.texts.set(text, (c.texts.get(text) ?? 0) - 1);","author":"capacity","version":207},{"n":232,"text":"\t\t\tif (authoring) {","author":"capacity","version":251},{"n":233,"text":"\t\t\t\tconst author = authorOf(writer);","author":"capacity","version":251},{"n":234,"text":"\t\t\t\tc.authors.set(author, (c.authors.get(author) ?? 0) - 1);","author":"capacity","version":251},{"n":235,"text":"\t\t\t\tc.bytes -= utf8Bytes(text) + 1;","author":"capacity","version":251},{"n":236,"text":"\t\t\t}","author":"capacity","version":251},{"n":237,"text":"\t\t}","author":"capacity","version":207},{"n":238,"text":"\t}","author":"capacity","version":251},{"n":239,"text":"\tif (authoring) {","author":"capacity","version":251},{"n":240,"text":"\t\tfor (const [path, c] of changes) {","author":"capacity","version":251},{"n":241,"text":"\t\t\tif (c.lines === 0) continue;","author":"capacity","version":251},{"n":242,"text":"\t\t\tconst was = storage.read(AUTHORS, path) as StoredTotals | undefined;","author":"capacity","version":251},{"n":243,"text":"\t\t\tconst authors = new Map(was?.a ?? []);","author":"capacity","version":251},{"n":244,"text":"\t\t\tfor (const [author, d] of c.authors) authors.set(author, (authors.get(author) ?? 0) + d);","author":"capacity","version":251},{"n":245,"text":"\t\t\tkeepTotals(storage, v, path, normalTotals(authors, (was?.b ?? 0) + c.bytes));","author":"capacity","version":251},{"n":246,"text":"\t\t}","author":"capacity","version":251},{"n":247,"text":"\t\tstorage.write(AUTHORS_META, \"version\", v);","author":"capacity","version":251},{"n":248,"text":"\t}","author":"capacity","version":207},{"n":249,"text":"\tfiles = [];","author":"capacity","version":207},{"n":250,"text":"\tconst exists = new Map<string, readonly [boolean, boolean]>();","author":"capacity","version":207},{"n":251,"text":"\tfor (const path of touched) {","author":"capacity","version":207},{"n":252,"text":"\t\tconst was = (storage.read(COUNTS, path) as number | undefined) ?? 0;","author":"capacity","version":207},{"n":253,"text":"\t\tconst c = changes.get(path);","author":"capacity","version":207},{"n":254,"text":"\t\tconst now = was + (c?.net ?? 0);","author":"capacity","version":207},{"n":255,"text":"\t\tconst b = before.attrs(path);","author":"capacity","version":207},{"n":256,"text":"\t\tconst a = after.attrs(path);","author":"capacity","version":207},{"n":257,"text":"\t\tconst had = b.exists || b.link !== null || b.blob !== null || was > 0;","author":"capacity","version":207},{"n":258,"text":"\t\tconst has = a.exists || a.link !== null || a.blob !== null || now > 0;","author":"capacity","version":207},{"n":259,"text":"\t\tlet differ = had !== has || b.exec !== a.exec || b.link !== a.link || b.blob !== a.blob;","author":"capacity","version":207},{"n":260,"text":"\t\tif (!differ && had && c && c.lines > 0) {","author":"capacity","version":207},{"n":261,"text":"\t\t\t// Different texts in or out: the file's lines changed. The same texts in and out: compare the files.","author":"capacity","version":207},{"n":262,"text":"\t\t\tdiffer = [...c.texts.values()].some((count) => count !== 0) || !before.sameText(path, after);","author":"capacity","version":207},{"n":263,"text":"\t\t}","author":"capacity","version":207},{"n":264,"text":"\t\tif (differ) {","author":"capacity","version":207},{"n":265,"text":"\t\t\tfiles.push(path);","author":"capacity","version":207},{"n":266,"text":"\t\t\texists.set(path, [had, has]);","author":"capacity","version":207},{"n":267,"text":"\t\t}","author":"capacity","version":207},{"n":268,"text":"\t\tif (now !== was) storage.write(COUNTS, path, now);","author":"capacity","version":207},{"n":269,"text":"\t}","author":"capacity","version":207},{"n":270,"text":"\tstorage.write(META, \"version\", v);","author":"capacity","version":207},{"n":271,"text":"\treturn { files: files.sort(), exists };","author":"capacity","version":207},{"n":272,"text":"}","author":"capacity","version":207}],"authors":[{"agent":"capacity","lines":271},{"agent":"init","lines":1}],"older":null,"followed":null,"life":{"versions":3,"last":{"version":258,"agent":"capacity","time":1792092838418,"timeIso":"2026-10-15T19:33:58.418Z","message":"Told lists out of agent rows, in 64 bucket rows per agent; layout pages read through the writer cache; a laid-out file's authors counted by writer (abso Capacity, issue 664; Security yes on ask 2102; Agent VCS approved).\n\n- writer-agents.ts: each agent's told keys (the news it has been told) live in 64 rows of their own, project:agents:told, keyed by the agent's name and a fixed hash bucket (FNV-1a mod 64), each holding its bucket's keys sorted; the agent row no longer carries them. told.has reads one bucket and told.add rewrites one; status, where and drafts never read them. A row written before keeps its list, read alongside the buckets (StoredTold.listed) until the agent's row is next written, which moves the list into the buckets; a fresh adoption writes the new form from the start. Removing an agent clears its buckets; delete and purge clear the writer state with them. abso's 109 agent rows were 4.3 MB, the largest 100.9 KB.\n- CachedStateStorage can read collections straight through; the writer passes file-lines, file-texts and file-deletes pages, which are read only to lay a file out (the view keeps the layout) and pushed out the small rows read on every call.\n- authorsInView: a laid-out file's lines by author from its visible lines' writers, each writer's author once (tree with authors, folder blame, and the totals adoption keeps), instead of an atom id and line id per line.\n\nTests: told-buckets (new: news on a stored writer against the in-memory project, every step's news asked twice, before and after an agent's told keys are half in an old row's list and half in buckets, with a writer opened afresh; the old list moves into the buckets on the agent's next write; an agent never reads another's buckets; a rollback leaves the buckets as they were). state-cache: a collection read straight through is never kept and pushes nothing out. All of src/engine/test (295) and worker/project/test (351, one skipped) pass."},"made":{"version":207,"agent":"capacity","time":1792033264009,"timeIso":"2026-10-15T03:01:04.009Z","message":"Each shared version's changed files kept as it lands (disk-first 2; abso Capacity, version-files.ts). A version's files are decided from what it touched: visible lines in and out per file, their texts' balance, a running count of each file's visible lines for made and taken out, and mode and blob; a version with moves, drops or a closure change, or whose lines in and out have the same texts, is laid out as before. Views of consecutive versions share resolved moves and where lines sit (View.shareMoves). PathIndex.keep records them, into the shapes table when the host gives one. version-files.test.ts checks log, path logs and every show against the in-memory project through edits, new and removed files, same text put back, a move and a drop. On game's export all 27 harness answers now match Project.load: the log 70 ms (was over 30 s), a path's history 0.56 s (was over 30 s), the tree 3.1-3.4 s (was over 30 s); adoption about 85 s; heap 14.4 MB at most."},"removed":null,"next":null},"since":null,"paths":[".absoignore",".gitignore","LICENSE","README.md","abso.json","biome.json","client/.claude-plugin/plugin.json","client/README.md","client/abso.ts","client/avcs.ts","client/hooks/hooks.json","client/hooks/register.test.ts","client/hooks/register.ts","client/hooks/stamp.ts","client/install-mod.ts","client/install-view.ts","client/launch.mjs","client/scripts/import-git.ts","client/skills/abso/SKILL.md","client/src/announce.ts","client/src/api-answers.ts","client/src/api-error.ts","client/src/api.ts","client/src/args.ts","client/src/at.ts","client/src/autosettle-commands.ts","client/src/blobs.ts","client/src/body-files.ts","client/src/box-commands.ts","client/src/box-run.ts","client/src/box.ts","client/src/changes.ts","client/src/check-ignore.ts","client/src/ci-answers.ts","client/src/ci.ts","client/src/clean-files.ts","client/src/client-version.ts","client/src/collision-text.ts","client/src/command-env.ts","client/src/commands.ts","client/src/config.ts","client/src/core.ts","client/src/diff.ts","client/src/doctor.ts","client/src/drafts.ts","client/src/durable-object-stand-in.ts","client/src/env-names.ts","client/src/export.ts","client/src/fetch.ts","client/src/flag-commands.ts","client/src/folder.ts","client/src/git-origin.ts","client/src/group-commands.ts","client/src/history-answers.ts","client/src/history.ts","client/src/hook.ts","client/src/install.ts","client/src/issues-wire.ts","client/src/issues.ts","client/src/join-commands.ts","client/src/key-admin.ts","client/src/local-server.d.mts","client/src/local-server.mjs","client/src/local-store.ts","client/src/lock.ts","client/src/main.ts","client/src/mcp.ts","client/src/modes.ts","client/src/news-stream.ts","client/src/open-browser.ts","client/src/orgs.ts","client/src/pipeline-commands.ts","client/src/project-file.ts","client/src/publish-commands.ts","client/src/queue.ts","client/src/record-batches.ts","client/src/review.ts","client/src/safety.ts","client/src/serve-commands.ts","client/src/server-choice.ts","client/src/settle.ts","client/src/skill.ts","client/src/state-dir.ts","client/src/status-commands.ts","client/src/tar.ts","client/src/terminal-text.ts","client/src/times.ts","client/src/versions.ts","client/src/visibility-commands.ts","client/src/visitor.ts","client/src/web-session.ts","client/src/without.ts","client/test-mods.ts","client/test/api-request-id.test.ts","client/test/attach.test.ts","client/test/autosettle-command.test.ts","client/test/body-files.test.ts","client/test/box.test.ts","client/test/caller.test.ts","client/test/ci-runs.test.ts","client/test/client-version.test.ts","client/test/client.test.ts","client/test/comment-parts.test.ts","client/test/diff.test.ts","client/test/doctor.test.ts","client/test/env-names.test.ts","client/test/error-sentence.test.ts","client/test/failed-start.test.ts","client/test/fake-server.ts","client/test/flag-command.test.ts","client/test/group-commands.test.ts","client/test/held-push.test.ts","client/test/help.test.ts","client/test/ignore.test.ts","client/test/imported-history.test.ts","client/test/init-credential.test.ts","client/test/install.test.ts","client/test/issues.test.ts","client/test/join-empty.test.ts","client/test/join-signed-out.test.ts","client/test/key-admin.test.ts","client/test/key.test.ts","client/test/launch.test.ts","client/test/local.test.ts","client/test/lost-pull.test.ts","client/test/new-folder-dir.test.ts","client/test/news-stream.test.ts","client/test/open-browser.test.ts","client/test/orgs.test.ts","client/test/pipeline-commands.test.ts","client/test/push-ci-where.test.ts","client/test/queue-waiting.test.ts","client/test/record-batches.test.ts","client/test/run-key.test.ts","client/test/server-flag.test.ts","client/test/setup.ts","client/test/skill.test.ts","client/test/terminal-text.test.ts","client/test/times.test.ts","client/test/token-file.test.ts","client/test/visitor.test.ts","client/test/web-session.test.ts","client/test/why-trail.test.ts","client/view/.claude-plugin/plugin.json","client/view/hooks/hooks.json","client/view/hooks/register.test.ts","client/view/hooks/register.tsx","client/view/hooks/stamp.ts","client/view/types/index.d.ts","docs/readme/abso-core-on-abso.png","docs/readme/open-in-abso.svg","package-lock.json","package.json","scripts/autosettle/STORIES.md","scripts/autosettle/clef.ts","scripts/autosettle/extract.ts","scripts/autosettle/jev.ts","scripts/autosettle/replay.ts","scripts/autosettle/rules.ts","scripts/autosettle/score.ts","scripts/autosettle/settle-one.ts","scripts/autosettle/workers-ai.ts","scripts/autosettle/workers-ai/index.ts","scripts/autosettle/workers-ai/wrangler.jsonc","scripts/build-client.mjs","scripts/check-changed.mjs","scripts/check-changed.test.ts","scripts/local-measure.ts","scripts/local-writers.ts","scripts/pack-npm.mjs","server/README.md","server/STORAGE-FORMATS.md","server/package-lock.json","server/package.json","server/scale/README.md","server/scale/results/scale-mv6vy4y3-10x5.json","server/scale/results/scale-mv6vzxzj-100x10.json","server/scale/results/scale-mv6vzxzj-10x5.json","server/scale/results/scale-mv6vzxzj-1x1.json","server/scale/results/scale-mv6vzxzj-200x20.json","server/scale/results/scale-mv6vzxzj-50x10.json","server/scale/results/scale-mv6vzxzj-ramp.json","server/scale/scale.mjs","server/scripts/capacity-git-bounded-fifo.mjs","server/scripts/capacity-install-git-runtime.mjs","server/scripts/capacity-patch-git-fetch.mjs","server/scripts/capacity-patch-git-progress.mjs","server/scripts/capacity-patch-git-pump.mjs","server/scripts/capacity-patch-git-push.mjs","server/scripts/capacity-patch-git-sideband.mjs","server/src/autosettle.ts","server/src/blobs.ts","server/src/decoded-frames.ts","server/src/disk-first-runtime.ts","server/src/engine-project.ts","server/src/env.ts","server/src/git-blob-text.ts","server/src/git-delta-stream.ts","server/src/git-disk-intake.ts","server/src/git-file-contents.ts","server/src/git-http.ts","server/src/git-intake-limit.ts","server/src/git-intake-trees.ts","server/src/git-object-bytes.ts","server/src/git-pack-decode.ts","server/src/git-pack-resolver.ts","server/src/git-pack-spool.ts","server/src/history-host.ts","server/src/history-state.ts","server/src/index.ts","server/src/ingest.ts","server/src/issues-entry.ts","server/src/issues/index.ts","server/src/issues/routes.ts","server/src/issues/seats.ts","server/src/issues/serve.ts","server/src/issues/store.ts","server/src/json-chunk-cursor.ts","server/src/json-events.ts","server/src/keys.ts","server/src/memory-fs.ts","server/src/project-object.ts","server/src/projection-store.ts","server/src/push-snapshot.ts","server/src/push.ts","server/src/request-identity-digest.ts","server/src/router.ts","server/src/small-frame-json.ts","server/src/stored-json-view.ts","server/src/stored-json.ts","server/src/writer-host.ts","server/test/atom-list-history.test.ts","server/test/blobs.test.ts","server/test/canonical-frame-numbers.test.ts","server/test/decoded-adoption-bounds.test.ts","server/test/decoded-entry-adoption.test.ts","server/test/decoded-frames-small.test.ts","server/test/decoded-frames.test.ts","server/test/definition-scratch-runtime.test.ts","server/test/disk-first-runtime.test.ts","server/test/e2e-transcript.md","server/test/engine-project.test.ts","server/test/frame-chunks.test.ts","server/test/git-blob-text.test.ts","server/test/git-budget-recovery.test.ts","server/test/git-delta-stream.test.ts","server/test/git-disk-clone.test.ts","server/test/git-export-http.test.ts","server/test/git-file-contents.test.ts","server/test/git-intake-trees.test.ts","server/test/git-object-bytes.test.ts","server/test/git-pack-decode.test.ts","server/test/git-pack-resolver.test.ts","server/test/git-pack-spool.test.ts","server/test/helpers.ts","server/test/history-host.test.ts","server/test/history-recovery.test.ts","server/test/history-state.test.ts","server/test/issues/ask-threads.test.ts","server/test/issues/changes.test.ts","server/test/issues/issues.test.ts","server/test/issues/news.test.ts","server/test/issues/serve.test.ts","server/test/json-chunk-cursor.test.ts","server/test/json-events.test.ts","server/test/long-text-history.test.ts","server/test/project-object-disk-first.test.ts","server/test/projected-compare.test.ts","server/test/projected-diff.test.ts","server/test/projected-move-sync.test.ts","server/test/projected-move.test.ts","server/test/projected-path-history.test.ts","server/test/projected-queue.test.ts","server/test/projected-restore.test.ts","server/test/projected-sync.test.ts","server/test/push-snapshot-batch.test.ts","server/test/push-snapshot.test.ts","server/test/push.test.ts","server/test/request-identity-digest.test.ts","server/test/router.test.ts","server/test/small-frame-integrity.test.ts","server/test/small-frame-json.test.ts","server/test/stored-json-view.test.ts","server/test/stored-json.test.ts","server/test/streamed-history-host.test.ts","server/test/streamed-large-frame.test.ts","server/test/streamed-large-history.test.ts","server/test/streamed-log-append.test.ts","server/test/streamed-log-transaction.test.ts","server/test/streamed-writer-adoption.test.ts","server/test/writer-host.test.ts","server/test/writer-long-atom.test.ts","server/tsconfig.json","server/wrangler.jsonc","src/caller.ts","src/engine/build.ts","src/engine/child-counts.ts","src/engine/conflicts.ts","src/engine/experimental/projection-atom-adoption.ts","src/engine/experimental/projection-atom-index.ts","src/engine/experimental/projection-locator.ts","src/engine/experimental/projection-marker.ts","src/engine/experimental/projection-move-adoption.ts","src/engine/experimental/projection-move-resolution.ts","src/engine/experimental/projection-overlay-storage.ts","src/engine/experimental/projection-priority.ts","src/engine/experimental/projection-read-scope.ts","src/engine/experimental/projection-reader.ts","src/engine/experimental/projection-records.ts","src/engine/experimental/projection-root.ts","src/engine/experimental/projection-sequence.ts","src/engine/experimental/projection-snapshots.ts","src/engine/graph.ts","src/engine/index.ts","src/engine/json-value-chunks.ts","src/engine/keys.ts","src/engine/labels.ts","src/engine/ordered-index.ts","src/engine/projection-scratch.ts","src/engine/relocation-scratch.ts","src/engine/sets.ts","src/engine/state-source.ts","src/engine/stored-text.ts","src/engine/test/attribute-projection.test.ts","src/engine/test/build-lazy-lines.test.ts","src/engine/test/build.test.ts","src/engine/test/child-counts.test.ts","src/engine/test/concurrent.test.ts","src/engine/test/conflicts.test.ts","src/engine/test/gen.ts","src/engine/test/graph-atom-list-integrity.test.ts","src/engine/test/graph-atom-list-pages.test.ts","src/engine/test/graph-atom-list-rollback.test.ts","src/engine/test/graph-atom-lists.test.ts","src/engine/test/graph-deletion-pages.test.ts","src/engine/test/graph-deletion-rollback.test.ts","src/engine/test/graph-index-dedup.test.ts","src/engine/test/graph-insertion-integrity.test.ts","src/engine/test/graph-insertion-runs.test.ts","src/engine/test/graph-insertion-storage.test.ts","src/engine/test/graph-line-chunks.test.ts","src/engine/test/graph-long-text.test.ts","src/engine/test/graph-metadata-indexed.test.ts","src/engine/test/graph-move-write-membership.test.ts","src/engine/test/graph-replacement-membership.test.ts","src/engine/test/graph-validation-scratch.test.ts","src/engine/test/graph.test.ts","src/engine/test/helpers.ts","src/engine/test/json-string-chunks.test.ts","src/engine/test/json-value-chunks.test.ts","src/engine/test/lamport-pages.test.ts","src/engine/test/moves.test.ts","src/engine/test/ordered-index.test.ts","src/engine/test/packed-files.test.ts","src/engine/test/projection-atom-adoption.test.ts","src/engine/test/projection-atom-index.test.ts","src/engine/test/projection-locator.test.ts","src/engine/test/projection-marker-cycle.test.ts","src/engine/test/projection-marker-move-failures.test.ts","src/engine/test/projection-marker.test.ts","src/engine/test/projection-membership-iterator.test.ts","src/engine/test/projection-move-resolution.test.ts","src/engine/test/projection-overlay-storage.test.ts","src/engine/test/projection-priority.test.ts","src/engine/test/projection-read-scope.test.ts","src/engine/test/projection-reader-integrity.test.ts","src/engine/test/projection-reader.test.ts","src/engine/test/projection-records.test.ts","src/engine/test/projection-root.test.ts","src/engine/test/projection-scratch.test.ts","src/engine/test/projection-sequence.test.ts","src/engine/test/projection-snapshots.test.ts","src/engine/test/properties.test.ts","src/engine/test/reachability-scratch.test.ts","src/engine/test/reasons-to.test.ts","src/engine/test/record-query-contract.test.ts","src/engine/test/relocation-scratch.test.ts","src/engine/test/scenarios.test.ts","src/engine/test/sets.test.ts","src/engine/test/stable-set-algebra.test.ts","src/engine/test/state-cache.test.ts","src/engine/test/state-source.test.ts","src/engine/test/storage-helper.ts","src/engine/test/stored-list-array.test.ts","src/engine/test/stored-list-integrity.test.ts","src/engine/test/stored-text.test.ts","src/engine/test/streamed-diff.test.ts","src/engine/test/text.test.ts","src/engine/test/view.test.ts","src/engine/test/visible-neighbours.test.ts","src/engine/text.ts","src/engine/types.ts","src/engine/view.ts","src/gitview/errors.ts","src/gitview/index.ts","src/gitview/ingest.ts","src/gitview/plain.ts","src/gitview/test/helpers.ts","src/gitview/test/ingest.test.ts","src/gitview/test/random.test.ts","src/gitview/test/view.test.ts","src/gitview/trailers.ts","src/gitview/tree.ts","src/gitview/view.ts","src/pipeline/pipeline.ts","src/pipeline/plan.ts","src/pipeline/test/pipeline.test.ts","src/pipeline/test/plan.test.ts","tsconfig.json","worker/project/add-draft.ts","worker/project/amend.ts","worker/project/announce.ts","worker/project/apply-entry.ts","worker/project/autosettle.ts","worker/project/blame.ts","worker/project/change-records.ts","worker/project/changes-since.ts","worker/project/check-clash.ts","worker/project/collisions.ts","worker/project/definition-code.ts","worker/project/definition-rule.ts","worker/project/definitions.ts","worker/project/draft-collisions.ts","worker/project/draft-diff.ts","worker/project/draft-state.ts","worker/project/drop.ts","worker/project/edit.ts","worker/project/express-moves.ts","worker/project/feed.ts","worker/project/globs.ts","worker/project/history.ts","worker/project/http.ts","worker/project/ingest.ts","worker/project/init.ts","worker/project/kept-parts.ts","worker/project/label.ts","worker/project/land.ts","worker/project/lifecycle-permit-contract.ts","worker/project/markers.ts","worker/project/memory-store.ts","worker/project/merge-identical.ts","worker/project/move-line-text.ts","worker/project/move.ts","worker/project/names.ts","worker/project/news.ts","worker/project/notes.ts","worker/project/operation-protocol.ts","worker/project/overlaps.ts","worker/project/path-rules.ts","worker/project/pathindex.ts","worker/project/pathkey.ts","worker/project/pluck.ts","worker/project/project-api.ts","worker/project/project-error.ts","worker/project/project-helpers.ts","worker/project/project-status.ts","worker/project/project-types.ts","worker/project/project.ts","worker/project/projection-provider.ts","worker/project/publish-of.ts","worker/project/publish.ts","worker/project/queue-driver.ts","worker/project/queue.ts","worker/project/record-file.ts","worker/project/record.ts","worker/project/refuse.ts","worker/project/restore.ts","worker/project/spaces.ts","worker/project/spelling.ts","worker/project/start.ts","worker/project/switch-to.ts","worker/project/sync.ts","worker/project/test/after-read.test.ts","worker/project/test/agent-views-shared.test.ts","worker/project/test/announce-person.test.ts","worker/project/test/appends.test.ts","worker/project/test/attributes.test.ts","worker/project/test/author-totals.test.ts","worker/project/test/authors-stored.test.ts","worker/project/test/autosettle.test.ts","worker/project/test/bench.ts","worker/project/test/blobs-stored.test.ts","worker/project/test/blobs.test.ts","worker/project/test/changed-definition.test.ts","worker/project/test/changes.test.ts","worker/project/test/collision-streaming.test.ts","worker/project/test/collisions-kept-views.test.ts","worker/project/test/compare-summary.test.ts","worker/project/test/definition-code.test.ts","worker/project/test/definitions.test.ts","worker/project/test/draft-files-kept.test.ts","worker/project/test/draft-reads-stored.test.ts","worker/project/test/drop.test.ts","worker/project/test/express-moves-early.test.ts","worker/project/test/file-exact-at.test.ts","worker/project/test/files-reads.test.ts","worker/project/test/history.test.ts","worker/project/test/ingest.test.ts","worker/project/test/issues.test.ts","worker/project/test/kept-parts.test.ts","worker/project/test/known-paths.test.ts","worker/project/test/labels.test.ts","worker/project/test/land-streaming.test.ts","worker/project/test/lifecycle-permit-contract.test.ts","worker/project/test/markers.test.ts","worker/project/test/membership-cache.test.ts","worker/project/test/membership-pages.test.ts","worker/project/test/merge.test.ts","worker/project/test/move-line-text.test.ts","worker/project/test/move-reconstruction.test.ts","worker/project/test/moves.test.ts","worker/project/test/named-drafts.test.ts","worker/project/test/news-cap.test.ts","worker/project/test/news-lazy.test.ts","worker/project/test/news-lines.test.ts","worker/project/test/news-times.test.ts","worker/project/test/news-written.test.ts","worker/project/test/notes.test.ts","worker/project/test/operation-protocol.test.ts","worker/project/test/order.test.ts","worker/project/test/owed-definition-news.test.ts","worker/project/test/packed-crossings.test.ts","worker/project/test/paths.test.ts","worker/project/test/pluck.test.ts","worker/project/test/project-file.test.ts","worker/project/test/project-writer-storage.test.ts","worker/project/test/project.test.ts","worker/project/test/projection-integration.test.ts","worker/project/test/queue-driver.test.ts","worker/project/test/queue.test.ts","worker/project/test/queued-moves.test.ts","worker/project/test/record-idempotence.test.ts","worker/project/test/record-stream.test.ts","worker/project/test/review-fixes.test.ts","worker/project/test/reviewers.test.ts","worker/project/test/same-line.test.ts","worker/project/test/seat-notice.test.ts","worker/project/test/shared-additions.test.ts","worker/project/test/spelling-clash.test.ts","worker/project/test/spelling.test.ts","worker/project/test/starting.test.ts","worker/project/test/stored-closure.test.ts","worker/project/test/stored-membership.test.ts","worker/project/test/tells.test.ts","worker/project/test/told-buckets.test.ts","worker/project/test/touched-beyond.test.ts","worker/project/test/trail.test.ts","worker/project/test/unseen.test.ts","worker/project/test/version-files.test.ts","worker/project/test/view-cache.test.ts","worker/project/test/where-many-agents.test.ts","worker/project/test/whole.test.ts","worker/project/test/without.test.ts","worker/project/test/writer-adoption.test.ts","worker/project/trail.ts","worker/project/tree.ts","worker/project/unseen.ts","worker/project/version-files.ts","worker/project/version-log.ts","worker/project/version-meta.ts","worker/project/view-changes.ts","worker/project/views.ts","worker/project/where.ts","worker/project/whole-files.ts","worker/project/without.ts","worker/project/writer-agents.ts"],"working":{"version":318,"agents":[]},"agentChanges":[],"overlaps":{"version":318,"agents":["codex-capacity-chair","codex-capacity-policy","review"],"collisions":[]}}