{
  "id": "ui_state_machine",
  "label": "UI State Machine Canonical",
  "phase": "phase-02",
  "category": "architecture_engineering_core",
  "status": "ACTIVE_DH_MIRROR",
  "purpose": "Keep DEVON-DEV interface state aligned with execution reality so the UI does not display planning, approval, sandbox editing, testing, deploy, rollback or completion states that the backend and FSM have not actually reached.",
  "function": "Own the frontend state transitions for operational UI behavior while synchronizing with FSM-backed execution state, preventing visual progress, visual authority or visual recovery from drifting away from the real task state.",
  "depends_on": [
    "master_architecture_index",
    "devon_dev_mission",
    "cas",
    "cgs",
    "devon_dev_work_policy_center",
    "documentation_before_code",
    "requirements_scope_engine",
    "project_dependency_graph",
    "validation_matrix",
    "artifact_registry",
    "fsm_absolute_decision",
    "decision_rule_registry",
    "policy_compiler",
    "tool_registry",
    "config_registry",
    "architecture_decision_records",
    "architecture_source_registry",
    "devon_dev_admin_console",
    "floating_chat",
    "modal_action_system"
  ],
  "used_by": [
    "floating_chat",
    "modal_action_system"
  ]
}
