mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-15 02:36:12 -04:00
The "that recording looks very short" prompt measured duration against the wall clock, so any adjustment mid-recording decided it: an NTP sync or a manual clock change moving forward made a three-second recording look like an hour and skipped the prompt, moving backward trapped a long recording in it with no way past but "stop anyway". A live session now measures from a monotonic base taken at the start. Only a session resumed from the trigger file still uses the persisted wall time - that file has to survive reboots, which monotonic time does not - and a negative duration there fails open instead of warning. The threshold moves from 5s to 10s: a recording stopped that quickly holds nothing but the recorder starting and stopping, which costs a support round-trip to re-request. It stays a prompt, not a block, because a crash is logged and flushed immediately.