Versions 102 to 103
new file, 127 lines
3+
8+
10+ it("matches a one-file record query after repeated writers, readers, and delete/recreate history", () => {
14+ repo.edit({ edits: [{ file: "src.txt", start: 1, end: 1, lines: [text], mode: "after" }] }, base);
22+ const recreation = repo.edit({ edits: [{ file: "recreated.txt", old: "", new: lines("fresh") }] });
23+
34+
46+ const expectedDeps = ["a0", writerOne.id, writerTwo.id, readerOne.id, readerTwo.id, attrOne.id, attrTwo.id];
59+
67+ edits: input.edits.map((edit, index) => (index === 1 ? { ...edit, lines: ["different"] } : edit)),
72+
79+ const visible = (view: View, path: string) => view.lines(path).map((line) => [line.id, line.text, line.atom]);
93+ liveView.sequence("recreated.txt").map((line) => [line.id, line.text, line.visible, line.deletedBy]),
99+
- MCP
- compare on this site's /mcp
- CLI
- abso diff 102 103 src/engine/test/record-query-contract.test.ts --json
- JSON
- /christopher/abso-core/compare/102..103?file=src%2Fengine%2Ftest%2Frecord-query-contract.test.ts&format=json