cd /news/ai-agents/ai-audit-evidence-part-9-one-not-exe… · home › topics › ai-agents › article
[ARTICLE · art-176516] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

AI Audit Evidence, Part 9: One "Not Executed" Can Stand for Two Pasts

A developer building an audit-evidence system for outbound writes found that a target's "not executed" answer can represent two distinct pasts: a key never accepted, or one accepted, executed, and later reversed. The system now records a nullable "basis" field (current_state, receipt, or absent) alongside each probe result, inferred only from what the target explicitly reports rather than from the request method or path, and the field is kept as a label rather than a retry gate so targets without status endpoints remain releasable.

recommendation

When a target answers "not executed", record whether it read from its live object store or its acceptance record, leave the field null when unstated, and never let it block retries automatically.

more in playbook: Designing agent systems
by read5 min views7 publishedNov 26, 2026

After an outbound write times out, the system asks the target one read-only question: did you execute this key? The target answers "not executed". The ledger takes that as "nothing landed", releases the hold, and lets the call be made again.

But that answer can stand for two different pasts, and they point to opposite decisions.

This piece is about why a true answer can still be ambiguous, what we now record alongside it, and why that extra fact has to stay a label rather than a gate.

A: the key was never accepted.

B: it was accepted and executed, and the record was later reversed or deleted, so it cannot be found now.

For the retry question, A is safe to retry. B is a second execution of a write that already happened. Both look the same from the target: "not found". The difference is not in whether the answer is true — it is — but in what the answer was read from: the target's live object store, or its own acceptance record.

The probe has one mode: a single GET against the status path the tool declares. A non-GET method, an absolute path, or an unfilled placeholder is treated as a configuration error and no request is sent at all.

So the answer is always "is it there now", never "was it ever there".

Worse: the path says nothing about the source. Both kinds of past are asked with the same single GET, so the method, the path and the response shape cannot tell them apart. Any rule that guesses the kind from which field the path points at is claiming something the target never said.

And one more layer: if the target's read path is eventually consistent, a very recent acceptance may not have reached it yet. Then "not there now" does not even equal "not there now, truly".

We made the distinction a field — a basis:

current_state: the target answered from its live object store.

receipt: the target answered from its own acceptance or event record.

absent: the target did not say, or the row predates the field.

Three choices are worth spelling out.

First: if the target does not say, we record "unknown". We do not infer it from the method or the path. That is not caution for its own sake — it is the same rule this series keeps coming back to: do not let an empty value speak for the system.

Second: a receipt is not an authority claim. An eventually consistent receipt can still miss a recent acceptance. The field says what the answer is based on, not how true it is. It is a label, not a confidence score — and if that is not said plainly, a reader will treat it as a second conclusion.

Third: the column is nullable, with no default and no backfill. A default would be easier, and it would stamp every historical row as "current state", destroying the reading "this row predates the field". That would be one more case of speaking for the data.

"Not executed" releases the hold and allows a retry regardless of kind.

Why not a gate: a target with no status endpoint would then never be releasable. Translating "the evidence is weak" into "you may not retry" leaves some systems with nowhere to go.

If the basis is ever wired into the retry decision, it may only raise the bar — a weak reading can require a recorded decision, but it cannot block automatically. That boundary is written into our own remediation list. A release is a decision. The row already carries the readings themselves: how many asks, and the latest three — time, conclusion, cause, who asked, and now the basis. A reader then asked: should the grade be stored on the decision row too?

Our answer: reference, do not copy.

A reading is an event — append-only, never rewritten — so copying it cannot drift. A grade is a judgement computed from readings; it changes when the rule changes, and two copies guarantee one of them is stale. A reader put the rule better than I had: an event may be copied; a judgement may not.

Everything above is what we have. Two gaps remain, listed because they come from the same rule.

Readable history: zero. Today no target can be asked for history through the probe. Reading history is a new mode, not a bigger query. So we can say "this reading is a current-state answer"; we cannot yet say "this is what it was before".

The decision row cannot resolve back to the reading row. The copied entries still carry no reading id, so they cannot be followed to their source. Scheduled ahead of the rest.

One more case of the same rule has already been closed: when the target has no status endpoint at all, it cannot even be asked — and the release row used to say the same sentence for "cannot ask" as for "nobody asked". It now reads "not askable — this tool has no usable status query", and the same fact goes into the evidence column as a field.

None of this changes the argument; it only shows that the same rule is still owed elsewhere.

A true sentence can still be a present tense with more than one past.

"What kind of answer is this" is not a score; it is a question about where the answer came from. Sooner or later the target has to answer it once. Until then, the honest move is to record that we do not know the source — not to pick one on its behalf.

── more in #ai-agents 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ai-audit-evidence-pa…] indexed:0 read:5min 2026-11-26 · —