{"draft":null,"from":32,"to":318,"files":[{"path":"client/src/box-commands.ts","added":10,"removed":11,"diff":"--- a/client/src/box-commands.ts\n+++ b/client/src/box-commands.ts\n@@ -72,7 +72,7 @@\n \n /**\n  * abso run --with <box path>=<local path>[,...]: files for one run only (#37,\n- * Builder 6's A/B runs), sent with the folder and never written to it or\n+ * for A/B runs), sent with the folder and never written to it or\n  * recorded. A local folder sends every file under it. Text goes with LF line\n  * endings, as the folder's files do.\n  */\n@@ -106,8 +106,7 @@\n \t\t\t: [[box, local] as const];\n \t\tfor (const [path, from] of files) {\n \t\t\tconst text = readText(from);\n-\t\t\tconst data =\n-\t\t\t\ttext !== undefined && text.includes(\"\\r\") ? Buffer.from(text.replace(/\\r\\n?/g, \"\\n\")) : readFileSync(from);\n+\t\t\tconst data = text?.includes(\"\\r\") ? Buffer.from(text.replace(/\\r\\n?/g, \"\\n\")) : readFileSync(from);\n \t\t\tconst exec = (statSync(from).mode & 0o111) !== 0 || (data[0] === 0x23 && data[1] === 0x21);\n \t\t\tout.push({ path, data, ...(exec ? { mode: 0o755 } : {}) });\n \t\t}\n@@ -177,7 +176,7 @@\n \n /**\n  * abso bisect [--good N] [--bad N] -- <check>: the first version of the folder's\n- * space where the check fails (#37, Builders 1 and 6). Each step is an abso run\n+ * space where the check fails (#37). Each step is an abso run\n  * --at in the box. Without --good it walks back from --bad (newest by default)\n  * in doubling steps until a version passes, then halves the gap.\n  */\n@@ -291,7 +290,7 @@\n export async function runRun(args: Parsed, env: Env, as: \"run\" | \"prep\" = \"run\"): Promise<Output> {\n \tif (args.positionals.length === 0)\n \t\tthrow new UsageError(\"give the command to run: abso run <command>, or abso run -- <program> <arg...>\");\n-\t// A glob before -- next to a list flag is a second value given the wrong way (#37, Builder 5: --fetch 'a' 'b' -- cmd ran \"b\"\n+\t// A glob before -- next to a list flag is a second value given the wrong way (#37: --fetch 'a' 'b' -- cmd ran \"b\"\n \t// as the command, joined with the words after --, which lost their quoting).\n \t// Once a plain word comes, run keeps the rest as typed, -- included; so the words before a literal -- are the suspects.\n \tconst before = args.dashed !== undefined ? args.dashed : args.positionals.indexOf(\"--\");\n@@ -306,9 +305,9 @@\n \t\t\t);\n \t\t}\n \t}\n-\t// avcs's own lines (on stderr); --quiet drops them, and the box's stdout and stderr stay as they are (#37, Builder 3).\n+\t// avcs's own lines (on stderr); --quiet drops them, and the box's stdout and stderr stay as they are (#37).\n \tconst notice = bool(args, \"quiet\") ? (_text: string): void => {} : (env.writeErr ?? env.write);\n-\t// What the box said about its prep (X-Avcs-Prep): null when it has none.\n+\t// What the box said about its prep (X-Abso-Prep): null when it has none.\n \tlet prepState: string | null | undefined;\n \tconst posix = undoGitBashPaths(args.positionals, env.env);\n \tif (posix.undone.length > 0) {\n@@ -363,8 +362,8 @@\n \t\t\tentries.push({ path: rel, data: new Uint8Array(0), link: d.link });\n \t\t\tcontinue;\n \t\t}\n-\t\t// Text goes as abso records it, with LF line endings: a CRLF script fails in the box's sh (#37, Builder 2).\n-\t\tconst lf = d.text !== undefined && d.text.includes(\"\\r\") ? Buffer.from(d.text.replace(/\\r\\n?/g, \"\\n\")) : undefined;\n+\t\t// Text goes as abso records it, with LF line endings: a CRLF script fails in the box's sh (#37).\n+\t\tconst lf = d.text?.includes(\"\\r\") ? Buffer.from(d.text.replace(/\\r\\n?/g, \"\\n\")) : undefined;\n \t\tif (lf !== undefined) toLf.push(rel);\n \t\tconst data = lf ?? readFileSync(path);\n \t\t// The bit from the disk, or (on Windows) from the server; a script with \"#!\" runs either way.\n@@ -517,10 +516,10 @@\n  * (ABSO_BOX=2 in its environment), so their runs don't wait on each other.\n  */\n /**\n- * What this folder last heard about a box's prep: a run's X-Avcs-Prep, or\n+ * What this folder last heard about a box's prep: a run's X-Abso-Prep, or\n  * abso prep and prep --forget. null means no prep; undefined, never heard. So\n  * publish --check can refuse before running a check that can't be trusted\n- * (#37, Artist 1: a 40 s suite ran, then was refused).\n+ * (#37: a 40 s suite ran, then was refused).\n  */\n function prepFile(root: string): string {\n \treturn join(stateDir(root), \"box-prep.json\");"}],"unmatched":[]}