fix(automerge): scrub iteration 1
build-and-publish / test (push) Has been cancelled
build-and-publish / image (push) Has been cancelled

fixed: agentMemory.recall threshold reverted from `>1` to `>0` so single-stem queries (e.g. "deploy" vs "deploy script fails") return relevant matches.
This commit is contained in:
claude-bot
2026-06-24 19:06:22 +02:00
parent 6cd7e5b4d7
commit cfc721240c
+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);