turn autonomous robot tasks into robust pybricks state machines for lego spike competition robots. use when the user wants to split a run into states, retries, timeouts, fallbacks, or reusable mission subroutines for wro, fll, or similar autonomous events.
Convert a fragile sequence of actions into a state machine that is easier to debug, resume, and adapt when a mission does not go exactly as planned.
scripts/scaffold_state_machine.py to create a python skeleton.references/state-patterns.md for naming and transition guidance.scripts/scaffold_state_machine.py when the user provides a json state list.assets/state_machine_example.json as the default input format.