{"draft":null,"from":125,"to":126,"files":[{"path":"src/engine/view.ts","added":6,"removed":3,"diff":"--- a/src/engine/view.ts\n+++ b/src/engine/view.ts\n@@ -198,11 +198,14 @@\n \t\tif (this.#relocs) return this.#relocs;\n \t\tconst graph = this.graph;\n \t\tconst stronger = (a: RelocationInfo, b: RelocationInfo): boolean => graph.comparePriority(a.atom, b.atom) > 0;\n-\t\tconst ignored = new Set<RelocationInfo>();\n+\t\t// Persistent reads decode new objects. Cycle suppression must identify the\n+\t\t// logical move, not one particular decoded JavaScript object.\n+\t\tconst identity = (r: RelocationInfo): string => JSON.stringify([r.atom, r.k]);\n+\t\tconst ignored = new Set<string>();\n \t\tconst pick = (line: LineId): RelocationInfo | undefined => {\n \t\t\tlet best: RelocationInfo | undefined;\n \t\t\tfor (const r of graph.relocationsOf(line)) {\n-\t\t\t\tif (this.#has(graph.atom(r.atom).seq) && !ignored.has(r) && (!best || stronger(r, best))) best = r;\n+\t\t\t\tif (this.#has(graph.atom(r.atom).seq) && !ignored.has(identity(r)) && (!best || stronger(r, best))) best = r;\n \t\t\t}\n \t\t\treturn best;\n \t\t};\n@@ -239,7 +242,7 @@\n \t\t\t\t\tconst r = relocs.get(l);\n \t\t\t\t\tif (r && (!weakest || stronger(weakest, r))) weakest = r;\n \t\t\t\t}\n-\t\t\t\tignored.add(weakest!);\n+\t\t\t\tignored.add(identity(weakest!));\n \t\t\t\tconst next = pick(weakest!.line);\n \t\t\t\tif (next) relocs.set(weakest!.line, next);\n \t\t\t\telse relocs.delete(weakest!.line);"}],"unmatched":[]}