Action Result Verification
Description
Confirm that an intended effect actually happened by checking the resulting state, not the action return value alone, before reporting success. The procedure is constrained by explicit inputs and acceptance criteria rather than best-effort judgment alone.
When to Use
- The task has explicit constraints such as time, budget, or safety that must gate the outcome.
- A silent failure mode exists that must be surfaced rather than swallowed.
- Verification evidence is required before the result is trusted.
Inputs / Outputs
| Area | Contract |
|---|---|
| Inputs | Task context, candidate inputs, and explicit acceptance criteria for action result verification. |
| Outputs | A decision or artifact with recorded reasons, rejected alternatives, and verification evidence. |
| Safety | Failures must fail closed and be reported with evidence rather than retried silently. |
Procedure
- Normalize the task into explicit inputs, constraints, and acceptance criteria.
- Gather the required evidence and check completeness before proceeding.
- Apply the action result verification procedure using the declared criteria only.
- Record the outcome, rejected alternatives, and the reason for each rejection.
- Verify the result against the acceptance criteria with an independent check.
- Report the result with evidence, and escalate explicitly when a criterion cannot be met.
Runnable Example
# Action Result Verification: deterministic check
seen = {}
conflicts = []
for item in [{"k": "a", "v": 1}, {"k": "a", "v": 2}, {"k": "b", "v": 3}]:
if item["k"] in seen and seen[item["k"]] != item["v"]:
conflicts.append(item["k"])
seen[item["k"]] = item["v"]
assert conflicts == ["a"]
print("conflicts:", conflicts)
Failure Modes
- Proceeding with action result verification without the required evidence or inputs.
- Treating an unverified result as verified.
- Silently swallowing errors instead of failing closed with reasons.
- Optimizing the stated metric while violating the stated constraint.
- Losing the audit trail of decisions and rejected alternatives.
Boundary
This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result.
Evidence
Agents claiming success without verified effects is a reported 2026 reliability failure; state re-verification is a named mitigation. These are dated public signals, not adoption metrics.
Related
- assertion.md
- compensating-actions.md
- idempotent-retries.md