You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server-Side Stat-Fingerprint Single-Flight Cache (src/stats_cache.py): Computes a lightweight os.stat() fingerprint across live_state.json, quota snapshots, preferences, and local transcript.jsonl files (with a 30s coarse time bucket). Coalesces concurrent /api/stats requests and eliminates redundant aggregation when nothing changed; immediately invalidates on user writes (POST /api/preferences, /api/record-quota).
HTTP ETag + 304 Not Modified (src/server.py): Returns 304 Not Modified with a 0-byte body when If-None-Match matches the current source fingerprint.
Background-Tab Auto-Pause & Zero-Redraw (src/web/app.js): Automatically pauses polling when document.hidden is true (0 requests / 0 CPU in background tabs), refreshes immediately on tab focus, and skips JSON parsing & DOM redraw on 304.
Expanded Regression Tests: 15/15 core tests + 5/5 plugin/single-instance/ETag-304 tests pass across macOS, Linux, and Windows.