{"version":27,"agent":"review","message":"Client: ABSO_ environment names (AVCS_ still read), .absoignore (.avcsignore still read), .abso-export.json, shot files; READMEs say abso (abso 224)","time":1791533840174,"timeIso":"2026-10-09T08:17:20.174Z","changes":27,"change":318,"files":["README.md","client/README.md","client/scripts/import-git.ts","client/src/api.ts","client/src/box-commands.ts","client/src/check-ignore.ts","client/src/config.ts","client/src/core.ts","client/src/env-names.ts","client/src/export.ts","client/src/fetch.ts","client/src/folder.ts","client/src/hook.ts","client/src/issues.ts","client/src/join-commands.ts","client/src/key-admin.ts","client/src/lock.ts","client/src/main.ts","client/src/mcp.ts","client/src/publish-commands.ts","client/src/review.ts","client/src/serve-commands.ts","client/test/client.test.ts","client/test/env-names.test.ts","client/test/ignore.test.ts","client/test/issues.test.ts","client/test/key-admin.test.ts"],"draft":null,"diff":[{"path":"README.md","added":3,"removed":3,"diff":"--- a/README.md\n+++ b/README.md\n@@ -87,19 +87,19 @@\n \n ## Servers and tokens\n \n-The client reads its token from `AVCS_TOKEN`, or else from `~/.avcs/token`.\n+The client reads its token from `ABSO_TOKEN`, or else from `~/.abso/token`.\n It never writes the token into a project folder.\n \n It sends the token only to abso's own servers (`https://api.abso.dev` and\n `https://issues.abso.dev`) and to this machine. A folder that names any other\n server is refused before any call. To trust another server, name it in\n-`~/.avcs/servers.json`, with its Issues server if it has one:\n+`~/.abso/servers.json`, with its Issues server if it has one:\n \n ```json\n { \"servers\": { \"https://abso.example.com\": { \"issues\": \"https://issues.example.com\" } } }\n ```\n \n-`AVCS_TRUSTED_SERVERS` (comma-separated) does the same for one shell. Off\n+`ABSO_TRUSTED_SERVERS` (comma-separated) does the same for one shell. Off\n this machine, only `https://` servers count. A server you trust gets your\n token: the same token goes to every server you name, so name only servers\n you would hand it to."},{"path":"client/README.md","added":34,"removed":30,"diff":"--- a/client/README.md\n+++ b/client/README.md\n@@ -13,28 +13,32 @@\n \n ## Setting up a folder\n \n-The token comes from the `AVCS_TOKEN` environment variable, or else from\n-`~/.avcs/token`, outside every repo. It is never written into the folder.\n+Folders and machines set up before abso had its name keep working: the older \n+`.avcs/` folder, `~/.avcs/` files, `AVCS_` environment names and `.avcsignore` are \n+read when the new ones are not there. New things are written under the new names.\n+\n+The token comes from the `ABSO_TOKEN` environment variable, or else from\n+`~/.abso/token`, outside every repo. It is never written into the folder.\n It goes only to abso's server (`https://api.abso.dev`) and its Issues Worker\n (`https://issues.abso.dev`), to servers this\n-machine names, and to this machine itself, since any `.avcs/config.json` can\n+machine names, and to this machine itself, since any `.abso/config.json` can\n name a server and anyone can write one. A folder naming another server is\n refused before any call. To use a server you run, or a test one, name it in\n-`~/.avcs/servers.json`, beside the token, with its Issues Worker if it has one:\n+`~/.abso/servers.json`, beside the token, with its Issues Worker if it has one:\n \n ```json\n { \"servers\": { \"https://abso.example.com\": { \"issues\": \"https://issues.example.com\" } } }\n ```\n \n-`AVCS_TRUSTED_SERVERS` (comma-separated) adds servers for one shell, and\n-`AVCS_ISSUES_SERVER` names the Issues Worker. The mods follow the same rule.\n+`ABSO_TRUSTED_SERVERS` (comma-separated) adds servers for one shell, and\n+`ABSO_ISSUES_SERVER` names the Issues Worker. The mods follow the same rule.\n Off this machine only `https://` servers count. A server you trust gets your\n token: the same token goes to every server named, so name only servers you\n would hand it to.\n \n Every path a sync, switch, join or restore answer names is checked before\n the client touches the disk: nothing is written outside the folder, into\n-`.git`, `.claude` or `.avcs` (in any case), onto a Windows device name, or\n+`.git`, `.claude` or `.abso` (in any case), onto a Windows device name, or\n through a folder that is a link. A refused path is named in the output\n (\"REFUSED ... paths from the server\").\n \n@@ -62,14 +66,14 @@\n | `abso run --parallel \"<command>\" \"<command>\"...` | One upload, then the commands run at once in the box. Each line a command prints starts with its label (`[1]`, `[2]`, ...; the labels are listed first), stdout and stderr kept apart; at the end, each command's exit code, and `abso run` exits with the worst (highest) of them. |\n | `abso run --at <version> [--files <glob>] ...` | Runs a past version of the folder's space in the box instead of the folder (for bisecting), or, with `--files`, the folder with only the matching files as they were at that version (`*` within a folder, `**` across folders, comma-separated; a plain path takes a file or a whole folder). The folder is never touched, so nothing old gets recorded. The run sees `AVCS_AT`. |\n | `abso run --with <box path>=<local path>[,...] ...` | Adds files, or every file under a local folder, to this run only: they go to the box (text with LF line endings) and are never written to your folder or recorded, so an A/B run leaves the project alone. A path already in the folder is replaced for this run. |\n-| `abso fetch <glob...>` / `abso run --fetch <glob>[,<glob>...] ...` | Files a run left in the box's `/w` (bash globs: `out/*.png`, `**/*.log`; `fetch` takes them space-separated, `run --fetch` comma-separated in one argument), written into the folder, but only where abso ignores them (add `out/` to `.avcsignore`, say), so a fetched file never becomes an edit; the rest are named and left alone, and every path is screened as a sync's are. `run --fetch` fetches when the run ends. The box's `/w` is replaced by your folder on every run; the rest of the box (`/tmp`, `~/.cache`, `/w/node_modules`) lasts between runs until the box stops (idle 30 minutes, or restarted). |\n+| `abso fetch <glob...>` / `abso run --fetch <glob>[,<glob>...] ...` | Files a run left in the box's `/w` (bash globs: `out/*.png`, `**/*.log`; `fetch` takes them space-separated, `run --fetch` comma-separated in one argument), written into the folder, but only where abso ignores them (add `out/` to `.absoignore`, say), so a fetched file never becomes an edit; the rest are named and left alone, and every path is screened as a sync's are. `run --fetch` fetches when the run ends. The box's `/w` is replaced by your folder on every run; the rest of the box (`/tmp`, `~/.cache`, `/w/node_modules`) lasts between runs until the box stops (idle 30 minutes, or restarted). |\n | `abso pause` / `abso resume` | While paused, nothing from the folder is sent: the edit hook skips, `abso record` refuses, and other commands don't record first. For swapping files in by hand; `abso run --at` usually does it better. |\n | `abso logs <run id>` | A run's output from its start (stdout and stderr apart), for as long as the box keeps it, waiting until it ends; exits with its code. For a detached run, or one whose connection was lost. |\n | `abso run -- <program> <arg...>` | The same, but each word reaches the program exactly as typed: the client quotes it for the box's shell, so quotes, backslashes and regex text (`'a(b)'`, `'\\w+'`) need no second layer of quoting. |\n | `abso status` | Shared's version, each agent's base and draft, what in this folder is not yet recorded, any file of your view the folder is missing, and files that differ from what abso recorded only in line endings (CRLF on disk; abso records them, and `abso run` sends them, with LF). `--short` prints one word to stamp a build with: the version the folder is on (`214`), with a named draft (`coast@3`), and `+unpublished` when it holds changes not yet published. |\n | `abso who <file...>` | For each file: who last changed it, who has unpublished changes in it (and at which lines), and whose `abso start` note names it. For asking before you work in someone's file. |\n | `abso fix-eol` | Rewrites the files that differ from what abso recorded only in line endings (CRLF here) with LF, as recorded. Their text is unchanged, so nothing is recorded; `abso status` stops counting them. |\n-| `abso export <dir> [--version <N>]` | Writes one published version of this folder's space (the newest unless `--version`) into a folder of its own, for a build that doesn't move while shared does. The folder must be empty, an earlier export (which it replaces, keeping its `node_modules` and whatever `--keep <glob>` names), or inside the abso folder only where `.avcsignore` leaves it out. `.avcs-export.json` there names the version. Your folder and your base are untouched. |\n+| `abso export <dir> [--version <N>]` | Writes one published version of this folder's space (the newest unless `--version`) into a folder of its own, for a build that doesn't move while shared does. The folder must be empty, an earlier export (which it replaces, keeping its `node_modules` and whatever `--keep <glob>` names), or inside the abso folder only where `.absoignore` leaves it out. `.avcs-export.json` there names the version. Your folder and your base are untouched. |\n | `abso files [glob...]` | The files your folder should hold (your view), marking any it's missing. `--draft <name>` (or `--draft shared`) and `--version <N>` list a space's files as published. |\n | `abso switch <draft>` / `abso switch shared` | Records, then moves the folder to a named draft (made on shared's newest version if it's new) or back to shared. Your unpublished changes are parked on the server where you leave, and come back when you return. Then it syncs, so the folder shows the space as it is now; collisions are listed as sync lists them. |\n | `abso switch -c <draft>` | Starts a new named draft that carries your current unpublished changes. |\n@@ -90,7 +94,7 @@\n | `abso pluck <draft> <version...> -m \"why\" [--with-dependencies]` | Takes some versions of a named draft into shared as one version, like `git cherry-pick`. The draft stays as it is. |\n | `abso amend -m \"new message\"` | Corrects the message of your newest publish in this space. The log keeps the first message. |\n | `abso label <name> [--version n] [--remove]` / `abso labels` | Puts a label on a version of shared (the newest by default) or takes it off, like a git tag; `labels` lists them all. |\n-| `abso follow <label>` / `abso follow --none` | Makes this folder follow a label: every sync takes it to the newest version of shared with that label. `--none` goes back to shared's newest. Saved in `.avcs/config.json`. |\n+| `abso follow <label>` / `abso follow --none` | Makes this folder follow a label: every sync takes it to the newest version of shared with that label. `--none` goes back to shared's newest. Saved in `.abso/config.json`. |\n | `abso check-ignore <path...>` | Whether abso leaves each path out, and which line of which ignore file decided (see \"What is left out\"). |\n | `abso pipeline check [file] [--on <event>]` | Reads the folder's pipeline file (abso.yml, abso.yaml or avcs.json, or the file named) and lists each problem as `<path>: <message>`: a cycle in needs, a job or pipeline that doesn't exist, secrets in a pipeline a draft can start, keys it doesn't know. Exits 1 on problems; otherwise lists each pipeline's jobs in the order they run. With `--on publish|draft|green|land|hand|schedule` (and `--space`, `--pipeline` or `--every`), says which pipelines that event starts, with their jobs in waves that can run side by side, and why the others don't. Reads only the file. The shape is still a draft. |\n | `abso issues [--open] [--status <s>] [--agent <a>] [--parent <N>] [--label <l,l>]` | The project's issues, most recently updated first. Statuses come from the work: `abso start --issue N` puts an issue In progress, an open ask makes it Blocked (In review for a review), and `publish --done` closes it. `--label friction` keeps the issues with every label named: a ready list of work to pick up. `abso issues --labels` lists the labels in use, with how many issues are open under each. |\n@@ -104,8 +108,8 @@\n Every command takes `--json`.\n \n The Issues commands talk to the Issues Worker beside the folder's server,\n-with the same token: the one `~/.avcs/servers.json` names for that server, or\n-`AVCS_ISSUES_SERVER`. The token goes there only where it would go as a\n+with the same token: the one `~/.abso/servers.json` names for that server, or\n+`ABSO_ISSUES_SERVER`. The token goes there only where it would go as a\n folder's server: abso's, one this machine names, or this machine itself.\n \n ### Text with several lines: `--comment-file`, `--file`\n@@ -174,14 +178,14 @@\n After each Edit, MultiEdit, Write or NotebookEdit, the hook:\n \n 1. finds the abso folder above the edited file (and does nothing outside one);\n-2. replays the edit on `.avcs/known/<file>`, the client's copy of what the\n+2. replays the edit on `.abso/known/<file>`, the client's copy of what the\n    server has. If the replay gives exactly the file on disk, it sends the edit\n    (old and new text, with the session and subagent ids). If not, it sends the\n    whole file with `record`. That happens after a shell command changed the\n    file, for `replace_all`, or when the server answers \"out of step\";\n 3. hands any news back to the agent as extra context.\n \n-It never stops the agent. On any error it writes a line to `.avcs/hook.log`\n+It never stops the agent. On any error it writes a line to `.abso/hook.log`\n and forgets the file's known copy, so the next `abso record` sends it whole.\n Every call is logged with its timing. The decisions live in `src/core.ts`,\n shared by both forms below.\n@@ -207,7 +211,7 @@\n   for one session with `claude --plugin-dir <repo>/client`. Function hooks are\n   an early-access Claude Code API; a headless `claude -p` loads them only with\n   `CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1`. While the mod is installed, the command\n-  hook below stands down (`AVCS_HOOK_FORCE=1` overrides), so no edit is sent\n+  hook below stands down (`ABSO_HOOK_FORCE=1` overrides), so no edit is sent\n   twice.\n - **The command hook (about 320 ms per edit), for anything else.** `abso hook`\n   reads Claude Code's PostToolUse JSON on stdin, always exits 0, and prints the\n@@ -265,7 +269,7 @@\n   the same files, and news you haven't looked at.\n - **`/avcs-view`** opens a pane with the whole picture: the space and version,\n   your draft's files, work parked in other spaces, who else is on which of\n-  your files, and the latest news (from `.avcs/news.log`, which the hooks and\n+  your files, and the latest news (from `.abso/news.log`, which the hooks and\n   commands write).\n \n Outside an abso folder it costs one folder lookup when the chat starts. In one,\n@@ -275,15 +279,15 @@\n \n ## What the folder holds\n \n-- `.avcs/config.json`: `{server, project, agent}`. When the folder is a git\n-  repo, `/.avcs/` goes into `.git/info/exclude`. Nothing under `.avcs/` is\n+- `.abso/config.json`: `{server, project, agent}`. When the folder is a git\n+  repo, `/.abso/` goes into `.git/info/exclude`. Nothing under `.abso/` is\n   ever recorded, published or sent to a box.\n-- `.avcs/known/`: the known copy described above.\n-- `.avcs/modes.json`: the executable files and links the server has, as far\n+- `.abso/known/`: the known copy described above.\n+- `.abso/modes.json`: the executable files and links the server has, as far\n   as the client knows. It is to modes what the known copy is to text.\n-- `.avcs/hook.log`: one line per hook call.\n-- `.avcs/news.log`: the news the agent was given, one dated line each.\n-- `.avcs/run.log`: when `abso run` reconnected to a run, or started it again because the connection failed before the server answered (up to 3 more tries, 0.5 to 3 seconds apart; never once the server has answered), and why.\n+- `.abso/hook.log`: one line per hook call.\n+- `.abso/news.log`: the news the agent was given, one dated line each.\n+- `.abso/run.log`: when `abso run` reconnected to a run, or started it again because the connection failed before the server answered (up to 3 more tries, 0.5 to 3 seconds apart; never once the server has answered), and why.\n \n ## Empty files, the executable bit and links\n \n@@ -302,12 +306,12 @@\n \n ## What is left out\n \n-Always: `.git`, `.avcs`, `.claude` and `node_modules`, in any case. Beyond\n-those, abso follows git's ignore rules, for `.gitignore` and `.avcsignore`\n+Always: `.git`, `.abso`, `.claude` and `node_modules`, in any case. Beyond\n+those, abso follows git's ignore rules, for `.gitignore` and `.absoignore`\n alike, except for case:\n \n - Any folder may have either file. Its patterns are relative to its folder,\n-  and a deeper file beats a shallower one. In one folder, `.avcsignore` beats\n+  and a deeper file beats a shallower one. In one folder, `.absoignore` beats\n   `.gitignore`, so it can bring back what `.gitignore` leaves out (`!dist/`).\n - Below those come `.git/info/exclude`, then git's global excludes file\n   (`core.excludesFile`, or `~/.config/git/ignore`).\n@@ -315,7 +319,7 @@\n   only), `\\` escapes and trailing spaces all work as in git. The last matching\n   line wins.\n - Nothing inside an ignored folder can be brought back with `!`, as in git.\n-- Case: every pattern, from `.avcsignore`, `.gitignore` or git's own exclude\n+- Case: every pattern, from `.absoignore`, `.gitignore` or git's own exclude\n   files, matches by the same rule as abso's paths, on every platform:\n   any case, and either Unicode form of an accented letter. So `.env` also\n   leaves out `.ENV`. This ignores case and Unicode form even where\n@@ -324,14 +328,14 @@\n \n Binary files (a NUL byte or invalid UTF-8), and text over 2 MB, go up as\n blobs: the client uploads the bytes under their SHA-256, records the\n-hash, and keeps the hashes it knows in `.avcs/blobs.json`. Sync, switch and\n+hash, and keeps the hashes it knows in `.abso/blobs.json`. Sync, switch and\n restore fetch the bytes, and never overwrite a binary file the agent changed\n and hasn't recorded. `diff` says `Binary file x changed: <hash> -> <hash>`.\n Files over the server's 20 MB limit are left out; `init`, `record` and\n `status` name them (`leftOut` in `--json`), and what the server has of them\n stays. `abso run` still sends every file to the box.\n \n-`abso init` writes a starting `.avcsignore` (Claude Code state and operating\n+`abso init` writes a starting `.absoignore` (Claude Code state and operating\n system files) when the folder has none. `abso check-ignore <path...>` says\n whether each path is left out and which line of which file decided.\n `client/test/ignore.test.ts` checks the rules against `git check-ignore`.\n@@ -360,4 +364,4 @@\n ```\n \n To point a real folder at it, run `node client/test/fake-server.ts 47811`.\n-It takes the token from `AVCS_TOKEN` (default `fake-token`).\n+It takes the token from `ABSO_TOKEN` (default `fake-token`)."},{"path":"client/scripts/import-git.ts","added":1,"removed":1,"diff":"--- a/client/scripts/import-git.ts\n+++ b/client/scripts/import-git.ts\n@@ -97,7 +97,7 @@\n \textract(sha, dir);\n \tconst message = `${git([\"log\", \"-1\", \"--format=%B\", sha]).trim()}\\n\\ngit ${sha.slice(0, 12)}, ${git([\"log\", \"-1\", \"--format=%an, %aI\", sha]).trim()}`;\n \tconst subject = message.split(\"\\n\")[0]!.slice(0, 72);\n-\t// The first commit makes the project; --as-is adds no starting .avcsignore or avcs.json git never had.\n+\t// The first commit makes the project; --as-is adds no starting .absoignore or avcs.json git never had.\n \tconst argv =\n \t\ti === 0\n \t\t\t? [\"init\", dir, \"--server\", values.server!, \"--project\", values.project!, \"--agent\", values.agent!, \"--as-is\"]"},{"path":"client/src/api.ts","added":3,"removed":3,"diff":"--- a/client/src/api.ts\n+++ b/client/src/api.ts\n@@ -141,7 +141,7 @@\n \t/** Waits between tries when a run's stream breaks; tests shorten them. */\n \treadonly reconnectDelaysMs: readonly number[];\n \treadonly startRetryDelaysMs: readonly number[];\n-\t/** Another box of this agent for run, logs and fetch (--box or AVCS_BOX, #37); undefined is its own box. */\n+\t/** Another box of this agent for run, logs and fetch (--box or ABSO_BOX, #37); undefined is its own box. */\n \tbox: string | undefined;\n \n \tconstructor(\n@@ -419,7 +419,7 @@\n \t/** A call to the Issues Worker (#54), with the same token. */\n \t#issues<T>(method: \"GET\" | \"POST\", path: string, body?: unknown): Promise<T> {\n \t\tif (this.issuesServer === undefined)\n-\t\t\tthrow new ApiError(`${this.config.server} has no Issues Worker beside it; AVCS_ISSUES_SERVER names one`);\n+\t\t\tthrow new ApiError(`${this.config.server} has no Issues Worker beside it; ABSO_ISSUES_SERVER names one`);\n \t\treturn this.json(method, path, body, this.issuesServer);\n \t}\n \n@@ -473,7 +473,7 @@\n \t/** Uploads an image to the Issues Worker (abso issue 171): it checks the type by the bytes, strips metadata and answers its id. */\n \tasync attachmentUpload(bytes: Uint8Array, name: string): Promise<Attachment> {\n \t\tif (this.issuesServer === undefined)\n-\t\t\tthrow new ApiError(`${this.config.server} has no Issues Worker beside it; AVCS_ISSUES_SERVER names one`);\n+\t\t\tthrow new ApiError(`${this.config.server} has no Issues Worker beside it; ABSO_ISSUES_SERVER names one`);\n \t\tconst path = this.agentPath(\"attachments\");\n \t\tlet res: Response;\n \t\ttry {"},{"path":"client/src/box-commands.ts","added":24,"removed":22,"diff":"--- a/client/src/box-commands.ts\n+++ b/client/src/box-commands.ts\n@@ -10,6 +10,7 @@\n import { type Env, EXIT, type Output, open, plural } from \"./command-env.ts\";\n import { LISTED, recordFolder } from \"./commands.ts\";\n import { findRoot } from \"./config.ts\";\n+import { fromEnv, withOldNames } from \"./env-names.ts\";\n import { fetchedText, fetchFromBox } from \"./fetch.ts\";\n import { absolute, isLocalOnly, loadIgnore, readText, walk, writeFileAtomic } from \"./folder.ts\";\n import { onDisk, PLAIN, readKnownModes } from \"./modes.ts\";\n@@ -380,10 +381,10 @@\n \tif (at !== undefined) {\n \t\t// A past version in the box; the folder's files stay as they are (Backtracker's bisect).\n \t\tconst snap = await snapshotAt(root, api, at);\n-\t\tconst space = stamp.AVCS_SPACE === \"shared\" ? \"shared\" : `draft ${stamp.AVCS_SPACE}`;\n+\t\tconst space = stamp.ABSO_SPACE === \"shared\" ? \"shared\" : `draft ${stamp.ABSO_SPACE}`;\n \t\tif (filesGlob === undefined) {\n \t\t\tentries = await snapshotEntries(api, snap);\n-\t\t\tstamp = { ...stamp, AVCS_VERSION: String(at), AVCS_DRAFT: \"0\", AVCS_DRAFT_HASH: \"\", AVCS_AT: String(at) };\n+\t\t\tstamp = { ...stamp, ABSO_VERSION: String(at), ABSO_DRAFT: \"0\", ABSO_DRAFT_HASH: \"\", ABSO_AT: String(at) };\n \t\t\tnotice(\n \t\t\t\t`abso: running version ${at} of ${space} in the box (${plural(entries.length, \"file\")}); your folder is untouched.\\n`,\n \t\t\t);\n@@ -392,7 +393,7 @@\n \t\t\tconst old = await snapshotEntries(api, snap, pick);\n \t\t\tconst gone = entries.filter((e) => pick(e.path) && !old.some((o) => o.path === e.path)).map((e) => e.path);\n \t\t\tentries = [...entries.filter((e) => !pick(e.path)), ...old].sort((a, b) => a.path.localeCompare(b.path));\n-\t\t\tstamp = { ...stamp, AVCS_AT: `${at} files ${filesGlob}` };\n+\t\t\tstamp = { ...stamp, ABSO_AT: `${at} files ${filesGlob}` };\n \t\t\tconst said =\n \t\t\t\told.length === 0 && gone.length === 0\n \t\t\t\t\t? `no file matches ${filesGlob} in your folder or at version ${at}`\n@@ -444,15 +445,15 @@\n \t\t\tjson: { ...p },\n \t\t};\n \t}\n-\t// A broken stream reconnects to the run quietly; .avcs/run.log says when and why.\n+\t// A broken stream reconnects to the run quietly; .abso/run.log says when and why.\n \t// (Tests shorten the waits with these.)\n \tconst delays = (name: string) =>\n-\t\tenv.env[name]\n+\t\tfromEnv(env.env, name)\n \t\t\t?.split(\",\")\n \t\t\t.map(Number)\n \t\t\t.filter((n) => Number.isFinite(n) && n >= 0);\n-\tconst reconnect = delays(\"AVCS_RUN_RECONNECT_MS\");\n-\tconst retry = delays(\"AVCS_RUN_RETRY_MS\");\n+\tconst reconnect = delays(\"RUN_RECONNECT_MS\");\n+\tconst retry = delays(\"RUN_RETRY_MS\");\n \tconst runner =\n \t\treconnect?.length || retry?.length\n \t\t\t? new Api(api.config, api.timeoutMs, reconnect?.length ? reconnect : undefined, retry?.length ? retry : undefined)\n@@ -512,8 +513,8 @@\n /** abso fetch <glob...>: files the box made, written into the folder where abso ignores them. */\n /**\n  * Which of the agent's boxes run, logs and fetch use (#37): --box <name>, else\n- * AVCS_BOX, else the agent's own. A lead can give each subagent its own box\n- * (AVCS_BOX=2 in its environment), so their runs don't wait on each other.\n+ * ABSO_BOX (or the older AVCS_BOX), else the agent's own. A lead can give each subagent its own box\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@@ -549,7 +550,7 @@\n }\n \n export function boxOf(args: Parsed, env: Env): string | undefined {\n-\tconst box = str(args, \"box\") ?? (env.env.AVCS_BOX || undefined);\n+\tconst box = str(args, \"box\") ?? fromEnv(env.env, \"BOX\");\n \tif (box !== undefined && !/^[A-Za-z0-9_-]{1,24}$/.test(box))\n \t\tthrow new UsageError(`a box name is 1-24 letters, digits, - or _ (got ${JSON.stringify(box)})`);\n \treturn box;\n@@ -581,17 +582,17 @@\n \n /** What `abso run` tells the command about the code it runs, as environment variables. */\n export interface RunStamp {\n-\treadonly AVCS_AGENT: string;\n+\treadonly ABSO_AGENT: string;\n \t/** shared, or the named draft. */\n-\treadonly AVCS_SPACE: string;\n+\treadonly ABSO_SPACE: string;\n \t/** The version of that space the draft builds on. */\n-\treadonly AVCS_VERSION: string;\n+\treadonly ABSO_VERSION: string;\n \t/** How many unpublished changes the draft holds (0: the run is exactly that version). */\n-\treadonly AVCS_DRAFT: string;\n+\treadonly ABSO_DRAFT: string;\n \t/** A short hash of the draft's files as they are, \"\" when the draft is empty. */\n-\treadonly AVCS_DRAFT_HASH: string;\n+\treadonly ABSO_DRAFT_HASH: string;\n \t/** With abso run --at: the version run (\"12\"), or the files taken from it (\"12 files src/*.ts\"). */\n-\treadonly AVCS_AT?: string;\n+\treadonly ABSO_AT?: string;\n }\n \n async function runStamp(root: string, agent: string, api: Api): Promise<RunStamp> {\n@@ -605,18 +606,19 @@\n \t\thash = h.digest(\"hex\").slice(0, 12);\n \t}\n \treturn {\n-\t\tAVCS_AGENT: agent,\n-\t\tAVCS_SPACE: me?.draft ?? \"shared\",\n-\t\tAVCS_VERSION: String(me?.base ?? status.version),\n-\t\tAVCS_DRAFT: String(me?.draftChanges ?? 0),\n-\t\tAVCS_DRAFT_HASH: hash,\n+\t\tABSO_AGENT: agent,\n+\t\tABSO_SPACE: me?.draft ?? \"shared\",\n+\t\tABSO_VERSION: String(me?.base ?? status.version),\n+\t\tABSO_DRAFT: String(me?.draftChanges ?? 0),\n+\t\tABSO_DRAFT_HASH: hash,\n \t};\n }\n \n /** `export A='x' B='y'; `: on every part of a compound command, unlike a bare assignment prefix. */\n function stampPrefix(stamp: RunStamp): string {\n \tconst quote = (v: string) => `'${v.replace(/'/g, `'''`)}'`;\n-\treturn `export ${Object.entries(stamp)\n+\treturn `export ${Object.entries(withOldNames({ ...stamp }))\n+\t\t.filter((e): e is [string, string] => e[1] !== undefined)\n \t\t.map(([k, v]) => `${k}=${quote(v)}`)\n \t\t.join(\" \")}; `;\n }"},{"path":"client/src/check-ignore.ts","added":2,"removed":2,"diff":"--- a/client/src/check-ignore.ts\n+++ b/client/src/check-ignore.ts\n@@ -10,8 +10,8 @@\n import type { IgnoreMatch } from \"./core.ts\";\n import { gitHome, loadIgnore, relativeTo } from \"./folder.ts\";\n \n-/** Starting .avcsignore for `abso init`, when the folder has none. */\n-export const STARTING_AVCSIGNORE = `# Files abso leaves out, on top of .gitignore. Same rules as .gitignore; this\n+/** Starting .absoignore for `abso init`, when the folder has none. */\n+export const STARTING_ABSOIGNORE = `# Files abso leaves out, on top of .gitignore. Same rules as .gitignore; this\n # file wins over .gitignore in the same folder. \\`abso check-ignore <path>\\`\n # says which line decided. .git, .abso, .avcs, .claude and node_modules are always\n # left out."},{"path":"client/src/config.ts","added":11,"removed":9,"diff":"--- a/client/src/config.ts\n+++ b/client/src/config.ts\n@@ -1,7 +1,7 @@\n // The folder's settings (.avcs/config.json), finding the folder that holds\n // them, and the token.\n //\n-// The token is never in the folder: it comes from the AVCS_TOKEN environment\n+// The token is never in the folder: it comes from the ABSO_TOKEN environment\n // variable, or else from ~/.avcs/token, outside every repo.\n \n import { chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from \"node:fs\";\n@@ -9,6 +9,7 @@\n import { basename, dirname, join, resolve } from \"node:path\";\n import { UsageError } from \"./args.ts\";\n import { type MachineServers, machineServers, TOKEN_SERVERS, tokenGoesTo, trustedList } from \"./core.ts\";\n+import { fromEnv } from \"./env-names.ts\";\n import { homeFile, stateDir } from \"./state-dir.ts\";\n \n /** What .avcs/config.json holds. */\n@@ -166,15 +167,15 @@\n \tconst trusted = trustedServers(env);\n \tif (token === undefined || tokenGoesTo(server, trusted)) return token;\n \tthrow new UsageError(\n-\t\t`this folder's server is ${server}, and abso sends your token only to ${[...TOKEN_SERVERS, \"this machine\"].join(\", \")}, and the servers ~/.abso/servers.json or AVCS_TRUSTED_SERVERS name. ` +\n-\t\t\t`If ${server} is yours, name it in ~/.abso/servers.json or AVCS_TRUSTED_SERVERS (comma-separated); if you didn't set it, someone else wrote .abso/config.json.`,\n+\t\t`this folder's server is ${server}, and abso sends your token only to ${[...TOKEN_SERVERS, \"this machine\"].join(\", \")}, and the servers ~/.abso/servers.json or ABSO_TRUSTED_SERVERS name. ` +\n+\t\t\t`If ${server} is yours, name it in ~/.abso/servers.json or ABSO_TRUSTED_SERVERS (comma-separated); if you didn't set it, someone else wrote .abso/config.json.`,\n \t);\n }\n \n let machine: MachineServers | undefined;\n-/** This machine's servers (core.ts machineServers), from ~/.abso/servers.json (or ~/.abso/servers.json), read once. AVCS_SERVERS_FILE names another file (tests). */\n+/** This machine's servers (core.ts machineServers), from ~/.abso/servers.json (or the older ~/.avcs/servers.json), read once. ABSO_SERVERS_FILE names another file (tests). */\n export function readMachineServers(env: Readonly<Record<string, string | undefined>> = process.env): MachineServers {\n-\tif (env.AVCS_SERVERS_FILE !== undefined) return machineServers(readOr(env.AVCS_SERVERS_FILE));\n+\tif (fromEnv(env, \"SERVERS_FILE\") !== undefined) return machineServers(readOr(fromEnv(env, \"SERVERS_FILE\") as string));\n \tmachine ??= machineServers(readOr(homeFile(homedir(), \"servers.json\")));\n \treturn machine;\n }\n@@ -186,14 +187,15 @@\n \t}\n };\n \n-/** The servers the token may go to beyond abso's own: AVCS_TRUSTED_SERVERS, then this machine's servers.json. */\n+/** The servers the token may go to beyond abso's own: ABSO_TRUSTED_SERVERS, then this machine's servers.json. */\n export function trustedServers(env: Readonly<Record<string, string | undefined>> = process.env): string {\n-\treturn trustedList(env.AVCS_TRUSTED_SERVERS, readMachineServers(env));\n+\treturn trustedList(fromEnv(env, \"TRUSTED_SERVERS\"), readMachineServers(env));\n }\n \n-/** AVCS_TOKEN if set, else ~/.abso/token, else ~/.avcs/token, else none. */\n+/** ABSO_TOKEN if set, else ~/.abso/token, else ~/.avcs/token, else none. */\n export function readToken(env: Readonly<Record<string, string | undefined>> = process.env): string | undefined {\n-\tif (env.AVCS_TOKEN) return env.AVCS_TOKEN.trim();\n+\tconst fromVar = fromEnv(env, \"TOKEN\");\n+\tif (fromVar) return fromVar.trim();\n \ttry {\n \t\treturn readFileSync(homeFile(homedir(), \"token\"), \"utf8\").trim() || undefined;\n \t} catch {"},{"path":"client/src/core.ts","added":6,"removed":6,"diff":"--- a/client/src/core.ts\n+++ b/client/src/core.ts\n@@ -91,7 +91,7 @@\n  * The servers abso sends the token to on its own (#30): abso's hosted server and its Issues Worker.\n  * A folder's .avcs/config.json can name any server, and a planted or cloned\n  * one would otherwise receive every edit with the token. Others are trusted by\n- * this machine's ~/.abso/servers.json (machineServers) or AVCS_TRUSTED_SERVERS\n+ * this machine's ~/.abso/servers.json (machineServers) or ABSO_TRUSTED_SERVERS\n  * (comma-separated): a server you run yourself, or a test one.\n  */\n export const TOKEN_SERVERS: readonly string[] = [\"https://api.abso.dev\", \"https://issues.abso.dev\"];\n@@ -140,14 +140,14 @@\n \treturn { trusted, issues };\n }\n \n-/** The servers trusted beyond TOKEN_SERVERS, as tokenGoesTo takes them: AVCS_TRUSTED_SERVERS, then this machine's. */\n+/** The servers trusted beyond TOKEN_SERVERS, as tokenGoesTo takes them: ABSO_TRUSTED_SERVERS, then this machine's. */\n export function trustedList(fromEnv: string | undefined, machine: MachineServers): string {\n \treturn [...(fromEnv ?? \"\").split(\",\"), ...machine.trusted].filter((t) => t.trim() !== \"\").join(\",\");\n }\n \n /**\n  * The Issues Worker beside an avcs server (#54): this machine's servers.json\n- * first, then abso's own. AVCS_ISSUES_SERVER overrides both (issues.ts).\n+ * first, then abso's own. ABSO_ISSUES_SERVER overrides both (issues.ts).\n  */\n export function issuesServerFor(server: string, machine?: MachineServers): string | undefined {\n \tconst o = serverOrigin(server);\n@@ -197,11 +197,11 @@\n \n // --- ignore rules ---\n //\n-// git's rules (gitignore(5)), for .gitignore and .avcsignore alike:\n+// git's rules (gitignore(5)), for .gitignore, .avcsignore and .absoignore alike:\n //\n // - Every folder may have both files. Their patterns are relative to their\n //   folder and apply only below it. A deeper file beats a shallower one, and\n-//   in one folder .avcsignore beats .gitignore.\n+//   in one folder .absoignore beats .avcsignore, which beats .gitignore.\n // - Below those come .git/info/exclude, then git's global excludes file\n //   (core.excludesFile, or ~/.config/git/ignore), both relative to the root.\n // - Within a file the last matching line wins, and `!` brings a path back.\n@@ -214,7 +214,7 @@\n // any number of folders.\n \n /** The per-folder ignore files, weakest first. */\n-export const IGNORE_FILES: readonly string[] = [\".gitignore\", \".avcsignore\"];\n+export const IGNORE_FILES: readonly string[] = [\".gitignore\", \".avcsignore\", \".absoignore\"];\n \n export interface IgnoreRule {\n \t/** Where the line came from: a folder-relative path such as `src/.gitignore`, or the global file's path. */"},{"path":"client/src/env-names.ts","added":18,"removed":0,"diff":"--- /dev/null\n+++ b/client/src/env-names.ts\n@@ -0,0 +1,18 @@\n+// Environment names: ABSO_<NAME>, or the older AVCS_<NAME> from before the rename.\n+// Read the new one first; where abso sets one for a program it runs, it sets both.\n+\n+export type EnvMap = Readonly<Record<string, string | undefined>>;\n+\n+/** ABSO_<name> if set (and not empty), else AVCS_<name>. */\n+export function fromEnv(env: EnvMap, name: string): string | undefined {\n+\treturn env[`ABSO_${name}`] || env[`AVCS_${name}`] || undefined;\n+}\n+\n+/** Each ABSO_ entry once more under its AVCS_ name, for programs written before the rename. */\n+export function withOldNames<T extends Record<string, string | undefined>>(\n+\tvars: T,\n+): Record<string, string | undefined> {\n+\tconst out: Record<string, string | undefined> = { ...vars };\n+\tfor (const [k, v] of Object.entries(vars)) if (k.startsWith(\"ABSO_\")) out[`AVCS_${k.slice(5)}`] = v;\n+\treturn out;\n+}"},{"path":"client/src/export.ts","added":10,"removed":4,"diff":"--- a/client/src/export.ts\n+++ b/client/src/export.ts\n@@ -1,6 +1,6 @@\n // abso export <dir> [--version N]: one published version of this folder's\n // space, written to a folder of its own, for a build that doesn't move while\n-// shared does (#37, Playtester 1). The folder gets .avcs-export.json naming\n+// shared does (#37, Playtester 1). The folder gets .abso-export.json (.avcs-export.json before the rename) naming\n // the version, to stamp the build with. Exporting again replaces the folder,\n // keeping node_modules (and what --keep names) so a build needs no new install.\n //\n@@ -19,7 +19,9 @@\n import { type Refused, unsafePath } from \"./safety.ts\";\n \n /** The file an export leaves in its folder: what it holds, and the sign that the folder is one export may replace. */\n-export const EXPORT_STAMP = \".avcs-export.json\";\n+export const EXPORT_STAMP = \".abso-export.json\";\n+/** The name before the rename: an export made then still counts as one. */\n+const OLD_EXPORT_STAMP = \".avcs-export.json\";\n \n /** Where an export may go: outside the abso folder, or in a part of it abso leaves out. Empty, or an earlier export. */\n function checkTarget(root: string, target: string): void {\n@@ -29,12 +31,16 @@\n \t}\n \tif (inside !== undefined && !ignoredHere(loadIgnore(root), inside, true)) {\n \t\tthrow new UsageError(\n-\t\t\t`${inside} is inside this abso folder, so abso would record the export as your edits. Export outside the folder, or into a folder .avcsignore leaves out`,\n+\t\t\t`${inside} is inside this abso folder, so abso would record the export as your edits. Export outside the folder, or into a folder .absoignore leaves out`,\n \t\t);\n \t}\n \tif (!existsSync(target)) return;\n \tif (!statSync(target).isDirectory()) throw new UsageError(`${target} is a file; export to a folder`);\n-\tif (readdirSync(target).length > 0 && !existsSync(join(target, EXPORT_STAMP))) {\n+\tif (\n+\t\treaddirSync(target).length > 0 &&\n+\t\t!existsSync(join(target, EXPORT_STAMP)) &&\n+\t\t!existsSync(join(target, OLD_EXPORT_STAMP))\n+\t) {\n \t\tthrow new UsageError(\n \t\t\t`${target} has files in it; export to an empty folder (an export replaces only a folder an earlier export made)`,\n \t\t);"},{"path":"client/src/fetch.ts","added":1,"removed":1,"diff":"--- a/client/src/fetch.ts\n+++ b/client/src/fetch.ts\n@@ -50,7 +50,7 @@\n \t\t\t\t(throughLink(root, e.path) ? \"a folder on its way is a link\" : undefined) ??\n \t\t\t\t(e.link !== undefined ? \"it is a link; fetch makes none\" : undefined) ??\n \t\t\t\t(!ignoredHere(ignore, e.path)\n-\t\t\t\t\t? \"abso records it, so writing it would make an edit; add it to .avcsignore to fetch it\"\n+\t\t\t\t\t? \"abso records it, so writing it would make an edit; add it to .absoignore to fetch it\"\n \t\t\t\t\t: undefined);\n \t\t\tif (why !== undefined) {\n \t\t\t\tskipped.push({ path: e.path, why });"},{"path":"client/src/folder.ts","added":1,"removed":1,"diff":"--- a/client/src/folder.ts\n+++ b/client/src/folder.ts\n@@ -7,7 +7,7 @@\n // edit, and `sync` only overwrites files that still match it.\n //\n // Skipped everywhere: .git, .avcs, .claude and node_modules, plus what git's\n-// ignore rules leave out: every .gitignore and .avcsignore in the folder,\n+// ignore rules leave out: every .gitignore and .absoignore in the folder,\n // .git/info/exclude and git's global excludes file (core.ts has the rules).\n \n import { execFileSync } from \"node:child_process\";"},{"path":"client/src/hook.ts","added":3,"removed":2,"diff":"--- a/client/src/hook.ts\n+++ b/client/src/hook.ts\n@@ -18,6 +18,7 @@\n import { Api, type News, newsLines } from \"./api.ts\";\n import { findRoot, isReader, readConfig } from \"./config.ts\";\n import { editBody, newsContext, normalize, spellingText, uncomposedText } from \"./core.ts\";\n+import { fromEnv } from \"./env-names.ts\";\n import { forgetKnown, isPaused, loadIgnore, logNews, readKnown, readText, relativeTo, writeKnown } from \"./folder.ts\";\n import { tryFolderLock } from \"./lock.ts\";\n import { readKnownModes } from \"./modes.ts\";\n@@ -59,7 +60,7 @@\n \t}\n \t// With the abso mod installed, every Claude Code session on this machine sends\n \t// its edits in-process, so this hook stands down rather than send them twice.\n-\tif (env.AVCS_HOOK_FORCE !== \"1\" && existsSync(join(modDir(env), \".claude-plugin\", \"plugin.json\"))) {\n+\tif (fromEnv(env, \"HOOK_FORCE\") !== \"1\" && existsSync(join(modDir(env), \".claude-plugin\", \"plugin.json\"))) {\n \t\treturn { stdout: \"\", outcome: \"skipped: the abso mod sends edits\" };\n \t}\n \tconst tool = input.tool_name ?? \"\";\n@@ -87,7 +88,7 @@\n \t\t\toutcome = \"skipped: a link (a file standing in for one); abso record sends links\";\n \t\t} else {\n \t\t\tconst config = readConfig(root, env);\n-\t\t\tconst timeout = Number(env.AVCS_HOOK_TIMEOUT_MS) || DEFAULT_TIMEOUT_MS;\n+\t\t\tconst timeout = Number(fromEnv(env, \"HOOK_TIMEOUT_MS\")) || DEFAULT_TIMEOUT_MS;\n \t\t\tconst api = new Api(config, timeout);\n \t\t\tconst who = {\n \t\t\t\t...(input.session_id ? { session: input.session_id } : {}),"},{"path":"client/src/issues.ts","added":5,"removed":4,"diff":"--- a/client/src/issues.ts\n+++ b/client/src/issues.ts\n@@ -1,6 +1,6 @@\n // Issues (#54): abso issues, abso issue, abso ask, abso waiting and avcs\n // answer. The Issues Worker keeps them (avcs-issues beside avcs, or\n-// AVCS_ISSUES_SERVER), and takes the same token. Statuses come from the work: a start note naming\n+// ABSO_ISSUES_SERVER), and takes the same token. Statuses come from the work: a start note naming\n // an issue (abso start --issue N) puts it In progress, an open ask Blocked or\n // In review, and publish --done closes it. Other agents' and people's words\n // are quoted as JSON, so none can print as another line (#30).\n@@ -24,6 +24,7 @@\n import { type Env, type Output, open, plural } from \"./commands.ts\";\n import { type Config, readMachineServers, trustedServers } from \"./config.ts\";\n import { issuesServerFor, tokenGoesTo } from \"./core.ts\";\n+import { fromEnv } from \"./env-names.ts\";\n import { seenText, shortWhen } from \"./times.ts\";\n \n const q = (s: string): string => JSON.stringify(s);\n@@ -31,14 +32,14 @@\n /** The folder, with its Api pointed at the Issues Worker: the token goes only where tokenGoesTo allows, as for the avcs server. */\n function openIssues(env: Env): { config: Config; api: Api } {\n \tconst { config, api } = open(env);\n-\tconst server = env.env.AVCS_ISSUES_SERVER || issuesServerFor(config.server, readMachineServers(env.env));\n+\tconst server = fromEnv(env.env, \"ISSUES_SERVER\") || issuesServerFor(config.server, readMachineServers(env.env));\n \tif (server === undefined)\n \t\tthrow new UsageError(\n-\t\t\t`${config.server} has no Issues Worker beside it that abso knows; ~/.abso/servers.json or AVCS_ISSUES_SERVER names one`,\n+\t\t\t`${config.server} has no Issues Worker beside it that abso knows; ~/.abso/servers.json or ABSO_ISSUES_SERVER names one`,\n \t\t);\n \tif (config.token !== undefined && !tokenGoesTo(server, trustedServers(env.env))) {\n \t\tthrow new UsageError(\n-\t\t\t`the Issues Worker is ${server}, and abso sends your token only to its own servers and this machine. If ${server} is yours, name it in ~/.abso/servers.json or AVCS_TRUSTED_SERVERS.`,\n+\t\t\t`the Issues Worker is ${server}, and abso sends your token only to its own servers and this machine. If ${server} is yours, name it in ~/.abso/servers.json or ABSO_TRUSTED_SERVERS.`,\n \t\t);\n \t}\n \tapi.issuesServer = server;"},{"path":"client/src/join-commands.ts","added":9,"removed":8,"diff":"--- a/client/src/join-commands.ts\n+++ b/client/src/join-commands.ts\n@@ -6,11 +6,12 @@\n import { bool, type Parsed, str, UsageError } from \"./args.ts\";\n import { writeKnownBlobs } from \"./blobs.ts\";\n import { mintKey, readBox } from \"./box.ts\";\n-import { STARTING_AVCSIGNORE } from \"./check-ignore.ts\";\n+import { STARTING_ABSOIGNORE } from \"./check-ignore.ts\";\n import { CLIENT_DIR } from \"./client-version.ts\";\n import { type Env, type Output, plural } from \"./command-env.ts\";\n import { leftOutText, syncFolder, uploadBlobs } from \"./commands.ts\";\n import { findRoot, installKey, readConfig, type Settings, tokenFor, writeConfig } from \"./config.ts\";\n+import { fromEnv } from \"./env-names.ts\";\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@@ -19,8 +20,8 @@\n import { stateDir } from \"./state-dir.ts\";\n \n function serverFrom(args: Parsed, env: Env): string {\n-\tconst server = str(args, \"server\") ?? env.env.AVCS_SERVER;\n-\tif (!server) throw new UsageError(\"give the server with --server <url> (or AVCS_SERVER)\");\n+\tconst server = str(args, \"server\") ?? fromEnv(env.env, \"SERVER\");\n+\tif (!server) throw new UsageError(\"give the server with --server <url> (or ABSO_SERVER)\");\n \treturn server;\n }\n \n@@ -45,9 +46,9 @@\n \tif (!project) throw new UsageError(\"give the project a name with --project <name>\");\n \tconst config = makeSettings(args, env, project);\n \tconst asIs = bool(args, \"as-is\");\n-\tconst avcsignore = join(root, \".avcsignore\");\n-\tconst wroteIgnore = !asIs && !existsSync(avcsignore);\n-\tif (wroteIgnore) writeFileSync(avcsignore, STARTING_AVCSIGNORE);\n+\tconst absoignore = join(root, \".absoignore\");\n+\tconst wroteIgnore = !asIs && !existsSync(absoignore) && !existsSync(join(root, \".avcsignore\"));\n+\tif (wroteIgnore) writeFileSync(absoignore, STARTING_ABSOIGNORE);\n \t// What the server runs on each new version (#39), guessed from package.json; recorded with the rest.\n \tconst wroteProject = asIs ? \"exists\" : writeStartingProjectFile(root);\n \tconst { files, blobs, modes, leftOut } = readFolder(root, loadIgnore(root));\n@@ -72,7 +73,7 @@\n \t\t\t`Created project ${project} at version ${answer.version} from ${plural(files.size, \"text file\")} in ${root}.`,\n \t\t\t...leftOutText(leftOut),\n \t\t\t...(wroteIgnore\n-\t\t\t\t? [\"Wrote a starting .avcsignore (Claude Code state and operating system files); edit it like .gitignore.\"]\n+\t\t\t\t? [\"Wrote a starting .absoignore (Claude Code state and operating system files); edit it like .gitignore.\"]\n \t\t\t\t: []),\n \t\t\t...startingProjectFileText(wroteProject),\n \t\t\t...(answer.skipped && answer.skipped.length > 0 ? [`The server skipped: ${answer.skipped.join(\", \")}.`] : []),\n@@ -87,7 +88,7 @@\n \t\t\tfiles: files.size,\n \t\t\troot,\n \t\t\tagent: config.agent,\n-\t\t\twroteAvcsignore: wroteIgnore,\n+\t\t\twroteAbsoignore: wroteIgnore,\n \t\t\twroteProjectFile: typeof wroteProject === \"string\" ? null : wroteProject,\n \t\t\tleftOut,\n \t\t},"},{"path":"client/src/key-admin.ts","added":7,"removed":6,"diff":"--- a/client/src/key-admin.ts\n+++ b/client/src/key-admin.ts\n@@ -6,6 +6,7 @@\n import { join } from \"node:path\";\n import { UsageError } from \"./args.ts\";\n import type { Config } from \"./config.ts\";\n+import { fromEnv } from \"./env-names.ts\";\n import { homeFile } from \"./state-dir.ts\";\n \n function originOf(server: string): string {\n@@ -16,7 +17,7 @@\n \t}\n }\n \n-/** The admin token goes only to a server named in AVCS_ADMIN_SERVERS (comma-separated): none is built in. */\n+/** The admin token goes only to a server named in ABSO_ADMIN_SERVERS (comma-separated): none is built in. */\n export function adminGoesTo(server: string, extra = \"\"): boolean {\n \tconst allowed = [\n \t\t...extra\n@@ -29,13 +30,13 @@\n }\n \n export function adminToken(env: Readonly<Record<string, string | undefined>> = process.env): string {\n-\tconst fromEnv = env.AVCS_ADMIN_TOKEN?.trim();\n-\tif (fromEnv) return fromEnv;\n+\tconst fromVar = fromEnv(env, \"ADMIN_TOKEN\")?.trim();\n+\tif (fromVar) return fromVar;\n \ttry {\n \t\tconst fromFile = readFileSync(homeFile(homedir(), \"admin-token\"), \"utf8\").trim();\n \t\tif (fromFile) return fromFile;\n \t} catch {}\n-\tthrow new UsageError(\"abso key needs the admin token in AVCS_ADMIN_TOKEN or ~/.abso/admin-token\");\n+\tthrow new UsageError(\"abso key needs the admin token in ABSO_ADMIN_TOKEN or ~/.abso/admin-token\");\n }\n \n function scrub(text: string, secrets: readonly string[]): string {\n@@ -45,9 +46,9 @@\n }\n \n async function call(config: Config, admin: string, method: \"GET\" | \"POST\", path: string): Promise<unknown> {\n-\tif (!adminGoesTo(config.server, process.env.AVCS_ADMIN_SERVERS))\n+\tif (!adminGoesTo(config.server, fromEnv(process.env, \"ADMIN_SERVERS\")))\n \t\tthrow new UsageError(\n-\t\t\t`abso key will not send the admin token to ${config.server}; AVCS_ADMIN_SERVERS names the servers it may go to`,\n+\t\t\t`abso key will not send the admin token to ${config.server}; ABSO_ADMIN_SERVERS names the servers it may go to`,\n \t\t);\n \tconst secrets = [admin, config.token ?? \"\"].filter((s) => s.length > 0);\n \tlet response: Response;"},{"path":"client/src/lock.ts","added":3,"removed":2,"diff":"--- a/client/src/lock.ts\n+++ b/client/src/lock.ts\n@@ -17,6 +17,7 @@\n import { basename, join } from \"node:path\";\n import { UsageError } from \"./args.ts\";\n import { LOCK_FILE, LOCK_STALE_MS, type LockInfo } from \"./core.ts\";\n+import { fromEnv } from \"./env-names.ts\";\n import { writeFileAtomic } from \"./folder.ts\";\n import { stateDir } from \"./state-dir.ts\";\n \n@@ -142,8 +143,8 @@\n \tconst mine = held.get(root);\n \tif (mine) mine.depth++;\n \telse {\n-\t\t// AVCS_LOCK_WAIT_MS shortens the wait in tests.\n-\t\tconst until = Date.now() + (Number(process.env.AVCS_LOCK_WAIT_MS) || WAIT_MS);\n+\t\t// ABSO_LOCK_WAIT_MS shortens the wait in tests.\n+\t\tconst until = Date.now() + (Number(fromEnv(process.env, \"LOCK_WAIT_MS\")) || WAIT_MS);\n \t\tfor (;;) {\n \t\t\tconst got = take(root, what);\n \t\t\tif (got === \"no folder\") return fn(); // no .avcs/ yet (init): nothing to protect"},{"path":"client/src/main.ts","added":4,"removed":4,"diff":"--- a/client/src/main.ts\n+++ b/client/src/main.ts\n@@ -89,7 +89,7 @@\n \t\tflags: { server: \"string\", project: \"string\", agent: \"string\", \"as-is\": \"boolean\" },\n \t\tusage: \"abso init [folder] --server <url> --project <name> --agent <name> [--as-is]\",\n \t\tabout:\n-\t\t\t\"Create a project on the server from a folder's text files. The folder becomes that agent's folder. It writes a starting .avcsignore, and, when the folder has no avcs.json and package.json gives a check or a build to guess, an avcs.json (setup, check, build and out): what the server's CI runs on each new version of shared. Without one, CI runs what it can guess itself, or nothing. --as-is writes neither: the folder goes up exactly as it is (an import).\",\n+\t\t\t\"Create a project on the server from a folder's text files. The folder becomes that agent's folder. It writes a starting .absoignore, and, when the folder has no avcs.json and package.json gives a check or a build to guess, an avcs.json (setup, check, build and out): what the server's CI runs on each new version of shared. Without one, CI runs what it can guess itself, or nothing. --as-is writes neither: the folder goes up exactly as it is (an import).\",\n \t\trun: runInit,\n \t},\n \tkey: {\n@@ -562,7 +562,7 @@\n \t\tflags: { version: \"string\", keep: \"string\" },\n \t\tusage: \"abso export <dir> [--version <N>] [--keep <glob>]\",\n \t\tabout:\n-\t\t\t\"Write one published version of this folder's space (the newest unless --version) into a folder of its own, for a build that doesn't move. The folder must be empty, an earlier export (which it replaces, keeping node_modules and what --keep names), or one .avcsignore leaves out; .avcs-export.json there names the version.\",\n+\t\t\t\"Write one published version of this folder's space (the newest unless --version) into a folder of its own, for a build that doesn't move. The folder must be empty, an earlier export (which it replaces, keeping node_modules and what --keep names), or one .absoignore leaves out; .avcs-export.json there names the version.\",\n \t\trun: runExport,\n \t},\n \tfiles: {\n@@ -686,7 +686,7 @@\n \t\tflags: {},\n \t\tusage: \"abso check-ignore <path...>\",\n \t\tabout:\n-\t\t\t\"Whether abso leaves each path out, and which line of which ignore file decided (git's rules, for .gitignore and .avcsignore).\",\n+\t\t\t\"Whether abso leaves each path out, and which line of which ignore file decided (git's rules, for .gitignore and .absoignore).\",\n \t\trun: runCheckIgnore,\n \t},\n \tpipeline: {\n@@ -725,7 +725,7 @@\n \t\t\"  abso --version\",\n \t\t\"      This client's version and commit, and the abso mods installed on this machine.\",\n \t\t\"\",\n-\t\t\"Every command takes --json. Settings live in .abso/config.json (.avcs/config.json in a folder from before the rename). The token comes from AVCS_TOKEN, or else ~/.abso/token (or ~/.avcs/token from before).\",\n+\t\t\"Every command takes --json. Settings live in .abso/config.json (.avcs/config.json in a folder from before the rename). The token comes from ABSO_TOKEN, or else ~/.abso/token (or ~/.avcs/token from before).\",\n \t].join(\"\\n\");\n }\n "},{"path":"client/src/mcp.ts","added":1,"removed":1,"diff":"--- a/client/src/mcp.ts\n+++ b/client/src/mcp.ts\n@@ -2,7 +2,7 @@\n // command, run by the same code as the command line and answering with the\n // same text, so the CLI and the tools can't drift apart and an agent learns\n // one set of words. The folder and the token come from where the server runs,\n-// as for the CLI: .avcs/config.json, and AVCS_TOKEN or ~/.avcs/token.\n+// as for the CLI: .avcs/config.json, and ABSO_TOKEN or ~/.abso/token.\n //\n //   claude mcp add avcs -- node <repo>/client/avcs.ts mcp\n //"},{"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@@ -21,6 +21,7 @@\n \twithLeftOut,\n } from \"./commands.ts\";\n import { type Config, isReader } from \"./config.ts\";\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@@ -352,7 +353,7 @@\n \t\t\tanswer.queued,\n \t\t\twaitSeconds * 1000,\n \t\t\tsay,\n-\t\t\tNumber(env.env.AVCS_QUEUE_POLL_MS) || 3000,\n+\t\t\tNumber(fromEnv(env.env, \"QUEUE_POLL_MS\")) || 3000,\n \t\t);\n \t\tif (out.kind !== \"waiting\") heard(root, out.news);\n \t\tif (out.kind === \"landed\")"},{"path":"client/src/review.ts","added":3,"removed":2,"diff":"--- a/client/src/review.ts\n+++ b/client/src/review.ts\n@@ -8,6 +8,7 @@\n import type { ChangeAnswer, NoteAnswer } from \"./api.ts\";\n import { bool, type Parsed, str, UsageError } from \"./args.ts\";\n import { type Env, type Output, open, plural, recordFolder } from \"./commands.ts\";\n+import { fromEnv } from \"./env-names.ts\";\n import { writeFileAtomic } from \"./folder.ts\";\n import { fileArg, when } from \"./history.ts\";\n import { stateDir } from \"./state-dir.ts\";\n@@ -170,8 +171,8 @@\n \t// A first look shows the newest 20. Otherwise every change since the mark (or the span) is listed, page by\n \t// page, before the mark moves past them (AVCS - Git Lessons' review): one page would drop the older ones.\n \tconst firstLook = mark === undefined && raw === undefined;\n-\t// AVCS_REVIEW_PAGE shortens the page in tests.\n-\tconst pageSize = Number(process.env.AVCS_REVIEW_PAGE) || 200;\n+\t// ABSO_REVIEW_PAGE shortens the page in tests.\n+\tconst pageSize = Number(fromEnv(process.env, \"REVIEW_PAGE\")) || 200;\n \tconst answer = await api.changes(since, firstLook ? 20 : pageSize);\n \tconst all = [...answer.changes];\n \tfor ("},{"path":"client/src/serve-commands.ts","added":19,"removed":19,"diff":"--- a/client/src/serve-commands.ts\n+++ b/client/src/serve-commands.ts\n@@ -36,15 +36,15 @@\n }\n \n /**\n- * The script abso shot runs in the box (from /w/.avcs-shot, so 'playwright' is\n- * the project's own). It reads its setup from AVCS_SHOT and prints marked\n- * lines the client picks out: AVCS_SHOT_IMAGE {json}, blocks between\n- * AVCS_SHOT_BEGIN <name> and AVCS_SHOT_END, and \"eval: \", \"page error: \",\n+ * The script abso shot runs in the box (from /w/.abso-shot, so 'playwright' is\n+ * the project's own). It reads its setup from ABSO_SHOT and prints marked\n+ * lines the client picks out: ABSO_SHOT_IMAGE {json}, blocks between\n+ * ABSO_SHOT_BEGIN <name> and ABSO_SHOT_END, and \"eval: \", \"page error: \",\n  * \"console \" lines. No backticks or dollar-braces in here: it's a raw string.\n  */\n const SHOOTER = String.raw`import { chromium } from 'playwright';\n import { writeFileSync } from 'node:fs';\n-const c = JSON.parse(process.env.AVCS_SHOT);\n+const c = JSON.parse(process.env.ABSO_SHOT);\n const b = await chromium.launch();\n const p = await b.newPage({ viewport: { width: c.w, height: c.h } });\n const logged = [];\n@@ -97,9 +97,9 @@\n   return out;\n };\n const block = (name, text, max) => {\n-  console.log('AVCS_SHOT_BEGIN ' + name);\n+  console.log('ABSO_SHOT_BEGIN ' + name);\n   console.log(text.length > max ? text.slice(0, max) + '\\n... (' + (text.length - max) + ' more characters; --max-chars raises the cap)' : text);\n-  console.log('AVCS_SHOT_END');\n+  console.log('ABSO_SHOT_END');\n };\n const at = async (spec) => {\n   if (spec.ref === undefined) return [spec.x, spec.y];\n@@ -148,7 +148,7 @@\n     h = sh;\n   }\n   writeFileSync(c.out, png);\n-  console.log('AVCS_SHOT_IMAGE ' + JSON.stringify({ w, h, bytes: png.length }));\n+  console.log('ABSO_SHOT_IMAGE ' + JSON.stringify({ w, h, bytes: png.length }));\n }\n for (const l of logged) console.log('console ' + l);\n if (dropped > 0) console.log('console (' + dropped + ' more messages not shown)');\n@@ -260,7 +260,7 @@\n \t\teval: evalJs ?? null,\n \t\tclicks,\n \t\tmouse,\n-\t\tout: `.avcs-shot/${name}`,\n+\t\tout: `.abso-shot/${name}`,\n \t\timage,\n \t\tscale,\n \t\tregion,\n@@ -281,9 +281,9 @@\n \t\t\"(npx --no-install vite --host 127.0.0.1 --port 4173 --strictPort >/tmp/shot-vite.log 2>&1 &)\",\n \t\t\"for i in $(seq 120); do curl -sf -o /dev/null http://127.0.0.1:4173/ && break; sleep 0.5; done\",\n \t\t'curl -sf -o /dev/null http://127.0.0.1:4173/ || { echo \"the vite dev server did not start:\"; tail -20 /tmp/shot-vite.log; exit 1; }',\n-\t\t\"mkdir -p .avcs-shot\",\n-\t\t`cat > .avcs-shot/shoot.mjs <<'AVCS_SHOT_EOF'\\n${SHOOTER}\\nAVCS_SHOT_EOF`,\n-\t\t`AVCS_SHOT=${shellWord(JSON.stringify(setup))} node .avcs-shot/shoot.mjs`,\n+\t\t\"mkdir -p .abso-shot\",\n+\t\t`cat > .abso-shot/shoot.mjs <<'ABSO_SHOT_EOF'\\n${SHOOTER}\\nABSO_SHOT_EOF`,\n+\t\t`ABSO_SHOT=${shellWord(JSON.stringify(setup))} node .abso-shot/shoot.mjs`,\n \t].join(\"\\n\");\n \tconst said: string[] = [];\n \tconst keep = (t: string) => void said.push(t);\n@@ -308,10 +308,10 @@\n \t}\n \tconst blocks: { name: string; text: string }[] = [];\n \tfor (let i = 0; i < lines.length; i++) {\n-\t\tif (!lines[i]!.startsWith(\"AVCS_SHOT_BEGIN \")) continue;\n-\t\tconst end = lines.indexOf(\"AVCS_SHOT_END\", i + 1);\n+\t\tif (!lines[i]!.startsWith(\"ABSO_SHOT_BEGIN \")) continue;\n+\t\tconst end = lines.indexOf(\"ABSO_SHOT_END\", i + 1);\n \t\tblocks.push({\n-\t\t\tname: lines[i]!.slice(\"AVCS_SHOT_BEGIN \".length),\n+\t\t\tname: lines[i]!.slice(\"ABSO_SHOT_BEGIN \".length),\n \t\t\ttext: lines.slice(i + 1, end < 0 ? undefined : end).join(\"\\n\"),\n \t\t});\n \t\tif (end > i) i = end;\n@@ -327,15 +327,15 @@\n \tconst out: string[] = [];\n \tlet shot: { path: string; w: number; h: number; bytes: number; tokens: number } | null = null;\n \tif (image) {\n-\t\tconst info = lines.find((l) => l.startsWith(\"AVCS_SHOT_IMAGE \"));\n+\t\tconst info = lines.find((l) => l.startsWith(\"ABSO_SHOT_IMAGE \"));\n \t\tconst { root, api } = open(env);\n \t\tvoid root;\n \t\tapi.box = boxOf(args, env);\n-\t\tconst gz = await api.boxFiles(`.avcs-shot/${name}`);\n-\t\tconst png = gz === null ? undefined : untarGz(gz).find((e) => e.path === `.avcs-shot/${name}`);\n+\t\tconst gz = await api.boxFiles(`.abso-shot/${name}`);\n+\t\tconst png = gz === null ? undefined : untarGz(gz).find((e) => e.path === `.abso-shot/${name}`);\n \t\tif (!png || !info)\n \t\t\treturn { exit: EXIT.error, text: \"The screenshot ran but its file was not in the box.\", json: { notes } };\n-\t\tconst { w, h } = JSON.parse(info.slice(\"AVCS_SHOT_IMAGE \".length)) as { w: number; h: number };\n+\t\tconst { w, h } = JSON.parse(info.slice(\"ABSO_SHOT_IMAGE \".length)) as { w: number; h: number };\n \t\tconst path = resolve(env.cwd, str(args, \"out\") ?? join(\".avcs\", \"shots\", name));\n \t\tmkdirSync(join(path, \"..\"), { recursive: true });\n \t\twriteFileSync(path, png.data);"},{"path":"client/test/client.test.ts","added":15,"removed":15,"diff":"--- a/client/test/client.test.ts\n+++ b/client/test/client.test.ts\n@@ -206,7 +206,7 @@\n \t\t);\n \t\twriteFileSync(join(folders.alice!, \"pic.bin\"), new Uint8Array([1, 0, 2]));\n \t\tassert.deepEqual(Object.keys(shared(name)).sort(), [\n-\t\t\t\".avcsignore\",\n+\t\t\t\".absoignore\",\n \t\t\t\".gitignore\",\n \t\t\t\"empty.ts\",\n \t\t\t\"keep.log\",\n@@ -215,7 +215,7 @@\n \t\t\t\"src/a.ts\",\n \t\t]);\n \t\tassert.equal(shared(name)[\"empty.ts\"], \"\", \"an empty file is a file\");\n-\t\tassert.match(shared(name)[\".avcsignore\"]!, /^\\.claude\\/$/m, \"init writes a starting .avcsignore\");\n+\t\tassert.match(shared(name)[\".absoignore\"]!, /^\\.claude\\/$/m, \"init writes a starting .absoignore\");\n \t\tassert.equal((await avcs(folders.alice!, \"record\")).json.sent, 1, \"a binary file added later goes up as a blob\");\n \t\tassert.ok(\n \t\t\tcalls(name, \"alice\").some(\n@@ -1566,7 +1566,7 @@\n \t\tassert.equal(r.exit, 1);\n \t\tassert.match(\n \t\t\tr.stderr,\n-\t\t\t/this folder's server is https:\\/\\/evil\\.example, and abso sends your token only to .*If https:\\/\\/evil\\.example is yours, name it in ~\\/\\.abso\\/servers\\.json or AVCS_TRUSTED_SERVERS/,\n+\t\t\t/this folder's server is https:\\/\\/evil\\.example, and abso sends your token only to .*If https:\\/\\/evil\\.example is yours, name it in ~\\/\\.abso\\/servers\\.json or ABSO_TRUSTED_SERVERS/,\n \t\t);\n \t\tconst join2 = await main([\"join\", \"x\", \"--agent\", \"bob\", \"--server\", \"https://evil.example\"], {\n \t\t\tcwd: temp(),\n@@ -1832,7 +1832,7 @@\n \tit(\"brings back what abso ignores, and names what it would not write\", async () => {\n \t\tconst { folders } = await project({ \"make.js\": `${MAKE}\\n`, \"notes.txt\": \"mine\\n\" }, \"alice\");\n \t\tconst alice = folders.alice!;\n-\t\twriteFileSync(join(alice, \".avcsignore\"), `${read(alice, \".avcsignore\")}out/\\n`);\n+\t\twriteFileSync(join(alice, \".absoignore\"), `${read(alice, \".absoignore\")}out/\\n`);\n \t\tlet err = \"\";\n \t\tconst r = await main([\"run\", \"--fetch\", \"out/*,notes.txt\", \"node\", \"make.js\"], {\n \t\t\tcwd: alice,\n@@ -1844,7 +1844,7 @@\n \t\tassert.match(err, /Fetched 2 files from the box: out\\/run\\.log, out\\/shot\\.png\\.\\n/);\n \t\tassert.match(\n \t\t\terr,\n-\t\t\t/Not fetched \\(1\\):\\n {2}notes\\.txt: abso records it, so writing it would make an edit; add it to \\.avcsignore to fetch it\\n/,\n+\t\t\t/Not fetched \\(1\\):\\n {2}notes\\.txt: abso records it, so writing it would make an edit; add it to \\.absoignore to fetch it\\n/,\n \t\t);\n \t\tassert.deepEqual([...readFileSync(join(alice, \"out\", \"shot.png\"))], [137, 80, 78, 71, 0, 1, 2]);\n \t\tassert.equal(read(alice, \"notes.txt\"), \"mine\\n\", \"a recorded file is left alone\");\n@@ -1867,7 +1867,7 @@\n \tit(\"screens the box's paths as a sync's: nothing outside the folder, in .git, or a link\", async () => {\n \t\tconst { folders } = await project({ \"make.js\": `${MAKE}\\n` }, \"alice\");\n \t\tconst alice = folders.alice!;\n-\t\twriteFileSync(join(alice, \".avcsignore\"), `${read(alice, \".avcsignore\")}out/\\n`);\n+\t\twriteFileSync(join(alice, \".absoignore\"), `${read(alice, \".absoignore\")}out/\\n`);\n \t\tawait main([\"run\", \"node\", \"make.js\"], { cwd: alice, env: ENV, write: () => {}, writeErr: () => {} });\n \t\tfake.boxExtra = [\n \t\t\t{ path: \"../evil.txt\", data: new TextEncoder().encode(\"x\") },\n@@ -1925,15 +1925,15 @@\n \t\tconst one = await avcs(tester, \"export\", out, \"--version\", \"1\");\n \t\tassert.equal(one.exit, 0, one.out);\n \t\tassert.equal(one.json.version, 1);\n-\t\tassert.deepEqual(listAll(out), [\".avcs-export.json\", \".avcsignore\", \"index.html\", \"src/game.ts\", \"src/new.ts\"]);\n+\t\tassert.deepEqual(listAll(out), [\".abso-export.json\", \".absoignore\", \"index.html\", \"src/game.ts\", \"src/new.ts\"]);\n \t\tassert.equal(read(out, \"src/game.ts\"), \"game v1\\n\");\n \t\tassert.equal(read(out, \"index.html\"), \"<p>v0</p>\\n\", \"published files, not the unpublished edit\");\n-\t\tassert.equal(JSON.parse(read(out, \".avcs-export.json\")).version, 1);\n+\t\tassert.equal(JSON.parse(read(out, \".abso-export.json\")).version, 1);\n \t\t// The newest by default; an earlier export's folder is replaced whole.\n \t\tconst newest = await main([\"export\", out], { cwd: tester, env: ENV, write: () => {} });\n \t\tassert.match(\n \t\t\tnewest.stdout,\n-\t\t\t/^Exported version 2 of shared to .*build: 4 files\\. \\.avcs-export\\.json there names the version/,\n+\t\t\t/^Exported version 2 of shared to .*build: 4 files\\. \\.abso-export\\.json there names the version/,\n \t\t);\n \t\tassert.equal(read(out, \"src/game.ts\"), \"game v2\\n\");\n \t\t// Exporting again keeps the build's node_modules (abso never exports it) and what --keep names, and nothing else.\n@@ -1968,7 +1968,7 @@\n \t\tassert.equal(inside.exit, 1);\n \t\tassert.match(inside.out, /abso would record the export/);\n \t\tassert.match((await avcs(folders.alice!, \"export\", \".\")).out, /holds this abso folder/);\n-\t\twrite(folders.alice!, { \".avcsignore\": `${read(folders.alice!, \".avcsignore\")}build/\\n` });\n+\t\twrite(folders.alice!, { \".absoignore\": `${read(folders.alice!, \".absoignore\")}build/\\n` });\n \t\tassert.equal((await avcs(folders.alice!, \"export\", \"build\")).exit, 0);\n \t\tassert.equal(read(folders.alice!, \"build/src/game.ts\"), \"game v0\\n\");\n \t});\n@@ -2021,7 +2021,7 @@\n \t\t\tlisted.stdout,\n \t\t\t[\n \t\t\t\t\"Your view holds 5 files: shared at version 0, with your unpublished changes. 2 of them are missing from this folder (abso sync --full writes them).\",\n-\t\t\t\t\".avcsignore\",\n+\t\t\t\t\".absoignore\",\n \t\t\t\t\"src/main.ts\",\n \t\t\t\t\"src/state.ts  (missing from this folder)\",\n \t\t\t\t\"tools/play.mjs\",\n@@ -2054,7 +2054,7 @@\n \t\tconst { folders } = await project(FILES, \"alice\", \"bob\");\n \t\twrite(folders.alice!, { \"src/new.ts\": \"new\\n\" });\n \t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"new\")).exit, 0);\n-\t\tassert.equal((await avcs(folders.bob!, \"files\", \"--version\", \"0\")).json.files.length, 5, \"4 files and .avcsignore\");\n+\t\tassert.equal((await avcs(folders.bob!, \"files\", \"--version\", \"0\")).json.files.length, 5, \"4 files and .absoignore\");\n \t\tconst now = await main([\"files\", \"--draft\", \"shared\"], { cwd: folders.bob!, env: ENV, write: () => {} });\n \t\tassert.match(now.stdout, /^shared at version 1 holds 6 files\\.\\n/);\n \t\tassert.match(now.stdout, /\\nsrc\\/new\\.ts\\n/);\n@@ -2860,7 +2860,7 @@\n \t\t});\n \t\tassert.equal(imported.exit, 0, imported.stdout + imported.stderr);\n \t\tassert.equal(existsSync(join(asIs, \"avcs.json\")), false);\n-\t\tassert.equal(existsSync(join(asIs, \".avcsignore\")), false);\n+\t\tassert.equal(existsSync(join(asIs, \".absoignore\")), false);\n \t\tassert.doesNotMatch(imported.stdout, /Wrote|No avcs\\.json written/);\n \t});\n \n@@ -4239,7 +4239,7 @@\n \t\tconst { name, folders } = await project({ \"a.ts\": \"one\\n\", \"b.ts\": \"b\\n\" }, \"alice\", \"bob\");\n \t\trenameSync(join(folders.alice!, \"a.ts\"), join(folders.alice!, \"A.ts\"));\n \t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"rename a.ts to A.ts\")).exit, 0);\n-\t\tassert.deepEqual(Object.keys(shared(name)).sort(), [\".avcsignore\", \"A.ts\", \"b.ts\"]);\n+\t\tassert.deepEqual(Object.keys(shared(name)).sort(), [\".absoignore\", \"A.ts\", \"b.ts\"]);\n \t\tassert.equal(\n \t\t\t(await avcs(folders.alice!, \"status\")).json.unrecorded?.length ?? 0,\n \t\t\t0,\n@@ -4277,7 +4277,7 @@\n \t\t\t\"nothing left to record: the moves are in the draft\",\n \t\t);\n \t\tassert.equal((await avcs(folders.alice!, \"publish\", \"-m\", \"renames\")).exit, 0);\n-\t\tassert.deepEqual(Object.keys(shared(name)).sort(), [\".avcsignore\", \"README.md\", \"lib/a.ts\"]);\n+\t\tassert.deepEqual(Object.keys(shared(name)).sort(), [\".absoignore\", \"README.md\", \"lib/a.ts\"]);\n \t\t// The lines kept their history: blame still names the init version.\n \t\tassert.match((await run(folders.alice!, \"blame\", \"README.md\")).stdout, /\\binit\\b/);\n \t\tassert.equal((await avcs(folders.bob!, \"sync\")).exit, 0);"},{"path":"client/test/env-names.test.ts","added":25,"removed":0,"diff":"--- /dev/null\n+++ b/client/test/env-names.test.ts\n@@ -0,0 +1,25 @@\n+import assert from \"node:assert/strict\";\n+import { test } from \"node:test\";\n+import { readToken, trustedServers } from \"../src/config.ts\";\n+import { fromEnv, withOldNames } from \"../src/env-names.ts\";\n+\n+test(\"ABSO_ names win over AVCS_ ones, and the old ones still work\", () => {\n+\tassert.equal(fromEnv({ ABSO_X: \"new\", AVCS_X: \"old\" }, \"X\"), \"new\");\n+\tassert.equal(fromEnv({ AVCS_X: \"old\" }, \"X\"), \"old\");\n+\tassert.equal(fromEnv({ ABSO_X: \"\", AVCS_X: \"old\" }, \"X\"), \"old\");\n+\tassert.equal(fromEnv({}, \"X\"), undefined);\n+\tassert.equal(readToken({ ABSO_TOKEN: \" new \", AVCS_TOKEN: \"old\" }), \"new\");\n+\tassert.equal(readToken({ AVCS_TOKEN: \"old\" }), \"old\");\n+\tassert.match(\n+\t\ttrustedServers({ ABSO_TRUSTED_SERVERS: \"https://a.example\", ABSO_SERVERS_FILE: \"no-servers.json\" }),\n+\t\t/a\\.example/,\n+\t);\n+});\n+\n+test(\"a program abso runs gets both the new and the old names\", () => {\n+\tconst out = withOldNames({ ABSO_AGENT: \"a\", ABSO_SPACE: \"shared\", OTHER: \"x\" });\n+\tassert.equal(out.AVCS_AGENT, \"a\");\n+\tassert.equal(out.AVCS_SPACE, \"shared\");\n+\tassert.equal(out.ABSO_AGENT, \"a\");\n+\tassert.equal(out.AVCS_OTHER, undefined);\n+});"},{"path":"client/test/ignore.test.ts","added":18,"removed":0,"diff":"--- a/client/test/ignore.test.ts\n+++ b/client/test/ignore.test.ts\n@@ -305,6 +305,24 @@\n \t\tassert.equal(ignore.why(\"src/b.md\", false).rule?.source, \"src/.avcsignore\");\n \t});\n \n+\tit(\"read .absoignore, which beats .avcsignore and .gitignore in the same folder\", () => {\n+\t\tconst root = temp();\n+\t\twrite(root, {\n+\t\t\t\".gitignore\": \"*.txt\\n\",\n+\t\t\t\".avcsignore\": \"*.md\\n\",\n+\t\t\t\".absoignore\": \"!a.txt\\n!a.md\\n*.log\\n\",\n+\t\t\t\"a.txt\": \"x\",\n+\t\t\t\"a.md\": \"x\",\n+\t\t\t\"b.md\": \"x\",\n+\t\t\t\"c.log\": \"x\",\n+\t\t});\n+\t\tconst ignore = loadIgnore(root, { home: temp() });\n+\t\tassert.equal(ignore(\"a.txt\", false), false);\n+\t\tassert.equal(ignore(\"a.md\", false), false);\n+\t\tassert.equal(ignore(\"c.log\", false), true);\n+\t\tassert.equal(ignore.why(\"c.log\", false).rule?.source, \".absoignore\");\n+\t});\n+\n \tit(\"always skip .git, .abso, .claude and node_modules\", () => {\n \t\tconst ignore = loadIgnore(temp(), {});\n \t\tassert.equal(ignore.why(\".claude/scheduled_tasks.lock\", false).alwaysSkipped, \".claude\");"},{"path":"client/test/issues.test.ts","added":1,"removed":1,"diff":"--- a/client/test/issues.test.ts\n+++ b/client/test/issues.test.ts\n@@ -114,7 +114,7 @@\n \t\tassert.notEqual(none.exit, 0);\n \t\tassert.match(\n \t\t\tnone.out,\n-\t\t\t/has no Issues Worker beside it that abso knows; ~\\/\\.abso\\/servers\\.json or AVCS_ISSUES_SERVER names one/,\n+\t\t\t/has no Issues Worker beside it that abso knows; ~\\/\\.abso\\/servers\\.json or ABSO_ISSUES_SERVER names one/,\n \t\t);\n \t});\n "},{"path":"client/test/key-admin.test.ts","added":2,"removed":1,"diff":"--- a/client/test/key-admin.test.ts\n+++ b/client/test/key-admin.test.ts\n@@ -60,7 +60,8 @@\n \n test(\"the admin token comes from the environment, not from a file argument\", () => {\n \tassert.equal(adminToken({ AVCS_ADMIN_TOKEN: ADMIN }), ADMIN);\n-\tassert.throws(() => adminToken({}), /AVCS_ADMIN_TOKEN/);\n+\tassert.equal(adminToken({ ABSO_ADMIN_TOKEN: ADMIN }), ADMIN);\n+\tassert.throws(() => adminToken({}), /ABSO_ADMIN_TOKEN/);\n });\n \n test(\"key new sends the admin token as a header and returns the key once\", async () => {"}],"ci":null}