{"draft":null,"from":27,"to":28,"files":[{"path":"client/test/client.test.ts","added":13,"removed":8,"diff":"--- a/client/test/client.test.ts\n+++ b/client/test/client.test.ts\n@@ -2808,7 +2808,7 @@\n \tit(\"init guesses it from package.json, and keeps one that is already there\", async () => {\n \t\tconst pkg = JSON.stringify({ scripts: { typecheck: \"tsc\", test: \"node --test\" }, devDependencies: { vite: \"^5\" } });\n \t\tconst { name } = await project({ \"package.json\": pkg, \"package-lock.json\": \"{}\\n\" }, \"alice\");\n-\t\tassert.deepEqual(JSON.parse(shared(name)[\"avcs.json\"]!), {\n+\t\tassert.deepEqual(JSON.parse(shared(name)[\"abso.json\"]!), {\n \t\t\tsetup: \"npm ci\",\n \t\t\tcheck: \"npm run typecheck && npm test\",\n \t\t\tbuild: \"npx --no-install vite build --base ./ --outDir dist\",\n@@ -2816,6 +2816,11 @@\n \t\t});\n \t\tconst kept = await project({ \"avcs.json\": '{\"check\": \"node check.cjs\"}\\n' }, \"alice\");\n \t\tassert.equal(shared(kept.name)[\"avcs.json\"], '{\"check\": \"node check.cjs\"}\\n');\n+\t\tassert.equal(\n+\t\t\tshared(kept.name)[\"abso.json\"],\n+\t\t\tundefined,\n+\t\t\t\"an avcs.json is kept as it is: no abso.json beside it to shadow it\",\n+\t\t);\n \t\tconst dir = temp();\n \t\twrite(dir, {\n \t\t\t\"a.txt\": \"a\\n\",\n@@ -2828,15 +2833,15 @@\n \t\t});\n \t\tassert.equal(init.exit, 0, init.stdout + init.stderr);\n \t\tassert.deepEqual(\n-\t\t\tJSON.parse(read(dir, \"avcs.json\")),\n+\t\t\tJSON.parse(read(dir, \"abso.json\")),\n \t\t\t{ setup: \"npm install\", check: \"\", build: \"npm run build\", out: \"\" },\n \t\t\t\"npm's placeholder test is no check\",\n \t\t);\n \t\tassert.match(\n \t\t\tinit.stdout,\n-\t\t\t/\\nWrote avcs\\.json: CI will run on every new version of shared \\(setup \"npm install\", build \"npm run build\"\\)\\. Fill in check, out when the project has them\\./,\n+\t\t\t/\\nWrote abso.json: CI will run on every new version of shared \\(setup \"npm install\", build \"npm run build\"\\)\\. Fill in check, out when the project has them\\./,\n \t\t);\n-\t\t// Nothing to check or build: no avcs.json, so CI has nothing to run and starts no boxes (#39, Agent VCS).\n+\t\t// Nothing to check or build: no abso.json, so CI has nothing to run and starts no boxes (#39, Agent VCS).\n \t\tconst bare = temp();\n \t\twrite(bare, { \"a.txt\": \"a\\n\", \"package.json\": JSON.stringify({ scripts: { start: \"node a.js\" } }) });\n \t\tconst off = await main([\"init\", \"--server\", fake.url, \"--project\", \"guess-none\", \"--agent\", \"alice\"], {\n@@ -2845,10 +2850,10 @@\n \t\t\twrite: () => {},\n \t\t});\n \t\tassert.equal(off.exit, 0, off.stdout + off.stderr);\n-\t\tassert.equal(existsSync(join(bare, \"avcs.json\")), false);\n+\t\tassert.equal(existsSync(join(bare, \"abso.json\")), false);\n \t\tassert.match(\n \t\t\toff.stdout,\n-\t\t\t/\\nNo avcs\\.json written: package\\.json gives no check or build to guess, so CI has nothing to run on each new version\\. To give it a check, publish an avcs\\.json like \\{\"check\": \"npm test\"\\}/,\n+\t\t\t/\\nNo abso.json written: package\\.json gives no check or build to guess, so CI has nothing to run on each new version\\. To give it a check, publish an abso.json like \\{\"check\": \"npm test\"\\}/,\n \t\t);\n \t\t// --as-is (an import, #58): the folder goes up exactly as it is, with nothing of avcs's own added.\n \t\tconst asIs = temp();\n@@ -2928,7 +2933,7 @@\n \t\tassert.equal(missing.exit, 1);\n \t\tassert.match(\n \t\t\tmissing.stdout + missing.stderr,\n-\t\t\t/--check alone runs the project's check, but there is no avcs\\.json\\. Set \"check\" in avcs\\.json/,\n+\t\t\t/--check alone runs the project's check, but there is no abso.json\\. Set \"check\" in abso.json/,\n \t\t);\n \t\twrite(folders.alice!, { \"avcs.json\": '{\"build\": \"\", \"check\": \"\"}\\n' });\n \t\tconst none = await main([\"publish\", \"-m\", \"x\", \"--check\"], {\n@@ -3062,7 +3067,7 @@\n \t\t\t\"Not checked yet. Version 4 is being checked (35 s so far).\",\n \t\t]);\n \t\tassert.deepEqual(ciText({ ...base, checked: { version: 2, result: \"none\" }, running: null }, 3, now), [\n-\t\t\t\"CI couldn't check version 2 (the box failed twice, or avcs.json has nothing to run). Versions after 2 aren't checked yet.\",\n+\t\t\t\"CI couldn't check version 2 (the box failed twice, or abso.json has nothing to run). Versions after 2 aren't checked yet.\",\n \t\t]);\n \t\tassert.deepEqual(\n \t\t\tciText({ ...base, running: null, red: { version: 1, agent: null, message: null, lastGood: null } }, 1, now),"}],"unmatched":[]}