Versions 116 to 318
new file, 101 lines
6+
7+test("projection scratch is isolated, detached and rolled back inside canonical transactions", () => {
35+ // A scratch rollback drops only what the scratch wrote (abso Capacity): the canonical value written before it, in
37+ assert.equal(storage.retainedEntries, 1, "only the canonical value written before the scratch remains");
42+ assert.equal(storage.retainedEntries, 2, "only the canonical read and successful counter write remain");
48+
49+test("projection errors, changed identities and escaping capabilities cannot commit scratch", () => {
- MCP
- compare on this site's /mcp
- CLI
- abso diff 116 318 src/engine/test/projection-scratch.test.ts --json
- JSON
- /christopher/abso-core/compare/116..318?file=src%2Fengine%2Ftest%2Fprojection-scratch.test.ts&format=json