From a9329ce6bdad8c6971508ea891d762feb602ebb8 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Sat, 24 Oct 2026 03:45:20 +0200 Subject: [PATCH] chore(claw): keep the live usage tally off the interactive wire The running tally is gauge material, not transcript; the claw's TurnEvent stream stays as it was. --- crates/rhema-claw/src/interactive.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crates/rhema-claw/src/interactive.rs b/crates/rhema-claw/src/interactive.rs index f4d12e4..3f6dc18 100644 --- a/crates/rhema-claw/src/interactive.rs +++ b/crates/rhema-claw/src/interactive.rs @@ -566,11 +566,14 @@ impl EventSink for HubSink { } } // Step bookkeeping is the engine's business, not the wire's; - // a running tool's live output lands with its result, and a - // streaming tool's status has no turn-event shape to ride. + // a running tool's live output lands with its result, a + // streaming tool's status has no turn-event shape to ride, + // and the running usage tally is gauge material, not + // transcript. ModelEvent::StepStart { .. } | ModelEvent::ToolOutputDelta { .. } | ModelEvent::ToolStatus { .. } + | ModelEvent::Usage(_) | ModelEvent::StepEnd { .. } => return, }; self.hub.emit(&self.key, turn);