From f4599d0379c42f21d822b6ccb3c94ea280ca187e Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 20 Mar 2026 13:07:27 -0400 Subject: [PATCH] agents: use composite sort for linker and organize queries linker: sort:isolation*0.7+recency(linker)*0.3 Prioritizes nodes in isolated communities that haven't been linked recently. Bridges poorly-connected clusters into the main graph. organize: sort:degree*0.5+isolation*0.3+recency(organize)*0.2 Prioritizes high-degree hubs in isolated clusters that haven't been organized recently. Structural work where it matters most. Co-Authored-By: Claude Opus 4.6 (1M context) --- poc-memory/agents/linker.agent | 2 +- poc-memory/agents/organize.agent | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/poc-memory/agents/linker.agent b/poc-memory/agents/linker.agent index 955ae9e..801429a 100644 --- a/poc-memory/agents/linker.agent +++ b/poc-memory/agents/linker.agent @@ -1,4 +1,4 @@ -{"agent":"linker","query":"all | not-visited:linker,7d | sort:priority | limit:5","model":"sonnet","schedule":"daily","tools":["Bash(poc-memory:*)"]} +{"agent":"linker","query":"all | not-visited:linker,7d | sort:isolation*0.7+recency(linker)*0.3 | limit:5","model":"sonnet","schedule":"daily","tools":["Bash(poc-memory:*)"]} # Linker Agent — Relational Binding diff --git a/poc-memory/agents/organize.agent b/poc-memory/agents/organize.agent index 16441e1..540a289 100644 --- a/poc-memory/agents/organize.agent +++ b/poc-memory/agents/organize.agent @@ -1,4 +1,4 @@ -{"agent":"organize","query":"all | not-visited:organize,86400 | sort:degree | limit:5","model":"sonnet","schedule":"weekly","tools":["Bash(poc-memory:*)"]} +{"agent":"organize","query":"all | not-visited:organize,86400 | sort:degree*0.5+isolation*0.3+recency(organize)*0.2 | limit:5","model":"sonnet","schedule":"weekly","tools":["Bash(poc-memory:*)"]} {{node:core-personality}}