{"version":28,"agent":"review","message":"Client: abso.json is the project file (avcs.json still read; a new project gets abso.json unless it has either); new folders get .abso when no installed mod is older than 0.2.0; both mods are 0.2.0 (abso 253, 224)","time":1791539181568,"timeIso":"2026-10-09T09:46:21.568Z","changes":16,"change":350,"files":["client/.claude-plugin/plugin.json","client/src/blobs.ts","client/src/ci-answers.ts","client/src/ci.ts","client/src/join-commands.ts","client/src/pipeline-commands.ts","client/src/project-file.ts","client/src/publish-commands.ts","client/src/queue.ts","client/src/state-dir.ts","client/test/client.test.ts","client/test/install.test.ts","client/test/new-folder-dir.test.ts","client/test/pipeline-commands.test.ts","client/view/.claude-plugin/plugin.json","src/pipeline/pipeline.ts"],"draft":null,"diff":[{"path":"client/.claude-plugin/plugin.json","added":1,"removed":1,"diff":"--- a/client/.claude-plugin/plugin.json\n+++ b/client/.claude-plugin/plugin.json\n@@ -1,6 +1,6 @@\n {\n \t\"name\": \"avcs\",\n-\t\"version\": \"0.1.0\",\n+\t\"version\": \"0.2.0\",\n \t\"description\": \"Records each Claude Code edit into the agent's draft on the avcs server, and hands news about others' published work back to the agent.\",\n \t\"license\": \"MIT\"\n }"},{"path":"client/src/blobs.ts","added":1,"removed":1,"diff":"--- a/client/src/blobs.ts\n+++ b/client/src/blobs.ts\n@@ -21,7 +21,7 @@\n \n /**\n  * Whether normalized text is the file the server keeps whole under `sha`\n- * (#46): a text file matching avcs.json's \"whole\", or over 1 MB, is stored\n+ * (#46): a text file matching abso.json's \"whole\", or over 1 MB, is stored\n  * like a binary file, by the hash of its text with LF endings. The client\n  * keeps that hash in blobs.json, and the file on disk stays text.\n  */"},{"path":"client/src/ci-answers.ts","added":1,"removed":1,"diff":"--- a/client/src/ci-answers.ts\n+++ b/client/src/ci-answers.ts\n@@ -73,7 +73,7 @@\n export interface CiJob {\n \treadonly version: number;\n \treadonly result: CiResult | \"running\" | \"waiting\" | \"not checked\";\n-\t/** The failing step: setup, build, check, avcs.json or box. */\n+\t/** The failing step: setup, build, check, abso.json or box. */\n \treadonly step?: string;\n \treadonly exit?: number | null;\n \treadonly seconds?: number;"},{"path":"client/src/ci.ts","added":3,"removed":3,"diff":"--- a/client/src/ci.ts\n+++ b/client/src/ci.ts\n@@ -1,4 +1,4 @@\n-// What the project's CI says (#39): the server runs avcs.json's setup, build\n+// What the project's CI says (#39): the server runs abso.json's setup, build\n // and check on each new version of shared. status and log show it; abso ci\n // shows it whole, and one version's job with the end of its output.\n \n@@ -51,7 +51,7 @@\n \t\t\tshared > v ? (ci.running !== null ? running : ci.skipped ? \"\" : ` Versions after ${v} aren't checked yet.`) : \"\";\n \t\tif (ci.checked.result === \"pass\") lines.push(`Shared is green: version ${v} passed its check.${newer}`);\n \t\telse if (ci.checked.result === \"fail\") lines.push(`Version ${v} failed its check. abso ci ${v} shows why.${newer}`);\n-\t\telse lines.push(`CI couldn't check version ${v} (the box failed twice, or avcs.json has nothing to run).${newer}`);\n+\t\telse lines.push(`CI couldn't check version ${v} (the box failed twice, or abso.json has nothing to run).${newer}`);\n \t} else {\n \t\tlines.push(\n \t\t\tci.running === null\n@@ -114,7 +114,7 @@\n \t\t\t? `Version ${job.version} passed${covered}${took === \"\" ? \"\" : ` (${took})`}${job.built ? \"; its build is kept for the preview\" : \"\"}.`\n \t\t\t: job.result === \"fail\"\n \t\t\t\t? `Version ${job.version} failed at ${job.step ?? \"a step\"}${job.exit === undefined || job.exit === null ? \"\" : ` (exit ${job.exit})`}${covered}${took === \"\" ? \"\" : `, ${took}`}.`\n-\t\t\t\t: `Version ${job.version} wasn't checked${job.step === undefined ? \"\" : ` (${job.step})`}: the box failed twice, or avcs.json has nothing to run.`;\n+\t\t\t\t: `Version ${job.version} wasn't checked${job.step === undefined ? \"\" : ` (${job.step})`}: the box failed twice, or abso.json has nothing to run.`;\n \tconst output = job.output?.trimEnd() ?? \"\";\n \treturn [\n \t\thead,"},{"path":"client/src/join-commands.ts","added":2,"removed":2,"diff":"--- a/client/src/join-commands.ts\n+++ b/client/src/join-commands.ts\n@@ -15,7 +15,7 @@\n import { clearKnown, loadIgnore, readFolder, writeKnown } from \"./folder.ts\";\n import { modInstalled } from \"./install.ts\";\n import { type FullMode, foldModes, writeKnownModes } from \"./modes.ts\";\n-import { PROJECT_FILE, readProjectFile, startingProjectFileText, writeStartingProjectFile } from \"./project-file.ts\";\n+import { projectFileName, readProjectFile, startingProjectFileText, writeStartingProjectFile } from \"./project-file.ts\";\n import { refusedText } from \"./safety.ts\";\n import { stateDir } from \"./state-dir.ts\";\n \n@@ -153,7 +153,7 @@\n \tconst setup = read !== null && \"file\" in read ? read.file.setup : \"\";\n \treturn setup === \"\"\n \t\t? []\n-\t\t: [`Nothing is installed yet. Before building or testing here, run ${PROJECT_FILE}'s setup: ${setup}`];\n+\t\t: [`Nothing is installed yet. Before building or testing here, run ${projectFileName(root)}'s setup: ${setup}`];\n }\n \n function hookHint(env: Readonly<Record<string, string | undefined>>): string {"},{"path":"client/src/pipeline-commands.ts","added":1,"removed":1,"diff":"--- a/client/src/pipeline-commands.ts\n+++ b/client/src/pipeline-commands.ts\n@@ -11,7 +11,7 @@\n import { findRoot } from \"./config.ts\";\n \n /** The names a pipeline file may have, in the order they're looked for. */\n-export const PIPELINE_FILES = [\"abso.yml\", \"abso.yaml\", \"avcs.json\"] as const;\n+export const PIPELINE_FILES = [\"abso.yml\", \"abso.yaml\", \"abso.json\", \"avcs.json\"] as const;\n \n export async function runPipeline(args: Parsed, env: Env): Promise<Output> {\n \tconst [sub, file, ...rest] = args.positionals;"},{"path":"client/src/project-file.ts","added":19,"removed":11,"diff":"--- a/client/src/project-file.ts\n+++ b/client/src/project-file.ts\n@@ -6,8 +6,16 @@\n import { existsSync, readFileSync, writeFileSync } from \"node:fs\";\n import { join } from \"node:path\";\n \n-export const PROJECT_FILE = \"avcs.json\";\n+/** The project file's name: abso.json, or avcs.json from before the rename. A new one is written as abso.json. */\n+export const PROJECT_FILE = \"abso.json\";\n+export const OLD_PROJECT_FILE = \"avcs.json\";\n \n+/** The name the folder's project file has: abso.json when it is there, else avcs.json when that is, else the new name. */\n+export function projectFileName(root: string): string {\n+\tif (existsSync(join(root, PROJECT_FILE))) return PROJECT_FILE;\n+\treturn existsSync(join(root, OLD_PROJECT_FILE)) ? OLD_PROJECT_FILE : PROJECT_FILE;\n+}\n+\n /** Each key optional; an empty string counts as missing. */\n export interface ProjectFile {\n \treadonly setup: string;\n@@ -20,22 +28,22 @@\n \n const KEYS = [\"setup\", \"check\", \"build\", \"out\"] as const;\n \n-/** The folder's avcs.json, or why it can't be read; null when there is none. */\n+/** The folder's abso.json (or avcs.json), or why it can't be read; null when there is none. */\n export function readProjectFile(root: string): { file: ProjectFile } | { error: string } | null {\n-\tconst path = join(root, PROJECT_FILE);\n+\tconst name = projectFileName(root);\n+\tconst path = join(root, name);\n \tif (!existsSync(path)) return null;\n \tlet raw: unknown;\n \ttry {\n \t\traw = JSON.parse(readFileSync(path, \"utf8\"));\n \t} catch (e) {\n-\t\treturn { error: `${PROJECT_FILE} isn't valid JSON (${(e as Error).message})` };\n+\t\treturn { error: `${name} isn't valid JSON (${(e as Error).message})` };\n \t}\n \tif (typeof raw !== \"object\" || raw === null || Array.isArray(raw))\n-\t\treturn { error: `${PROJECT_FILE} should hold an object, like {\"check\": \"npm test\"}` };\n+\t\treturn { error: `${name} should hold an object, like {\"check\": \"npm test\"}` };\n \tconst o = raw as Record<string, unknown>;\n \tfor (const k of KEYS) {\n-\t\tif (o[k] !== undefined && typeof o[k] !== \"string\")\n-\t\t\treturn { error: `\"${k}\" in ${PROJECT_FILE} should be a string` };\n+\t\tif (o[k] !== undefined && typeof o[k] !== \"string\") return { error: `\"${k}\" in ${name} should be a string` };\n \t}\n \tconst get = (k: (typeof KEYS)[number]) => ((o[k] as string | undefined) ?? \"\").trim();\n \treturn {\n@@ -52,7 +60,7 @@\n /** npm's placeholder test script, which always fails. */\n const NO_TEST = /no test specified/;\n \n-/** A starting avcs.json, guessed from package.json; empty where nothing can be guessed. */\n+/** A starting abso.json, guessed from package.json; empty where nothing can be guessed. */\n export function guessProjectFile(root: string): ProjectFile {\n \tlet pkg: {\n \t\tscripts?: Record<string, unknown>;\n@@ -80,20 +88,20 @@\n }\n \n /**\n- * Writes a guessed avcs.json when the folder has none and package.json gives\n+ * Writes a guessed abso.json (unless it has abso.json or avcs.json) when the folder has none and package.json gives\n  * a check or a build to guess (#39, Agent VCS: a project with nothing to\n  * check shouldn't start boxes; CI skips a version with nothing to run).\n  * Answers what it wrote; 'exists' or 'nothing' when it wrote none.\n  */\n export function writeStartingProjectFile(root: string): ProjectFile | \"exists\" | \"nothing\" {\n-\tif (existsSync(join(root, PROJECT_FILE))) return \"exists\";\n+\tif (existsSync(join(root, PROJECT_FILE)) || existsSync(join(root, OLD_PROJECT_FILE))) return \"exists\";\n \tconst guess = guessProjectFile(root);\n \tif (guess.check === \"\" && guess.build === \"\") return \"nothing\";\n \twriteFileSync(join(root, PROJECT_FILE), `${JSON.stringify(guess, null, 2)}\\n`);\n \treturn guess;\n }\n \n-/** What init says about avcs.json. */\n+/** What init says about abso.json. */\n export function startingProjectFileText(wrote: ProjectFile | \"exists\" | \"nothing\"): string[] {\n \tif (wrote === \"exists\") return [];\n \tif (wrote === \"nothing\") {"},{"path":"client/src/publish-commands.ts","added":2,"removed":1,"diff":"--- a/client/src/publish-commands.ts\n+++ b/client/src/publish-commands.ts\n@@ -24,7 +24,7 @@\n import { fromEnv } from \"./env-names.ts\";\n import { ignoredHere } from \"./fetch.ts\";\n import { absolute, forgetKnown, isLocalOnly, type LeftOut, loadIgnore, readText, writeFileAtomic } from \"./folder.ts\";\n-import { PROJECT_FILE, readProjectFile } from \"./project-file.ts\";\n+import { projectFileName, readProjectFile } from \"./project-file.ts\";\n import { pulledText, STILL_QUEUED, standing, WAIT_SECONDS, waitForQueued } from \"./queue.ts\";\n import { type Refused, refusedText, unsafePath } from \"./safety.ts\";\n import { blocksIn, settleText } from \"./settle.ts\";\n@@ -89,6 +89,7 @@\n \t\t// --check alone: the build and check in the draft's own avcs.json, as the server's job runs them on\n \t\t// each version, so a draft that changes them runs the new ones (#39).\n \t\tconst pf = readProjectFile(root);\n+\t\tconst PROJECT_FILE = projectFileName(root);\n \t\tif (pf === null || \"error\" in pf || pf.file.check === \"\") {\n \t\t\tconst why =\n \t\t\t\tpf === null ? `there is no ${PROJECT_FILE}` : \"error\" in pf ? pf.error : `${PROJECT_FILE} has no \"check\"`;"},{"path":"client/src/queue.ts","added":1,"removed":1,"diff":"--- a/client/src/queue.ts\n+++ b/client/src/queue.ts\n@@ -1,4 +1,4 @@\n-// The merge queue on the client (#39): with \"queue\": true in avcs.json, a\n+// The merge queue on the client (#39): with \"queue\": true in abso.json, a\n // publish to shared waits in the queue until a batch with it passes the\n // project's check, and lands, or is pulled with the check's output. publish\n // waits for that, up to a cap under the chat's 2-minute command limit; status"},{"path":"client/src/state-dir.ts","added":39,"removed":10,"diff":"--- a/client/src/state-dir.ts\n+++ b/client/src/state-dir.ts\n@@ -1,27 +1,56 @@\n // Where abso keeps its state (the rename from avcs). Reading takes .abso/ first, then .avcs/, so a folder in\n-// either works. A new folder is still made with .avcs/ for now: an edit mod or Cursor hook installed before the\n-// rename looks only for .avcs/config.json, and would stop recording a .abso/ folder's edits without a word.\n-// New folders move to .abso/ once installs can say which mods know it; `abso migrate` will move old ones. The\n-// user's files are written to ~/.abso/ (an older client that can't find them says so: it isn't silent).\n-// No imports from the rest of the client, so any module can use this.\n+// either works. A new folder is made with .abso/ unless an edit mod installed here is from before the rename:\n+// such a mod looks only for .avcs/config.json, and would stop recording a .abso/ folder's edits without a word.\n+// So a new folder gets .avcs/ while any installed mod is older than MOD_KNOWS_ABSO, and .abso/ otherwise.\n+// The user's files are written to ~/.abso/ (an older client that can't find them says so: it isn't silent).\n+// Nothing here imports from the rest of the client, so any module can use this.\n \n-import { existsSync } from \"node:fs\";\n+import { existsSync, readFileSync } from \"node:fs\";\n+import { homedir } from \"node:os\";\n import { join } from \"node:path\";\n \n export const STATE_DIR = \".abso\";\n export const OLD_STATE_DIR = \".avcs\";\n const STATE_DIRS = [STATE_DIR, OLD_STATE_DIR] as const;\n \n-/** A folder's state folder: whichever has a config.json (.abso first), else whichever exists, else .avcs for a folder not made yet (see above). */\n+/** A folder's state folder: whichever has a config.json (.abso first), else whichever exists, else the new folder's name (newFolderDir). */\n export function stateDir(root: string): string {\n \tfor (const name of STATE_DIRS) if (existsSync(join(root, name, \"config.json\"))) return join(root, name);\n \tfor (const name of STATE_DIRS) if (existsSync(join(root, name))) return join(root, name);\n-\treturn join(root, NEW_FOLDER_DIR);\n+\treturn join(root, newFolderDir());\n }\n \n-/** What a new folder is made with: .avcs until installed mods can be relied on to know .abso. */\n-export const NEW_FOLDER_DIR: string = OLD_STATE_DIR;\n+/** The first mod version whose hooks look for .abso/config.json as well as .avcs/config.json. */\n+export const MOD_KNOWS_ABSO = [0, 2, 0] as const;\n \n+/** Every name a mod has been installed under, in Claude Code's skills folder. */\n+const MOD_NAMES = [\"avcs\", \"avcs-view\", \"abso\", \"abso-view\"] as const;\n+\n+function versionAtLeast(version: string, min: readonly number[]): boolean {\n+\tconst parts = version.split(\"+\")[0]!.split(\".\").map(Number);\n+\tfor (let i = 0; i < min.length; i++) {\n+\t\tconst have = parts[i] ?? 0;\n+\t\tif (have !== min[i]) return have > min[i]!;\n+\t}\n+\treturn true;\n+}\n+\n+/** What a new folder is made with: .abso, unless an installed mod is older than the rename (see the top). */\n+export function newFolderDir(env: Readonly<Record<string, string | undefined>> = process.env): string {\n+\tconst skills = join(env.CLAUDE_CONFIG_DIR || join(homedir(), \".claude\"), \"skills\");\n+\tfor (const name of MOD_NAMES) {\n+\t\tlet version: unknown;\n+\t\ttry {\n+\t\t\tversion = (JSON.parse(readFileSync(join(skills, name, \".avcs-install.json\"), \"utf8\")) as { version?: unknown })\n+\t\t\t\t.version;\n+\t\t} catch {\n+\t\t\tcontinue; // not installed, or no readable record\n+\t\t}\n+\t\tif (typeof version !== \"string\" || !versionAtLeast(version, MOD_KNOWS_ABSO)) return OLD_STATE_DIR;\n+\t}\n+\treturn STATE_DIR;\n+}\n+\n /** A file under the user's home to read: ~/.abso/<parts>, else the old ~/.avcs/<parts> when only that exists, else the new place. */\n export function homeFile(home: string, ...parts: string[]): string {\n \tfor (const name of STATE_DIRS) {"},{"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),"},{"path":"client/test/install.test.ts","added":1,"removed":1,"diff":"--- a/client/test/install.test.ts\n+++ b/client/test/install.test.ts\n@@ -346,7 +346,7 @@\n \t\tassert.equal(client, `abso ${clientVersion()} (${dirname(import.meta.dirname)})`);\n \t\tassert.match(\n \t\t\tmod!,\n-\t\t\t/^the avcs mod: 0\\.1\\.0\\+aaaaaaa in .*skills[\\\\/]avcs, installed 2026-10-05 04:30 UTC; this client has 0\\.1\\.0(\\+[0-9a-f]{7}(\\.dirty)?)?: node client\\/install-mod\\.ts installs it$/,\n+\t\t\t/^the avcs mod: 0\\.1\\.0\\+aaaaaaa in .*skills[\\\\/]avcs, installed 2026-10-05 04:30 UTC; this client has 0.2.0(\\+[0-9a-f]{7}(\\.dirty)?)?: node client\\/install-mod\\.ts installs it$/,\n \t\t);\n \t\tassert.equal(view, \"the avcs-view mod: not installed (node client/install-view.ts)\");\n \t\tconst json = JSON.parse("},{"path":"client/test/new-folder-dir.test.ts","added":29,"removed":0,"diff":"--- /dev/null\n+++ b/client/test/new-folder-dir.test.ts\n@@ -0,0 +1,29 @@\n+import assert from \"node:assert/strict\";\n+import { mkdirSync, mkdtempSync, writeFileSync } from \"node:fs\";\n+import { tmpdir } from \"node:os\";\n+import { join } from \"node:path\";\n+import { test } from \"node:test\";\n+import { newFolderDir } from \"../src/state-dir.ts\";\n+\n+/** A Claude config folder with these mods installed, each at this version. */\n+function claudeWith(mods: Record<string, string>): { CLAUDE_CONFIG_DIR: string } {\n+\tconst dir = mkdtempSync(join(tmpdir(), \"abso-claude-\"));\n+\tfor (const [name, version] of Object.entries(mods)) {\n+\t\tconst mod = join(dir, \"skills\", name);\n+\t\tmkdirSync(mod, { recursive: true });\n+\t\twriteFileSync(join(mod, \".avcs-install.json\"), JSON.stringify({ mod: name, version }));\n+\t}\n+\treturn { CLAUDE_CONFIG_DIR: dir };\n+}\n+\n+test(\"a new folder gets .abso when no mod is installed, or every installed mod knows it\", () => {\n+\tassert.equal(newFolderDir(claudeWith({})), \".abso\");\n+\tassert.equal(newFolderDir(claudeWith({ avcs: \"0.2.0+abc1234\", \"avcs-view\": \"0.2.0\" })), \".abso\");\n+\tassert.equal(newFolderDir(claudeWith({ abso: \"0.3.1.dirty\" })), \".abso\");\n+});\n+\n+test(\"a new folder keeps .avcs while any installed mod is older than the rename\", () => {\n+\tassert.equal(newFolderDir(claudeWith({ avcs: \"0.1.0+2ecf1a7\" })), \".avcs\");\n+\tassert.equal(newFolderDir(claudeWith({ avcs: \"0.2.0\", \"avcs-view\": \"0.1.0\" })), \".avcs\");\n+\tassert.equal(newFolderDir(claudeWith({ avcs: \"unreadable\" })), \".avcs\");\n+});"},{"path":"client/test/pipeline-commands.test.ts","added":1,"removed":1,"diff":"--- a/client/test/pipeline-commands.test.ts\n+++ b/client/test/pipeline-commands.test.ts\n@@ -91,7 +91,7 @@\n \tit(\"says which names it looked for when there's no file, and how to call it\", async () => {\n \t\tconst none = await run(folder({}), \"check\");\n \t\tassert.equal(none.exit, 1);\n-\t\tassert.match(none.stderr, /no pipeline file in .*: looked for abso\\.yml, abso\\.yaml, avcs\\.json/);\n+\t\tassert.match(none.stderr, /no pipeline file in .*: looked for abso\\.yml, abso\\.yaml, abso\\.json, avcs\\.json/);\n \t\tassert.match((await run(folder({}), \"check\", \"nope.yml\")).stderr, /no file nope\\.yml/);\n \t\tassert.match((await run(folder({}), \"lint\")).stderr, /abso pipeline check \\[file\\]/);\n \t\tassert.match((await run(folder({}))).stderr, /abso pipeline check \\[file\\]/);"},{"path":"client/view/.claude-plugin/plugin.json","added":1,"removed":1,"diff":"--- a/client/view/.claude-plugin/plugin.json\n+++ b/client/view/.claude-plugin/plugin.json\n@@ -1,6 +1,6 @@\n {\n \t\"name\": \"avcs-view\",\n-\t\"version\": \"0.1.0\",\n+\t\"version\": \"0.2.0\",\n \t\"description\": \"Shows this chat's abso state: its space, its draft, who else is on the same files, and recent news\",\n \t\"types\": \"./types/index.d.ts\"\n }"},{"path":"src/pipeline/pipeline.ts","added":1,"removed":1,"diff":"--- a/src/pipeline/pipeline.ts\n+++ b/src/pipeline/pipeline.ts\n@@ -107,7 +107,7 @@\n \t\tconst first = String(e instanceof Error ? e.message : e).split(\"\\n\")[0];\n \t\treturn fail([{ at: \"file\", message: `${fileName} isn't valid ${json ? \"JSON\" : \"YAML\"}${where}: ${first}` }]);\n \t}\n-\treturn checkPipelines(doc, { avcsJson: /(^|[\\\\/])avcs\\.json$/i.test(fileName) });\n+\treturn checkPipelines(doc, { avcsJson: /(^|[\\\\/])(abso|avcs)\\.json$/i.test(fileName) });\n }\n \n /** Checks a parsed file. With `avcsJson`, today's CI keys beside the pipelines are allowed. */"}],"ci":null}