codeburn/app/electron
iamtoruk e4bbcaaba7 fix(app): zero background work when hidden; currency applies instantly
Energy (field report: ~3x Chrome drain):
- polls skip entirely while the window is hidden/minimized, with one
  catch-up refresh on return when data is stale; visible-but-unfocused
  keeps polling (second-monitor case)
- all looping animations pause under html.page-hidden (the sidebar
  flame flicker was a perpetual compositor drain)
- default cadence 60s; an explicit stored choice is always honored

Currency (field report: set USD, still saw EUR):
- memo-served payloads re-applied their embedded stale currency; config
  mutations now purge the renderer memo and force-refresh, and a
  switching payload can never overwrite the applied currency
- USD default verified end to end

Measured: hidden window = 0 new CLI spawns over 5 cadences (was: full
polling forever). App 340/340, build + package green.
2026-07-16 18:41:28 -07:00
..
quota feat(app): refresh cadence, instant switching, cache coherence, telemetry v1 2026-07-16 11:47:05 -07:00
cli.test.ts feat(app): bundle the CLI inside the packaged app 2026-07-16 09:27:46 -07:00
cli.ts fix(app): cold start survives, first-run shows per-provider progress 2026-07-16 10:51:18 -07:00
main.test.ts fix(app): one cold_start per launch, attempt-scoped 2026-07-16 14:26:30 -07:00
main.ts fix(app): zero background work when hidden; currency applies instantly 2026-07-16 18:41:28 -07:00
preload.ts feat(app): refresh cadence, instant switching, cache coherence, telemetry v1 2026-07-16 11:47:05 -07:00
telemetry.test.ts fix(app): one cold_start per launch, attempt-scoped 2026-07-16 14:26:30 -07:00
telemetry.ts fix(app): telemetry flush drops permanently-rejected batches 2026-07-16 12:10:38 -07:00