From d5aad5c1a46acc9f7a2b2c444cb24730fa031bd8 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 12 Apr 2026 02:41:59 -0400 Subject: [PATCH] kill consolidation_batch --- src/subconscious/prompts.rs | 39 ------------------------------------- 1 file changed, 39 deletions(-) diff --git a/src/subconscious/prompts.rs b/src/subconscious/prompts.rs index 422e863..8a2794a 100644 --- a/src/subconscious/prompts.rs +++ b/src/subconscious/prompts.rs @@ -333,45 +333,6 @@ pub(super) fn format_split_plan_node(store: &Store, graph: &Graph, key: &str) -> out } -/// Show consolidation batch status or generate an agent prompt. -pub fn consolidation_batch(store: &Store, count: usize, auto: bool) -> Result<(), String> { - if auto { - let batch = agent_prompt(store, "replay", count)?; - for (i, s) in batch.steps.iter().enumerate() { - if batch.steps.len() > 1 { - println!("=== STEP {} ({}) ===\n", i + 1, s.phase); - } - println!("{}", s.prompt); - } - return Ok(()); - } - - let items = replay_queue(store, count); - - if items.is_empty() { - println!("No nodes to consolidate."); - return Ok(()); - } - - println!("Consolidation batch ({} nodes):\n", items.len()); - for item in &items { - let node_type = store.nodes.get(&item.key) - .map(|n| if matches!(n.node_type, crate::store::NodeType::EpisodicSession) { "episodic" } else { "semantic" }) - .unwrap_or("?"); - println!(" [{:.3}] {} (cc={:.3}, interval={}d, type={})", - item.priority, item.key, item.cc, item.interval_days, node_type); - } - - println!("\nAgent prompts:"); - println!(" --auto Generate replay agent prompt"); - println!(" --agent replay Replay agent (schema assimilation)"); - println!(" --agent linker Linker agent (relational binding)"); - println!(" --agent separator Separator agent (pattern separation)"); - println!(" --agent transfer Transfer agent (CLS episodic→semantic)"); - println!(" --agent health Health agent (synaptic homeostasis)"); - Ok(()) -} - /// Generate a specific agent prompt with filled-in data. pub fn agent_prompt(store: &Store, agent: &str, count: usize) -> Result { let def = super::defs::get_def(agent)