Move agent queries inline: {{nodes}} → {{tool: memory_query}}

Add "format": "full" option to memory_query that renders with
full content, graph metrics, and hub analysis (format_nodes_section).
Convert 6 agents (linker, challenger, connector, extractor, replay,
transfer) to inline their queries via {{tool: memory_query}} instead
of separate header query + {{nodes}} placeholder.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
ProofOfConcept 2026-04-10 15:53:54 -04:00
commit 5b4f497d94
9 changed files with 31 additions and 16 deletions

View file

@ -1,4 +1,4 @@
{"agent": "connector", "query": "all | type:semantic | not-visited:connector,7d | sort:priority | limit:20", "schedule": "daily"}
{"agent": "connector", "schedule": "daily"}
# Connector Agent — Cross-Domain Insight
@ -83,4 +83,4 @@ you're exploring and you have context to judge them, reweight those too.
## Nodes to examine for cross-community connections
{{NODES}}
{{tool: memory_query {"query": "all | type:semantic | not-visited:connector,7d | sort:priority | limit:20", "format": "full"}}}