{"file":"worker/project/test/without.test.ts","version":318,"total":206,"from":1,"to":206,"lines":[{"n":1,"text":"// A version without others: the files of one version of shared with some earlier versions left out. A read:","atom":"a2088","author":"candidates","version":186},{"n":2,"text":"// shared and its log never change. Refused, naming the chain, when a version kept builds on one left out.","atom":"a2088","author":"candidates","version":186},{"n":3,"text":"","atom":"a2088","author":"candidates","version":186},{"n":4,"text":"import assert from \"node:assert/strict\";","atom":"a2088","author":"candidates","version":186},{"n":5,"text":"import { test } from \"node:test\";","atom":"a2088","author":"candidates","version":186},{"n":6,"text":"import { MemoryStore, Project, ProjectError } from \"../project.ts\";","atom":"a2088","author":"candidates","version":186},{"n":7,"text":"import { treeHash } from \"../tree.ts\";","atom":"a2088","author":"candidates","version":186},{"n":8,"text":"","atom":"a2088","author":"candidates","version":186},{"n":9,"text":"const START = { \"a.ts\": \"one\\ntwo\\nthree\\n\", \"b.ts\": \"alpha\\nbeta\\n\" };","atom":"a2088","author":"candidates","version":186},{"n":10,"text":"","atom":"a2088","author":"candidates","version":186},{"n":11,"text":"function setup() {","atom":"a2088","author":"candidates","version":186},{"n":12,"text":"\tconst store = new MemoryStore();","atom":"a2088","author":"candidates","version":186},{"n":13,"text":"\tconst project = new Project(store, { hasBlob: () => true });","atom":"a2088","author":"candidates","version":186},{"n":14,"text":"\tproject.init(START, 0);","atom":"a2088","author":"candidates","version":186},{"n":15,"text":"\tfor (const a of [\"ann\", \"bob\", \"cat\"]) project.sync(a);","atom":"a2088","author":"candidates","version":186},{"n":16,"text":"\treturn { project, store };","atom":"a2088","author":"candidates","version":186},{"n":17,"text":"}","atom":"a2088","author":"candidates","version":186},{"n":18,"text":"","atom":"a2088","author":"candidates","version":186},{"n":19,"text":"/** ann publishes v1 (a.ts), bob v2 (b.ts), cat v3 (a new c.ts): three versions that don't build on each other. */","atom":"a2088","author":"candidates","version":186},{"n":20,"text":"function threeVersions(project: Project): void {","atom":"a2088","author":"candidates","version":186},{"n":21,"text":"\tproject.edit(\"ann\", { file: \"a.ts\", old: \"two\", new: \"TWO\" }, 1);","atom":"a2088","author":"candidates","version":186},{"n":22,"text":"\tproject.publish(\"ann\", \"Shout two\", 2);","atom":"a2088","author":"candidates","version":186},{"n":23,"text":"\tproject.edit(\"bob\", { file: \"b.ts\", old: \"beta\", new: \"BETA\" }, 3);","atom":"a2088","author":"candidates","version":186},{"n":24,"text":"\tproject.publish(\"bob\", \"Shout beta\", 4);","atom":"a2088","author":"candidates","version":186},{"n":25,"text":"\tproject.record(\"cat\", { \"c.ts\": \"gamma\\n\" }, 5);","atom":"a2088","author":"candidates","version":186},{"n":26,"text":"\tproject.publish(\"cat\", \"Add c\", 6);","atom":"a2088","author":"candidates","version":186},{"n":27,"text":"}","atom":"a2088","author":"candidates","version":186},{"n":28,"text":"","atom":"a2088","author":"candidates","version":186},{"n":29,"text":"const badRequest = (f: () => unknown): string => {","atom":"a2088","author":"candidates","version":186},{"n":30,"text":"\ttry {","atom":"a2088","author":"candidates","version":186},{"n":31,"text":"\t\tf();","atom":"a2088","author":"candidates","version":186},{"n":32,"text":"\t} catch (e) {","atom":"a2088","author":"candidates","version":186},{"n":33,"text":"\t\tif (e instanceof ProjectError && e.code === \"bad-request\") return e.message;","atom":"a2088","author":"candidates","version":186},{"n":34,"text":"\t\tthrow e;","atom":"a2088","author":"candidates","version":186},{"n":35,"text":"\t}","atom":"a2088","author":"candidates","version":186},{"n":36,"text":"\treturn \"no error\";","atom":"a2088","author":"candidates","version":186},{"n":37,"text":"};","atom":"a2088","author":"candidates","version":186},{"n":38,"text":"","atom":"a2088","author":"candidates","version":186},{"n":39,"text":"test(\"leaving out an independent version takes only its change out; the others stay as they are\", () => {","atom":"a2088","author":"candidates","version":186},{"n":40,"text":"\tconst { project, store } = setup();","atom":"a2088","author":"candidates","version":186},{"n":41,"text":"\tthreeVersions(project);","atom":"a2088","author":"candidates","version":186},{"n":42,"text":"\tconst entries = store.entries.length;","atom":"a2088","author":"candidates","version":186},{"n":43,"text":"\tconst answer = project.without(3, [1]);","atom":"a2088","author":"candidates","version":186},{"n":44,"text":"\tassert.equal(answer.ok, true);","atom":"a2088","author":"candidates","version":186},{"n":45,"text":"\tassert.ok(answer.ok);","atom":"a2088","author":"candidates","version":186},{"n":46,"text":"\tassert.deepEqual(answer.without, [{ version: 1, agent: \"ann\", message: \"Shout two\" }]);","atom":"a2088","author":"candidates","version":186},{"n":47,"text":"\tassert.deepEqual(answer.files, [{ path: \"a.ts\", before: \"one\\nTWO\\nthree\\n\", after: \"one\\ntwo\\nthree\\n\" }]);","atom":"a2088","author":"candidates","version":186},{"n":48,"text":"\tassert.equal(","atom":"a2103","author":"candidates","version":186},{"n":49,"text":"\t\tanswer.tree,","atom":"a2103","author":"candidates","version":186},{"n":50,"text":"\t\ttreeHash({ files: { \"a.ts\": \"one\\ntwo\\nthree\\n\", \"b.ts\": \"alpha\\nBETA\\n\", \"c.ts\": \"gamma\\n\" } }),","atom":"a2103","author":"candidates","version":186},{"n":51,"text":"\t);","atom":"a2103","author":"candidates","version":186},{"n":52,"text":"\t// Shared is unchanged: same version, same files, nothing written to the log.","atom":"a2088","author":"candidates","version":186},{"n":53,"text":"\tassert.equal(project.version, 3);","atom":"a2088","author":"candidates","version":186},{"n":54,"text":"\tassert.deepEqual(project.files(), { \"a.ts\": \"one\\nTWO\\nthree\\n\", \"b.ts\": \"alpha\\nBETA\\n\", \"c.ts\": \"gamma\\n\" });","atom":"a2088","author":"candidates","version":186},{"n":55,"text":"\tassert.equal(store.entries.length, entries);","atom":"a2088","author":"candidates","version":186},{"n":56,"text":"\t// Two left out at once.","atom":"a2088","author":"candidates","version":186},{"n":57,"text":"\tconst two = project.without(3, [3, 1]);","atom":"a2088","author":"candidates","version":186},{"n":58,"text":"\tassert.ok(two.ok);","atom":"a2088","author":"candidates","version":186},{"n":59,"text":"\tassert.deepEqual(","atom":"a2088","author":"candidates","version":186},{"n":60,"text":"\t\ttwo.without.map((w) => w.version),","atom":"a2088","author":"candidates","version":186},{"n":61,"text":"\t\t[1, 3],","atom":"a2088","author":"candidates","version":186},{"n":62,"text":"\t);","atom":"a2088","author":"candidates","version":186},{"n":63,"text":"\tassert.deepEqual(","atom":"a2088","author":"candidates","version":186},{"n":64,"text":"\t\ttwo.files.map((f) => [f.path, f.after]),","atom":"a2088","author":"candidates","version":186},{"n":65,"text":"\t\t[","atom":"a2088","author":"candidates","version":186},{"n":66,"text":"\t\t\t[\"a.ts\", \"one\\ntwo\\nthree\\n\"],","atom":"a2088","author":"candidates","version":186},{"n":67,"text":"\t\t\t[\"c.ts\", null],","atom":"a2088","author":"candidates","version":186},{"n":68,"text":"\t\t],","atom":"a2088","author":"candidates","version":186},{"n":69,"text":"\t);","atom":"a2088","author":"candidates","version":186},{"n":70,"text":"});","atom":"a2088","author":"candidates","version":186},{"n":71,"text":"","atom":"a2088","author":"candidates","version":186},{"n":72,"text":"test(\"the same ask gives the same answer, and shared moving on doesn't change it\", () => {","atom":"a2088","author":"candidates","version":186},{"n":73,"text":"\tconst { project } = setup();","atom":"a2088","author":"candidates","version":186},{"n":74,"text":"\tthreeVersions(project);","atom":"a2088","author":"candidates","version":186},{"n":75,"text":"\tconst first = project.without(3, [2]);","atom":"a2088","author":"candidates","version":186},{"n":76,"text":"\tassert.deepEqual(project.without(3, [2]), first);","atom":"a2088","author":"candidates","version":186},{"n":77,"text":"\tproject.sync(\"ann\");","atom":"a2088","author":"candidates","version":186},{"n":78,"text":"\tproject.edit(\"ann\", { file: \"c.ts\", old: \"gamma\", new: \"GAMMA\" }, 7);","atom":"a2088","author":"candidates","version":186},{"n":79,"text":"\tproject.publish(\"ann\", \"Shout gamma\", 8);","atom":"a2088","author":"candidates","version":186},{"n":80,"text":"\tassert.deepEqual(project.without(3, [2]), first);","atom":"a2088","author":"candidates","version":186},{"n":81,"text":"\t// Asked of the newer version, the newer change is in it.","atom":"a2088","author":"candidates","version":186},{"n":82,"text":"\tconst later = project.without(4, [2]);","atom":"a2088","author":"candidates","version":186},{"n":83,"text":"\tassert.ok(later.ok && first.ok);","atom":"a2088","author":"candidates","version":186},{"n":84,"text":"\tassert.notEqual(later.tree, first.tree);","atom":"a2088","author":"candidates","version":186},{"n":85,"text":"});","atom":"a2088","author":"candidates","version":186},{"n":86,"text":"","atom":"a2088","author":"candidates","version":186},{"n":87,"text":"test(\"leaving out a version a kept one builds on is refused, with the chain, the files and the wider set\", () => {","atom":"a2088","author":"candidates","version":186},{"n":88,"text":"\tconst { project, store } = setup();","atom":"a2088","author":"candidates","version":186},{"n":89,"text":"\tthreeVersions(project);","atom":"a2088","author":"candidates","version":186},{"n":90,"text":"\tproject.sync(\"cat\");","atom":"a2088","author":"candidates","version":186},{"n":91,"text":"\tproject.edit(\"cat\", { file: \"a.ts\", old: \"TWO\", new: \"TWO!\" }, 7);","atom":"a2088","author":"candidates","version":186},{"n":92,"text":"\tproject.publish(\"cat\", \"Louder\", 8); // v4 builds on v1","atom":"a2088","author":"candidates","version":186},{"n":93,"text":"\tproject.sync(\"bob\");","atom":"a2088","author":"candidates","version":186},{"n":94,"text":"\tproject.edit(\"bob\", { file: \"a.ts\", old: \"TWO!\", new: \"TWO!!\" }, 9);","atom":"a2088","author":"candidates","version":186},{"n":95,"text":"\tproject.publish(\"bob\", \"Louder still\", 10); // v5 builds on v4","atom":"a2088","author":"candidates","version":186},{"n":96,"text":"\tconst entries = store.entries.length;","atom":"a2088","author":"candidates","version":186},{"n":97,"text":"\tconst refused = project.without(5, [1]);","atom":"a2088","author":"candidates","version":186},{"n":98,"text":"\tassert.deepEqual(refused, {","atom":"a2088","author":"candidates","version":186},{"n":99,"text":"\t\tok: false,","atom":"a2088","author":"candidates","version":186},{"n":100,"text":"\t\tversion: 5,","atom":"a2088","author":"candidates","version":186},{"n":101,"text":"\t\twithout: [{ version: 1, agent: \"ann\", message: \"Shout two\" }],","atom":"a2088","author":"candidates","version":186},{"n":102,"text":"\t\tdependents: [","atom":"a2088","author":"candidates","version":186},{"n":103,"text":"\t\t\t{ version: 4, agent: \"cat\", message: \"Louder\", needs: [{ version: 1, files: [\"a.ts\"] }] },","atom":"a2088","author":"candidates","version":186},{"n":104,"text":"\t\t\t{ version: 5, agent: \"bob\", message: \"Louder still\", needs: [{ version: 4, files: [\"a.ts\"] }] },","atom":"a2088","author":"candidates","version":186},{"n":105,"text":"\t\t],","atom":"a2088","author":"candidates","version":186},{"n":106,"text":"\t\tsuggestion: [1, 4, 5],","atom":"a2088","author":"candidates","version":186},{"n":107,"text":"\t});","atom":"a2088","author":"candidates","version":186},{"n":108,"text":"\tassert.equal(store.entries.length, entries);","atom":"a2088","author":"candidates","version":186},{"n":109,"text":"\tassert.equal(project.version, 5);","atom":"a2088","author":"candidates","version":186},{"n":110,"text":"\t// The suggestion, asked for, works; it's never applied without being asked.","atom":"a2088","author":"candidates","version":186},{"n":111,"text":"\tconst wider = project.without(5, refused.ok ? [] : refused.suggestion);","atom":"a2088","author":"candidates","version":186},{"n":112,"text":"\tassert.ok(wider.ok);","atom":"a2088","author":"candidates","version":186},{"n":113,"text":"\tassert.deepEqual(wider.files, [{ path: \"a.ts\", before: \"one\\nTWO!!\\nthree\\n\", after: \"one\\ntwo\\nthree\\n\" }]);","atom":"a2088","author":"candidates","version":186},{"n":114,"text":"\t// Before the dependent version, leaving it out is fine.","atom":"a2088","author":"candidates","version":186},{"n":115,"text":"\tassert.equal(project.without(3, [1]).ok, true);","atom":"a2088","author":"candidates","version":186},{"n":116,"text":"});","atom":"a2088","author":"candidates","version":186},{"n":117,"text":"","atom":"a2088","author":"candidates","version":186},{"n":118,"text":"test(\"a deletion left out brings the lines back; a rename left out keeps the old name; a move left out puts lines back\", () => {","atom":"a2088","author":"candidates","version":186},{"n":119,"text":"\tconst { project } = setup();","atom":"a2088","author":"candidates","version":186},{"n":120,"text":"\tproject.edit(\"ann\", { file: \"a.ts\", old: \"two\\n\", new: \"\" }, 1);","atom":"a2088","author":"candidates","version":186},{"n":121,"text":"\tproject.publish(\"ann\", \"No two\", 2);","atom":"a2088","author":"candidates","version":186},{"n":122,"text":"\tproject.record(\"bob\", { \"b.ts\": null, \"c.ts\": START[\"b.ts\"] }, 3);","atom":"a2088","author":"candidates","version":186},{"n":123,"text":"\tproject.publish(\"bob\", \"Rename b to c\", 4);","atom":"a2088","author":"candidates","version":186},{"n":124,"text":"\tproject.sync(\"cat\");","atom":"a2088","author":"candidates","version":186},{"n":125,"text":"\tproject.move(\"cat\", \"a.ts\", \"src/a.ts\", 5);","atom":"a2088","author":"candidates","version":186},{"n":126,"text":"\tproject.publish(\"cat\", \"Move a into src\", 6);","atom":"a2088","author":"candidates","version":186},{"n":127,"text":"\tassert.deepEqual(project.files(), { \"src/a.ts\": \"one\\nthree\\n\", \"c.ts\": \"alpha\\nbeta\\n\" });","atom":"a2088","author":"candidates","version":186},{"n":128,"text":"","atom":"a2088","author":"candidates","version":186},{"n":129,"text":"\tconst noDelete = project.without(3, [1]);","atom":"a2088","author":"candidates","version":186},{"n":130,"text":"\tassert.ok(noDelete.ok);","atom":"a2088","author":"candidates","version":186},{"n":131,"text":"\tassert.deepEqual(","atom":"a2088","author":"candidates","version":186},{"n":132,"text":"\t\tnoDelete.files.map((f) => [f.path, f.after]),","atom":"a2088","author":"candidates","version":186},{"n":133,"text":"\t\t[[\"src/a.ts\", \"one\\ntwo\\nthree\\n\"]],","atom":"a2088","author":"candidates","version":186},{"n":134,"text":"\t);","atom":"a2088","author":"candidates","version":186},{"n":135,"text":"\tconst noRename = project.without(3, [2]);","atom":"a2088","author":"candidates","version":186},{"n":136,"text":"\tassert.ok(noRename.ok);","atom":"a2088","author":"candidates","version":186},{"n":137,"text":"\tassert.deepEqual(","atom":"a2088","author":"candidates","version":186},{"n":138,"text":"\t\tnoRename.files.map((f) => [f.path, f.before, f.after]),","atom":"a2088","author":"candidates","version":186},{"n":139,"text":"\t\t[","atom":"a2088","author":"candidates","version":186},{"n":140,"text":"\t\t\t[\"b.ts\", null, \"alpha\\nbeta\\n\"],","atom":"a2088","author":"candidates","version":186},{"n":141,"text":"\t\t\t[\"c.ts\", \"alpha\\nbeta\\n\", null],","atom":"a2088","author":"candidates","version":186},{"n":142,"text":"\t\t],","atom":"a2088","author":"candidates","version":186},{"n":143,"text":"\t);","atom":"a2088","author":"candidates","version":186},{"n":144,"text":"\tconst noMove = project.without(3, [3]);","atom":"a2088","author":"candidates","version":186},{"n":145,"text":"\tassert.ok(noMove.ok);","atom":"a2088","author":"candidates","version":186},{"n":146,"text":"\tassert.deepEqual(","atom":"a2088","author":"candidates","version":186},{"n":147,"text":"\t\tnoMove.files.map((f) => [f.path, f.after]),","atom":"a2088","author":"candidates","version":186},{"n":148,"text":"\t\t[","atom":"a2088","author":"candidates","version":186},{"n":149,"text":"\t\t\t[\"a.ts\", \"one\\nthree\\n\"],","atom":"a2088","author":"candidates","version":186},{"n":150,"text":"\t\t\t[\"src/a.ts\", null],","atom":"a2088","author":"candidates","version":186},{"n":151,"text":"\t\t],","atom":"a2088","author":"candidates","version":186},{"n":152,"text":"\t);","atom":"a2088","author":"candidates","version":186},{"n":153,"text":"});","atom":"a2088","author":"candidates","version":186},{"n":154,"text":"","atom":"a2088","author":"candidates","version":186},{"n":155,"text":"test(\"a binary file's change and an executable bit left out go back to what they were\", () => {","atom":"a2088","author":"candidates","version":186},{"n":156,"text":"\tconst A = \"a\".repeat(64);","atom":"a2088","author":"candidates","version":186},{"n":157,"text":"\tconst B = \"b\".repeat(64);","atom":"a2088","author":"candidates","version":186},{"n":158,"text":"\tconst store = new MemoryStore();","atom":"a2088","author":"candidates","version":186},{"n":159,"text":"\tconst project = new Project(store, { hasBlob: () => true });","atom":"a2088","author":"candidates","version":186},{"n":160,"text":"\tproject.init({ \"run.sh\": \"echo hi\\n\" }, 0, {}, { \"logo.png\": A });","atom":"a2088","author":"candidates","version":186},{"n":161,"text":"\tproject.sync(\"ann\");","atom":"a2088","author":"candidates","version":186},{"n":162,"text":"\tproject.record(\"ann\", {}, 1, {}, { \"logo.png\": B });","atom":"a2088","author":"candidates","version":186},{"n":163,"text":"\tproject.publish(\"ann\", \"New logo\", 2);","atom":"a2088","author":"candidates","version":186},{"n":164,"text":"\tproject.record(\"ann\", {}, 3, { \"run.sh\": { exec: true } });","atom":"a2088","author":"candidates","version":186},{"n":165,"text":"\tproject.publish(\"ann\", \"Make run.sh runnable\", 4);","atom":"a2088","author":"candidates","version":186},{"n":166,"text":"\tconst noLogo = project.without(2, [1]);","atom":"a2088","author":"candidates","version":186},{"n":167,"text":"\tassert.ok(noLogo.ok);","atom":"a2088","author":"candidates","version":186},{"n":168,"text":"\tassert.deepEqual(","atom":"a2088","author":"candidates","version":186},{"n":169,"text":"\t\tnoLogo.files.map((f) => [f.path, f.blob]),","atom":"a2088","author":"candidates","version":186},{"n":170,"text":"\t\t[[\"logo.png\", { before: B, after: A }]],","atom":"a2088","author":"candidates","version":186},{"n":171,"text":"\t);","atom":"a2088","author":"candidates","version":186},{"n":172,"text":"\tconst noExec = project.without(2, [2]);","atom":"a2088","author":"candidates","version":186},{"n":173,"text":"\tassert.ok(noExec.ok);","atom":"a2088","author":"candidates","version":186},{"n":174,"text":"\tassert.deepEqual(","atom":"a2088","author":"candidates","version":186},{"n":175,"text":"\t\tnoExec.files.map((f) => [f.path, f.mode?.after.exec ?? false]),","atom":"a2088","author":"candidates","version":186},{"n":176,"text":"\t\t[[\"run.sh\", false]],","atom":"a2088","author":"candidates","version":186},{"n":177,"text":"\t);","atom":"a2088","author":"candidates","version":186},{"n":178,"text":"});","atom":"a2088","author":"candidates","version":186},{"n":179,"text":"","atom":"a2088","author":"candidates","version":186},{"n":180,"text":"test(\"versions it can't leave out are refused plainly\", () => {","atom":"a2088","author":"candidates","version":186},{"n":181,"text":"\tconst { project } = setup();","atom":"a2088","author":"candidates","version":186},{"n":182,"text":"\tthreeVersions(project);","atom":"a2088","author":"candidates","version":186},{"n":183,"text":"\tassert.equal(project.drop(\"cat\", [2], \"Undo beta\", 7).ok, true); // v4 drops v2","atom":"a2088","author":"candidates","version":186},{"n":184,"text":"\tassert.match(","atom":"a2103","author":"candidates","version":186},{"n":185,"text":"\t\tbadRequest(() => project.without(3, [4])),","atom":"a2103","author":"candidates","version":186},{"n":186,"text":"\t\t/comes after version 3/,","atom":"a2103","author":"candidates","version":186},{"n":187,"text":"\t);","atom":"a2103","author":"candidates","version":186},{"n":188,"text":"\tassert.match(","atom":"a2103","author":"candidates","version":186},{"n":189,"text":"\t\tbadRequest(() => project.without(4, [0])),","atom":"a2103","author":"candidates","version":186},{"n":190,"text":"\t\t/version 0 is the start/,","atom":"a2103","author":"candidates","version":186},{"n":191,"text":"\t);","atom":"a2103","author":"candidates","version":186},{"n":192,"text":"\tassert.match(","atom":"a2103","author":"candidates","version":186},{"n":193,"text":"\t\tbadRequest(() => project.without(4, [4])),","atom":"a2103","author":"candidates","version":186},{"n":194,"text":"\t\t/is a drop/,","atom":"a2103","author":"candidates","version":186},{"n":195,"text":"\t);","atom":"a2103","author":"candidates","version":186},{"n":196,"text":"\tassert.match(","atom":"a2103","author":"candidates","version":186},{"n":197,"text":"\t\tbadRequest(() => project.without(4, [2])),","atom":"a2103","author":"candidates","version":186},{"n":198,"text":"\t\t/isn't in version 4: version 4 dropped it/,","atom":"a2103","author":"candidates","version":186},{"n":199,"text":"\t);","atom":"a2103","author":"candidates","version":186},{"n":200,"text":"\tassert.match(","atom":"a2103","author":"candidates","version":186},{"n":201,"text":"\t\tbadRequest(() => project.without(4, [])),","atom":"a2103","author":"candidates","version":186},{"n":202,"text":"\t\t/versions to leave out/,","atom":"a2103","author":"candidates","version":186},{"n":203,"text":"\t);","atom":"a2103","author":"candidates","version":186},{"n":204,"text":"\t// Before the drop, it's there to leave out.","atom":"a2088","author":"candidates","version":186},{"n":205,"text":"\tassert.equal(project.without(3, [2]).ok, true);","atom":"a2088","author":"candidates","version":186},{"n":206,"text":"});","atom":"a2088","author":"candidates","version":186}],"atoms":[{"atom":"a2088","author":"candidates","message":"","time":1792003476862,"timeIso":"2026-10-14T18:44:36.862Z","publish":{"draft":null,"version":186,"agent":"candidates","message":"Read a version of shared without some earlier versions: abso show <N> --without A,B shows what differs and abso export <dir> --version N --without A,B writes the files. The server's GET without?version=&versions= checks the set left exactly as asked: when a version it keeps builds on one left out, it refuses with that chain, the files and the wider set that works, and never widens it. Atoms keep their ids and authors; shared and its log don't change; the same ask gives the same tree hash.","time":1792004002371,"timeIso":"2026-10-14T18:53:22.371Z"}},{"atom":"a2103","author":"candidates","message":"","time":1792003808372,"timeIso":"2026-10-14T18:50:08.372Z","publish":{"draft":null,"version":186,"agent":"candidates","message":"Read a version of shared without some earlier versions: abso show <N> --without A,B shows what differs and abso export <dir> --version N --without A,B writes the files. The server's GET without?version=&versions= checks the set left exactly as asked: when a version it keeps builds on one left out, it refuses with that chain, the files and the wider set that works, and never widens it. Atoms keep their ids and authors; shared and its log don't change; the same ask gives the same tree hash.","time":1792004002371,"timeIso":"2026-10-14T18:53:22.371Z"}}]}