cka-sim/web
vumast3r 01877f0ae1 fix: stop recording how often or how long a session was paused
Pausing is for life happening - a baby needing attention - not a metric worth
keeping, and the numbers were meaningless anyway: the last recorded attempt read
12 pauses / 90,755 seconds, almost all of it sessions left paused overnight.

Removed:
  - the st["pauses"] counter in set_paused()
  - "pauses" and "paused_seconds" from the history entry in record_attempt()
  - "pauses" from the web API session payload
  - the "· paused 3× (12:04)" segment on the results screen

Kept, because both are load-bearing rather than telemetry:
  - paused_total, which remaining() adds back to the deadline so paused time is
    not silently deducted from the clock, and which the web clock reads to do the
    same countdown math
  - paused_at, which is just "is the session paused right now" and drives the ⏸
    indicator

Neither is written to history or surfaced in any report; they exist only for the
lifetime of a live session.

Note for anyone reading a long time_used later: it is computed as
ended_at - started_at - paused_total, and paused_total only accrues while
actually paused, so a session resumed and then left running overnight inflates
it. Attempt #11 logs 28:59:01 for that reason, not a timing bug.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NziZdvBvy7CpEAAbZNgp8i
2026-09-20 17:35:40 -06:00
..
index.html fix: stop recording how often or how long a session was paused 2026-09-20 17:35:40 -06:00