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

Compare

+4 −1 in 1 place
Lines 32–45 at 318 (were 32–42 at 140)
3232 );
3333 assert.deepEqual(result, { value: 99, data: new Int32Array([1, 2]) });
3434 assert.throws(() => escaped!.write("x", "y", true), /ended/);
35+ // A scratch rollback drops only what the scratch wrote (abso Capacity): the canonical value written before it, in
36+ // the outer transaction, stays cached and is still right.
37+ assert.equal(storage.retainedEntries, 1, "only the canonical value written before the scratch remains");
3538 assert.equal(storage.read("canonical", "before"), 1);
3639 storage.write("canonical", "after", 2);
3740 });
3841 assert.equal(source.db.prepare("SELECT count(*) AS n FROM state").get()!.n, 2);
39− assert.equal(storage.retainedEntries, 1);
42+ assert.equal(storage.retainedEntries, 2, "only the canonical read and successful counter write remain");
4043 assert.equal(storage.read("canonical", "after"), 2);
4144 } finally {
4245 source.db.close();
MCP
compare on this site's /mcp
CLI
abso diff 140 318 src/engine/test/projection-scratch.test.ts --json
JSON
/christopher/abso-core/compare/140..318?file=src%2Fengine%2Ftest%2Fprojection-scratch.test.ts&format=json