zeroclaw-labs/zeroclaw · error · anyhow::Error
Run {run_id} is pending at gated step {}; wait for pending a
Error message
Run {run_id} is pending at gated step {}; wait for pending approval/checkpoint capacity and resolve the gate before advancing with sop_advance What it means
Error "Run {run_id} is pending at gated step {}; wait for pending approval/checkpoint capacity and resolve the gate before advancing with sop_advance" thrown in zeroclaw-labs/zeroclaw.
Source
Thrown at crates/zeroclaw-runtime/src/sop/engine.rs:1860
if self
.active_runs
.get(run_id)
.is_some_and(|run| run.status == SopRunStatus::Pending)
&& pending_step_blocks_direct_advance(&sop, ¤t_step)
{
::zeroclaw_log::record!(
WARN,
::zeroclaw_log::Event::new(module_path!(), ::zeroclaw_log::Action::Reject)
.with_outcome(::zeroclaw_log::EventOutcome::Failure)
.with_attrs(::serde_json::json!({
"run_id": run_id,
"step": current_step.number,
"step_kind": current_step.kind.to_string(),
})),
"SOP engine: advance_step rejected - pending run is blocked at a human gate"
);
bail!(
"Run {run_id} is pending at gated step {}; wait for pending approval/checkpoint \
capacity and resolve the gate before advancing with sop_advance",
current_step.number
);
}
// Deterministic runs are driven through the dedicated piping path so the
// same `sop_advance` tool advances every execution mode.
if sop.execution_mode == SopExecutionMode::Deterministic {
if result.status == SopStepStatus::Failed {
self.record_step_result(run_id, result.clone())?;
return self.route_recorded_step(
run_id,
&sop,
¤t_step,
SopStepStatus::Failed,
true,
Some(retry_input_value(View on GitHub (pinned to 88bb9c8533)
Solutions
- Wait for pending approval/checkpoint capacity and resolve the gate before advancing with sop_advance.
When it happens
Trigger: Thrown at crates/zeroclaw-runtime/src/sop/engine.rs:1860 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zeroclaw-labs/zeroclaw@88bb9c8533 (2026-08-23).
Data as JSON: /api/errors/495e3df57d1912ef.
Report an issue: GitHub.