{"version":54,"agent":"pinch","message":"The client and the edit mods send and read X-Abso-* headers only (Client, Name, Run-Key, Kind, Admin; Run, Box, Prep from answers). Servers have read X-Abso-* beside the old names for a while and answer under both, so this works with any current server.","time":1791586669845,"timeIso":"2026-10-09T22:57:49.845Z","changes":18,"change":654,"files":["client/README.md","client/hooks/register.test.ts","client/hooks/register.ts","client/hooks/stamp.ts","client/src/api.ts","client/src/box-commands.ts","client/src/box-run.ts","client/src/client-version.ts","client/src/install.ts","client/src/key-admin.ts","client/test/attach.test.ts","client/test/fake-server.ts","client/test/install.test.ts","client/test/key-admin.test.ts","client/view/hooks/register.tsx","client/view/hooks/stamp.ts","worker/project/project-types.ts","worker/project/project.ts"],"draft":null,"diff":[{"path":"client/README.md","added":2,"removed":2,"diff":"--- a/client/README.md\n+++ b/client/README.md\n@@ -263,7 +263,7 @@\n - stamp the mod with the last commit that changed its files: plugin.json's\n   version becomes `0.1.0+702c616` (`.dirty` when the files differ from that\n   commit), and the mod sends it with each call to the server as\n-  `X-Avcs-Client`. A commit that changes none of them leaves nothing to\n+  `X-Abso-Client`. A commit that changes none of them leaves nothing to\n   install, and nothing to restart for;\n - check a staged copy first, with `claude plugin validate` and the mod's own\n   tests in the plugin test kit, and change nothing if either fails\n@@ -276,7 +276,7 @@\n folder in place of the skills folder. `abso --version` prints this client's\n version and the mods installed on this machine, and says when this client\n has a newer mod to install. The command-line client sends its own version\n-with each call too (`X-Avcs-Client: avcs-cli/0.1.0+<commit checked out>`).\n+with each call too (`X-Abso-Client: avcs-cli/0.1.0+<commit checked out>`).\n \n ## The view (avcs-view)\n "},{"path":"client/hooks/register.test.ts","added":1,"removed":1,"diff":"--- a/client/hooks/register.test.ts\n+++ b/client/hooks/register.test.ts\n@@ -32,7 +32,7 @@\n \ton(\"http.fetch\", (_$, e) => {\n \t\tasked.push(e.url);\n \t\tauth.push((e.init?.headers as Record<string, string> | undefined)?.authorization ?? \"none\");\n-\t\tclients.push(String((e.init?.headers as Record<string, string> | undefined)?.[\"x-avcs-client\"]));\n+\t\tclients.push(String((e.init?.headers as Record<string, string> | undefined)?.[\"x-abso-client\"]));\n \t\treturn { value: { status: 200, ok: true, headers: {}, text: JSON.stringify({ news: news.shift() ?? [] }) } };\n \t});\n \ton(\"session.append\", (_$, e) => {"},{"path":"client/hooks/register.ts","added":2,"removed":2,"diff":"--- a/client/hooks/register.ts\n+++ b/client/hooks/register.ts\n@@ -229,7 +229,7 @@\n \t\t\t\tmethod: \"POST\",\n \t\t\t\theaders: {\n \t\t\t\t\t\"content-type\": \"application/json\",\n-\t\t\t\t\t\"x-avcs-client\": CLIENT,\n+\t\t\t\t\t\"x-abso-client\": CLIENT,\n \t\t\t\t\t...(bearer ? { authorization: `Bearer ${bearer}` } : {}),\n \t\t\t\t},\n \t\t\t\tbody: \"{}\",\n@@ -364,7 +364,7 @@\n \t\t\tmethod: \"POST\",\n \t\t\theaders: {\n \t\t\t\t\"content-type\": \"application/json\",\n-\t\t\t\t\"x-avcs-client\": CLIENT,\n+\t\t\t\t\"x-abso-client\": CLIENT,\n \t\t\t\t...(bearer ? { authorization: `Bearer ${bearer}` } : {}),\n \t\t\t},\n \t\t\tbody: JSON.stringify(payload),"},{"path":"client/hooks/stamp.ts","added":1,"removed":1,"diff":"--- a/client/hooks/stamp.ts\n+++ b/client/hooks/stamp.ts\n@@ -1,5 +1,5 @@\n // Which abso mod this is (#29), sent with each call to the server as\n-// X-Avcs-Client. The installer (src/install.ts) writes the installed copy of\n+// X-Abso-Client. The installer (src/install.ts) writes the installed copy of\n // this file with the version it installs: plugin.json's, plus the commit\n // (0.1.0+702c616). Loaded straight from a checkout, it stays undefined.\n export const STAMP: string | undefined = undefined;"},{"path":"client/src/api.ts","added":7,"removed":7,"diff":"--- a/client/src/api.ts\n+++ b/client/src/api.ts\n@@ -156,7 +156,7 @@\n \t\tthis.startRetryDelaysMs = startRetryDelaysMs;\n \t}\n \n-\t/** What a box run is for, for the server's box-run records (#39): X-Avcs-Kind on POST /run. */\n+\t/** What a box run is for, for the server's box-run records (#39): X-Abso-Kind on POST /run. */\n \trunKind: RunKind = \"run\";\n \n \t/** The Issues Worker (#54) this folder's issues calls go to; set by the issues commands (issues.ts). */\n@@ -173,7 +173,7 @@\n \theaders(contentType?: string): Record<string, string> {\n \t\treturn {\n \t\t\t// Which client made the call (#29); the mods send theirs too.\n-\t\t\t\"x-avcs-client\": `abso-cli/${clientVersion()}`,\n+\t\t\t\"x-abso-client\": `abso-cli/${clientVersion()}`,\n \t\t\t...(this.config.token ? { authorization: `Bearer ${this.config.token}` } : {}),\n \t\t\t...(contentType ? { \"content-type\": contentType } : {}),\n \t\t};\n@@ -479,7 +479,7 @@\n \t\ttry {\n \t\t\tres = await fetch(this.url(path, this.issuesServer), {\n \t\t\t\tmethod: \"POST\",\n-\t\t\t\theaders: { ...this.headers(\"application/octet-stream\"), \"x-avcs-name\": encodeURIComponent(name) },\n+\t\t\t\theaders: { ...this.headers(\"application/octet-stream\"), \"x-abso-name\": encodeURIComponent(name) },\n \t\t\t\tbody: bytes as Uint8Array<ArrayBuffer>,\n \t\t\t\tsignal: AbortSignal.timeout(Math.max(this.timeoutMs, 120_000)),\n \t\t\t});\n@@ -882,9 +882,9 @@\n \t */\n \tasync run(command: string, tarGz: Uint8Array<ArrayBuffer>, io: RunIO): Promise<number> {\n \t\tconst res = await postRun(this, command, tarGz, io.onRetry, io.replace, io.fresh);\n-\t\t// X-Avcs-Box: cold means the box started for this run; X-Avcs-Prep says whether it started from the prep (#37).\n-\t\tio.onBox?.(res.headers.get(\"x-avcs-box\") === \"cold\", res.headers.get(\"x-avcs-prep\") ?? undefined);\n-\t\treturn follow(this, res, res.headers.get(\"x-avcs-run\"), { at: 0, errAt: 0 }, io);\n+\t\t// X-Abso-Box: cold means the box started for this run; X-Abso-Prep says whether it started from the prep (#37).\n+\t\tio.onBox?.(res.headers.get(\"x-abso-box\") === \"cold\", res.headers.get(\"x-abso-prep\") ?? undefined);\n+\t\treturn follow(this, res, res.headers.get(\"x-abso-run\"), { at: 0, errAt: 0 }, io);\n \t}\n \n \t/**\n@@ -898,7 +898,7 @@\n \t\treplace = false,\n \t): Promise<string> {\n \t\tconst res = await postRun(this, command, tarGz, onRetry, replace);\n-\t\tconst id = res.headers.get(\"x-avcs-run\");\n+\t\tconst id = res.headers.get(\"x-abso-run\");\n \t\tif (id === null) {\n \t\t\t// No id: the box failed before the job started ({\"error\"} in the body), or the server can't detach.\n \t\t\tawait consumeRun(res, { out: () => {} }, { at: 0, errAt: 0 });"},{"path":"client/src/box-commands.ts","added":2,"removed":2,"diff":"--- a/client/src/box-commands.ts\n+++ b/client/src/box-commands.ts\n@@ -308,7 +308,7 @@\n \t}\n \t// avcs's own lines (on stderr); --quiet drops them, and the box's stdout and stderr stay as they are (#37).\n \tconst notice = bool(args, \"quiet\") ? (_text: string): void => {} : (env.writeErr ?? env.write);\n-\t// What the box said about its prep (X-Avcs-Prep): null when it has none.\n+\t// What the box said about its prep (X-Abso-Prep): null when it has none.\n \tlet prepState: string | null | undefined;\n \tconst posix = undoGitBashPaths(args.positionals, env.env);\n \tif (posix.undone.length > 0) {\n@@ -517,7 +517,7 @@\n  * (ABSO_BOX=2 in its environment), so their runs don't wait on each other.\n  */\n /**\n- * What this folder last heard about a box's prep: a run's X-Avcs-Prep, or\n+ * What this folder last heard about a box's prep: a run's X-Abso-Prep, or\n  * abso prep and prep --forget. null means no prep; undefined, never heard. So\n  * publish --check can refuse before running a check that can't be trusted\n  * (#37: a 40 s suite ran, then was refused)."},{"path":"client/src/box-run.ts","added":3,"removed":3,"diff":"--- a/client/src/box-run.ts\n+++ b/client/src/box-run.ts\n@@ -41,7 +41,7 @@\n \treadonly onRetry?: (why: string, attempt: number) => void;\n \t/** Stop the runs still going in the box first, instead of a 409 (abso run --replace). */\n \treadonly replace?: boolean;\n-\t/** Called when the run starts: whether the box is fresh, and what X-Avcs-Prep says about its prep. */\n+\t/** Called when the run starts: whether the box is fresh, and what X-Abso-Prep says about its prep. */\n \treadonly onBox?: (cold: boolean, prep: string | undefined) => void;\n \t/** Start from the plain image this once, not the prep (abso run --fresh). */\n \treadonly fresh?: boolean;\n@@ -154,11 +154,11 @@\n \t\t\t\t`${api.url(api.agentPath(\"run\"))}?cmd=${encodeURIComponent(command)}&stderr=split${replace ? \"&replace=1\" : \"\"}${fresh ? \"&fresh=1\" : \"\"}${boxQuery(api.box)}`,\n \t\t\t\t{\n \t\t\t\t\tmethod: \"POST\",\n-\t\t\t\t\theaders: { ...api.headers(\"application/gzip\"), \"x-avcs-run-key\": key, \"x-avcs-kind\": api.runKind },\n+\t\t\t\t\theaders: { ...api.headers(\"application/gzip\"), \"x-abso-run-key\": key, \"x-abso-kind\": api.runKind },\n \t\t\t\t\tbody: tarGz,\n \t\t\t\t},\n \t\t\t);\n-\t\t\tif (answer.status < 500 || answer.headers.get(\"x-avcs-run\") !== null) {\n+\t\t\tif (answer.status < 500 || answer.headers.get(\"x-abso-run\") !== null) {\n \t\t\t\tres = answer;\n \t\t\t\tbreak;\n \t\t\t}"},{"path":"client/src/client-version.ts","added":1,"removed":1,"diff":"--- a/client/src/client-version.ts\n+++ b/client/src/client-version.ts\n@@ -1,4 +1,4 @@\n-// Which client this is (#29), for `avcs --version` and for the X-Avcs-Client\n+// Which client this is (#29), for `avcs --version` and for the X-Abso-Client\n // header the command-line client sends with each call: plugin.json's version\n // plus the commit checked out where the client runs (0.1.0+ed45dad). The\n // commit is read from .git without running git, since every command pays for"},{"path":"client/src/install.ts","added":1,"removed":1,"diff":"--- a/client/src/install.ts\n+++ b/client/src/install.ts\n@@ -7,7 +7,7 @@\n //     last commit that changed the mod's own files (0.1.0+702c616, or\n //     0.1.0+702c616.dirty when they differ from it), and hooks/stamp.ts says\n //     the same, so the mod sends it with each call to the server\n-//     (X-Avcs-Client). A commit that changes none of them changes nothing to\n+//     (X-Abso-Client). A commit that changes none of them changes nothing to\n //     install, and nothing to restart for.\n //  2. Checks the staged copy: `claude plugin validate`, then the mod's own\n //     tests in Claude Code's plugin test kit. If either fails, nothing in the"},{"path":"client/src/key-admin.ts","added":1,"removed":1,"diff":"--- a/client/src/key-admin.ts\n+++ b/client/src/key-admin.ts\n@@ -57,7 +57,7 @@\n \t\t\tmethod,\n \t\t\theaders: {\n \t\t\t\t...(config.token ? { authorization: `Bearer ${config.token}` } : {}),\n-\t\t\t\t\"x-avcs-admin\": admin,\n+\t\t\t\t\"x-abso-admin\": admin,\n \t\t\t},\n \t\t\tsignal: AbortSignal.timeout(30_000),\n \t\t});"},{"path":"client/test/attach.test.ts","added":1,"removed":1,"diff":"--- a/client/test/attach.test.ts\n+++ b/client/test/attach.test.ts\n@@ -133,7 +133,7 @@\n \t\t\tcalls.map((c) => `${c.method} ${c.url.replace(/^\\/p\\/[^/]+/, \"\")}`),\n \t\t\t[\"POST /a/ann/attachments\", \"POST /a/ann/attachments\", \"POST /a/ann/issue\"],\n \t\t);\n-\t\tassert.equal(calls[0]!.headers[\"x-avcs-name\"], \"shot.png\");\n+\t\tassert.equal(calls[0]!.headers[\"x-abso-name\"], \"shot.png\");\n \t\tassert.equal(calls[0]!.headers[\"content-type\"], \"application/octet-stream\");\n \t\tassert.deepEqual([...calls[0]!.body], [0x89, 0x50, 0x4e, 0x47, 1, 2, 3]);\n \t\tconst opened = JSON.parse(calls[2]!.body.toString()) as { title: string; attachments: string[] };"},{"path":"client/test/fake-server.ts","added":5,"removed":5,"diff":"--- a/client/test/fake-server.ts\n+++ b/client/test/fake-server.ts\n@@ -91,7 +91,7 @@\n \tfailPublish: \"after\" | \"before\" | undefined;\n \t/** Run the merge queue's rounds now (after queueHold is let go). */\n \tkickQueue(name: string): Promise<void>;\n-\t/** Each run POST's X-Avcs-Run-Key, and whether a run started for it. */\n+\t/** Each run POST's X-Abso-Run-Key, and whether a run started for it. */\n \trunStarts: { key: string | undefined; started: boolean; cmd: string; kind?: string }[];\n \tclose(): Promise<void>;\n }\n@@ -250,7 +250,7 @@\n \t\t\t\t...files.map((rel) => ({ path: rel, data: readFileSync(join(box!, ...rel.split(\"/\"))) })),\n \t\t\t\t...extra,\n \t\t\t]);\n-\t\t\tres.writeHead(200, { \"content-type\": \"application/gzip\", \"x-avcs-files\": String(files.length) });\n+\t\t\tres.writeHead(200, { \"content-type\": \"application/gzip\", \"x-abso-files\": String(files.length) });\n \t\t\tres.end(Buffer.from(gz));\n \t\t\treturn;\n \t\t}\n@@ -482,13 +482,13 @@\n \t\tif (agent === undefined || !NAME.test(agent))\n \t\t\treturn send(res, 400, { error: \"agent names use letters, digits, '.', '_' and '-'\" });\n \t\tif (op === \"run\") {\n-\t\t\tconst key = req.headers[\"x-avcs-run-key\"];\n+\t\t\tconst key = req.headers[\"x-abso-run-key\"];\n \t\t\tconst dropped = fake.dropRunStarts > 0;\n \t\t\tfake.runStarts.push({\n \t\t\t\tkey: typeof key === \"string\" ? key : undefined,\n \t\t\t\tstarted: !dropped,\n \t\t\t\tcmd: url.searchParams.get(\"cmd\") ?? \"\",\n-\t\t\t\tkind: String(req.headers[\"x-avcs-kind\"] ?? \"\"),\n+\t\t\t\tkind: String(req.headers[\"x-abso-kind\"] ?? \"\"),\n \t\t\t});\n \t\t\tif (dropped) {\n \t\t\t\tfake.dropRunStarts--;\n@@ -656,7 +656,7 @@\n \t\tconst run: Run = { out: Buffer.alloc(0), err: Buffer.alloc(0), split, end: undefined, listeners: new Set() };\n \t\thosted.runs.clear();\n \t\thosted.runs.set(id, run);\n-\t\tres.writeHead(200, { \"content-type\": \"application/x-ndjson\", \"x-avcs-box\": \"warm\", \"x-avcs-run\": id });\n+\t\tres.writeHead(200, { \"content-type\": \"application/x-ndjson\", \"x-abso-box\": \"warm\", \"x-abso-run\": id });\n \t\tres.write(`${JSON.stringify({ run: id, ...(split ? { stderr: \"split\" } : {}) })}\\n`);\n \t\tstreamRun(res, run);\n \t\tconst emit = (line: string): void => {"},{"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@@ -487,7 +487,7 @@\n \t\t\tagent: \"a\",\n \t\t\ttoken: \"t\",\n \t\t} as ConstructorParameters<typeof Api>[0]).headers(\"application/json\");\n-\t\tassert.equal(headers[\"x-avcs-client\"], `abso-cli/${clientVersion()}`);\n+\t\tassert.equal(headers[\"x-abso-client\"], `abso-cli/${clientVersion()}`);\n \t\tassert.match(clientVersion(), /^\\d+\\.\\d+\\.\\d+(\\+[0-9a-f]{7})?$/);\n \t});\n });"},{"path":"client/test/key-admin.test.ts","added":1,"removed":1,"diff":"--- a/client/test/key-admin.test.ts\n+++ b/client/test/key-admin.test.ts\n@@ -71,7 +71,7 @@\n \ttry {\n \t\tconst issued = await keyNew(config, ADMIN, \"tester-1\");\n \t\tassert.deepEqual(issued, { id: \"k_ab12cd34\", key: KEY, agent: \"tester-1\" });\n-\t\tassert.equal(seen[0]!.headers!.get(\"x-avcs-admin\"), ADMIN);\n+\t\tassert.equal(seen[0]!.headers!.get(\"x-abso-admin\"), ADMIN);\n \t\tassert.equal(seen[0]!.url!.includes(ADMIN), false);\n \t\tassert.equal(seen[0]!.url!.includes(KEY), false);\n \t} finally {"},{"path":"client/view/hooks/register.tsx","added":1,"removed":1,"diff":"--- a/client/view/hooks/register.tsx\n+++ b/client/view/hooks/register.tsx\n@@ -127,7 +127,7 @@\n async function get($: Engine, f: Folder, path: string): Promise<any> {\n \tconst bearer = await token($, f.server);\n \tconst r = await $.http.fetch(`${f.server.replace(/\\/+$/, \"\")}/p/${encodeURIComponent(f.project)}${path}`, {\n-\t\theaders: { \"x-avcs-client\": CLIENT, ...(bearer ? { authorization: `Bearer ${bearer}` } : {}) },\n+\t\theaders: { \"x-abso-client\": CLIENT, ...(bearer ? { authorization: `Bearer ${bearer}` } : {}) },\n \t});\n \tif (!r.ok) throw new Error(`${path} answered ${r.status}`);\n \treturn JSON.parse(r.text);"},{"path":"client/view/hooks/stamp.ts","added":1,"removed":1,"diff":"--- a/client/view/hooks/stamp.ts\n+++ b/client/view/hooks/stamp.ts\n@@ -1,5 +1,5 @@\n // Which avcs-view mod this is (#29), sent with each call to the server as\n-// X-Avcs-Client. The installer (client/src/install.ts) writes the installed\n+// X-Abso-Client. The installer (client/src/install.ts) writes the installed\n // copy of this file with the version it installs: plugin.json's, plus the\n // commit (0.1.0+702c616). Loaded straight from a checkout, it stays undefined.\n export const STAMP: string | undefined = undefined;"},{"path":"worker/project/project-types.ts","added":1,"removed":1,"diff":"--- a/worker/project/project-types.ts\n+++ b/worker/project/project-types.ts\n@@ -20,7 +20,7 @@\n \t\t\treadonly atom: Atom;\n \t\t\treadonly session?: string;\n \t\t\treadonly subagent?: string;\n-\t\t\t/** The client that sent it (#41, the edits mark): its X-Avcs-Client, such as avcs-mod/0.1.0+702c616. */\n+\t\t\t/** The client that sent it (#41, the edits mark): its X-Abso-Client, such as avcs-mod/0.1.0+702c616. */\n \t\t\treadonly client?: string;\n \t  }\n \t| {"},{"path":"worker/project/project.ts","added":2,"removed":2,"diff":"--- a/worker/project/project.ts\n+++ b/worker/project/project.ts\n@@ -268,7 +268,7 @@\n \treadonly #versionChange = new Map<string, number>();\n \t/** Every note (#44), by id. */\n \treadonly #notes = new Map<number, NoteRecord>();\n-\t/** Mod versions (X-Avcs-Client) in the order they first sent an edit (#41): the last is taken as the installed one. */\n+\t/** Mod versions (X-Abso-Client) in the order they first sent an edit (#41): the last is taken as the installed one. */\n \t#mods: string[] = [];\n \t/** The merge queue (#39), in order: publishes to shared waiting for their batch's check. */\n \t#queue: QueuedPublish[] = [];\n@@ -483,7 +483,7 @@\n \t}\n \n \t/**\n-\t * How the agent's newest edit arrived (#41). The mod sends X-Avcs-Client\n+\t * How the agent's newest edit arrived (#41). The mod sends X-Abso-Client\n \t * avcs-mod/<stamp>; the hook sends abso-cli/<version> (avcs-cli/ before #59) with the chat's\n \t * session; abso record and git pushes send no session. Edits stored before\n \t * the client was recorded have only the session: those count as the mod"}],"ci":null}