Structured-output contract
Strict schemaAction, confidence, target, and reason must all pass validation.
AI reliability harness / A-001
This importable n8n workflow proves the checks that keep malformed, low-confidence, or disallowed model output from quietly triggering the next business action.
Control path under test
01 / What this proves
Structured-output contract
Strict schemaAction, confidence, target, and reason must all pass validation.
Recovery boundary
One retryA bad first response gets one bounded retry, not an endless loop.
Safe default
Human reviewLow-confidence, malformed, and disallowed output cannot continue automatically.
Provider responses are simulated so anyone can import and execute the harness without an API key. A real engagement replaces those fixtures with the approved model node or API while preserving the same validation, retry, routing, and approval contract.
02 / Authoritative execution
Executable proof
The final report returned all_passed: true: two first-attempt accepts, one accepted retry, three human-review routes, and zero external actions across six response fixtures.
03 / Reusable safety gate
Webhook product
POST an AI response and a small policy. The workflow returns a deterministic continue or human_review route, validation issues, normalized output, and bounded-retry evidence. It never performs the requested action.
One-time digital purchase. Delivered after Stripe confirms payment. Processed by AIMart.trade; your statement will show AIMART.TRADE.
The complete workflow converted without warnings and every node passed indie.money's public pre-publish support check. It has not been registered, listed, or represented as earning revenue.
04 / How this becomes client work
Agree on schema, actions, targets, and confidence thresholds.
Use the approved provider, prompt, credentials, and test data.
Malformed, low-confidence, hostile, timeout, and retry cases.
Keep consequential actions human-gated until evidence supports more.
Have an unreliable AI step?
Review the exact $49 boundary before payment, or request the free written fit check. No production credentials or client data are needed.