docs(remote): say only the host ends a macos-app lease
Merged
JA
2mo ago+13+13+01234567890123456789-13-13-01234567890123456789
Follow-up to #3236 (non-blocking review notes).
- ADR 0007 and remote-proxy.md said the lease's own release is allowed without a session. A tenant
lease_releaseis refused withMACOS_APP_LEASE_HOST_OWNED, so both now say a tenant cannot release the lease and that it ends by hostDELETE /admin/leases/<lease-id>, expiry, daemon restart, or closing a session when the host setretainOnCloseto false. - Removed
lease_heartbeatandlease_releasefromSESSIONLESS_COMMANDSinsrc/daemon/macos-app-lease.ts: both are exempt from lease admission, soassertMacOsAppLeaseAdmitsRequestnever sees them.
Checks: pnpm check:affected --run passes at b6a6f5933.