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
MCP
show on this site's /mcp
CLI
abso show 39 --json
JSON
/christopher/abso-core/versions/39?format=json

More comments and test names give their reason without naming who raised it

of shared·infra-split··Not checked

The same cleanup as version 37, for notes it missed because they were wrapped or worded differently: "(#37, Playtester 1)" becomes "(#37)", "(#39, agreed with Engine)" becomes "(#39)", and a commit hash after a name goes with the name. Issue numbers stay. No behavior changes.

Version 38 · Files at version 39

11 files, 20 lines added, 22 removed.

--- a/client/src/api-answers.ts
+++ b/client/src/api-answers.ts
@@ -63,7 +63,7 @@
6363 readonly file: string;
6464 readonly kept: "yours" | "theirs" | "both" | "rewrote";
6565 readonly theirs: { readonly agent: string; readonly version: number };
66− /** Lines both sides still had that the settled file no longer has (#37, Playtester 1). */
66+ /** Lines both sides still had that the settled file no longer has (#37). */
6767 readonly lost?: readonly string[];
6868}
6969export interface RecordAnswer {
--- a/client/src/export.ts
+++ b/client/src/export.ts
@@ -1,14 +1,14 @@
11// abso export <dir> [--version N]: one published version of this folder's
22// space, written to a folder of its own, for a build that doesn't move while
3−// shared does (#37, Playtester 1). The folder gets .abso-export naming the
3+// shared does (#37). The folder gets .abso-export naming the
44// version, to stamp the build with: JSON on one line, in a file with no
55// extension, so the exported project's own formatter and linter pass it by.
66// Exporting again replaces the folder, keeping node_modules (and what --keep
77// names) so a build needs no new install.
88//
99// The version is rebuilt as `abso run --at` rebuilds it (at.ts), from the
10−// known copies and one compare; the server's listing of that version (#37,
11−// Engine 522be7f) then checks that no file is left out.
10+// known copies and one compare; the server's listing of that version (#37)
11+// then checks that no file is left out.
1212
1313import { chmodSync, existsSync, mkdirSync, readdirSync, rmSync, statSync, writeFileSync } from "node:fs";
1414import { dirname, join, resolve } from "node:path";
--- a/client/src/publish-commands.ts
+++ b/client/src/publish-commands.ts
@@ -316,7 +316,7 @@
316316 try {
317317 answer = await api.publish(message, asIs);
318318 } catch (err) {
319− // The answer can be lost after the publish committed (Cloud: a storage reset killed the reply to
319+ // The answer can be lost after the publish committed (a storage reset killed the reply to
320320 // two publishes that had landed). Look before saying it failed; never publish again by itself.
321321 const found = await afterLostPublish(api, config.agent, message, started, err);
322322 if (found) return { ...found, text: [...pre, found.text].join("\n") };
@@ -536,7 +536,7 @@
536536function settledText(settled: readonly Settled[], version: number | undefined): string[] {
537537 if (settled.length === 0) return [];
538538 const said = { yours: "kept yours", theirs: "kept theirs", both: "kept both", rewrote: "rewrote them" } as const;
539− // Lines both sides still had that the settled file no longer has (#37, Playtester 1): the settler should look.
539+ // Lines both sides still had that the settled file no longer has (#37): the settler should look.
540540 const quote = (l: string) => `"${l.trim().length > 60 ? `${l.trim().slice(0, 57)}...` : l.trim()}"`;
541541 return [
542542 `Settled ${plural(settled.length, "collision")}: ${settled.map((s) => `${s.file} (${said[s.kept]}, against ${s.theirs.agent}'s version ${s.theirs.version})`).join("; ")}. ${[...new Set(settled.map((s) => s.theirs.agent))].join(", ")} will hear what you kept.`,
--- a/client/src/queue.ts
+++ b/client/src/queue.ts
@@ -9,7 +9,7 @@
99import { type Env, type Output, open, plural } from "./commands.ts";
1010import { logNews } from "./folder.ts";
1111
12−/** How long publish waits by default: under the 2 minutes a Claude Code shell command gets (#39, agreed with Engine). */
12+/** How long publish waits by default: under the 2 minutes a Claude Code shell command gets (#39). */
1313export const WAIT_SECONDS = 100;
1414
1515/** Exit code for a publish still in the queue when the wait ends (#39). */
@@ -95,7 +95,7 @@
9595}
9696
9797/**
98− * A pull, said for the publisher (#39, agreed with Engine): the check's output
98+ * A pull, said for the publisher (#39): the check's output
9999 * first, then the verdict as the last line, since that's the line an agent
100100 * acts on. The engine's news has the output in the middle of its sentence.
101101 */
--- a/client/src/serve-commands.ts
+++ b/client/src/serve-commands.ts
@@ -8,7 +8,7 @@
88import { fetchedText, fetchFromBox } from "./fetch.ts";
99import { untarGz } from "./tar.ts";
1010
11−/** abso serve [--version N]: a preview of one version of shared at a stable URL, built once on the server (#37, Playtester 1). */
11+/** abso serve [--version N]: a preview of one version of shared at a stable URL, built once on the server (#37). */
1212export async function runServe(args: Parsed, env: Env): Promise<Output> {
1313 const raw = str(args, "version");
1414 if (raw !== undefined && !/^\d+$/.test(raw))
--- a/client/src/status-commands.ts
+++ b/client/src/status-commands.ts
@@ -269,7 +269,7 @@
269269 const pending = unrecorded(root);
270270 const local = new Set([...pending.files.keys(), ...pending.blobs.keys(), ...Object.keys(pending.modes)]);
271271 if (short) {
272− // One word to stamp a build with (#37, Playtester 1): 214, coast@3, 214+unpublished.
272+ // One word to stamp a build with (#37): 214, coast@3, 214+unpublished.
273273 const me = status.agents.find((a) => a.agent === config.agent);
274274 const unpublished = local.size > 0 || (me?.draftChanges ?? 0) > 0;
275275 // +queued: published into the merge queue, not landed yet (#39).
--- a/client/test/client.test.ts
+++ b/client/test/client.test.ts
@@ -1216,7 +1216,7 @@
12161216 });
12171217});
12181218
1219−describe("a name defined twice (#25, Engine e94f772)", () => {
1219+describe("a name defined twice (#25)", () => {
12201220 it("says which definition is whose, and that one has to go", () => {
12211221 const text = collisionText({
12221222 kind: "duplicate",
@@ -1811,7 +1811,7 @@
18111811 );
18121812 });
18131813
1814− it("a settle that loses lines both sides had says which, under the Settled line (#37, Playtester 1)", async () => {
1814+ it("a settle that loses lines both sides had says which, under the Settled line (#37)", async () => {
18151815 const { folders } = await project({ "a.txt": "one\nx\nthree\n" }, "alice", "bob");
18161816 write(folders.bob!, { "a.txt": "one\nB1\nshared line\nthree\n" });
18171817 assert.equal((await avcs(folders.bob!, "publish", "-m", "bob")).exit, 0);
@@ -1922,7 +1922,7 @@
19221922 });
19231923});
19241924
1925−describe("abso export and status --short (#37, Playtester 1)", () => {
1925+describe("abso export and status --short (#37)", () => {
19261926 const FILES = { "index.html": "<p>v0</p>\n", "src/game.ts": "game v0\n", "src/old.ts": "old\n" };
19271927 const listAll = (dir: string): string[] =>
19281928 readdirSync(dir, { recursive: true, withFileTypes: true })
@@ -2085,7 +2085,7 @@
20852085 });
20862086});
20872087
2088−describe("lines merged item by item at sync (#37, Engine c164c1a)", () => {
2088+describe("lines merged item by item at sync (#37)", () => {
20892089 it("names the merged line, so the agent reads it before publishing", async () => {
20902090 const { folders } = await project({ "src/main.ts": "const SYSTEMS = [input, physics, render];\n" }, "alice", "bob");
20912091 write(folders.bob!, { "src/main.ts": "const SYSTEMS = [input, physics, audio, render];\n" });
@@ -2792,7 +2792,7 @@
27922792 });
27932793});
27942794
2795−describe("a publish whose answer is lost (Cloud: a storage reset after the publish landed)", () => {
2795+describe("a publish whose answer is lost (a storage reset after the publish landed)", () => {
27962796 it("looks at shared before saying it failed, and never publishes again by itself", async () => {
27972797 const { folders } = await project({ "a.txt": "a\n" }, "alice");
27982798 write(folders.alice!, { "a.txt": "b\n" });
@@ -3311,7 +3311,7 @@
33113311 });
33123312});
33133313
3314−describe("abso bisect and publish --check (Cloud d49759d, #37)", () => {
3314+describe("abso bisect and publish --check (#37)", () => {
33153315 const CHECK = "const t = require('fs').readFileSync('state.txt', 'utf8'); process.exit(t.includes('bad') ? 1 : 0);\n";
33163316
33173317 it("bisect names the first failing version, its author and message", async () => {
--- a/worker/project/markers.ts
+++ b/worker/project/markers.ts
@@ -193,8 +193,7 @@
193193}
194194
195195/**
196− * Lines both sides still had that the settled file has lost (#37, Playtester
197− * 1): neither side deleted them, yet neither side's version, nor the base's,
196+ * Lines both sides still had that the settled file has lost (#37): neither side deleted them, yet neither side's version, nor the base's,
198197 * nor anything reading like a rewording of one, is left. When both sides
199198 * changed line for line, each position is one line in three versions;
200199 * otherwise only lines both sides kept word for word count. Answers each
--- a/worker/project/project-types.ts
+++ b/worker/project/project-types.ts
@@ -444,7 +444,7 @@
444444 file: string;
445445 kept: Kept;
446446 theirs: { agent: string; version: number };
447− /** Lines both sides still had that the settled file lost (#37, Playtester 1): check them. */
447+ /** Lines both sides still had that the settled file lost (#37): check them. */
448448 lost?: string[];
449449}
450450/** A line both sides changed that a sync merged word by word (#37): check it. */
--- a/worker/project/test/markers.test.ts
+++ b/worker/project/test/markers.test.ts
@@ -188,7 +188,7 @@
188188 );
189189});
190190
191−test("a settle that loses lines both sides still had says so, to the settler and the other author (#37, Playtester 1)", () => {
191+test("a settle that loses lines both sides still had says so, to the settler and the other author (#37)", () => {
192192 const notes =
193193 "# playtest\n- [ ] **Beam engine on a Cove with no lighthouse**\n Check it feeds the Fjord.\n- [ ] **Gauge**\n";
194194 const project = new Project(new MemoryStore());
--- a/worker/project/test/spelling-clash.test.ts
+++ b/worker/project/test/spelling-clash.test.ts
@@ -1,5 +1,4 @@
1−// Two spellings of one name never both reach shared (#49; Git
2−// Lessons' review, batch 3): two agents creating README.md and
1+// Two spellings of one name never both reach shared (#49): two agents creating README.md and
32// readme.md at once, one record naming both, init, a file and a folder with
43// one name, and plain git. A clash shared already holds isn't charged to new
54// work.