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 222 to 223

Compare

+36 −1 in 2 places
Lines 1–7 at 223 (were 1–7 at 222)
11// abso autosettle's words (abso-core 23): each choice said plainly, the gate when stopped, and who changed it.
22import assert from "node:assert/strict";
33import { test } from "node:test";
4−import { autosettleWords } from "../src/autosettle-commands.ts";
4+import { autosettleWords, holdWords } from "../src/autosettle-commands.ts";
55
66test("each choice is said plainly, with the gate when it's stopped and who changed it last", () => {
77 assert.match(
Lines 21–58 at 223 (were 21–23 at 222)
2121 assert.match(settle, /Stopped by abso for now/);
2222 assert.match(settle, /Last changed by christopher, 2026-10-15T07:00:00\.000Z\.$/);
2323});
25+test("a held push in the history: what the model said, whether abso was told to settle it, and what was then kept", () => {
26+ const words = holdWords({
27+ id: 2,
28+ time: "2026-10-15T07:03:19.030Z",
29+ agent: "docs",
30+ message: "Fix the jion typo, and say to pull after joining\n\nSettled automatically (abso 19):",
31+ mode: "settle",
32+ at: 0.5,
33+ collisions: [
34+ {
35+ file: "docs/start.md",
36+ theirs: { agent: "client", version: 2 },
37+ advice: { pick: "yours", confidence: 0.81, by: "model", reason: "r" },
38+ settled: true,
39+ outcome: { kept: "yours", auto: true, version: 3 },
40+ },
41+ {
42+ file: "src/network.ts",
43+ theirs: { agent: "client" },
44+ advice: { pick: "theirs", confidence: 1, by: "rule", reason: "r" },
45+ settled: false,
46+ outcome: null,
47+ },
48+ ],
49+ });
50+ assert.equal(
51+ words,
52+ [
53+ '2: docs, 2026-10-15T07:03:19.030Z, under settle at 0.50: "Fix the jion typo, and say to pull after joining"',
54+ " docs/start.md, against client's version 2: advised keep yours (model, 0.81), told to settle; kept yours automatically in version 3.",
55+ " src/network.ts, against client: advised keep theirs (a check in code); not settled yet.",
56+ ].join("\n"),
57+ );
58+});
MCP
compare on this site's /mcp
CLI
abso diff 222 223 client/test/autosettle-command.test.ts --json
JSON
/christopher/abso-core/compare/222..223?file=client%2Ftest%2Fautosettle-command.test.ts&format=json