Versions 142 to 143
new file, 113 lines
9+
12+
13+test("unchanged atom builder consumes the private reader for replacement and insertion edits", () => {
35+ const reader = new ProjectionReader(adapter, state, new ProjectionReadScope(graph, () => graph).guard(graph));
43+ new ProjectionReader(adapter, state, new ProjectionReadScope(graph, () => graph).guard(graph)).text("f.txt"),
51+
61+ { author: "writer", message: "Move", move: { file: "f.txt", start: 1, end: 2, to: "g.txt", at: 1 } },
62+ { author: "writer", message: "Delete file", edits: [{ file: "f.txt", old: "one\nthree\n", new: "" }] },
63+ { author: "writer", message: "Recreate file", edits: [{ file: "f.txt", old: "", new: "reborn\n" }] },
64+ { author: "writer", message: "Move back", move: { file: "g.txt", start: 1, end: 2, to: "f.txt", at: 0 } },
68+ reader = new ProjectionReader(adapter, state, new ProjectionReadScope(graph, () => graph).guard(graph));
75+ const projected = new ProjectionReader(adapter, state, new ProjectionReadScope(graph, () => graph).guard(graph));
89+
90+test("reader orders deletion contributors by Lamport before sequence and treats unknown membership as absent", () => {
95+ const high = repo.edit({ edits: [{ file: "f.txt", old: "target\n", new: "" }], needs: [chain.id] });
107+ const reader = new ProjectionReader(adapter, state, new ProjectionReadScope(graph, () => graph).guard(graph));
- MCP
- compare on this site's /mcp
- CLI
- abso diff 142 143 src/engine/test/projection-reader.test.ts --json
- JSON
- /christopher/abso-core/compare/142..143?file=src%2Fengine%2Ftest%2Fprojection-reader.test.ts&format=json