Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude
API/schemas
Schema

HaltCondition

Opt-in RUNTIME halt gate (#6). When a step's declared ``output_key`` (a dotted path into the step's outputs) fails its check, the step is downgraded to ``success=False`` / ``disposition="halted"`` and the cycle STOPS via the existing failure path — even though the step "ran". This closes the gap where a tool step's envelope hardcodes ``status="ok"`` and lifts ``all_passed`` to the top level, so an ``all_passed=False`` verification reads as a green success and the cycle proceeds to post a journal that FAILED verification. Check semantics (first that applies): * ``equals`` present → unmet iff ``value != equals``; * ``in_`` present → unmet iff ``value not in in_``; * else → require-truthy (unmet iff ``not value``). FAIL-CLOSED: a missing ``output_key`` or any evaluation error is treated as UNMET → the cycle halts. This is the deliberate INVERSE of ``applies_when``'s materialize-time fail-OPEN (a bad ``applies_when`` keeps a step; a bad ``halt_condition`` stops the cycle) — a verification gate must never silently pass because its own signal went missing.

FieldTypeDescription
output_keyrequiredstringDotted path into the step's outputs to test (e.g. 'all_passed').
equalsany | nullHalt unless the value equals this. Mutually exclusive with in_.
inany[] | nullHalt unless the value is in this list.
messagestring | nullHuman halt reason; surfaced as the step's error_message.