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 149 to 150

Compare

+132 −0 in 1 place
new file, 132 lines
1+# End to end: the stock client against `wrangler dev --local`
2+
3+Server: `http://127.0.0.1:8799` (server/ in abso-core, run with `npx wrangler dev --local`, Artifacts off).
4+Token: an invented local test token in `server/.dev.vars`, given to the client as `ABSO_TOKEN`.
5+Project: `e2e-1791907434`. Folders are temporary, outside abso-core. Run 2026-10-13T16:03Z.
6+
7+## Init and join
8+
9+```
10+(starter) $ abso init . --server http://127.0.0.1:8799 --project e2e-1791907434 --agent starter
11+Created project e2e-1791907434 at version 0 from 3 text files in <temp>\starter.
12+Wrote a starting .absoignore (Claude Code state and operating system files); edit it like .gitignore.
13+No abso.json written: package.json gives no check or build to guess, so CI has nothing to run on each new version. To give it a check, push an abso.json like {"check": "npm test"} (abso ci --help says what it runs).
14+This folder is agent starter. Settings are in .abso/config.json.
15+Edits made by Claude Code reach the server through the abso mod, which isn't on this machine yet: node <abso-core>\client\install-mod.ts installs it, and new chats load it. Anything else: abso record.
16+[exit 0]
17+```
19+```
20+(alice) $ abso join e2e-1791907434 --agent alice --dir . --server http://127.0.0.1:8799
21+Joined e2e-1791907434 as alice at version 0: wrote 3 files into <temp>\alice.
22+Edits made by Claude Code reach the server through the abso mod, which isn't on this machine yet: node <abso-core>\client\install-mod.ts installs it, and new chats load it. Anything else: abso record.
23+[exit 0]
24+```
26+```
27+(bob) $ abso join e2e-1791907434 --agent bob --dir . --server http://127.0.0.1:8799
28+Joined e2e-1791907434 as bob at version 0: wrote 3 files into <temp>\bob.
29+Edits made by Claude Code reach the server through the abso mod, which isn't on this machine yet: node <abso-core>\client\install-mod.ts installs it, and new chats load it. Anything else: abso record.
30+[exit 0]
31+```
33+## Both agents edit and push (different files)
35+```
36+(alice) $ abso push -m Alice edits line two
37+Recorded first: 1 changed (hello.txt).
38+Pushed version 1.
39+[exit 0]
40+```
42+```
43+(bob) $ abso push -m Bob writes the notes
44+Recorded first: 1 changed (notes.md).
45+Pushed version 2. It went on top of version 1 (alice: "Alice edits line two"), which your folder doesn't have yet. Nothing of theirs was overwritten; run abso pull to see both.
46+[exit 0]
47+```
49+## A collision: both change line four
51+```
52+(alice) $ abso pull
53+Pulled to version 2: 1 file updated, 0 deleted.
54+ updated: notes.md
55+[exit 0]
56+```
58+```
59+(bob) $ abso pull
60+Pulled to version 2: 1 file updated, 0 deleted.
61+ updated: hello.txt
62+[exit 0]
63+```
65+```
66+(alice) $ abso push -m Alice rewrites line four
67+Recorded first: 1 changed (hello.txt).
68+Pushed version 3.
69+[exit 0]
70+```
72+```
73+(bob) $ abso push -m Bob rewrites line four
74+Recorded first: 1 changed (hello.txt).
75+Not pushed: 1 collision with work pushed since your last pull.
76+ hello.txt:
77+ yours (line 4):
78+ line four, as bob wants it
79+ theirs, by alice in version 3 ("Alice rewrites line four") (line 4):
80+ line four, as alice wants it
81+Run abso pull: each of those files comes back holding both sides' lines, with no markers. Edit it to what it should be, then push again.
82+News:
83+ alice pushed "Alice rewrites line four" (version 3), which changes hello.txt lines 4-4, where your draft also changes lines; run abso pull to see both versions.
84+[exit 2]
85+```
87+## Log and status
89+```
90+(bob) $ abso log
91+shared is at version 3.
92+version 3 by alice, 2026-10-13 16:03 UTC: Alice rewrites line four
93+ 1 file: hello.txt
94+version 2 by bob, 2026-10-13 16:03 UTC: Bob writes the notes
95+ 1 file: notes.md
96+version 1 by alice, 2026-10-13 16:03 UTC: Alice edits line two
97+ 1 file: hello.txt
98+version 0 by init, 2026-10-13 16:03 UTC: Start the project
99+ 3 files: .absoignore, hello.txt, notes.md
100+[exit 0]
101+```
103+```
104+(bob) $ abso status
105+Project e2e-1791907434: shared is at version 3. This folder is bob, working in shared. Signed in with shared token.
106+Everything in this folder is recorded.
107+Agents:
108+ alice, base 3, 0 draft changes
109+ * bob, base 2, 1 draft change: hello.txt
110+ starter, base 0, 0 draft changes
111+[exit 0]
112+```
114+```
115+(alice) $ abso status
116+Project e2e-1791907434: shared is at version 3. This folder is alice, working in shared. Signed in with shared token.
117+Everything in this folder is recorded.
118+Agents:
119+ * alice, base 3, 0 draft changes
120+ bob, base 2, 1 draft change: hello.txt
121+ starter, base 0, 0 draft changes
122+[exit 0]
123+```
125+## Other checks against the same server, with curl
127+- No token, or a wrong one: 401 `missing or wrong token`. `GET /version` answers without one.
128+- Per-agent keys (`AGENT_KEYS=on`, a local `KEY_HMAC_SECRET`): `POST /admin/agent-keys` without `x-abso-admin` is 403; with it, a writer key for `carol` is issued and listed. Carol's key syncs as carol; as `dave` it is 403 `that key is not for this agent`; on another project, 403 `that key is not for this project`.
129+- Blobs: a PUT whose bytes don't hash to the name is 400 `the bytes hash to …, not …`; the right hash is stored and read back; a name that isn't a SHA-256 is 400.
130+- `GET head` answers `{version, at}` from storage. `GET feed?from=<end>&wait=3` holds for 3 seconds, then answers with no events.
131+- `/issues/p/<project>/...` reaches the issues stand-in (404 `issues aren't on this server yet`) after auth.
132+- `POST git-remote` with Artifacts off: 501 `this server has no Artifacts binding, so no git remote`.
MCP
compare on this site's /mcp
CLI
abso diff 149 150 server/test/e2e-transcript.md --json
JSON
/christopher/abso-core/compare/149..150?file=server%2Ftest%2Fe2e-transcript.md&format=json