🔄 Finite State Machine (FSM)

🎯 Purpose

The Finite State Machine (FSM) governs
what control actions are permitted based on the current envelope status.

The FSM is intentionally not a controller.

It does not:

Its sole role is permission and refusal.


🧩 Envelope-Driven States

The FSM operates on a small, explicit set of envelope-driven states:

NORMAL → WARNING → DEGRADED → CRITICAL

These states reflect operational admissibility,
not internal plant dynamics.


📖 State Semantics

🟢 NORMAL


🟡 WARNING


🟠 DEGRADED


🔴 CRITICAL


🔁 State Transitions

FSM transitions are triggered only by:

🚫 Transitions are never triggered by:

This guarantees predictable and certifiable behavior.


🛡 FSM Responsibilities

The FSM is responsible for:

It defines what is allowed, not how it is achieved.


🚫 FSM Non-Responsibilities

The FSM explicitly does not handle:

These belong to lower or outer layers, if present.


💡 The FSM does not decide how to act.

It exists to say “no” clearly, deterministically, and immediately.