Expand description
Container-exec turn spawn (spawn_container_turn) for SubprocessController.
Docker-exec analog of host_spawn::spawn_turn, used for container agents.
Drives the exec via bollard’s Docker socket API instead of a host
std::process child (P1a: no secrets in argv — env vars travel through
CreateExecOptions.env, never process argv / /proc/<pid>/cmdline).
spawn_container_turn refuses, queues or accepts a request here and hands the
accepted turn to the steps in container_spawn_steps.rs.
publish_line is its private output-line helper (used only here).
Modules§
- steps
- The steps of one container turn (
spawn_container_turn): ready the container, upload the prompt, start the exec, read its output, and settle the turn from the exit code, then hand the container to the next message.