promptdojo_

Auto-run or named approval — the checklist automation that never forges a signature — step 4 of 8

This run function is the checklist that lied, in three lines: every due item "completes," including the two with legal duties behind them. Fix run_due so it respects the approval field — items with "auto" print {task}: ran (auto); items with a named approver print {task}: queued for {name} and are NOT run.

Expected output:

regenerate-low-stock-report: ran (auto)
post-300a-summary: queued for vera
forklift-inspection-log: queued for miguel
The break is on lines 9, 10 — but read the whole snippet first.

full-screen editor opens — close anytime to keep reading.