Concept icon
Concept

Phase-Local Node Architecture in StateM

In a StateM runbook, each phase-level state node is organized into four distinct structural components:

  1. in_hook: Executes setup operations upon entering the state, initializing state files and loading durable context or progress records.
  2. State body: The primary open-ended execution space in which the agent retains discretion to reason, invoke tools, and edit files to solve phase-local tasks.
  3. out_hook: Persists durable task progress, updates status receipts, and prepares workspace artifacts before state departure.
  4. before_transfer: Evaluates blocking pre-commit checks; failing any check prevents transition commit and keeps the agent within the node for error repair.

0

1

Concept icon
Updated 2026-09-21

Tags

Prep Sessions

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

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