docs(remote): say only the host ends a macos-app lease

Merged
JA
2mo ago
+13-13

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_release is refused with MACOS_APP_LEASE_HOST_OWNED, so both now say a tenant cannot release the lease and that it ends by host DELETE /admin/leases/<lease-id>, expiry, daemon restart, or closing a session when the host set retainOnClose to false.
  • Removed lease_heartbeat and lease_release from SESSIONLESS_COMMANDS in src/daemon/macos-app-lease.ts: both are exempt from lease admission, so assertMacOsAppLeaseAdmitsRequest never sees them.

Checks: pnpm check:affected --run passes at b6a6f5933.