{"record":{"id":"8f126fe6a4aee3ff","repo":"zeroclaw-labs/zeroclaw","slug":"run-run-id-cannot-resume-its-parked-checkpoint","errorCode":null,"errorMessage":"Run {run_id} cannot resume: its parked checkpoint snapshot is not yet durably persisted (retrying)","messagePattern":"Run (.+?) cannot resume: its parked checkpoint snapshot is not yet durably persisted \\(retrying\\)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/zeroclaw-runtime/src/sop/engine.rs","lineNumber":2703,"sourceCode":"                        .with_outcome(::zeroclaw_log::EventOutcome::Failure)\n                        .with_attrs(::serde_json::json!({\"run_id\": run_id})),\n                    \"SOP engine: active run not found\"\n                );\n                anyhow::Error::msg(format!(\"Active run not found: {run_id}\"))\n            })?\n            .status;\n\n        if status != SopRunStatus::PausedCheckpoint {\n            bail!(\"Run {run_id} is not paused at a checkpoint (status: {status})\");\n        }\n\n        // Refuse to resume while the checkpoint's parked snapshot has not yet\n        // been durably persisted (see `is_park_persist_pending`'s doc): the kept\n        // claim predates this attempt, and reacquiring on top of it would give a\n        // later rollback or a maintenance retry no way to distinguish \"freshly\n        // reacquired\" from \"pre-existing, must survive.\"\n        if self.is_park_persist_pending(run_id) {\n            bail!(\n                \"Run {run_id} cannot resume: its parked checkpoint snapshot is not yet durably persisted (retrying)\"\n            );\n        }\n\n        // Pre-flight the same SOP/step lookups `advance_deterministic_step` performs\n        // BEFORE reacquiring the claim or mutating the run: a definition removed or\n        // shrunk while parked must fail closed with the run left at\n        // `PausedCheckpoint` (re-resolvable), not stranded in `Running` holding a\n        // claim it can never advance.\n        self.can_advance_deterministic_step(run_id)?;\n\n        // A1: fail-closed - re-acquire the exec claim released when this run parked\n        // BEFORE flipping it to Running; if it cannot, abort and leave the run paused\n        // (re-resolvable) rather than execute uncounted.\n        if !claim_already_reacquired {\n            self.reacquire_claim_on_resume(run_id)?;\n        }\n        // A deterministic run paused at a checkpoint resumes through the","sourceCodeStart":2685,"sourceCodeEnd":2721,"githubUrl":"https://github.com/zeroclaw-labs/zeroclaw/blob/88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc/crates/zeroclaw-runtime/src/sop/engine.rs#L2685-L2721","documentation":"Error \"Run {run_id} cannot resume: its parked checkpoint snapshot is not yet durably persisted (retrying)\" thrown in zeroclaw-labs/zeroclaw.","triggerScenarios":"Thrown at crates/zeroclaw-runtime/src/sop/engine.rs:2703 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry after the checkpoint snapshot is durably persisted."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc","analyzedAt":"2026-08-23T01:07:41.857Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}