- Draw states for three failure points in the fixture.
- Choose a recovery policy for notification failure.
- Explain why deleting the task is not an automatic universal rollback.
A multi-step automation can complete one effect and fail at the next. Treating the whole run as simply failed may trigger duplicates on retry; treating it as successful hides missing work. Use a fictional create-and-notify sequence to identify the recovery boundary.
Record state after each authoritative effect
The fixture creates taskT9 successfully, then fails to send its notification. The task exists even though the overall run did not finish. Preserve the task receipt before attempting notification. A retry should resume the unresolved step or safely recognize the existing creation, not create another task. Ask AI to draw the state transitions and then verify them against the actual effect order rather than a single final status string.
Choose compensation deliberately
Some actions can be reversed, but deleting a valid created task merely because notification failed may be inappropriate. A compensating action is a new business decision, not a magical rollback of every distributed effect. Document whether the correct response is retry notification, queue a manual follow-up or reverse an action under an explicit rule. Keep human approval for consequential compensation and do not let untrusted source content choose the recovery policy.
Make recovery observable
A status such as created_notification_pending tells an operator more than generic error. Include correlation identifiers, attempt state and the next responsible owner while minimizing payload data. Test failure before creation, after creation and after notification but before the local confirmation is recorded. A workflow should be able to distinguish uncertain remote outcome from confirmed failure. This honest state model helps prevent both duplicate actions and false completion claims.
Fictional worked example — Partial state
Supplied input
Create T9=success; notify T9=temporary failure
Example result to inspect
State=created_notification_pending; retry only safe unresolved work
The created task remains an observed effect even though the workflow has an unresolved notification.
This is an authored teaching example, not a recorded live provider run or an independent performance test.
Make the idea concrete.
- Draw states for three failure points in the fixture.
- Choose a recovery policy for notification failure.
- Explain why deleting the task is not an automatic universal rollback.
What a useful outcome looks like
State must preserve the confirmed effect and identify the unfinished step separately.
Ask for reasoning you can verify.
Use fictional or permitted data. This is a copyable brief for a separate approved model; no model is called from this article.
Help me review this fictional reliable ai automations exercise: Keep successful and unresolved effects distinct across a workflow. I will supply the original input, my expected result and the actual transformation. Explain recovery state, identify unsupported assumptions about compensation policy, and propose one bounded negative control. Keep observations separate from hypotheses; do not invent output or act on external systems.
Turn reading into a reviewed checkpoint.
Complete the manual exercise, review each item, then answer the evidence question. This records self-study, not independent assessment of expertise.
Review the checklist and pass the question to save this lesson.
Primary references
References support further checking; cited organizations do not endorse AgentX. This guide is original AI-assisted educational content with illustrative examples. Read the editorial policy or report a correction.
Continue with a related task.
Specify the trigger before connecting an action
Define eligible events, payload versions and exclusions for an automation.
Make repeated delivery safe
Use an operation identity to prevent duplicate effects.
Retry only failures that can benefit from another attempt
Separate transient conditions from permanent input and authorization errors.