promptdojo_

The paper trail — legal review, versions, and adverse-action evidence — step 5 of 8

Someone edited the transitions dict "temporarily, for the benefits deadline" and gave draft a direct edge to published. The state machine now happily walks a draft straight past legal review — run the broken version and watch the trail.

Fix the topology so the only way out of draft is legal_review, and the walk below has to earn its way to published.

Expected output:

draft -> draft -> legal_review -> approved -> published
The break is on lines 2, 3 — but read the whole snippet first.

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