{"draft":null,"from":166,"to":318,"files":[{"path":"server/README.md","added":30,"removed":20,"diff":"--- a/server/README.md\n+++ b/server/README.md\n@@ -10,8 +10,10 @@\n \n ## What you need\n \n-- A Cloudflare account with Workers, Durable Objects and Artifacts.\n-- Node 20 or later.\n+- A Cloudflare account on the Workers Paid plan, for Workers, Durable Objects and Artifacts. Artifacts isn't on the\n+  Free plan. Local development (below) needs no account.\n+- Node 22 or later to deploy: wrangler needs it. On Node 20, run wrangler through npm's Node 22, as below.\n+- Node 20 or later for the client.\n \n ## Deploy it\n \n@@ -20,10 +22,17 @@\n ```bash\n npm ci\n npx wrangler login\n+npx wrangler deploy                    # prints the server's address\n npx wrangler secret put ABSO_TOKEN     # any long random string: the token your agents use\n-npx wrangler deploy\n ```\n \n+On Node 20, `npm ci` warns that wrangler wants Node 22 and installs it anyway; run each wrangler command through npm's\n+Node 22 instead of `npx wrangler`:\n+\n+```bash\n+npx -y node@22 node_modules/wrangler/bin/wrangler.js deploy    # and the same for login and secret put\n+```\n+\n `wrangler deploy` prints the server's address, such as `https://abso.<your-subdomain>.workers.dev`. Until\n `ABSO_TOKEN` is set, the server refuses every call. `GET /version` answers without a token.\n \n@@ -32,15 +41,20 @@\n \n ## Point the client at it\n \n-The client is in this repository (`client/abso.ts`). From the repository's root:\n+The client is in this repository. `npm run build` builds it from `client/abso.ts` into one plain-JS file that runs on\n+Node 20 or later, `client/bin/abso.mjs`. From the repository's root:\n \n ```bash\n npm ci\n+npm run build\n export ABSO_TOKEN=<the token you set>\n export ABSO_TRUSTED_SERVERS=https://abso.<your-subdomain>.workers.dev\n-alias abso=\"node $PWD/client/abso.ts\"\n+alias abso=\"node $PWD/client/bin/abso.mjs\"\n ```\n \n+On Node 24, `alias abso=\"node $PWD/client/abso.ts\"` runs the TypeScript itself, with no build. `npm i -g @abso-cli/abso`\n+installs the same client from npm, on Node 20 or later.\n+\n The client sends its token only to servers you trust, so `ABSO_TRUSTED_SERVERS` (or an entry in\n `~/.abso/servers.json`) is needed. Issues go to `<server>/issues` on their own.\n \n@@ -54,6 +68,9 @@\n abso join my-project --agent bob --server https://abso.<your-subdomain>.workers.dev\n ```\n \n+On abso.dev, make the project on the website (New project) instead, then run `abso join <project>` in each agent's\n+folder.\n+\n Each agent works in its own folder: `abso pull`, edit, `abso push -m \"why\"`. When two agents change the same lines,\n the second push is held:\n \n@@ -82,9 +99,14 @@\n ```\n \n Keep `--local`: Artifacts is a remote binding, and without `--local` wrangler dev connects to your account.\n-`ABSO_ARTIFACTS=off` skips the push out, which nothing local can reach. `test/e2e-transcript.md` is a full session of\n-the stock client against a local server.\n+`ABSO_ARTIFACTS=off` skips the push out, which nothing local can reach. wrangler still warns that Artifacts bindings\n+may incur charges; with `ABSO_ARTIFACTS=off` the server never uses the binding, so nothing is called or charged.\n+`test/e2e-transcript.md` is a full session of the stock client against a local server.\n \n+On Windows, a project's storage file sits deep under `.wrangler/state/`, and from a deep folder its path can pass\n+Windows' 260-character limit; `abso init` then answers `500: the project object failed`. Keep the state short:\n+`npm run dev -- --persist-to C:\\abso-state`.\n+\n ## Limits\n \n - One project is one Durable Object, so it lives within one object's memory (128 MB). The server estimates a project's\n@@ -101,16 +123,4 @@\n   oversized projects, and runs the alarm that pushes out to Artifacts and takes plain git pushes in.\n - `src/issues/`: issues, asks and news.\n - The engine itself is `src/engine/` at the repository's root, the same one the client uses.\n-\n-### Experimental disk-first rollback floor\n-\n-Disk-first runtime format 4 is required before compressed projection-priority pages, chunked retry receipts chunked atom-text references or indexed atom-list references are written. Preparation upgrades a format-1, format-2 or format-3 namespace atomically. Older runtimes refuse that namespace before reading or writing; rolling back the executable does not make its derived data readable.\n-\n-To return to an older runtime, keep writes disabled and rebuild its derived writer, projection and historical namespaces from the canonical log using a compatible implementation. Do not lower the format marker in place. Preserve retry receipts or explicitly resolve outstanding retries before changing their storage format. This is an activation boundary, not authorization to delete project data. The canonical log is unchanged by the format upgrade.\n-\n-\n-Runtime format 3 also fences chunked atom-text references. Runtimes that only understand format 2 must refuse these derived namespaces. Do not lower the marker to roll back; rebuild compatible derived state while preserving canonical history and retry receipts.\n-\n-Format 4 additionally fences atom-list references. A format-3 executable must refuse a format-4 namespace; it cannot safely interpret the placeholder arrays.\n-\n-Format 5 additionally fences indexed insertion runs and lines. Preparation accepts recognized formats 1 through 4 and upgrades atomically. Older executables must refuse format 5. Never lower the marker to roll back.\n+- [STORAGE-FORMATS.md](STORAGE-FORMATS.md): what to know before rolling the server back to an older version."}],"unmatched":[]}