From c0d4f391b6cbb66b7ee9eaab0f6d97fec66180b0 Mon Sep 17 00:00:00 2001 From: Jeff Smith Date: Wed, 8 Apr 2026 16:12:39 -0600 Subject: [PATCH] Display budget as spend status, not exhaustion alarm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace 'Budget exhausted: True/False' with 'Budget status: spent / under cap' in the Confidence panel. The previous wording read as a failure indicator when in practice 'exhausted' just means the agent spent its tool-use cap before voluntarily stopping — the normal, expected outcome on real questions with the default 20k budget. Co-Authored-By: Claude Opus 4.6 (1M context) --- cli/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/main.py b/cli/main.py index 0a0443e..2c8bdea 100644 --- a/cli/main.py +++ b/cli/main.py @@ -137,7 +137,8 @@ def render_result(result: ResearchResult, console: Console) -> None: conf_text.append(f"Source authority: {cf.source_authority}\n") conf_text.append(f"Contradiction detected: {cf.contradiction_detected}\n") conf_text.append(f"Query specificity match: {cf.query_specificity_match:.2f}\n") - conf_text.append(f"Budget exhausted: {cf.budget_exhausted}\n") + budget_status = "spent" if cf.budget_exhausted else "under cap" + conf_text.append(f"Budget status: {budget_status}\n") conf_text.append(f"Recency: {cf.recency or 'unknown'}") console.print(Panel(conf_text, title="Confidence", border_style="green"))