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
parent 96e573f2e5
commit 5b4f497d94
9 changed files with 31 additions and 16 deletions

View file

@ -845,7 +845,7 @@ pub fn run_agent(
}
/// Convert a list of keys to ReplayItems with priority and graph metrics.
fn keys_to_replay_items(
pub fn keys_to_replay_items(
store: &Store,
keys: &[String],
graph: &Graph,