Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 125 to 126

Compare

+6 −3 in 2 places
Lines 198–211 at 126 (were 198–208 at 125)
198198 if (this.#relocs) return this.#relocs;
199199 const graph = this.graph;
200200 const stronger = (a: RelocationInfo, b: RelocationInfo): boolean => graph.comparePriority(a.atom, b.atom) > 0;
201− const ignored = new Set<RelocationInfo>();
201+ // Persistent reads decode new objects. Cycle suppression must identify the
202+ // logical move, not one particular decoded JavaScript object.
203+ const identity = (r: RelocationInfo): string => JSON.stringify([r.atom, r.k]);
204+ const ignored = new Set<string>();
202205 const pick = (line: LineId): RelocationInfo | undefined => {
203206 let best: RelocationInfo | undefined;
204207 for (const r of graph.relocationsOf(line)) {
205− if (this.#has(graph.atom(r.atom).seq) && !ignored.has(r) && (!best || stronger(r, best))) best = r;
208+ if (this.#has(graph.atom(r.atom).seq) && !ignored.has(identity(r)) && (!best || stronger(r, best))) best = r;
206209 }
207210 return best;
208211 };
Lines 242–248 at 126 (were 239–245 at 125)
239242 const r = relocs.get(l);
240243 if (r && (!weakest || stronger(weakest, r))) weakest = r;
241244 }
242− ignored.add(weakest!);
245+ ignored.add(identity(weakest!));
243246 const next = pick(weakest!.line);
244247 if (next) relocs.set(weakest!.line, next);
245248 else relocs.delete(weakest!.line);
MCP
compare on this site's /mcp
CLI
abso diff 125 126 src/engine/view.ts --json
JSON
/christopher/abso-core/compare/125..126?file=src%2Fengine%2Fview.ts&format=json