From d5774573301dbe1196a625ba6baff7cac4b7363f Mon Sep 17 00:00:00 2001 From: Ed_ Date: Mon, 2 Mar 2026 11:39:10 -0500 Subject: [PATCH] =?UTF-8?q?conductor(plan):=20Close=20track=20context=5Fto?= =?UTF-8?q?ken=5Fviz=5F20260301=20=E2=80=94=20all=20phases=20verified?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conductor/tracks/context_token_viz_20260301/plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conductor/tracks/context_token_viz_20260301/plan.md b/conductor/tracks/context_token_viz_20260301/plan.md index 9def997..0cf8fc0 100644 --- a/conductor/tracks/context_token_viz_20260301/plan.md +++ b/conductor/tracks/context_token_viz_20260301/plan.md @@ -20,4 +20,4 @@ Architecture reference: [docs/guide_architecture.md](../../docs/guide_architectu - [x] Task 3.1: Hook `_token_stats` refresh into three trigger points. 6f18102: (a) after `_do_generate()` completes — cache `stable_md` and call `get_history_bleed_stats`; (b) after provider/model switch in `current_provider.setter` and `current_model.setter` — clear and re-fetch; (c) after each `handle_ai_response` in `_process_pending_gui_tasks` — refresh stats since history grew. For (c), use a flag `self._token_stats_dirty = True` and refresh in the next frame's render call to avoid calling the stats function too frequently. - [x] Task 3.2: Add the token budget panel to the Hook API. 6f18102 Extend `/api/gui/mma_status` (or add a new `/api/gui/token_stats` endpoint) to expose `_token_stats` for simulation verification. This allows tests to assert on token utilization levels. -- [ ] Task 3.3: Conductor - User Manual Verification 'Phase 3: Auto-Refresh & Integration' (Protocol in workflow.md) +- [x] Task 3.3: Conductor - User Manual Verification 'Phase 3: Auto-Refresh & Integration' (Protocol in workflow.md). 2929a64 — verified by user, panel rendering correctly.