{"path":"server/src/push.ts","version":318,"newest":318,"draft":null,"agent":null,"exists":true,"lines":[{"n":1,"text":"// Out to Artifacts (#8): shared's files as one git commit on main of the","author":"speed","version":150},{"n":2,"text":"// project's repo, with the publish message and the agent as author. The repo","author":"speed","version":150},{"n":3,"text":"// is created on first use. isomorphic-git works in an in-memory filesystem:","author":"speed","version":150},{"n":4,"text":"// a depth-1 clone of main with nothing checked out, then a new tree from","author":"speed","version":150},{"n":5,"text":"// shared's files that compresses and writes only what changed (abso issue 293).","author":"speed","version":150},{"n":6,"text":"import { createHash } from \"node:crypto\";","author":"codex-capacity-chair","version":180},{"n":7,"text":"import git from \"isomorphic-git\";","author":"speed","version":150},{"n":8,"text":"import http from \"isomorphic-git/http/web\";","author":"speed","version":150},{"n":9,"text":"import type { FileModes } from \"../../worker/project/project-api.ts\";","author":"speed","version":150},{"n":10,"text":"import type { SqliteStorage } from \"./engine-project.ts\";","author":"codex-capacity-chair","version":180},{"n":11,"text":"import { GitDiskIntake } from \"./git-disk-intake.ts\";","author":"codex-capacity-chair","version":180},{"n":12,"text":"import { GitFileContents } from \"./git-file-contents.ts\";","author":"codex-capacity-chair","version":180},{"n":13,"text":"import { gitHttp } from \"./git-http.ts\";","author":"codex-capacity-chair","version":180},{"n":14,"text":"import { MemoryFS } from \"./memory-fs.ts\";","author":"speed","version":150},{"n":15,"text":"","author":"speed","version":150},{"n":16,"text":"export interface PushResult {","author":"speed","version":150},{"n":17,"text":"\trepo: string;","author":"speed","version":150},{"n":18,"text":"\tremote: string;","author":"speed","version":150},{"n":19,"text":"\tcommit: string;","author":"speed","version":150},{"n":20,"text":"\tversion: number;","author":"speed","version":150},{"n":21,"text":"\tms: number;","author":"speed","version":150},{"n":22,"text":"}","author":"speed","version":150},{"n":23,"text":"","author":"speed","version":150},{"n":24,"text":"/** New blob bytes per push before the push out splits into parts: Artifacts refuses a push much over 20 MB. */","author":"speed","version":150},{"n":25,"text":"const PUSH_BATCH = 16 * 1024 * 1024;","author":"speed","version":150},{"n":26,"text":"","author":"speed","version":150},{"n":27,"text":"/** A file as a tree entry holds it: its blob and its mode (\"100644\", \"100755\", \"120000\"). */","author":"speed","version":150},{"n":28,"text":"export interface TreeFile {","author":"speed","version":150},{"n":29,"text":"\toid: string;","author":"speed","version":150},{"n":30,"text":"\tmode: string;","author":"speed","version":150},{"n":31,"text":"}","author":"speed","version":150},{"n":32,"text":"","author":"speed","version":150},{"n":33,"text":"/** Every file in a tree, and every folder's tree oid (\"\" is the root), read from tree objects only. */","author":"speed","version":150},{"n":34,"text":"export async function readTreeFiles(","author":"speed","version":150},{"n":35,"text":"\tfs: MemoryFS,","author":"speed","version":150},{"n":36,"text":"\tdir: string,","author":"speed","version":150},{"n":37,"text":"\toid: string,","author":"speed","version":150},{"n":38,"text":"\tprefix = \"\",","author":"speed","version":150},{"n":39,"text":"\tfiles = new Map<string, TreeFile>(),","author":"speed","version":150},{"n":40,"text":"\ttrees = new Map<string, string>(),","author":"speed","version":150},{"n":41,"text":"\tcache?: object,","author":"codex-capacity-chair","version":180},{"n":42,"text":"): Promise<{ files: Map<string, TreeFile>; trees: Map<string, string> }> {","author":"speed","version":150},{"n":43,"text":"\ttrees.set(prefix, oid);","author":"speed","version":150},{"n":44,"text":"\tconst { tree } = await git.readTree({ fs, dir, oid, cache });","author":"codex-capacity-chair","version":180},{"n":45,"text":"\tfor (const e of tree) {","author":"speed","version":150},{"n":46,"text":"\t\tconst path = prefix === \"\" ? e.path : `${prefix}/${e.path}`;","author":"speed","version":150},{"n":47,"text":"\t\tif (e.type === \"tree\") await readTreeFiles(fs, dir, e.oid, path, files, trees, cache);","author":"codex-capacity-chair","version":180},{"n":48,"text":"\t\telse if (e.type === \"blob\") files.set(path, { oid: e.oid, mode: e.mode });","author":"speed","version":150},{"n":49,"text":"\t}","author":"speed","version":150},{"n":50,"text":"\treturn { files, trees };","author":"speed","version":150},{"n":51,"text":"}","author":"speed","version":150},{"n":52,"text":"","author":"speed","version":150},{"n":53,"text":"/**","author":"speed","version":150},{"n":54,"text":" * Hash the Git header and content separately so export does not allocate a second whole-file buffer.","author":"codex-capacity-chair","version":180},{"n":55,"text":" */","author":"speed","version":150},{"n":56,"text":"export async function blobOid(bytes: Uint8Array): Promise<string> {","author":"speed","version":150},{"n":57,"text":"\treturn createHash(\"sha1\").update(`blob ${bytes.byteLength}\\0`).update(bytes).digest(\"hex\");","author":"codex-capacity-chair","version":180},{"n":58,"text":"}","author":"speed","version":150},{"n":59,"text":"","author":"speed","version":150},{"n":60,"text":"const parentOf = (path: string) => {","author":"speed","version":150},{"n":61,"text":"\tconst cut = path.lastIndexOf(\"/\");","author":"speed","version":150},{"n":62,"text":"\treturn cut < 0 ? \"\" : path.slice(0, cut);","author":"speed","version":150},{"n":63,"text":"};","author":"speed","version":150},{"n":64,"text":"","author":"speed","version":150},{"n":65,"text":"/**","author":"speed","version":150},{"n":66,"text":" * The tree for `files`, written bottom up. A folder with nothing changed under it keeps its old tree oid (`before`),","author":"speed","version":150},{"n":67,"text":" * so only the folders on a changed path are written again.","author":"speed","version":150},{"n":68,"text":" */","author":"speed","version":150},{"n":69,"text":"export async function writeTrees(","author":"speed","version":150},{"n":70,"text":"\tfs: MemoryFS,","author":"speed","version":150},{"n":71,"text":"\tdir: string,","author":"speed","version":150},{"n":72,"text":"\tfiles: Map<string, TreeFile>,","author":"speed","version":150},{"n":73,"text":"\tbefore: Map<string, string>,","author":"speed","version":150},{"n":74,"text":"\tchanged: Set<string>,","author":"speed","version":150},{"n":75,"text":"): Promise<string> {","author":"speed","version":150},{"n":76,"text":"\tconst dirty = new Set<string>([\"\"]);","author":"speed","version":150},{"n":77,"text":"\tfor (const path of changed) for (let d = parentOf(path); d !== \"\"; d = parentOf(d)) dirty.add(d);","author":"speed","version":150},{"n":78,"text":"\ttype Entry = { mode: string; oid: string; type: \"blob\" | \"tree\" };","author":"speed","version":150},{"n":79,"text":"\tconst kids = new Map<string, Map<string, Entry>>([[\"\", new Map()]]);","author":"speed","version":150},{"n":80,"text":"\tconst folder = (d: string) => {","author":"speed","version":150},{"n":81,"text":"\t\tlet k = kids.get(d);","author":"speed","version":150},{"n":82,"text":"\t\tif (!k) {","author":"speed","version":150},{"n":83,"text":"\t\t\tkids.set(d, (k = new Map()));","author":"speed","version":150},{"n":84,"text":"\t\t\tif (d !== \"\") folder(parentOf(d));","author":"speed","version":150},{"n":85,"text":"\t\t}","author":"speed","version":150},{"n":86,"text":"\t\treturn k;","author":"speed","version":150},{"n":87,"text":"\t};","author":"speed","version":150},{"n":88,"text":"\tfor (const [path, f] of files)","author":"speed","version":150},{"n":89,"text":"\t\tfolder(parentOf(path)).set(path.slice(path.lastIndexOf(\"/\") + 1), { ...f, type: \"blob\" });","author":"speed","version":150},{"n":90,"text":"\t// Deepest first, so a folder's subfolders have their oids before it is written.","author":"speed","version":150},{"n":91,"text":"\tconst depth = (d: string) => (d === \"\" ? 0 : d.split(\"/\").length);","author":"speed","version":150},{"n":92,"text":"\tconst order = [...kids.keys()].sort((a, b) => depth(b) - depth(a));","author":"speed","version":150},{"n":93,"text":"\tlet root = \"\";","author":"speed","version":150},{"n":94,"text":"\tfor (const d of order) {","author":"speed","version":150},{"n":95,"text":"\t\tconst old = before.get(d);","author":"speed","version":150},{"n":96,"text":"\t\tconst oid =","author":"speed","version":150},{"n":97,"text":"\t\t\told !== undefined && !dirty.has(d)","author":"speed","version":150},{"n":98,"text":"\t\t\t\t? old","author":"speed","version":150},{"n":99,"text":"\t\t\t\t: await git.writeTree({ fs, dir, tree: [...kids.get(d)!].map(([path, e]) => ({ path, ...e })) });","author":"speed","version":150},{"n":100,"text":"\t\tif (d === \"\") root = oid;","author":"speed","version":150},{"n":101,"text":"\t\telse folder(parentOf(d)).set(d.slice(d.lastIndexOf(\"/\") + 1), { mode: \"040000\", oid, type: \"tree\" });","author":"speed","version":150},{"n":102,"text":"\t}","author":"speed","version":150},{"n":103,"text":"\treturn root;","author":"speed","version":150},{"n":104,"text":"}","author":"speed","version":150},{"n":105,"text":"","author":"speed","version":150},{"n":106,"text":"/**","author":"speed","version":150},{"n":107,"text":" * A project's Artifacts repo: abso-<project>. Project names are letters, digits, \".\", \"_\" and \"-\" (validName), which","author":"speed","version":150},{"n":108,"text":" * repo names take as they are.","author":"speed","version":150},{"n":109,"text":" */","author":"speed","version":150},{"n":110,"text":"export function repoName(project: string): string {","author":"speed","version":150},{"n":111,"text":"\treturn `abso-${project}`;","author":"speed","version":150},{"n":112,"text":"}","author":"speed","version":150},{"n":113,"text":"","author":"speed","version":150},{"n":114,"text":"/** The project one of our repos holds, or null for a repo that isn't ours. */","author":"speed","version":150},{"n":115,"text":"export function projectOfRepo(repo: string): string | null {","author":"speed","version":150},{"n":116,"text":"\treturn repo.startsWith(\"abso-\") && repo.length > \"abso-\".length ? repo.slice(\"abso-\".length) : null;","author":"speed","version":150},{"n":117,"text":"}","author":"speed","version":150},{"n":118,"text":"","author":"speed","version":150},{"n":119,"text":"/** The repo's remote and a write token good for `seconds`, creating the repo if it's new. */","author":"speed","version":150},{"n":120,"text":"export async function writeAccess(","author":"speed","version":150},{"n":121,"text":"\tartifacts: Artifacts,","author":"speed","version":150},{"n":122,"text":"\tname: string,","author":"speed","version":150},{"n":123,"text":"\tseconds = 600,","author":"speed","version":150},{"n":124,"text":"): Promise<{ remote: string; secret: string }> {","author":"speed","version":150},{"n":125,"text":"\ttry {","author":"speed","version":150},{"n":126,"text":"\t\tusing repo = await artifacts.get(name);","author":"speed","version":150},{"n":127,"text":"\t\tconst [info, token] = await Promise.all([repo.info(), repo.createToken(\"write\", seconds)]);","author":"speed","version":150},{"n":128,"text":"\t\treturn { remote: info!.remote, secret: token.plaintext.split(\"?expires=\")[0]! };","author":"speed","version":150},{"n":129,"text":"\t} catch {","author":"speed","version":150},{"n":130,"text":"\t\tconst created = await artifacts.create(name, { description: `abso project ${name}`, setDefaultBranch: \"main\" });","author":"speed","version":150},{"n":131,"text":"\t\treturn { remote: created.remote, secret: created.token.split(\"?expires=\")[0]! };","author":"speed","version":150},{"n":132,"text":"\t}","author":"speed","version":150},{"n":133,"text":"}","author":"speed","version":150},{"n":134,"text":"","author":"speed","version":150},{"n":135,"text":"export interface SharedFiles {","author":"speed","version":150},{"n":136,"text":"\tversion: number;","author":"speed","version":150},{"n":137,"text":"\tfiles: Record<string, string>;","author":"speed","version":150},{"n":138,"text":"\tmodes?: FileModes;","author":"speed","version":150},{"n":139,"text":"\tblobs?: Record<string, string>;","author":"speed","version":150},{"n":140,"text":"\tlast?: { agent: string; message: string };","author":"speed","version":150},{"n":141,"text":"}","author":"speed","version":150},{"n":142,"text":"","author":"speed","version":150},{"n":143,"text":"/**","author":"speed","version":150},{"n":144,"text":" * Shared's files as commits on top of `head` (null: a repo with no main yet), in the repo at `dir`. `part` is called","author":"speed","version":150},{"n":145,"text":" * with each earlier part's commit when the new blobs are too big for one push. Answers the last commit and how many","author":"speed","version":150},{"n":146,"text":" * paths changed.","author":"speed","version":150},{"n":147,"text":" */","author":"speed","version":150},{"n":148,"text":"export async function commitShared(","author":"speed","version":150},{"n":149,"text":"\tfs: MemoryFS,","author":"speed","version":150},{"n":150,"text":"\tdir: string,","author":"speed","version":150},{"n":151,"text":"\thead: string | null,","author":"speed","version":150},{"n":152,"text":"\tshared: SharedFiles,","author":"speed","version":150},{"n":153,"text":"\treadBlob: (sha256: string) => Uint8Array | null,","author":"speed","version":150},{"n":154,"text":"\tpart: (commit: string) => Promise<void> = async () => {},","author":"speed","version":150},{"n":155,"text":"\tcache?: object,","author":"codex-capacity-chair","version":180},{"n":156,"text":"): Promise<{ commit: string; changed: number }> {","author":"speed","version":150},{"n":157,"text":"\tconst old = head","author":"speed","version":150},{"n":158,"text":"\t\t? await readTreeFiles(","author":"codex-capacity-chair","version":180},{"n":159,"text":"\t\t\t\tfs,","author":"codex-capacity-chair","version":180},{"n":160,"text":"\t\t\t\tdir,","author":"codex-capacity-chair","version":180},{"n":161,"text":"\t\t\t\t(await git.readCommit({ fs, dir, oid: head, cache })).commit.tree,","author":"codex-capacity-chair","version":180},{"n":162,"text":"\t\t\t\t\"\",","author":"codex-capacity-chair","version":180},{"n":163,"text":"\t\t\t\tnew Map(),","author":"codex-capacity-chair","version":180},{"n":164,"text":"\t\t\t\tnew Map(),","author":"codex-capacity-chair","version":180},{"n":165,"text":"\t\t\t\tcache,","author":"codex-capacity-chair","version":180},{"n":166,"text":"\t\t\t)","author":"codex-capacity-chair","version":180},{"n":167,"text":"\t\t: { files: new Map<string, TreeFile>(), trees: new Map<string, string>() };","author":"speed","version":150},{"n":168,"text":"\tconst blobs = shared.blobs ?? {};","author":"speed","version":150},{"n":169,"text":"\tconst now = new Map<string, TreeFile>();","author":"speed","version":150},{"n":170,"text":"\tconst changed = new Set<string>();","author":"speed","version":150},{"n":171,"text":"\tfor (const path of old.files.keys()) if (!(path in shared.files) && !(path in blobs)) changed.add(path);","author":"speed","version":150},{"n":172,"text":"\t// A file whose blob and mode match the last push keeps its entry; only a new blob is compressed and written.","author":"speed","version":150},{"n":173,"text":"\tconst put = async (path: string, bytes: Uint8Array, mode: string, oid: string) => {","author":"speed","version":150},{"n":174,"text":"\t\tconst was = old.files.get(path);","author":"speed","version":150},{"n":175,"text":"\t\tif (was?.oid !== oid) await git.writeBlob({ fs, dir, blob: bytes });","author":"speed","version":150},{"n":176,"text":"\t\tif (was?.oid !== oid || was.mode !== mode) changed.add(path);","author":"speed","version":150},{"n":177,"text":"\t\tnow.set(path, { oid, mode });","author":"speed","version":150},{"n":178,"text":"\t};","author":"speed","version":150},{"n":179,"text":"\t// Each file goes into the tree as a blob with its mode (#27): 100755 for exec, 120000 for a link, whose blob is","author":"speed","version":150},{"n":180,"text":"\t// its target.","author":"speed","version":150},{"n":181,"text":"\tconst enc = new TextEncoder();","author":"speed","version":150},{"n":182,"text":"\tconst agent = shared.last?.agent ?? \"abso\";","author":"speed","version":150},{"n":183,"text":"\tconst author = { name: agent, email: `${agent}@abso.invalid` };","author":"speed","version":150},{"n":184,"text":"\tconst committer = { name: \"abso\", email: \"abso@abso.invalid\" };","author":"speed","version":150},{"n":185,"text":"\tconst say = (p: string) => `${shared.last?.message ?? \"Start the project\"}${p}\\n\\nabso-version: ${shared.version}\\n`;","author":"speed","version":150},{"n":186,"text":"\tlet parent = head;","author":"speed","version":150},{"n":187,"text":"\t// A part holds what's written so far and preserves old entries for files not reached yet.","author":"codex-capacity-chair","version":181},{"n":188,"text":"\tconst commitNow = async (message: string) => {","author":"speed","version":150},{"n":189,"text":"\t\tconst files = new Map(now);","author":"speed","version":150},{"n":190,"text":"\t\tfor (const [path, f] of old.files)","author":"codex-capacity-chair","version":181},{"n":191,"text":"\t\t\tif (!files.has(path) && (path in blobs || path in shared.files)) files.set(path, f);","author":"codex-capacity-chair","version":181},{"n":192,"text":"\t\tconst tree = await writeTrees(fs, dir, files, old.trees, changed);","author":"speed","version":150},{"n":193,"text":"\t\tparent = await git.commit({","author":"speed","version":150},{"n":194,"text":"\t\t\tcache,","author":"codex-capacity-chair","version":180},{"n":195,"text":"\t\t\tfs,","author":"speed","version":150},{"n":196,"text":"\t\t\tdir,","author":"speed","version":150},{"n":197,"text":"\t\t\tmessage,","author":"speed","version":150},{"n":198,"text":"\t\t\tauthor,","author":"speed","version":150},{"n":199,"text":"\t\t\tcommitter,","author":"speed","version":150},{"n":200,"text":"\t\t\ttree,","author":"speed","version":150},{"n":201,"text":"\t\t\tparent: parent ? [parent] : [],","author":"speed","version":150},{"n":202,"text":"\t\t\tref: \"main\",","author":"speed","version":150},{"n":203,"text":"\t\t});","author":"speed","version":150},{"n":204,"text":"\t\treturn parent;","author":"speed","version":150},{"n":205,"text":"\t};","author":"speed","version":150},{"n":206,"text":"\t// Artifacts refuses a push much over 20 MB, so when new text or binary blobs add up","author":"codex-capacity-chair","version":181},{"n":207,"text":"\t// to more than PUSH_BATCH, the earlier ones go in commits of their own","author":"speed","version":150},{"n":208,"text":"\t// first. Every part carries abso-version, so intake never takes them in.","author":"speed","version":150},{"n":209,"text":"\tlet pending = 0;","author":"speed","version":150},{"n":210,"text":"\tlet parts = 0;","author":"speed","version":150},{"n":211,"text":"\tfor (const path of Object.keys(shared.files)) {","author":"codex-capacity-chair","version":166},{"n":212,"text":"\t\tconst mode = shared.modes?.[path];","author":"speed","version":150},{"n":213,"text":"\t\tconst link = typeof mode?.link === \"string\" ? mode.link : null;","author":"speed","version":150},{"n":214,"text":"\t\tconst bytes = enc.encode(link ?? shared.files[path]!);","author":"codex-capacity-chair","version":166},{"n":215,"text":"\t\tconst oid = await blobOid(bytes);","author":"codex-capacity-chair","version":181},{"n":216,"text":"\t\tconst fresh = old.files.get(path)?.oid !== oid;","author":"codex-capacity-chair","version":181},{"n":217,"text":"\t\tif (fresh && pending > 0 && pending + bytes.byteLength > PUSH_BATCH) {","author":"codex-capacity-chair","version":181},{"n":218,"text":"\t\t\tawait part(await commitNow(say(` (part ${++parts})`)));","author":"codex-capacity-chair","version":181},{"n":219,"text":"\t\t\tpending = 0;","author":"codex-capacity-chair","version":181},{"n":220,"text":"\t\t}","author":"codex-capacity-chair","version":181},{"n":221,"text":"\t\tif (fresh) pending += bytes.byteLength;","author":"codex-capacity-chair","version":181},{"n":222,"text":"\t\tawait put(path, bytes, link !== null ? \"120000\" : mode?.exec ? \"100755\" : \"100644\", oid);","author":"codex-capacity-chair","version":181},{"n":223,"text":"\t}","author":"codex-capacity-chair","version":181},{"n":224,"text":"\tfor (const [path, sha] of Object.entries(blobs)) {","author":"speed","version":150},{"n":225,"text":"\t\tconst bytes = readBlob(sha);","author":"speed","version":150},{"n":226,"text":"\t\tif (!bytes) throw new Error(`${path}: blob ${sha} is missing from the project's store`);","author":"speed","version":150},{"n":227,"text":"\t\tconst oid = await blobOid(bytes);","author":"speed","version":150},{"n":228,"text":"\t\tconst fresh = old.files.get(path)?.oid !== oid;","author":"speed","version":150},{"n":229,"text":"\t\tif (fresh && pending > 0 && pending + bytes.byteLength > PUSH_BATCH) {","author":"speed","version":150},{"n":230,"text":"\t\t\tawait part(await commitNow(say(` (part ${++parts})`)));","author":"speed","version":150},{"n":231,"text":"\t\t\tpending = 0;","author":"speed","version":150},{"n":232,"text":"\t\t}","author":"speed","version":150},{"n":233,"text":"\t\tif (fresh) pending += bytes.byteLength;","author":"speed","version":150},{"n":234,"text":"\t\tawait put(path, bytes, shared.modes?.[path]?.exec ? \"100755\" : \"100644\", oid);","author":"speed","version":150},{"n":235,"text":"\t}","author":"speed","version":150},{"n":236,"text":"\tconst commit = await commitNow(say(parts > 0 ? ` (part ${parts + 1}, last)` : \"\"));","author":"speed","version":150},{"n":237,"text":"\treturn { commit, changed: changed.size };","author":"speed","version":150},{"n":238,"text":"}","author":"speed","version":150},{"n":239,"text":"","author":"speed","version":150},{"n":240,"text":"export async function pushShared(","author":"speed","version":150},{"n":241,"text":"\tartifacts: Artifacts,","author":"speed","version":150},{"n":242,"text":"\tproject: string,","author":"speed","version":150},{"n":243,"text":"\tshared: SharedFiles,","author":"speed","version":150},{"n":244,"text":"\t/** A binary file's bytes by SHA-256 (#27), from the project's blob store. */","author":"speed","version":150},{"n":245,"text":"\treadBlob: (sha256: string) => Uint8Array | null = () => null,","author":"speed","version":150},{"n":246,"text":"\tdisk?: { storage: SqliteStorage; maxPackBytes: number; maxObjectBytes: number; maxDecodedBytes: number },","author":"codex-capacity-chair","version":180},{"n":247,"text":"): Promise<PushResult> {","author":"speed","version":150},{"n":248,"text":"\tconst t0 = Date.now();","author":"speed","version":150},{"n":249,"text":"\tconst name = repoName(project);","author":"speed","version":150},{"n":250,"text":"\tconst { remote, secret } = await writeAccess(artifacts, name);","author":"speed","version":150},{"n":251,"text":"\tconst onAuth = () => ({ username: \"x\", password: secret });","author":"speed","version":150},{"n":252,"text":"\tusing contents = disk ? new GitFileContents(disk.storage, disk.maxObjectBytes, disk.maxDecodedBytes) : undefined;","author":"codex-capacity-chair","version":180},{"n":253,"text":"\tusing intake = disk","author":"codex-capacity-chair","version":180},{"n":254,"text":"\t\t? new GitDiskIntake(disk.storage, disk.maxPackBytes, disk.maxObjectBytes, disk.maxDecodedBytes)","author":"codex-capacity-chair","version":180},{"n":255,"text":"\t\t: undefined;","author":"codex-capacity-chair","version":180},{"n":256,"text":"\tconst cache = disk ? {} : undefined;","author":"codex-capacity-chair","version":180},{"n":257,"text":"\tif (intake && cache) intake.attach(cache);","author":"codex-capacity-chair","version":180},{"n":258,"text":"\tconst transport = disk ? gitHttp() : http;","author":"codex-capacity-chair","version":180},{"n":259,"text":"\tlet fs = new MemoryFS(contents);","author":"codex-capacity-chair","version":180},{"n":260,"text":"\tconst dir = \"/repo\";","author":"speed","version":150},{"n":261,"text":"\t// A new repo has no main yet. isomorphic-git \"clones\" an empty repo without","author":"speed","version":150},{"n":262,"text":"\t// an error but leaves HEAD on master, so check for main and start clean.","author":"speed","version":150},{"n":263,"text":"\t// Nothing is checked out: the new tree is built from tree objects (293).","author":"speed","version":150},{"n":264,"text":"\t// Only an explicitly absent main is an empty repository. Transport, decode,","author":"codex-capacity-chair","version":180},{"n":265,"text":"\t// and size failures must never become permission to replace remote history.","author":"codex-capacity-chair","version":180},{"n":266,"text":"\tconst refs = await git.listServerRefs({ http: transport, url: remote, onAuth, prefix: \"refs/heads/main\" });","author":"codex-capacity-chair","version":180},{"n":267,"text":"\tlet head: string | null = null;","author":"codex-capacity-chair","version":180},{"n":268,"text":"\tif (refs.some((ref) => ref.ref === \"refs/heads/main\")) {","author":"codex-capacity-chair","version":180},{"n":269,"text":"\t\tawait git.clone({","author":"codex-capacity-chair","version":180},{"n":270,"text":"\t\t\tfs,","author":"codex-capacity-chair","version":180},{"n":271,"text":"\t\t\thttp: transport,","author":"codex-capacity-chair","version":180},{"n":272,"text":"\t\t\tcache,","author":"codex-capacity-chair","version":180},{"n":273,"text":"\t\t\tdir,","author":"codex-capacity-chair","version":180},{"n":274,"text":"\t\t\turl: remote,","author":"codex-capacity-chair","version":180},{"n":275,"text":"\t\t\tref: \"main\",","author":"codex-capacity-chair","version":180},{"n":276,"text":"\t\t\tsingleBranch: true,","author":"codex-capacity-chair","version":180},{"n":277,"text":"\t\t\tdepth: 1,","author":"codex-capacity-chair","version":180},{"n":278,"text":"\t\t\tnoCheckout: true,","author":"codex-capacity-chair","version":180},{"n":279,"text":"\t\t\tonAuth,","author":"codex-capacity-chair","version":180},{"n":280,"text":"\t\t});","author":"codex-capacity-chair","version":180},{"n":281,"text":"\t\tintake?.assertReady();","author":"codex-capacity-chair","version":180},{"n":282,"text":"\t\thead = await git.resolveRef({ fs, dir, ref: \"main\" });","author":"codex-capacity-chair","version":180},{"n":283,"text":"\t}","author":"codex-capacity-chair","version":180},{"n":284,"text":"\tif (head === null) {","author":"speed","version":150},{"n":285,"text":"\t\tfs = new MemoryFS(contents);","author":"codex-capacity-chair","version":180},{"n":286,"text":"\t\tawait git.init({ fs, dir, defaultBranch: \"main\" });","author":"speed","version":150},{"n":287,"text":"\t}","author":"speed","version":150},{"n":288,"text":"\tconst t1 = Date.now();","author":"speed","version":150},{"n":289,"text":"\tconst push = () => git.push({ fs, http: transport, cache, dir, url: remote, ref: \"main\", remoteRef: \"main\", onAuth });","author":"codex-capacity-chair","version":180},{"n":290,"text":"\tconst { commit, changed } = await commitShared(","author":"codex-capacity-chair","version":180},{"n":291,"text":"\t\tfs,","author":"codex-capacity-chair","version":180},{"n":292,"text":"\t\tdir,","author":"codex-capacity-chair","version":180},{"n":293,"text":"\t\thead,","author":"codex-capacity-chair","version":180},{"n":294,"text":"\t\tshared,","author":"codex-capacity-chair","version":180},{"n":295,"text":"\t\treadBlob,","author":"codex-capacity-chair","version":180},{"n":296,"text":"\t\tasync () => void (await push()),","author":"codex-capacity-chair","version":180},{"n":297,"text":"\t\tcache,","author":"codex-capacity-chair","version":180},{"n":298,"text":"\t);","author":"codex-capacity-chair","version":180},{"n":299,"text":"\tconst t2 = Date.now();","author":"speed","version":150},{"n":300,"text":"\tawait push();","author":"speed","version":150},{"n":301,"text":"\tconsole.log(","author":"speed","version":150},{"n":302,"text":"\t\t`push ${project} v${shared.version}: clone ${t1 - t0} ms, files ${t2 - t1} ms (${changed} changed), push ${Date.now() - t2} ms`,","author":"speed","version":150},{"n":303,"text":"\t);","author":"speed","version":150},{"n":304,"text":"\treturn { repo: name, remote, commit, version: shared.version, ms: Date.now() - t0 };","author":"speed","version":150},{"n":305,"text":"}","author":"speed","version":150}],"authors":[{"agent":"speed","lines":229},{"agent":"codex-capacity-chair","lines":76}],"older":null,"followed":null,"life":{"versions":4,"last":{"version":181,"agent":"codex-capacity-chair","time":1791976047265,"timeIso":"2026-10-14T11:07:27.265Z","message":"Batch changed text toward the 16 MiB push limit. Preserve pending old text and binary files in intermediate commits, retain intended deletions and parent ancestry, and leave single oversized files unsplit. Review 56 cleared the two-file change; disk-first activation remains off."},"made":{"version":150,"agent":"speed","time":1791907522179,"timeIso":"2026-10-13T16:05:22.179Z","message":"Open server: the project Worker, Durable Object and Artifacts (issue 17)"},"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":[]}}