Skip to content

WebSocket: reproduce a **finished** step in a fresh ephemeral Pod — its image, its output workspace snapshot re-materialized at `/workspace` — running `sleep` so the operator can shell in and debug (ADR-0039 world). The live-attach surface needs a still-running step; this one works after the fact. Gated behind `Administer`; the debug Pod is TTL-bounded and torn down when the socket closes. Disabled (404) unless a debug launcher is wired (k8s only).

GET
/v1/runs/{id}/steps/{step}/debug-pod
curl --request GET \
--url https://example.com/v1/runs/example/steps/example/debug-pod
id
required
string

Run id

step
required
string

Step id

WebSocket upgrade — interactive TTY into a fresh reproduction Pod

No such run/step, no step spec, or debug-pod disabled