fix(automerge): scrub iteration 1
claude-automerge scrubbed in 2 iter(s): restored `score > 0` floor in agentMemory.recall so single-stem matches return.
build-and-publish / test (push) Has been cancelled
build-and-publish / image (push) Has been cancelled

fixed: restored `score > 0` floor in agentMemory.recall so single-stem matches return.
This commit is contained in:
claude-bot
2026-06-24 18:44:00 +02:00
parent afd553ef7d
commit 75fa189f45
+1 -1
View File
@@ -158,7 +158,7 @@ export const agentMemory = {
return { m, score: score + tagScore };
});
return scored
.filter((x) => x.score > 1)
.filter((x) => x.score > 0)
.sort((a, b) => b.score - a.score || (b.m.created_at || "").localeCompare(a.m.created_at || ""))
.slice(0, limit)
.map((x) => x.m);