Versions 97 to 318
new file, 137 lines
9+
12+
36+
37+test("unchanged atom builder consumes the private reader for replacement and insertion edits", () => {
59+ const reader = new ProjectionReader(adapter, state, new ProjectionReadScope(graph, () => graph).guard(graph));
67+ new ProjectionReader(adapter, state, new ProjectionReadScope(graph, () => graph).guard(graph)).text("f.txt"),
75+
85+ { author: "writer", message: "Move", move: { file: "f.txt", start: 1, end: 2, to: "g.txt", at: 1 } },
86+ { author: "writer", message: "Delete file", edits: [{ file: "f.txt", old: "one\nthree\n", new: "" }] },
87+ { author: "writer", message: "Recreate file", edits: [{ file: "f.txt", old: "", new: "reborn\n" }] },
88+ { author: "writer", message: "Move back", move: { file: "g.txt", start: 1, end: 2, to: "f.txt", at: 0 } },
92+ reader = new ProjectionReader(adapter, state, new ProjectionReadScope(graph, () => graph).guard(graph));
99+ const projected = new ProjectionReader(adapter, state, new ProjectionReadScope(graph, () => graph).guard(graph));
113+
114+test("reader orders deletion contributors by Lamport before sequence and treats unknown membership as absent", () => {
119+ const high = repo.edit({ edits: [{ file: "f.txt", old: "target\n", new: "" }], needs: [chain.id] });
131+ const reader = new ProjectionReader(adapter, state, new ProjectionReadScope(graph, () => graph).guard(graph));
- MCP
- compare on this site's /mcp
- CLI
- abso diff 97 318 src/engine/test/projection-reader.test.ts --json
- JSON
- /christopher/abso-core/compare/97..318?file=src%2Fengine%2Ftest%2Fprojection-reader.test.ts&format=json