Bug Description
The Control UI dashboard displays context usage as '378k/128k' which appears to show 297% overflow (🚨), but the actual context window usage is 58k/128k (46%) (✅).
What's Happening
- 378k = Lifetime tokens sent to model (cumulative session total, informational)
- 58k = Actual active context tokens in memory
- 128k = Context window size limit
The UI is comparing lifetime token consumption against the context window size, creating a false alarm.
Expected Behavior
Display should clarify:
- Lifetime Tokens: 378k (informational metric)
- Context Usage: 58k/128k (46%) (actionable metric)
Environment
- OpenClaw: 2026.3.13 (61d171a)
- Control UI: Dashboard view
- Date: March 14, 2026
Impact
- Misleading warning may cause users to trigger unnecessary compaction
- Confusion about session health status
Suggested Fix
Separate the two metrics in the UI display:
- Show lifetime tokens as informational only (not compared against window size)
- Show context usage as the actionable percentage metric
Bug Description
The Control UI dashboard displays context usage as '378k/128k' which appears to show 297% overflow (🚨), but the actual context window usage is 58k/128k (46%) (✅).
What's Happening
The UI is comparing lifetime token consumption against the context window size, creating a false alarm.
Expected Behavior
Display should clarify:
Environment
Impact
Suggested Fix
Separate the two metrics in the UI display: