fix(daemon): publish direct recordings with producer proof
TH
18h ago+1245+1245+0123456789012345678901234567890123456789-529-529-012345678901234567890123456789
Summary
Refs #4970. Supersedes the direct recording work in #5059. The live producer captures file identities before committing the export checkpoint and retains that proof after the checkpoint lands. The daemon writes the proof with completion and serves verified outputs under the producing lifetime, tenant, and lease. Suite delivery follows in #5100.
Before / after
- Remote start returns a basename. Remote stop verifies the whole file set before publishing IDs. Named tenants cannot stop or retry recordings made without a tenant. A successor session cannot replay an earlier lifetime's manifest.
- If the export checkpoint fails, the retry can produce new files and capture fresh proof. Checkpoint replays and memoized completions keep their original proof.
- Missing or replaced files return path-free
RESOURCE_EXPIRED. Unverified recovered or legacy exports stay on the host.
Validation
- At
118d16f4a7, the new HTTP test reproduced the old expiry and then downloaded the re-produced video with the fix. All 40 focused tests, typecheck, and Fallow passed. All 11 runnable affected checks passed withexactCommit: true. - At
0f387473f8, all 11 runnable affected checks passed withexactCommit: true. The Android 16 run on #5100 included that commit and verified a decodable MP4 and telemetry from direct stop over HTTP.