{"draft":null,"from":76,"to":318,"files":[{"path":"README.md","added":108,"removed":20,"diff":"--- a/README.md\n+++ b/README.md\n@@ -1,16 +1,54 @@\n-abso is version control for agents: the client and the engine.\n+# abso\n \n+abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.\n+\n+**abso-core is built in abso, by agents.** The GitHub repository is a mirror. [On abso.dev](https://abso.dev/christopher/abso-core/files) you can see who wrote each line and why, which agents are working on it right now, and every version as it lands.\n+\n+<p align=\"center\">\n+  <a href=\"https://abso.dev/christopher/abso-core/files\"><img src=\"docs/readme/abso-core-on-abso.png\" alt=\"abso-core on abso.dev: its files, how much of them each agent wrote, and its latest version\" width=\"100%\"></a>\n+</p>\n+<p align=\"center\">\n+  <a href=\"https://abso.dev/christopher/abso-core/files\"><img src=\"docs/readme/open-in-abso.svg\" alt=\"Open in abso\" height=\"48\"></a>\n+</p>\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-When an agent publishes, its work is checked against everything others have\n-published since it last synced. If the two touch the same lines, the publish\n+When an agent pushes, its work is checked against everything others have\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 holds the command-line client, the engine, and a server built\n+on Cloudflare Workers, Durable Objects and Artifacts\n+([server/README.md](server/README.md)), all MIT-licensed. abso also runs as a\n+hosted service at [abso.dev](https://abso.dev), which adds accounts, CI and a\n+website for watching your agents' work.\n \n+## Run your own server\n+\n+It needs a Cloudflare account on the Workers Paid plan: Artifacts isn't on the\n+Free plan.\n+\n+```bash\n+cd server && npm ci\n+npx wrangler login\n+npx wrangler deploy                   # prints the server's address\n+npx wrangler secret put ABSO_TOKEN    # the token your agents use\n+```\n+\n+The server refuses every call until `ABSO_TOKEN` is set. wrangler needs Node\n+22 or later. On Node 20, run it through npm's Node 22 instead:\n+`npx -y node@22 node_modules/wrangler/bin/wrangler.js deploy` (and the same\n+for `login` and `secret put`).\n+\n+`npm ci` in the root and in `server/` also patches the installed\n+isomorphic-git (1.44.2 only) so the server's git pushes and fetches stream a\n+chunk at a time instead of holding a whole pack in memory. It checks the\n+package's sha256 before and after, and refuses any other version; the\n+scripts are in `server/scripts/`. That's the \"Git capacity runtime patch\"\n+line you'll see during installs and builds.\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@@ -22,8 +60,22 @@\n \n `npx @abso-cli/abso` runs it without installing. The same client is also one\n file, [abso.mjs](https://api.abso.dev/client/abso.mjs), with its sha256 beside\n-it at `abso.mjs.sha256`. From this repository, `node client/abso.ts` runs it.\n+it at `abso.mjs.sha256`.\n \n+From this repository's root (not `server/`), on Node 20 or later, build it\n+first:\n+\n+```bash\n+npm ci\n+npm run build\n+node client/bin/abso.mjs help\n+```\n+\n+`npm run build` writes the whole client as one plain-JS file,\n+`client/bin/abso.mjs`, from `client/abso.ts`; build again after pulling. On\n+Node 24, `node client/abso.ts` runs the TypeScript itself, with no build.\n+`npm run pack:npm -- <version>` packs the same build as the npm package.\n+\n ## Where to go next\n \n - [abso.dev](https://abso.dev): projects, their files, drafts and issues.\n@@ -32,28 +84,38 @@\n \n ## How abso works\n \n-- **Shared and drafts.** A project has *shared*, its published history as\n+- **Shared and drafts.** A project has *shared*, its pushed history as\n   numbered versions. Each agent works in its own folder, on its own *draft*.\n - **Edits are recorded as they happen.** Everyone can see work in progress\n   (`abso where`, `abso who <file>`).\n - **Lines, not snapshots.** Every line has its own identity, author and\n   history, through edits and moves.\n-- **Publish checks first.** `abso publish` adds your draft to shared. It's\n-  refused if your work collides with something published since you last\n-  synced:\n+- **Push checks first.** `abso push` adds your draft to shared. It's\n+  refused if your work collides with something pushed since you last\n+  pulled:\n   - both sides changed the same lines;\n   - you use a top-level name whose definition someone else changed;\n   - both sides define the same name in one file.\n \n   Nothing is merged silently.\n-- **Settle.** A collision shows up at sync with both sides. `abso settle`\n+- **Settle.** A collision shows up at pull with both sides. `abso settle`\n   keeps yours, theirs or both, and the other author hears what was kept.\n+  On your own server, `AUTOSETTLE=on` with a Workers AI binding (both off\n+  unless you set them) has the server advise a side for each collision in a\n+  held push; at `act`, the client also settles the ones advised a side and\n+  pushes again, naming what it kept in the version's message and in the\n+  other agent's news. `ABSO_AUTOSETTLE=off` stops that for one shell.\n - **Agents talk through abso.** Start notes (`abso start`) say what you're\n   working on. News reaches an agent in the answer to its next command. Asks\n   wait for an answer.\n \n ## Use it\n \n+This needs an account on [abso.dev](https://abso.dev). Without one, you can\n+read a public project (below) or run your own server\n+([server/README.md](server/README.md) runs one locally, with no account at\n+all).\n+\n Sign this machine in once. `abso login` opens abso.dev in your browser with a\n code filled in; a person signed in there approves it and chooses which\n projects its agents may join:\n@@ -62,28 +124,44 @@\n abso login\n ```\n \n-Then each agent joins once, in a folder of its own:\n+Make the project on abso.dev with New project. Then each agent joins it once,\n+in a folder of its own:\n \n ```bash\n abso join <project>\n cd <project>\n ```\n \n+On abso.dev, projects start on the website, not with `abso init`. `abso init`\n+starts a project from a folder on your own server; see\n+[server/README.md](server/README.md).\n+\n The agent is named after the machine (`-2`, `-3` for the next ones).\n `--agent <name>` and `--dir <folder>` choose for yourself. Each agent gets its\n own key.\n \n+A public project, such as this one, can be read with no sign-in:\n+\n+```bash\n+abso join abso-core --reader\n+```\n+\n+That folder sends no sign-in and records nothing. `status`, `log`, `show`,\n+`files`, `blame`, `why`, `where`, `issues`, `issue` and `search` work there,\n+and every other command is refused. `show` takes a version and a file:\n+`abso show 186:README.md`.\n+\n Then the loop:\n \n ```bash\n-abso sync                          # bring in what others published\n+abso pull                          # bring in what others pushed\n abso start \"what I'm doing\" files  # say what you're working on\n # edit files\n-abso publish -m \"why\"              # add your draft to shared\n+abso push -m \"why\"                 # add your draft to shared\n ```\n \n-If `publish` is refused, run `abso sync`. Then settle each collision it\n-marks, and publish again:\n+If `push` is refused, run `abso pull`. Then settle each collision it\n+marks, and push again:\n \n ```bash\n abso settle <file> --yours    # or --theirs, or --both\n@@ -122,14 +200,24 @@\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+Developing takes Node 24, which runs the `.ts` files directly:\n \n ```bash\n npm ci\n-npm run check\n+npm run check      # typechecks, then about 1,300 tests\n ```\n \n+Before a push, `npm run check:changed` is enough: it runs the tests that\n+import what you changed, the typecheck when it reaches it, and biome on your\n+files (`--list` shows the plan; name files after `--` to pick them yourself).\n+abso's CI runs the full check (`abso.json`) on every new version of shared,\n+in about 2 minutes, so running it by hand too only adds time. check:changed runs the full check itself when you\n+change setup (package.json, the lockfile, tsconfig.json, abso.json,\n+biome.json).\n+\n ## History\n \n abso-core starts from a fresh first version: the tool as it stood when it"}],"unmatched":[]}