Versions 91 to 318
Lines 23–29 at 318 (were 23–29 at 91)
2323
2525
26−test("sync writes the block diff3 style, labeled, and lists it as a marked collision", () => {
Lines 90–96 at 318 (were 90–96 at 91)
93− test(`settled by keeping ${keep}: the publish goes through, logs it, and writer1 hears "${phrase}"`, () => {
93+ test(`settled by keeping ${keep}: the push goes through, logs it, and writer1 hears "${phrase}"`, () => {
Lines 103–109 at 318 (were 103–109 at 91)
106− `builder1 settled its collision with your version 1 in src/goals.ts, publishing version 2: ${phrase}. abso show 2:src/goals.ts shows the file.`,
106+ `builder1 settled its collision with your version 1 in src/goals.ts, pushing version 2: ${phrase}. abso show 2:src/goals.ts shows the file.`,
109109 assert.deepEqual(project.status().agents.find((a) => a.agent === "builder1")!.collisions, undefined);
Lines 116–122 at 318 (were 116–122 at 91)
118118
119−test("publish refuses while the markers are in; asIs keeps both, lists the file, and tells writer1", () => {
119+test("push refuses while the markers are in; asIs keeps both, lists the file, and tells writer1", () => {
122122 assert.deepEqual(!refused.ok && refused.collisions.map((c) => [c.kind, c.marked, c.file, c.yours.lines]), [
Lines 244–268 at 318 (were 244–249 at 91)
244244 assert.deepEqual(lostLines([" rate. *B5: worth +N coin*"], region), ["- [x] **Gauge shows coin**"]);
246246
247+test("lostLines: a line rewritten longer, keeping its words and adding a reason, is not a loss", () => {
257+ const settled = (line: string) => ["# Store policy", "", line, "Returns accepted within 30 days."];
259+ lostLines(settled("Free shipping on orders over $50 (alice wants $75, bob wants $35: decided by Friday)."), region),
263+ assert.deepEqual(lostLines(settled("Shipping is free."), region), ["Free shipping on orders over $35."]);
265+
- MCP
- compare on this site's /mcp
- CLI
- abso diff 91 318 worker/project/test/markers.test.ts --json
- JSON
- /christopher/abso-core/compare/91..318?file=worker%2Fproject%2Ftest%2Fmarkers.test.ts&format=json