Labels do not create audit trails. A campaign run by an agent can be tagged as a knowledge gap, an integration break, a policy conflict, or a model error, and none of those tags restore the decision trace that would make them verifiable. An AI application becomes auditable only when the workflow has already stored four things behind every action: the data available, the tools called, the policy state evaluated, and whether a human overrode the step.
That is the design decision I would take before the taxonomy debate. In an agentic marketing pipeline the first question is not which model answers the brief. It is whether the runtime can reopen a finished run six weeks later and show the inputs that made the output possible. Get this wrong and every governance artefact downstream inherits the hole.
Conclusion first: the distance between a coded incident and a repaired workflow is nearly always a missing join, not a missing label.
A public martech operations account from APAC Edm Growth supplies the texture. The writer met AI agents and automation at two martech companies over several weeks, once as a customer and once as a prospect. The automation looked efficient inside the firm while the customer faced a dead support path: a billing question sent to a shared onboarding address went unanswered, then a friendly onboarding notice arrived afterwards. From the customer side that is one experience. Inside the system it could be filed as a routing error, a missing field, a closed ticket, or a bad message trigger. A label chosen after the fact tells the customer nothing repairable, and tells the operator nothing provable.
Three constraints decide whether a code carries meaning: the completeness of the input state, the survival of the logs, and the timing of the attribution.
On input state, a Salesforce figure carried in Omnibound AI Marketing Statistics reports that less than half of marketers have complete access to the commerce data their agents need, and 56% have full access to sales data. When an agent chooses a customer path on partial commerce and sales context, the result was wrong long before anyone assigns a cause. The code can honestly read knowledge gap only if the platform captured the permission state, the retrieval result, and the field or table absent at decision time.
On log survival, 36kr summarises a Nylas survey from the second half of 2026: 54% of enterprises experienced an agent error in the prior 90 days, and the most common result was a workflow that required the team to reverse execute. Only 53% said they could produce complete audit logs. The incident rate climbs with deployment size, moving from 45% among organisations running 1 to 5 agents to 70% among those with more than 20. The same summary cites Deloitte data saying 21% of organisations have mature governance models for autonomous agents, and cites Gartner as predicting more than 40% of agentic AI projects will be cancelled by the end of 2027 because of cost, unclear business value, or risk control. Those numbers locate the bottleneck in observability, while the naming layer arrives afterwards. Without logs that outlive the incident, a cause field is a note in a system that can never prove its own claim.
Most bad outcomes are settled at the evidence gate, so the cheapest control sits upstream of the send.
An agent evaluation article on AI customer service and refund verification, translated as AI customer service and refund verification metrics, reports a metric called PAR for single action tasks, measuring the share of actions taken before evidence is complete, with values from 37.0% to 66.9%. A companion metric, CAS, measures action success after evidence is gathered, and eight of nine configurations exceed 93%. For multi step workflows the article treats evidence gaps and incomplete execution as separate failure types: one model configuration, GLM-ZCode, shows an evidence gap share of 80.3% against an incomplete execution share of 33.3%.
Read that as a workflow instruction rather than a leaderboard note. A refund path running 80.3% evidence gaps does not need a tidier post-incident label; it needs a gate that refuses to act while required context is missing. My rule of thumb for these systems: when an action touches money, consent, or delivery, the preflight check is a blocking condition, not a scoring heuristic. Our comparison of which claim guardrails can actually stop a send works through that blocking behaviour in detail.
| Design | What it records | What it can prove | Where it breaks |
|---|---|---|---|
| Post-hoc dropdown | One analyst-chosen cause family after the campaign | Nothing about the run itself | Fast triage that routes whole teams toward the wrong repair |
| Full incident review | Transcripts, tool outputs, ticket history, per case | Causal chains, at high cost | Too slow to contain a high-volume failure queue |
| Cause candidate layer | Data available, tools called, policy state, human override, captured at decision time | Which record is missing and who repairs it | Requires instrumentation work before any dashboard appears |
The practical recommendation is the third design, with a stable failure standard treated as a later goal instead of a launch requirement. A final code should be produced from those four records, not from a reviewer's memory after the campaign ends, which is weak evidence.
| Failure code | Minimum evidence bundle |
|---|---|
| Knowledge gap / missing customer data | Source and field, permission state, retrieval result, timestamp of the decision |
| Integration break | Service, endpoint, error code, retry path, time of call |
| Policy conflict | Rule triggered, action taken, human override choice and owner |
| Model error | Prompt, retrieval context, tool outputs, failed response and the expected difference |
When the bundle is empty, the code is decorative. Release one only when an analyst can open it and find the missing field, the failed endpoint, the blocked policy, or the wrong model output that explains the repair. Until that record exists, the code should stay provisional and outside budget decisions.
Conclusion: a taxonomy is a hypothesis, and it should be measured like one. Run four checks.
The measurement scepticism outside agent systems is worth noting here. IAB reports that 60% to 75% of buy-side users say current marketing measurement approaches, including attribution, incrementality testing and marketing mix modelling, fall short on rigour, timeliness, trust and efficiency; its Project Eidos cross-channel measurement guide went out for public comment on 2026-10-20 (see IAB). If human-built attribution already struggles on trust, a machine-generated cause field inherits a higher bar, not a lower one. On the governance side, the NIST AI Risk Management Framework sorts this work into Govern, Map, Measure and Manage functions, and treats transparency and traceability as characteristics of trustworthy AI, which is a reasonable frame for deciding who owns each record. I read the mapping below as analysis rather than a citation: Govern sets the logging policy and authority, Map fixes the scope of the journey, Measure watches drift, Manage keeps the remediation trail.
The strongest case for attribution codes is speed. In a high-volume agent environment a full incident review can be too expensive before somebody contains the problem, and a rough code lets analysts, marketers and operations staff see that many failures share a family. From there a team can sort queues, pick repair owners, and build a vocabulary for escalation. A coding standard works as a filing system, and filing makes investigation cheaper than reading transcripts one by one.
Research summaries point the same way. A podcast episode from Seventy3 on tracing agentic failure holds that failure attribution is necessary for debugging and improvement, while existing approaches get expensive when they lean on prompt pipelines or demand step-level labels. That is the real tension: teams need cause families now, and usually lack cheap evidence pipelines. A Hacker News discussion on AI management describes bad delegation to agents as failing quickly, with orchestration and judgment left behind; the view is personal and unmeasured, but it names the operating pressure. Somebody still has to repair the workflow.
The danger appears when rough labels harden into dashboard facts. Marketing leadership can conclude that data gaps dominate and spend on enrichment while the actual driver is a broken webhook, or a vendor can pitch model safety because most codes read model error when the workflow failed at consent or budget checks. Teams can make that mistake with logs. Codes make it faster.
Delivery joins. Cifnews, citing a Nox influencer marketing report, says the global influencer marketing market passed $32.57 billion in 2025, with a forecast near $40 billion by the end of 2026, and that advertiser budget share for influencer marketing rose from more than 20% in 2022 to more than 60% in 2025. The reported business gap is delivery: promised creator posts, publication, content lifespan and platform suppression sit across email, spreadsheets and backends. AI improves creator matching and conversion, while finance still cannot ask for a clean incremental revenue answer. Naming that failure a delivery gap, a measurement gap or an external platform failure is secondary to the join the workflow must perform: promise record to post record to deletion or limitation record to purchase record. Codes organise an answer; evidence systems produce it.
Cost joins. A 2026 AI agent marketing statistics survey says cost observability and budget control were selected by 26.2% of respondents as a challenge, below data readiness and integration barriers but above one quarter of a technology-focused sample. Token price is one input; retries, paid tool calls, infrastructure and human review all enter the bill. If a failure code says model error and the ledger cannot show which retry or tool call caused the overrun, finance sees a soft number. The unit economics discussion, including why cost per resolved customer intent is hard to audit at vendor level, belongs in the same conversation.
Yes, but as the output of the log rather than the input to it. Codes are useful for queue routing and escalation vocabulary. They become harmful when they are the only artefact, because then the taxonomy is being asked to carry a causal claim it cannot evidence.
Start where outcomes are observable: consent checks, budget caps, delivery confirmation and refund validation, rather than broad creative tone or lead scoring. A refund path has a customer, a payment state, a policy rule and a reversal cost, which makes a code testable. A campaign that only chooses messaging style has a causal chain that stays unclear until the system records the inputs that made the style possible.
The honest answer is that this is a policy choice, not a technical one. Decide the roles that can reopen an agent run covering customer data, billing and consent, and record the access as part of the same permission state the log already captures.
Once the bundle behind it survives review: an analyst can open the incident and see the specific field, endpoint, policy or output that justifies the label. Before that, keep codes provisional and out of spend decisions.