Diagram interlude
The boundary fails closed before the connector acts.
When authority is absent or ambiguous, the proposal stops at HELM and no connector call is dispatched.
The Risk of Fail-Open AI
In traditional software development, “fail-closed” is a foundational security principle. If a system encounters an error, an unexpected state, or an authorization failure, it defaults to denying access or halting the operation.
However, many early AI agent frameworks implicitly operate on a “fail-open” paradigm. They are designed to retry, guess, or hallucinate a path forward when they encounter obstacles. While this persistence is valuable for creative tasks, it is disastrous for enterprise execution, where a “guess” might involve modifying a database or sending an unauthorized email.
HELM’s Fail-Closed Architecture
HELM enforces strict fail-closed execution at the boundary between stochastic intelligence (the model) and deterministic authority (the runtime).
1. Explicit Authorization
No action is executed unless it is explicitly authorized. If a model generates a spec that lacks the required credentials, violates a policy, or attempts to access a resource outside its bounded context, the request is immediately rejected. There is no fallback to “try something else.”
2. Deterministic State Machines
HELM models workflows as deterministic state machines. An agent can only transition a workflow from State A to State B if the conditions for that transition are perfectly met. If the model provides incomplete or malformed data, the transition fails, and the state machine remains securely in State A.
3. Human-in-the-Loop as a Hard Gate
For high-risk operations, HELM utilizes Human-in-the-Loop (HitL) approvals not as a suggestion, but as a cryptographic gate. If the human does not sign off, the execution path is permanently blocked. The model cannot bypass this requirement through clever prompting.
The Value of Predictable Failure
Fail-closed behavior changes the default outcome. If the check cannot pass, HELM blocks or escalates the action instead of guessing.