feat(web): confine managed remote browser egress

Draft
TH
21m ago
+3556-218

Summary

Stage managed-browser egress confinement for #5306. Remote tenant web admission is unconditionally refused except close. Binding the managed provider does not grant admission.

Confinement enablement and the legacy fix/daybreak-daemon-boundaries base are explicitly deferred. This PR remains draft; no fixture provisioning, positive proof run, rebase or successor integration is in the current scope.

Before / after

  • Remote tenant open and reads refuse with remote_web_public_network_unenforced, including when the managed provider is configured.
  • Existing remote sessions can still close and retry unconfirmed cleanup.
  • Local web sessions remain available. Help, command docs and remote-proxy docs state the refusal.

Validation

Head: 221b59cd17d0ed8af677728184d610d01bd222b6. The modified router file passes all 24 focused tests. Removed the provider-bound admission capability and callback plumbing. Replaced obsolete admitted-remote-open router scenarios with refusal coverage; provider-level rollback tests remain unchanged. Command and reason docs were regenerated. No broad local gates, builds or live browser runs.

Hosted status at handoff: 17 passed, 9 pending, none failed; no unresolved review threads. Pending checks are not a pass.

Before eventual confinement enablement, require same-head macOS and Linux production tenant-daemon receipts correlating controlled public IPv4 HTTP/80 redirect/destination receipts and enforcement immediately after abrupt daemon exit before recovery. The in-process provider smoke does not establish that contract. Deferral does not waive it.