{"version":153,"agent":"product","message":"The open server's README: deploy it to your own Cloudflare account, point the client at it, two agents and a held collision, plain git through Artifacts, local development and its limits. The top README no longer says the server is closed and missing: it names the open server and how to run one.","time":1791912979710,"timeIso":"2026-10-13T17:36:19.710Z","changes":2,"change":1917,"files":["README.md","server/README.md"],"draft":null,"diff":[{"path":"README.md","added":19,"removed":5,"diff":"--- a/README.md\n+++ b/README.md\n@@ -1,4 +1,4 @@\n-abso is version control for agents: the client and the engine.\n+abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.\n \n Many agents work in one project at once, each in its own folder. Their edits\n reach the server as they make them, so everyone can see who is changing what.\n@@ -6,11 +6,23 @@\n pushed since it last pulled. If the two touch the same lines, the push\n is held, and the answer names the collision and what to do about it.\n \n-This repository is the open part of abso: the command-line client and the\n-engine. It's MIT-licensed. The hosted platform around it (the server, accounts,\n-containers, CI and the website at [abso.dev](https://abso.dev)) is closed and\n-isn't here.\n+This repository is the open part of abso: the command-line client, the engine,\n+and an open server built on Cloudflare Workers, Durable Objects and Artifacts\n+([server/README.md](server/README.md)). It's MIT-licensed. The hosted platform\n+at [abso.dev](https://abso.dev) (accounts, containers, CI and the website) is\n+closed and isn't here.\n \n+## Run your own server\n+\n+```bash\n+cd server && npm ci\n+npx wrangler secret put ABSO_TOKEN    # the token your agents use\n+npx wrangler deploy\n+```\n+\n+[server/README.md](server/README.md) has the rest: pointing the client at it,\n+two agents and a held collision, plain git through Artifacts, and its limits.\n+\n ## Install the client\n \n It needs Node 20 or later:\n@@ -132,6 +144,8 @@\n   and which ones each event starts.\n - `worker/project/`: the answers a project gives: status, log, blame, where,\n   the feed and the rest.\n+- `server/`: the open server: a Worker, a Durable Object per project, and\n+  each project pushed out to its own Artifacts repo.\n \n Developing:\n "},{"path":"server/README.md","added":103,"removed":0,"diff":"--- /dev/null\n+++ b/server/README.md\n@@ -0,0 +1,103 @@\n+# abso's open server\n+\n+One Cloudflare Worker that hosts abso projects on your own Cloudflare account. Each project is its own Durable Object,\n+with its history in that object's SQLite storage, and its shared history is pushed out to its own Artifacts git repo.\n+Issues, asks and news run in a second Durable Object per project, served under `/issues`.\n+\n+Many agents can work in one project at once. Each pushes from its own folder; a push that collides with work pushed\n+since that agent last pulled is held, and the answer names the collision. Projects don't share anything, so more\n+projects means more Durable Objects, not a bigger one.\n+\n+## What you need\n+\n+- A Cloudflare account with Workers, Durable Objects and Artifacts.\n+- Node 20 or later.\n+\n+## Deploy it\n+\n+From this folder:\n+\n+```bash\n+npm ci\n+npx wrangler login\n+npx wrangler secret put ABSO_TOKEN     # any long random string: the token your agents use\n+npx wrangler deploy\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+Optional: `npx wrangler secret put KEY_HMAC_SECRET` turns on per-agent keys (`abso_sk_...`), issued through\n+`/admin/agent-keys`, so each agent can have its own credential instead of the shared token.\n+\n+## Point the client at it\n+\n+The client is in this repository (`client/abso.ts`). From the repository's root:\n+\n+```bash\n+npm ci\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+```\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+Then start a project from a folder of files, and let a second agent join it:\n+\n+```bash\n+cd my-project\n+abso init . --server https://abso.<your-subdomain>.workers.dev --project my-project --agent alice\n+\n+mkdir ../bob && cd ../bob\n+abso join my-project --agent bob --server https://abso.<your-subdomain>.workers.dev\n+```\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+```\n+Not pushed: 1 collision with work pushed since your last pull.\n+```\n+\n+`abso pull` marks the collision, `abso settle <file> --yours` (or `--theirs`, `--both`) settles it, and the push goes\n+through. Issues and asks work the same way: `abso issue new \"<title>\"`, `abso ask bob \"<question>\" --issue 1`,\n+`abso waiting --mine`. `abso help` lists every command.\n+\n+## Plain git\n+\n+Every project's shared is also a git repo in Artifacts, `abso-<project>`, updated at most once a minute while agents\n+push. Each commit keeps its author and ends with `abso-version: N`.\n+\n+- `POST /p/<project>/git-remote` with the token answers the repo's address and an hour-long token to clone it.\n+- A plain `git push` to that repo is taken back in as a new version within about 15 seconds while the project is\n+  active.\n+\n+## Local development\n+\n+```bash\n+printf 'ABSO_TOKEN=local-test-token\\nABSO_ARTIFACTS=off\\n' > .dev.vars\n+npm run dev        # wrangler dev --local\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+\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+  loaded size, holds new pushes at about 95 MB and refuses to load past 114 MB.\n+- Scale comes from projects: [scale/README.md](scale/README.md) has the harness, and `scale/results/` the first run on a\n+  deployed server. Two hundred projects with twenty agents each (4,000 agents) pushed 419 times a second, with a median\n+  push of 372 ms.\n+\n+## How it fits together\n+\n+- `src/index.ts`: the Worker's entry.\n+- `src/router.ts`: authorization (the shared token, or an agent key) and routing to each project's object.\n+- `src/project-object.ts`: the project's Durable Object: loads the engine from SQLite, answers each call, holds\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."}],"ci":null}