PocketFlow State Machine
Step Flow
Force Fallback
Reset
start
submit
done
needs_revision
retry
fallback
START
P: init()
E: setup()
O: start()
DRAFT
P: load()
E: write()
O: submit()
REVIEW
P: audit()
E: eval()
O: route()
REVISE
P: diff()
E: patch()
O: retry()
DONE
P: save()
E: close()
O: exit()
FALLBACK
P: log()
E: alert()
O: fail()
Interactive State Machine
Click any node or use the "Step Flow" control button to advance PocketFlow's states step-by-step. Hovering over transitions highlights their routing conditions.