Repository navigation
Run Together tasks over Bartender's Hurdle socket - #2
fertapric-togetherai wants to merge 4 commits into
Conversation
Bartender's Hurdle API gives the controller one WebSocket to a fresh sandbox and nothing else: no exec, no sandbox token. Closing it terminates the sandbox. When HURDLE_TOGETHER_RUN_URL is set, hurdle writes the task inputs over that socket, runs each task step inside the sandbox, and reads the sealed results back. The Agent's egress reaches the Guardian on the same socket, and the Guardian CA crosses in X-Sandbox-CA. A server baked into the snapshot runs the steps with the existing staging, launch, sealing and trust code, against its own processes, so the E2B and sandbox API paths keep a single copy of that logic. Readiness skips the sandbox API check in this mode, since Bartender refuses a bad key when the run connects. HURDLE_TOGETHER_API_URL points the sandbox API at a local control plane such as devbox.
Broly Security ScanNote Summary 2 actionable finding(s) in this PR
Main table: 2 shown, 0 omitted of 2 actionable finding(s) above the reporting threshold. See the repository Security tab for the full set.
Fix SuggestionsThe sandbox's control WebSocket endpoint has no authentication; the first client to connect becom... —
|
Bartender now starts Hurdle sandboxes without internet access, DNS included. Setup resolved each capture host in the sandbox to drop direct routes to it, so any suite with capture hosts failed there. Those routes are already refused by the node, so the in-sandbox setup skips that step. installWorkloadTrust keeps it by default, so E2B and the sandbox API path are unchanged.
Bartender's Hurdle API gives the controller one WebSocket
to a fresh sandbox and nothing else: no exec, no sandbox
token. Closing it terminates the sandbox.
When HURDLE_TOGETHER_RUN_URL is set, hurdle writes the
task inputs over that socket, runs each task step inside
the sandbox, and reads the sealed results back. The
Agent's egress reaches the Guardian on the same socket,
and the Guardian CA crosses in X-Sandbox-CA.
A server baked into the snapshot runs the steps with the
existing staging, launch, sealing and trust code, against
its own processes, so the E2B and sandbox API paths keep
a single copy of that logic.
Readiness skips the sandbox API check in this mode, since
Bartender refuses a bad key when the run connects.
HURDLE_TOGETHER_API_URL points the sandbox API at a local
control plane such as devbox.