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 32 to 33

Compare

+22 −4 in 5 places
Lines 724–730 at 33 (were 724–730 at 32)
724724
725725 // carol gets it on her next edit instead.
726726 const hooked = await edit(folders.carol!, "a.txt", "a\n", "a from carol\n");
727− assert.match(hooked.stdout, /Announcement from lead \(as claimed\): Stop publishing until v12 lands/);
727+ assert.match(hooked.stdout, /lead \(as claimed\) told you:\\n {2}Stop publishing until v12 lands/);
728728 });
729729
730730 it("go only to the agents named with --to, and refuse unknown ones", async () => {
Lines 1598–1621 at 33 (were 1598–1603 at 32)
15981598 ]);
15991599 assert.match(lines[5]!, /^- y{1500} \.\.\. \(cut; \.abso\/news\.log has it whole\)$/);
16001600 });
1602+ it("shows a tell under who told it, uncut, its words indented below", () => {
1603+ const long = "z".repeat(3000);
1604+ const said = 'Ship it\n- now: "really"';
1605+ const ctx = newsContext([
1606+ `Announcement from ann (as claimed): ${long}`,
1607+ `Announcement from Robin (a person, signed in on the website, id cf-9): ${JSON.stringify(said)}`,
1608+ ])!;
1609+ const lines = ctx.split("\n").slice(1);
1610+ assert.deepEqual(lines, [
1611+ "- ann (as claimed) told you:",
1612+ ` ${long}`,
1613+ "- Robin (a person) told you:",
1614+ " Ship it",
1615+ ' - now: "really"',
1616+ ]);
1617+ assert.equal(ctx.includes("cf-9"), false, "a person's id stays in the log");
1618+ });
16011619});
16021620
16031621describe("abso run --at <version> [--files <glob>] (trial request, Backtracker)", () => {
Lines 3246–3252 at 33 (were 3228–3234 at 32)
32283246 });
32293247 assert.equal(out, "out\n");
32303248 assert.equal(r.stdout, "");
3231− assert.match(r.stderr, /^News:\n {2}Announcement from bob \(as claimed\): heads up\n$/);
3249+ assert.match(r.stderr, /^News:\n {2}bob \(as claimed\) told you:\n {4}heads up\n$/);
32323250 });
32333251
32343252 it("publish --check refuses when the box has no prep and the project has a package-lock (Builder 1)", async () => {
Lines 3408–3414 at 33 (were 3390–3396 at 32)
33903408 const synced = await main(["sync"], { cwd: bob, env: ENV, write: () => {} });
33913409 assert.match(
33923410 synced.stdout,
3393− /\nNews:\n {2}Announcement from alice \(as claimed\): Ruling: playtest builds come from v40 only\.\n$/,
3411+ /\nNews:\n {2}alice \(as claimed\) told you:\n {4}Ruling: playtest builds come from v40 only\.\n$/,
33943412 );
33953413 await say("Second ruling.");
33963414 write(bob, { "b.txt": "b by bob\n" });
Lines 3422–3428 at 33 (were 3404–3410 at 32)
34043422 assert.doesNotMatch(failed.stdout, /News/);
34053423 const recorded = await main(["record"], { cwd: bob, env: ENV, write: () => {} });
34063424 assert.equal(
3407− recorded.stdout.match(/Announcement from alice \(as claimed\): Third\./g)?.length,
3425+ recorded.stdout.match(/alice \(as claimed\) told you:\n {4}Third\./g)?.length,
34083426 1,
34093427 "printed once, not twice",
34103428 );
MCP
compare on this site's /mcp
CLI
abso diff 32 33 client/test/client.test.ts --json
JSON
/christopher/abso-core/compare/32..33?file=client%2Ftest%2Fclient.test.ts&format=json