refactor(daemon): resolve configuration from the owning runtime host

Merged
TH
7h ago
+1412-675

Summary

Part of #3753. Part of #3747.

Pass the runtime host through SessionStore, session journals, artifact paths, idle expiry, HTTP setup, and daemon callers. Remove daemon ambient configuration reads. Required caller and test plumbing touches 136 files (2,087 gross lines). The TV remote fixture explicitly disables unrelated IME setup so building Android artifacts does not exhaust its test timeout.

Bottom layer of daemon → replay/device-selection → runtime → commands → R86. #3823 remains the top gate PR. Rebased onto a661e43d83, including #3818 and #3820.

The progress fixture now passes explicitly ordered files instead of assuming directory enumeration order.

Validation

Head 288e6cceaec5d2e52fd619499465aec6e1f429a4.

pnpm check:affected --run --head 288e6cceaec5d2e52fd619499465aec6e1f429a4 passed; receipt run-0o0t8g, exactCommit=true.

Coverage failures were fixture races: 7e2cae20ed replaces a directory-order assumption with explicit files; 288e6cceae waits for bridge evidence contents rather than file creation. Both fixes are inherited by all layers. Upper patches are unchanged by range-diff.

Prior full-check and Android daemon/provider evidence stays attributed to e223d37244 in #3823’s review-response comment. This round changes only test fixtures and ancestry. Full coverage and GitHub-owned lanes remain CI obligations.