pub fn create_sandbox_corpus(
parent: &str,
request: Json<SandboxRequest>,
actor: Actor,
pool: &State<DbPool>,
database_url: &State<DatabaseUrl>,
) -> Result<(Status, Json<JobDto>), Status>Expand description
Carves a sandbox corpus from <parent> by a message-condition filter and starts the job
that populates it; returns 202 Accepted + the job handle to poll. Token-gated via the
Actor guard; 401 without a valid token, 404 if the parent is unknown, 409 if the
sandbox name is taken. The sandbox is a first-class corpus an agent can then run/rerun to
iterate a campaign.