state-machines
Find the implicit state machines in code (status fields, flag groups, nullable timestamps, retry counters, event chains), find their stuck states, races, and impossible combinations, and propose the rules they must follow as Zenable requirements. Use when the user asks to find or map state machines, a lifecycle, or a status flow; asks why records, jobs, or sessions get stuck, stale, orphaned, or duplicated; suspects a race between workers, retries, webhooks, or user actions; is about to add a new status, flag, or state field; wants the unwritten rules of a workflow written down; or invokes /z:state-machines.
Pinned to revision 78ad3a4b36cf, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.