pub(crate) async fn prestart(
deps: &AgentTurnDeps,
block_id: String,
) -> Result<(), String>Expand description
Begin a new container agent’s start (image, container, CLI) in the background, so its first message finds a warm container. Only for a container agent whose pane has run nothing, and only once its account resolves (the mounts carry the account’s credentials: starting without them would make the wrong container). The first message’s own start-up shares the container’s locks, so nothing is done twice.