Contract
Required schemaAction, confidence, target, and reason must all be present and valid.
AI Output Safety Gate / OWF-AISG-001
Put a deterministic validation step between an AI response and the workflow that would act on it. Bad, uncertain, or disallowed output goes to human review instead of quietly continuing.
One-time digital purchase. No subscription or included API key. Automatic protected ZIP delivery after Stripe confirms payment. Processed by AIMart.trade; your statement will show AIMART.TRADE.
01 / The control layer
Contract
Required schemaAction, confidence, target, and reason must all be present and valid.
Policy
Allowlists + thresholdThe caller controls allowed actions, allowed targets, and minimum confidence.
Failure default
Human reviewInvalid JSON, low confidence, or a blocked action cannot continue automatically.
02 / Simple webhook contract
{
"candidate_output": {
"action": "route_lead",
"confidence": 0.92,
"target": "sales",
"reason": "High-intent request"
},
"allowed_actions": ["route_lead"],
"allowed_targets": ["sales"],
"minimum_confidence": 0.8
}{
"accepted": true,
"route": "continue",
"attempts": 1,
"retry_used": false,
"issues": [],
"external_action_executed": false
}03 / Included evidence
A separate, explicitly approved n8n step must consume the continue decision and perform any consequential action. This keeps credentials and action nodes outside the downloadable gate.
On August 10, 2026, the delivered JSON imported into an isolated credential-free n8n instance, stayed inactive, and round-tripped without a semantic change. Its exact validator Code node passed all 8 fixtures: 3 continued, 5 routed to human review, and zero external actions ran.
Workflow SHA-256: D5CFFD0A1850BB93A60651C93B2AEC916CE3A0A69EF8DE56958400AC2A0E1242. Version 1.0.1 includes the stable workflow ID required by the current n8n CLI import path. This evidence applies to the tested version; it is not a guarantee for untested n8n releases or buyer-specific downstream actions.
04 / Preview the course
Eight-lesson syllabus
An AI model is useful because it can make a judgment from messy input: classify a message, propose a destination, summarize a case, or draft a response. The same flexibility makes its output unsuitable as direct authority for a consequential tool.
The central design move in this course is to split the system in two:
The gate does not perform the proposed action. It returns continue or human_review plus the reasons for that route. A later workflow step can require its own permissions and approval.
This separation limits the blast radius of malformed JSON, unexpected actions, overconfidence, prompt injection, or a model simply misunderstanding the situation. It also makes failures observable. Instead of an action node receiving arbitrary prose, a reviewer receives a structured result with issues such as action is outside the allowlist.
Think of the gate as a turnstile, not a robot manager. A turnstile checks a defined credential and opens or stays closed. It does not decide where the person goes afterward.
Choose one workflow you understand. Write down:
Example: an inbound inquiry classifier may propose route_lead to sales, but it should not send an email or modify a CRM record inside the validation step.
You are ready for Lesson 2 when you can describe the AI output as a proposal rather than an instruction, and when the proposed action remains separate from the tool that could execute it.
The preview publishes one complete lesson. The validator source, fixtures, workflow JSON, remaining lessons, and protected ZIP stay inside the paid package. The exact buyer license is public before checkout.
Get all eight lessons + workflow — $19Review permitted useWhat the purchase includes
Work through eight concise lessons, run the synthetic regression fixtures, inspect the validator source, then import the n8n JSON. The ZIP also includes exercises, checkpoints, disclosures, a buyer-use license, and a SHA-256 integrity manifest.
05 / Before buying
The one-time purchase includes the eight-lesson implementation course, source code, runnable fixtures, contract tests, and the importable credential-free n8n workflow.
No. It validates output produced elsewhere, so you keep model choice, prompts, and credentials in your own environment.
No. It only returns continue or human_review. You decide what an approved downstream step may do.
Yes. The public reliability page separates the executed harness from the exact delivered-package manifest, fixture result, workflow node count, and ZIP checksum.
Stripe redirects a completed payment to a protected receipt page. The server validates that exact paid session before releasing the course ZIP. The package contains its own file-hash manifest.
You may use and modify the lessons, validator, fixtures, and workflow for your own personal or internal business automations. You may not resell, redistribute, sublicense, publish, or give away the bundle or a substantially similar derivative package. Read the exact Version 1.0 license.
No. It is a one-time digital purchase with no subscription and no included API usage.
A small control before a large consequence
Eight lessons, tested code, fixtures, and the importable workflow. One-time purchase with no subscription or included API usage.