diff --git a/src/app/runtime/actions/mod.rs b/src/app/runtime/actions/mod.rs index f1e91eb..c6d70f3 100644 --- a/src/app/runtime/actions/mod.rs +++ b/src/app/runtime/actions/mod.rs @@ -927,8 +927,9 @@ const HIVE_MIND_KICKOFF_NOTE: &str = "The Hive is stirring — Core Intelligence /// handle tool calls, and loop until the LLM produces a non-tool response /// or runs out of unfinished todo items. /// -/// Flow: build system prompt with workspace tree → optionally shape -/// (compact) messages via `shortsend` → call `chat_with_tools_streaming` +/// Flow: build system prompt with workspace tree → deduplicate messages +/// via `context::dedup::collapse` → optionally shape (compact) messages via +/// `context::shaping::{should_shape, shape_messages}` → call `chat_with_tools_streaming` /// with a callback that pushes `StreamStart`, `StreamToken`, `Reasoning`, /// and `Usage` events → on streaming success, handle tool calls (gated /// through `Harness::gate_tool_call`) or unwrap the final assistant