@@ -29,9 +29,12 @@ bidirectional `Mediate` RPC carries multiplexed DNS traffic. General application
2929UDP is unsupported; UDP DNS remains mediated by the supervisor.
3030The sandbox probes HTTP/2 connection liveness every five seconds and closes
3131connections that miss a ten-second acknowledgement deadline. Closing a
32- connection cancels its stream bridges before releasing the exclusive DNS
33- mediation lease; an authenticated replacement waits for release instead of
34- preempting a live supervisor. Idle healthy connections remain usable.
32+ connection freezes the owned workload process tree and cancels its stream
33+ bridges before releasing the exclusive DNS mediation lease. The supervisor has
34+ 30 seconds to reconnect, replay attach, and reconfirm the boundary. Confirmation
35+ resumes the workload; expiration terminates it. A credential replacement does
36+ not displace the active connection until the new connection is confirmed. Idle
37+ healthy connections remain usable.
3538Unauthenticated TLS handshakes have a separate bounded asynchronous pool and
3639five-second deadline, never consuming authenticated control slots or threads.
3740The socket broker reserves the TCP control-listener port against workload
@@ -574,11 +577,14 @@ environment variables do not configure the separately isolated supervisor.
574577- Existing raw byte streams are connection scoped. Dynamic policy changes apply
575578 to new connections or the next parsed HTTP request where the proxy can safely
576579 re-evaluate.
577- - If the supervisor relay drops, the sandbox can keep running, but connect and
578- exec operations fail until the supervisor registers again. A replacement
579- supervisor replays the identical sandbox lifecycle and receives the existing
580- process handle. The sandbox rejects changed launch inputs and releases the
581- single main-process attachment when the old supervisor transport closes.
580+ - If the supervisor relay drops, the sandbox stops the canonical agent and exec
581+ process groups, rejects new runtime operations, and closes mediated streams.
582+ A replacement supervisor has 30 seconds to authenticate, replay the identical
583+ attach, and reconfirm the boundary. Successful confirmation resumes the
584+ process tree; otherwise the sandbox sends ` SIGTERM ` , waits the normal stop
585+ grace period, sends ` SIGKILL ` to survivors, and makes the session terminal.
586+ Explicit supervisor shutdown uses the same terminal transition and requires
587+ an acknowledgement before treating the boundary as stopped.
582588- If the canonical main process exits, the supervisor durably reports the
583589 normalized result immediately. A foreground create declares a one-shot main
584590 attachment, so the supervisor accepts it even after a fast process exits,
0 commit comments