forceState
Forces the state machine to a specific state.
Warning: This bypasses transition validation. Use only for:
Initial state synchronization with phone app
Recovery from error states
Testing
Parameters
state
The state to force
reason
Reason for forcing (logged for debugging)