1
0

[claude] Fix pre-existing ruff lint errors blocking git hooks (#1247) (#1248)

This commit is contained in:
2026-03-23 23:33:37 +00:00
parent fedd164686
commit b5fb6a85cf
23 changed files with 116 additions and 130 deletions

View File

@@ -1318,11 +1318,11 @@ def memory_store(topic: str, report: str, type: str = "research") -> str:
try:
# Dedup check for facts and research — skip if similar exists
if type in ("fact", "research"):
existing = search_memories(
full_content, limit=3, context_type=type, min_relevance=0.75
)
existing = search_memories(full_content, limit=3, context_type=type, min_relevance=0.75)
if existing:
return f"Similar {type} already stored (id={existing[0].id[:8]}). Skipping duplicate."
return (
f"Similar {type} already stored (id={existing[0].id[:8]}). Skipping duplicate."
)
entry = store_memory(
content=full_content,