Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 180 to 318

Compare

+50 −10 in 7 places
Lines 1–16 at 318 (were 1–5 at 180)
1+# abso
2+
13abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.
24
5+**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.
6+
7+<p align="center">
8+ <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>
9+</p>
10+<p align="center">
11+ <a href="https://abso.dev/christopher/abso-core/files"><img src="docs/readme/open-in-abso.svg" alt="Open in abso" height="48"></a>
12+</p>
314Many agents work in one project at once, each in its own folder. Their edits
415reach the server as they make them, so everyone can see who is changing what.
516When an agent pushes, its work is checked against everything others have
Lines 25–51 at 318 (were 14–28 at 180)
1425
1526## Run your own server
1627
28+It needs a Cloudflare account on the Workers Paid plan: Artifacts isn't on the
29+Free plan.
1731```bash
1832cd server && npm ci
33+npx wrangler login
34+npx wrangler deploy # prints the server's address
1935npx wrangler secret put ABSO_TOKEN # the token your agents use
20−npx wrangler deploy
2136```
2237
23−wrangler needs Node 22 or later. On Node 20, run it through npm's Node 22
24−instead: `npx -y node@22 node_modules/wrangler/bin/wrangler.js deploy` (and the
25−same for `secret put`).
38+The server refuses every call until `ABSO_TOKEN` is set. wrangler needs Node
39+22 or later. On Node 20, run it through npm's Node 22 instead:
40+`npx -y node@22 node_modules/wrangler/bin/wrangler.js deploy` (and the same
41+for `login` and `secret put`).
43+`npm ci` in the root and in `server/` also patches the installed
44+isomorphic-git (1.44.2 only) so the server's git pushes and fetches stream a
45+chunk at a time instead of holding a whole pack in memory. It checks the
46+package's sha256 before and after, and refuses any other version; the
47+scripts are in `server/scripts/`. That's the "Git capacity runtime patch"
48+line you'll see during installs and builds.
2649[server/README.md](server/README.md) has the rest: pointing the client at it,
2750two agents and a held collision, plain git through Artifacts, and its limits.
2851
Lines 62–69 at 318 (were 39–45 at 180)
3962file, [abso.mjs](https://api.abso.dev/client/abso.mjs), with its sha256 beside
4063it at `abso.mjs.sha256`.
4164
42−From this repository, on Node 20 or later, build it first:
65+From this repository's root (not `server/`), on Node 20 or later, build it
66+first:
4367
4468```bash
4569npm ci
Lines 100–121 at 318 (were 76–87 at 180)
76100 Nothing is merged silently.
77101- **Settle.** A collision shows up at pull with both sides. `abso settle`
78102 keeps yours, theirs or both, and the other author hears what was kept.
103+ On your own server, `AUTOSETTLE=on` with a Workers AI binding (both off
104+ unless you set them) has the server advise a side for each collision in a
105+ held push; at `act`, the client also settles the ones advised a side and
106+ pushes again, naming what it kept in the version's message and in the
107+ other agent's news. `ABSO_AUTOSETTLE=off` stops that for one shell.
79108- **Agents talk through abso.** Start notes (`abso start`) say what you're
80109 working on. News reaches an agent in the answer to its next command. Asks
81110 wait for an answer.
82111
83112## Use it
84113
114+This needs an account on [abso.dev](https://abso.dev). Without one, you can
115+read a public project (below) or run your own server
116+([server/README.md](server/README.md) runs one locally, with no account at
117+all).
85119Sign this machine in once. `abso login` opens abso.dev in your browser with a
86120code filled in; a person signed in there approves it and chooses which
87121projects its agents may join:
Lines 124–141 at 318 (were 90–102 at 180)
90124abso login
91125```
92126
93−Then each agent joins once, in a folder of its own:
127+Make the project on abso.dev with New project. Then each agent joins it once,
128+in a folder of its own:
94129
95130```bash
96131abso join <project>
97132cd <project>
98133```
99134
135+On abso.dev, projects start on the website, not with `abso init`. `abso init`
136+starts a project from a folder on your own server; see
137+[server/README.md](server/README.md).
100139The agent is named after the machine (`-2`, `-3` for the next ones).
101140`--agent <name>` and `--dir <folder>` choose for yourself. Each agent gets its
102141own key.
Lines 148–155 at 318 (were 109–115 at 180)
109148
110149That folder sends no sign-in and records nothing. `status`, `log`, `show`,
111150`files`, `blame`, `why`, `where`, `issues`, `issue` and `search` work there,
112−and every other command is refused.
151+and every other command is refused. `show` takes a version and a file:
152+`abso show 186:README.md`.
113153
114154Then the loop:
115155
Lines 207–220 at 318 (were 167–180 at 180)
167207
168208```bash
169209npm ci
170−npm run check
210+npm run check # typechecks, then about 1,300 tests
171211```
172212
173213Before a push, `npm run check:changed` is enough: it runs the tests that
174214import what you changed, the typecheck when it reaches it, and biome on your
175215files (`--list` shows the plan; name files after `--` to pick them yourself).
176−The merge queue runs the full check on every push, so running it by hand
177−too only adds minutes. check:changed runs the full check itself when you
216+abso's CI runs the full check (`abso.json`) on every new version of shared,
217+in about 2 minutes, so running it by hand too only adds time. check:changed runs the full check itself when you
178218change setup (package.json, the lockfile, tsconfig.json, abso.json,
179219biome.json).
180220
MCP
compare on this site's /mcp
CLI
abso diff 180 318 README.md --json
JSON
/christopher/abso-core/compare/180..318?file=README.md&format=json