# Background job retry worksheet

Blank working document. Replace placeholders with your own evidence; an empty field is unknown, not a passing result.

Owner: [fill in]
Source revision: [fill in]
Environment: [fill in]
Evidence date: [fill in]

## Job and authority

Job policy owner: ___
Worker revision and queue/client versions: ___
Message schema hash: ___
Downstream contract URL/date: ___
Harness or authorised account/queue: ___
Allowed actions and credential location, without values: ___

## Failure decisions

| Failure evidence | Retry/terminal/reconcile | Next state | Required evidence | Owner |
| --- | --- | --- | --- | --- |
| ___ | ___ | ___ | ___ | ___ |
Unknown-outcome resolution path: ___

## Budget and identity

Completion deadline and source: ___
Queue/worker/client attempt limits: ___
Delay rule, cap and jitter: ___
Processing-time assumptions: ___
Calculated maximum attempts/elapsed time: ___
Intent ID and payload binding: ___
Duplicate claim/retention and replay horizon: ___
Record/effect/acknowledgement ordering: ___

## Failure receipts

| Injected failure | Expected attempts/state/effects | Observed attempts/times/state/effects | Receipt |
| --- | --- | --- | --- |
| ___ | ___ | not run | ___ |
Clock/randomness controls: ___
Signals for retry age and quarantine: ___
Missing cases and blockers: ___

## Replay and recovery

Operational owner and authorised actions: ___
Quarantine selection and safe-replay evidence: ___
Reconciliation procedure: ___
Prior worker/config checkpoint: ___
Stop trigger and checkpoint restoration steps: ___
Recovery verification: not run
External effects that cannot be undone: ___

## Boundaries

- The resilience skill's examples target Kotlin/Spring. Transfer the failure analysis, then verify settings against the actual queue and client versions. The test analyser reviews coverage; neither resource supplies or runs a failure harness.

- Reviewer hosts need source and redacted configuration reads. Grant local edits and test execution only to the implementation stage; use manually exported queue evidence if a connector is unavailable.

- Synthetic jobs must use isolated destinations. Keep production tokens and message bodies out of prompts, fixtures and logs; queue replay, acknowledgement and purge are separate operational writes requiring authority for the exact account and queue.

- Do not describe broker delivery guarantees as proof of exactly-once business effects. Keep unresolved remote outcomes in a durable reconciliation state and record irreversible effects separately from recoverable queue/configuration changes.

Workflow: https://undominated.ai/workflows/#design-a-background-job-retry-policy

Original worksheet: MIT. Linked resources retain their own licences and setup requirements.
