chore: add TASKS.md and JOURNAL.md entry — capture mma_agent_focus_ux next track
This commit is contained in:
19
JOURNAL.md
19
JOURNAL.md
@@ -11,3 +11,22 @@
|
||||
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
## 2026-03-02
|
||||
|
||||
### Track: context_token_viz_20260301 — Completed |TASK:context_token_viz_20260301|
|
||||
- **What**: Token budget visualization panel (all 3 phases)
|
||||
- **Why**: Zero visibility into context window usage; `get_history_bleed_stats` existed but had no UI
|
||||
- **How**: Extended `get_history_bleed_stats` with `_add_bleed_derived` helper (adds 8 derived fields); added `_render_token_budget_panel` with color-coded progress bar, breakdown table, trim warning, Gemini/Anthropic cache status; 3 auto-refresh triggers (`_token_stats_dirty` flag); `/api/gui/token_stats` endpoint; `--timeout` flag on `claude_mma_exec.py`
|
||||
- **Issues**: `set_file_slice` dropped `def _render_message_panel` line — caught by outline check, fixed with 1-line insert. Tier 3 delegation via `run_powershell` hard-capped at 60s — implemented changes directly per user approval; added `--timeout` flag for future use.
|
||||
- **Result**: 17 passing tests, all phases verified by user. Token panel visible in AI Settings under "Token Budget". Commits: 5bfb20f → d577457.
|
||||
|
||||
### Next: mma_agent_focus_ux (planned, not yet tracked)
|
||||
- **What**: Per-agent filtering for MMA observability panels (comms, tool calls, discussion, token budget)
|
||||
- **Why**: All panels are global/session-scoped; in MMA mode with 4 tiers, data from all agents mixes. No way to isolate what a specific tier is doing.
|
||||
- **Gap**: `_comms_log` and `_tool_log` have no tier/agent tag. `mma_streams` stream_id is the only per-agent key that exists.
|
||||
- **See**: TASKS.md for full audit and implementation intent.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user