Activity (Process)

StateM Ordered Transition Protocol

In StateM, all phase changes use the core operation goto TARGET, which executes an ordered, six-step transition protocol:

  1. Edge Verification: Verify that the requested transition edge from the current state to TARGET exists.
  2. Exit Check Evaluation: Evaluate the current state's before_transfer exit checks.
  3. Persistence and Out-Hook: Run the current state's configured persistence or out_hook operations.
  4. Edge Condition Evaluation: Evaluate edge guards and edge-specific transfer hooks.
  5. State Commit & Logging: Commit the target state and append the transition event to execution history only if all required pre-commit steps succeed.
  6. Target Setup & In-Hook: Create the target-state entry and execute its in_hook.

If any required pre-commit check or hook fails, execution remains in the source state and records the failure, permitting the agent to inspect the unmet condition and retry.

0

1

Updated 2026-09-29

Tags

Prep Sessions

Engineering State-Bound Execution Runtimes for Autonomous Agents @ University of Michigan - Ann Arbor

Ch.2 Agent Runtime Design and Execution Framework - Engineering State-Bound Execution Runtimes for Autonomous Agents @ University of Michigan - Ann Arbor

StateM Agent-Native Runtime Architecture - Engineering State-Bound Execution Runtimes for Autonomous Agents @ University of Michigan - Ann Arbor

Context and Contract Boundaries in Phase Execution - Engineering State-Bound Execution Runtimes for Autonomous Agents @ University of Michigan - Ann Arbor

YAML Runbook Specification and Transition Verification - Engineering State-Bound Execution Runtimes for Autonomous Agents @ University of Michigan - Ann Arbor

Long-Horizon Agent Reliability: Stateful Scaffolding and Runtime Verification @ University of Michigan - Ann Arbor

Ch.2 Runtime Architecture and Boundary Control - Long-Horizon Agent Reliability: Stateful Scaffolding and Runtime Verification @ University of Michigan - Ann Arbor

Context Boundaries, Contract Boundaries, and Transition Checks - Long-Horizon Agent Reliability: Stateful Scaffolding and Runtime Verification @ University of Michigan - Ann Arbor

Engineering Deterministic Runtimes and Verification for Autonomous Agents @ University of Michigan - Ann Arbor

Ch.1 Operational Reliability and Verification - Engineering Deterministic Runtimes and Verification for Autonomous Agents @ University of Michigan - Ann Arbor

Verification Typologies and Transition Protocols - Engineering Deterministic Runtimes and Verification for Autonomous Agents @ University of Michigan - Ann Arbor

Runtime Verification and Failure Mitigation in Autonomous Agent Workflows @ University of Michigan - Ann Arbor

Ch.1 Execution Lifecycle and Fault Management - Runtime Verification and Failure Mitigation in Autonomous Agent Workflows @ University of Michigan - Ann Arbor

Check Typology and Transition Verification Protocols - Runtime Verification and Failure Mitigation in Autonomous Agent Workflows @ University of Michigan - Ann Arbor

Autonomous Agent Control Planes: State Scaffolding and Resilient Execution @ University of Michigan - Ann Arbor

Ch.1 Execution Lifecycle and State Boundaries - Autonomous Agent Control Planes: State Scaffolding and Resilient Execution @ University of Michigan - Ann Arbor

States as Context-and-Contract Boundaries - Autonomous Agent Control Planes: State Scaffolding and Resilient Execution @ University of Michigan - Ann Arbor

Related