Fail-closed gate designer
Design fail-closed quality gates for this AI workflow. WORKFLOW MAP [paste] SYSTEMS AND PERMISSIONS [read/write/send/delete/publish/payment/etc.] HIGH-RISK FAILURES [list] CURRENT TESTS AND RECEIPTS [list or NONE] For each stage, define: precondition, allowed inputs, validation, model-output check, human approval, action permission, idempotency/duplicate protection, external receipt, failure state, retry rule, rollback or recovery, log fields, and owner. Mark any stage that cannot fail closed as BLOCKED FOR AUTOMATION. Return a pre-launch test plan and a weekly exception review.