pub fn resume_run_api(
corpus: &str,
service: &str,
actor: Actor,
pool: &State<DbPool>,
) -> Result<Json<RunControlDto>, Status>Expand description
Resume a run — return every Blocked task (status < -5) of a (corpus, service) to TODO so
the dispatcher picks them up again. The agent twin of the report screen’s “Resume run” button.
Token-gated via the Actor guard; 404 on an unknown corpus/service. Returns the count
resumed.