fix(record): keep the daemon alive when a record request times out
Summary
On iOS simulators, record stop on a long recording can outlast the 90s client timeout (we saw 40–122s). record used the default reset-daemon timeout policy, so the client killed the daemon mid-export. That left the session's screen-recording manifest in a non-terminal state. A record-only session holds no device claim, so nothing reconciles it, and every later record start on that device fails with cleanup-unconfirmed ("has not reached a confirmed terminal state") until someone runs record stop on that exact session.
In practice this breaks retries in tester-army/e2e: attempt 0 fails, its video stop times out, and attempt 1 can't start recording.
record now uses preserve-daemon, like snapshot and press: the export finishes, a retried record stop returns it (#2534), and the next start is admitted. The local timeout hint now says to retry record stop, as the remote hint already did. 5 files.
Validation
f2f48a8a4:pnpm check:affected --runpasses. New route test: a localrecord stoptimeout never signals the daemon (fails without the fix).- iOS 26.5 simulator: replayed the e2e retry sequence with a stalled export. main: the retry's
record startfails withcleanup-unconfirmed. This branch: the daemon survives, the retried stop returns the video, and the nextrecord startsucceeds. - Risk: a genuinely hung
recordrequest no longer resets the daemon; it's cancelled like other preserve-daemon commands.