summaryrefslogtreecommitdiffstats
path: root/src/sandbox/agent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sandbox/agent.rs')
-rw-r--r--src/sandbox/agent.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/sandbox/agent.rs b/src/sandbox/agent.rs
index 09a6f93..d7b841c 100644
--- a/src/sandbox/agent.rs
+++ b/src/sandbox/agent.rs
@@ -1,18 +1,3 @@
-//! The ephemeral sandbox agent: what runs *inside* the sandbox.
-//!
-//! One connection, one lease, one life: the agent dials the hub (outbound
-//! rendezvous — the hub never needs a route into an untrusted box), accepts
-//! `Run`/`Put`/`Get` frames for as long as the hub keeps the connection alive,
-//! and dies — taking its child processes with it — when the connection drops
-//! or its TTL expires. There is no state between leases by design: the sandbox
-//! is disposable, the TTL is the guarantee, and a leaked sandbox is a bug in
-//! the TTL watchdog, not a lifecycle question.
-//!
-//! The TTL watchdog is the backstop under every failure mode: hub crashes,
-//! network partition, a hub bug that forgets `Destroy`. The hub keeps it fed
-//! with `Ping` frames while a run is in flight; silence longer than the TTL
-//! means nobody is coming, so the agent kills its child and exits.
-
use std::io::BufReader;
use std::net::TcpStream;
use std::path::{Path, PathBuf};