Reusable AI capability

Recover Durable Agent Execution State

Reconcile checkpoints, durable state, side effects, approvals, and idempotency after interruption to select and gate a safe resume, replay, compensate, or abort path.

This Skill packages a reusable way to use the linked Prompt or Workflow; Amo.ng does not run it for you.

Skill ID
AMO-S-000020
Powered by
Prompt
Published

Copy skill copies the Skill details. Use with AI adds a short instruction for your preferred AI tool; neither action runs the Skill.

Purpose

Give agent platform and service owners a reusable recovery-state method for interrupted long-running executions across workflows, tools, and external systems without claiming that recovery actions occurred.

Required inputs

Have these details available before following the usage instructions.

  • Interrupted run identity, intended outcome, workflow and configuration versions
  • Durable state, checkpoints, messages, tool records, approvals, and external side effects
  • Idempotency keys, transaction or compensation semantics, retry history, and known-good state
  • Incident timeline, containment status, recovery options, constraints, and accountable owners

How to use this Skill

When to use:
- An agent run stopped after partial execution and its safe continuation state is uncertain.
- Duplicate, omitted, or conflicting side effects must be reconciled before restart.

When not to use:
- Stateless request retries with no durable state or external side effect.
- Authorizing production replay, compensation, or rollback.
- Treating the latest timestamp as proof of the latest valid checkpoint.

Reusable method:
1. Freeze the run, workflow and configuration versions, intended outcome, interruption window, and authority boundary.
2. Build a checkpoint and side-effect ledger from state, messages, tools, approvals, and external-system evidence.
3. Classify each action as committed, pending, failed, duplicated, compensated, ambiguous, or not evidenced.
4. Establish the latest trustworthy recovery boundary and identify stale, corrupt, or conflicting state.
5. Compare Resume, Replay, Compensate, Abort, and Continue investigation paths for idempotency, dependency, data, customer, and reversibility risk.
6. Define prerequisites, smallest safe action, owner authorization, stop condition, verification, rollback, and monitoring for the chosen path.

Expected output:
A recovery-state record with checkpoint lineage, side-effect ledger, ambiguity and evidence gaps, path comparison, selected disposition, prerequisites, compensation plan, verification, and owner gates.

Boundaries:
Do not invent state, side effects, commands, approvals, or recovery. Service and incident owners choose the operating path; data, financial, security, and external-system owners authorize actions in their systems; the release owner controls restart. Source: AMO-P-000297. Applicable Workflow: Recover and Requalify an Interrupted AI Agent Runtime.

Powered by an Amo.ng Prompt

Long-Running Agent State Recovery Decision

Open the linked prompt to use the instructions that power this Skill.

Open prompt

Completion criteria

Complete when every material side effect and checkpoint is classified; the latest trustworthy boundary and uncertainty are explicit; one recovery disposition has prerequisites, owner, stop and rollback conditions; and observed recovery is separated from the proposed plan.

Browse Workflows
Browse Prompts
Automation Expert Claude

Model Fallback Failure Analysis

Reconstruct a failed model fallback decision, test contract compatibility across routes, and determine whether to repair, restrict, or disable fallback behavior.

Updated Aug 25, 2026

View prompt Verified ✓ 51 views
Automation Expert Claude

Tool Permission Drift Investigation

Compare approved and effective agent tool permissions over time, reconstruct permission drift, contain excess access, and define evidence-based recertification actions.

Updated Aug 25, 2026

View prompt Verified ✓ 63 views

Was this useful?