fix(daemon): refuse leased requests that name no session at admission
Summary
Targets 0.22. Closes #4171. Daemon intake records unnamed sessions and refuses provider-lease allocation/use/release with typed REMOTE_SESSION_REQUIRED. Named and provider-free requests retain their behavior.
50 files; no scope expansion. Node callers name a session: createAgentDeviceClient({ session: 'agent-a' }).
Rebased remote 633c462d491d from merge-base 0db888ac62a0 onto efe6bb9eece4. Range-diff plus edit comparison preserved 49 paths exactly (rename counted twice). Differences: upstream wire projections/acknowledgments and equivalent SessionStore.get preflight with redundant narration removed. Upstream positional/device-pin checks and lease-retention docs remain.
Validation
Tested b36ca409a7f397094661fd8b34aae5fc33c3803b. Install, build, full-repository format, 23 focused admission tests, 19,753 unit tests (3 skipped), and released-baseline wire compatibility pass. Eleven focused provider-scenario tests also passed before the final equivalent lookup cleanup.
Live at tested head: Pixel_7_CI, Android 16; unnamed allocation/doctor/capabilities refused, named Settings open and heartbeat passed. Session, emulator, and dedicated daemon cleaned up. No commercial cloud-provider run.
Exact-head check:affected --base origin/0.22 --run --head <tested-SHA>: 11 passed, 7 skipped; exactCommit=true, checkoutChanged=false.
Maintainer decisions remain: refusing meta.sessionExplicit:false, and admitting legacy lease RPC clients without the marker under the existing compatible-change acknowledgment, without a protocol bump. Independent review at this head found no regressions; contract sign-off remains open. Hosted CI is green on this head; Size was skipped. Existing ready state is preserved.