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 55 to 318

Compare

+247 −0 in 1 place
new file, 247 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>/...` reached the issues stand-in (404 `issues aren't on this server yet`) after auth, before the issues code landed; the run below is against the issues code itself.
132+- `POST git-remote` with Artifacts off: 501 `this server has no Artifacts binding, so no git remote`.
134+## Issues, asks and news, with no issues server named
136+Server: `http://127.0.0.1:8797` (`npm run dev` in server/, which is `wrangler dev --local`; `ABSO_ARTIFACTS=off`).
137+Token: an invented local test token in `server/.dev.vars`, given to the client as `ABSO_TOKEN`.
138+HOME and USERPROFILE: a new empty temporary folder, so no `~/.abso/servers.json`; `ABSO_ISSUES_SERVER` unset.
139+The client finds issues at `http://127.0.0.1:8797/issues`. Project: `e2e-issues-1791907724`. Run 2026-10-13T16:08Z.
141+```
142+(alice) $ abso init . --server http://127.0.0.1:8797 --project e2e-issues-1791907724 --agent alice
143+Created project e2e-issues-1791907724 at version 0 from 2 text files in <temp>\alice.
144+Wrote a starting .absoignore (Claude Code state and operating system files); edit it like .gitignore.
145+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).
146+This folder is agent alice. Settings are in .abso/config.json.
147+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.
148+[exit 0]
149+```
151+```
152+(bob) $ abso join e2e-issues-1791907724 --agent bob --dir . --server http://127.0.0.1:8797
153+Joined e2e-issues-1791907724 as bob at version 0: wrote 2 files into <temp>\bob.
154+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.
155+[exit 0]
156+```
158+```
159+(alice) $ abso issue new "Sync is slow on big folders" --description "A pull of 5000 files takes a minute."
160+Opened issue 1. abso start "..." --issue 1 starts on it.
161+[exit 0]
162+```
164+```
165+(bob) $ abso issue 1 --comment "Seen it too: most of the minute is hashing."
166+Commented on issue 1. Its agents hear it.
167+[exit 0]
168+```
170+```
171+(alice) $ abso ask bob "Hash on the server or in the client?" --issue 1
172+Asked bob (ask 1). They hear it; abso waiting shows what's open.
173+[exit 0]
174+```
176+```
177+(alice) $ abso ask carol "Can you review the hashing?" --issue 1
178+abso ask: POST /a/alice/ask answered 400: "carol" isn't an agent in e2e-issues-1791907724, so nobody would hear the ask. abso status lists the agents.
179+[exit 1]
180+```
182+```
183+(bob) $ abso news
184+1 news item:
185+ alice (as claimed) told you, 16:08 UTC:
186+ alice asks bob a question on issue 1 ("Sync is slow on big folders"): "Hash on the server or in the client?" Answer: abso answer 1 "..."
187+[exit 0]
188+```
190+```
191+(bob) $ abso waiting --mine
192+1 open ask of bob, soonest due first:
193+ ask 1: alice, 16:08 UTC, asks bob a question on issue 1 ("Sync is slow on big folders") (new): "Hash on the server or in the client?"
194+abso ask <N> shows one with its thread; abso reply <N> "..." adds to it; abso answer <N> "..." answers one asked of you.
195+[exit 0]
196+```
198+```
199+(alice) $ abso issues
200+1 issue, most recently updated first:
201+ 1 blocked "Sync is slow on big folders" (waiting on bob; updated 16:08 UTC)
202+abso issue <N> shows one.
203+[exit 0]
204+```
206+```
207+(bob) $ abso answer 1 "In the client: the server never sees unchanged files."
208+Answered ask 1. alice hears it.
209+[exit 0]
210+```
212+```
213+(alice) $ abso news
214+1 news item:
215+ bob (as claimed) told you, 16:08 UTC:
216+ bob answered alice's question on issue 1: "In the client: the server never sees unchanged files."
217+[exit 0]
218+```
220+```
221+(alice) $ abso issue 1
222+Issue 1: "Sync is slow on big folders" [open]
223+Opened by alice, 16:08 UTC.
225+ A pull of 5000 files takes a minute.
227+Asks:
228+ ask 1: alice, 16:08 UTC, asks bob a question on issue 1 (answered by bob, 16:08 UTC): "Hash on the server or in the client?"
229+ answer: "In the client: the server never sees unchanged files."
231+Comments:
232+ bob, 16:08 UTC: "Seen it too: most of the minute is hashing."
234+Watchers: alice, bob.
236+abso start "..." --issue 1 starts on it; abso issue 1 --comment "..." comments; abso ask <who> "..." --issue 1 asks.
237+[exit 0]
238+```
240+```
241+(alice) $ abso waiting --asked
242+The latest answered:
243+ ask 1: alice, 16:08 UTC, asks bob a question on issue 1 ("Sync is slow on big folders") (answered by bob, 16:08 UTC): "Hash on the server or in the client?"
244+ answer: "In the client: the server never sees unchanged files."
245+abso ask <N> shows one with its whole thread.
246+[exit 0]
247+```
MCP
compare on this site's /mcp
CLI
abso diff 55 318 server/test/e2e-transcript.md --json
JSON
/christopher/abso-core/compare/55..318?file=server%2Ftest%2Fe2e-transcript.md&format=json