Resilience and recovery
Backend runtime recovery preserves the semantic request, retained operation and budget. Local transport failures cannot authorize a second paid/visible effect.
Retained identity
Use a stable request ID for an intent. Replays with changed input conflict. Reattach by run ID after disconnect, rebuild history from canonical pages, and reconcile retained content/media jobs rather than regenerating them.
Observation disconnect closes a local resource only. Run cancellation requests backend cancellation; media cancellation fences delivery and reports unsupported upstream cancellation separately. A timeout or cancellation does not establish provider terminality or refund.
Unknown submissions/costs retain liability and can retain concurrency. Terminal settlement requires trustworthy evidence for the saved dispatch. Fallback requires a separate qualified admission inside the original logical budget and must obey visible/unknown effect constraints.
Stale work
Fresh authority and source revision checks fence revoked grants, edited history and tombstoned resources. Ordered outboxes, leases and remote graph fences prevent stale workers from overwriting newer state. Retry follows backend policy; a worker process does not add its own unconstrained loop.
The lower-level root SDK's retry/circuit-breaker helpers remain separate advanced explicit-API facilities. They do not replace runtime idempotency, policy or reconciliation. See error handling and model policy.