An AI workflow rarely fails in the same way twice—unless nobody records what happened the first time.
A model invents a source. An automation sends an incomplete file. A new prompt quietly changes the output format. An agent reaches for the wrong tool. A person catches the problem, repairs the result and moves on.
The immediate task gets finished, but the correction disappears into a chat or someone’s memory. Weeks later, the same failure returns.
An AI incident log is a small operating record for mistakes, near misses and unexpected behaviour. It is not a compliance programme or a blame register. It is a way to convert expensive corrections into reusable knowledge: a better test, a clearer boundary, a safer permission or a more reliable fallback.
For a solo operator or small team, the useful version should take about 15 minutes to complete.
What Counts as an AI Incident?
Not every weak sentence deserves an investigation. Log an event when it crosses one of four thresholds:
- Accuracy: a material fact, calculation, citation or decision is wrong.
- Action: the system sends, publishes, deletes, purchases or changes something incorrectly.
- Data: confidential, personal or regulated information is exposed to the wrong tool or person.
- Continuity: the workflow cannot complete because a model, integration, account or source fails.
Also record near misses when a person catches the problem just before it causes harm. Near misses are valuable because they expose a weak control without requiring you to pay the full cost of failure.
The NIST AI Risk Management Framework Playbook treats monitoring, incident response, documentation and continual improvement as connected activities. Its guidance is voluntary and designed for organisations, but the practical lesson scales down: a system becomes safer when failures are captured, reviewed and used to improve how it operates.
OWASP’s guidance for agentic applications reinforces the need for controls around tool misuse, identity and privilege, unexpected behaviour and human oversight. You do not need an autonomous enterprise agent to benefit from that principle. Any workflow that can touch files, accounts or external systems has a larger failure surface than a chatbot that only drafts text.
Use One Page, Not an Investigation Bureau
Create a simple table or form with nine fields:
| Field | What to record |
|---|---|
| Date and workflow | When it happened and the stable workflow name |
| Intended outcome | What the system was supposed to produce or do |
| Observed event | What actually happened, in neutral language |
| Detection | Who or what caught it, and at which stage |
| Impact | Time, money, data, customer or publication consequence |
| Immediate containment | What stopped the problem from spreading |
| Likely cause | Input, instruction, model, tool, permission or review failure |
| Permanent change | The test, rule, permission or fallback added |
| Owner and review date | Who will confirm that the change worked |
Keep the description factual. “The source-check step did not detect a fabricated citation” is more useful than “the AI was careless.” The first statement points toward a control that can be improved; the second assigns intention to a probabilistic system.
Do not paste secrets, sensitive customer data or unnecessary personal information into the log. Record a protected reference to the relevant evidence instead.
The 15-Minute After-Action Routine
Minutes 0–3: Contain the event
Stop the workflow before analysing it.
If the system can take external action, disable that action or reduce its permissions. Preserve the draft, input and relevant output. Do not repeatedly rerun the same automation while it can still send, publish or overwrite.
For a content workflow, containment might mean reverting a post to draft. For a data workflow, it might mean working from a copy while the original remains untouched. For an agent, it might mean revoking a tool permission or switching to read-only mode.
Containment protects the asset. Diagnosis comes next.
Minutes 3–6: Write the expected and observed behaviour
Record the smallest useful contrast:
Expected: publish the approved article with its verified featured image. Observed: the article was published without the featured image after the upload step timed out.
Avoid reconstructing the entire conversation. Capture the trigger, the important inputs, the expected control and the observable failure.
If the event was a near miss, say exactly what prevented impact. That control may be worth strengthening or moving earlier in the workflow.
Minutes 6–9: Classify the failure
Use six practical cause categories:
- Input failure: missing, stale, contradictory or incorrectly formatted source material.
- Instruction failure: the rule was vague, absent or buried in too much context.
- Model failure: unsupported inference, unreliable extraction or inconsistent output.
- Tool failure: timeout, broken integration, inaccessible file or changed interface.
- Permission failure: the system had too much access or the wrong account.
- Review failure: the checkpoint was missing, rushed or unable to detect the issue.
Choose the best current explanation and label it “likely cause” unless the evidence is conclusive. The purpose is to select the next control, not to pretend the root cause is certain after a few minutes.
Minutes 9–12: Add one durable control
Every logged incident should produce at least one concrete change.
Useful changes include:
- adding the failed example to a representative test pack;
- checking that required fields and files exist before external action;
- moving a human checkpoint before publication or payment;
- narrowing an agent’s permissions;
- requiring direct-source links for material claims;
- separating draft creation from sending;
- adding an idempotency or duplicate check;
- keeping a manual fallback for the critical output; or
- setting a threshold that pauses the workflow.
Prefer a control that prevents or detects the failure automatically. If that is not practical, make the manual check explicit and easy to perform.
Do not respond to every incident by making the prompt longer. Additional instructions can create conflicts and make important rules harder to find. Sometimes the right change is a deterministic check, a permission boundary or a separate verification stage.
Minutes 12–15: Assign the proof
Name who will confirm the change and when.
The proof should be observable: rerun the failed example in a safe test mode, confirm the required image is present, verify that a restricted tool call is blocked or show that a malformed input now stops the workflow.
An incident is not closed because someone edited a prompt. It is closed when the new control has been tested against the failure it was designed to catch.
Turn Incidents Into a Small Test Library
The compounding value appears when the log feeds future tests.
Once a month, review the incidents by workflow and cause. Look for patterns:
- several “model failures” may actually come from weak source inputs;
- repeated formatting errors may need schema validation rather than more prompting;
- recurring timeouts may require a retry that checks the destination before creating a duplicate;
- permission incidents may show that the workflow is automating too much too soon; and
- repeated human corrections may reveal an undocumented quality rule.
Convert representative incidents into a regression pack. Before changing models, prompts or tools, run the pack and compare the results against clear acceptance criteria.
This turns lived experience into an asset. Your workflow no longer depends only on remembering that something once went wrong. It carries a growing library of examples that defines what reliable behaviour looks like.
Use Severity to Match the Response
Not every event deserves the same effort. Use three levels:
- Level 1 — contained friction: internal error, no external impact, quick recovery. Log it and add a small control.
- Level 2 — near miss or reversible impact: wrong draft sent internally, duplicate avoided at the last step, limited rework. Test the fix before the next live run.
- Level 3 — material impact: public misinformation, customer harm, sensitive-data exposure, financial action or destructive change. Stop the workflow, preserve evidence and involve the appropriate security, legal or professional support.
This keeps the system proportionate. A minor formatting defect should not trigger a week-long review. A data leak should not be handled with a one-line prompt edit.
The Trade-Off: Logging Can Become Theatre
An incident log creates no value if it becomes paperwork.
Three failure modes are common:
- recording events without changing a control;
- writing vague causes such as “AI error”; and
- closing incidents without testing the fix.
Keep the log short and connect every entry to a decision. If the same low-impact issue repeats, either automate the check or consciously accept the risk. If logging takes longer than fixing, reduce the fields—but keep the expected behaviour, impact, control and proof.
The aim is not zero failure. That is unrealistic for human or automated systems. The aim is faster containment, fewer repeated mistakes and better judgment about which work deserves automation.
Build the First Entry Today
Choose the last AI-assisted task that required a meaningful correction.
Write what should have happened, what happened instead, how it was caught and the one control that would prevent or detect a repeat. Add that example to a test pack and assign a date to run it.
AI can create time wealth when repeatable work becomes dependable. It can support financial wealth when the workflow produces a useful business capability or owned asset. An incident log protects both by ensuring that each failure improves the system instead of merely consuming another afternoon.
The most valuable lesson from an AI mistake is not “be more careful.” It is a tested change that makes the next run safer.