cc9977cce4
- Anchored advisor compaction on provider-reported context usage (cached input + generated output) floored by a full local estimate including the advisor system prompt and tool schemas, so a near-full cached context is no longer undercounted by the per-message estimate. - Rejected stale provider usage retained across advisor compaction via a runtime-only usage-anchor boundary recorded on the summary message. - Recovered provider overflow by clearing only the advisor's own context at the current primary cursor, retrying the bounded failing batch once against a fresh context without replaying old primary history, and keeping later updates eligible. - Threaded the selected dashboard range through the stats Recent Errors UI, API, and database timestamp filter before ordering and the 50-row limit. Fixes #5282