Versions 148 to 149
new file, 227 lines
8+import { indexAcceptedProjectionAtom, ProjectionAtomIndex } from "../experimental/projection-atom-index.ts";
13+
24+ assert.deepEqual(descriptor.item("inserts", 0), { file: "a.txt", parent: "^a.txt", lines: 1000 });
30+ assert.throws(() => new ProjectionAtomIndex(db).put(atom, digest, ["a.txt"]), /already exists/);
36+
91+
131+
132+test("indexed adoption reopens through dependencies, attributes, deletion and reverse removal without atom reads", () => {
170+ const p = new ExperimentalMarkerProjection(db, new Graph({ storage: db }), "a.txt", "indexed");
187+ const actual = new ExperimentalMarkerProjection(db, new Graph({ storage: db }), "a.txt", "indexed");
201+
223+ assert.throws(() => new Graph({ indexAcceptedAtom: indexAcceptedProjectionAtom }), /requires persistent/);
- MCP
- compare on this site's /mcp
- CLI
- abso diff 148 149 src/engine/test/projection-atom-index.test.ts --json
- JSON
- /christopher/abso-core/compare/148..149?file=src%2Fengine%2Ftest%2Fprojection-atom-index.test.ts&format=json