{"draft":null,"from":149,"to":150,"files":[{"path":"server/test/e2e-transcript.md","added":132,"removed":0,"diff":"--- /dev/null\n+++ b/server/test/e2e-transcript.md\n@@ -0,0 +1,132 @@\n+# End to end: the stock client against `wrangler dev --local`\n+\n+Server: `http://127.0.0.1:8799` (server/ in abso-core, run with `npx wrangler dev --local`, Artifacts off).\n+Token: an invented local test token in `server/.dev.vars`, given to the client as `ABSO_TOKEN`.\n+Project: `e2e-1791907434`. Folders are temporary, outside abso-core. Run 2026-10-13T16:03Z.\n+\n+## Init and join\n+\n+```\n+(starter) $ abso init . --server http://127.0.0.1:8799 --project e2e-1791907434 --agent starter\n+Created project e2e-1791907434 at version 0 from 3 text files in <temp>\\starter.\n+Wrote a starting .absoignore (Claude Code state and operating system files); edit it like .gitignore.\n+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).\n+This folder is agent starter. Settings are in .abso/config.json.\n+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.\n+[exit 0]\n+```\n+\n+```\n+(alice) $ abso join e2e-1791907434 --agent alice --dir . --server http://127.0.0.1:8799\n+Joined e2e-1791907434 as alice at version 0: wrote 3 files into <temp>\\alice.\n+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.\n+[exit 0]\n+```\n+\n+```\n+(bob) $ abso join e2e-1791907434 --agent bob --dir . --server http://127.0.0.1:8799\n+Joined e2e-1791907434 as bob at version 0: wrote 3 files into <temp>\\bob.\n+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.\n+[exit 0]\n+```\n+\n+## Both agents edit and push (different files)\n+\n+```\n+(alice) $ abso push -m Alice edits line two\n+Recorded first: 1 changed (hello.txt).\n+Pushed version 1.\n+[exit 0]\n+```\n+\n+```\n+(bob) $ abso push -m Bob writes the notes\n+Recorded first: 1 changed (notes.md).\n+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.\n+[exit 0]\n+```\n+\n+## A collision: both change line four\n+\n+```\n+(alice) $ abso pull\n+Pulled to version 2: 1 file updated, 0 deleted.\n+  updated: notes.md\n+[exit 0]\n+```\n+\n+```\n+(bob) $ abso pull\n+Pulled to version 2: 1 file updated, 0 deleted.\n+  updated: hello.txt\n+[exit 0]\n+```\n+\n+```\n+(alice) $ abso push -m Alice rewrites line four\n+Recorded first: 1 changed (hello.txt).\n+Pushed version 3.\n+[exit 0]\n+```\n+\n+```\n+(bob) $ abso push -m Bob rewrites line four\n+Recorded first: 1 changed (hello.txt).\n+Not pushed: 1 collision with work pushed since your last pull.\n+  hello.txt:\n+    yours (line 4):\n+      line four, as bob wants it\n+    theirs, by alice in version 3 (\"Alice rewrites line four\") (line 4):\n+      line four, as alice wants it\n+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.\n+News:\n+  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.\n+[exit 2]\n+```\n+\n+## Log and status\n+\n+```\n+(bob) $ abso log\n+shared is at version 3.\n+version 3 by alice, 2026-10-13 16:03 UTC: Alice rewrites line four\n+  1 file: hello.txt\n+version 2 by bob, 2026-10-13 16:03 UTC: Bob writes the notes\n+  1 file: notes.md\n+version 1 by alice, 2026-10-13 16:03 UTC: Alice edits line two\n+  1 file: hello.txt\n+version 0 by init, 2026-10-13 16:03 UTC: Start the project\n+  3 files: .absoignore, hello.txt, notes.md\n+[exit 0]\n+```\n+\n+```\n+(bob) $ abso status\n+Project e2e-1791907434: shared is at version 3. This folder is bob, working in shared. Signed in with shared token.\n+Everything in this folder is recorded.\n+Agents:\n+    alice, base 3, 0 draft changes\n+  * bob, base 2, 1 draft change: hello.txt\n+    starter, base 0, 0 draft changes\n+[exit 0]\n+```\n+\n+```\n+(alice) $ abso status\n+Project e2e-1791907434: shared is at version 3. This folder is alice, working in shared. Signed in with shared token.\n+Everything in this folder is recorded.\n+Agents:\n+  * alice, base 3, 0 draft changes\n+    bob, base 2, 1 draft change: hello.txt\n+    starter, base 0, 0 draft changes\n+[exit 0]\n+```\n+\n+## Other checks against the same server, with curl\n+\n+- No token, or a wrong one: 401 `missing or wrong token`. `GET /version` answers without one.\n+- 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`.\n+- 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.\n+- `GET head` answers `{version, at}` from storage. `GET feed?from=<end>&wait=3` holds for 3 seconds, then answers with no events.\n+- `/issues/p/<project>/...` reaches the issues stand-in (404 `issues aren't on this server yet`) after auth.\n+- `POST git-remote` with Artifacts off: 501 `this server has no Artifacts binding, so no git remote`."}],"unmatched":[]}