Infrastructure · Primitives

Gate

Filter payload if the target condition is not met

Definition

Mechanism

Evaluates the truth-value of the target Condition and yields a Decision: proceed if the condition holds, halt if not, or debt (proceed with obligation recorded) when configured. Unlike a silent filter, a Gate produces a first-class Decision artifact that downstream systems can route on. Whether a halt stops only the item or the enclosing flow is a descendant's choice.

Invariants

  1. Idempotent: Re-evaluating the gate with the same context yields the same result (within validity window).
  2. Every evaluation yields a first-class Decision, including a false one.

Risks

Failure modes

  1. Silent Loss

    Important data dropped without alerting the operator.

Relationships

Builds on

References

Condition

Interface for patterns that evaluate to a boolean truth-value

Yields

Decision

Irrevocable selection from a set of options

Used by

References

Check

Side-effect-free observational verification yielding Verified/Falsified/Unknown

TriGate

Generic Red/Yellow/Green flow control

Composes with

Society

Taper

Multi-stage filter of increasing strictness: wide high-entropy input to narrow certain output

Reference

Parameters

on_failure Enum, {halt, debt}
What a false condition yields: halt, or debt where proceeding with a recorded obligation is configured. Both are {{decision}} values the mechanism names.

Identity

Ref
Gate#664d
Sema ID
sema:Gate#mh:SHA-256:664dd801873a87e8aa3d67499e27e7c47923d5c0cdd129af6c09a7531ed7de15
Ring
0
Tier
1
Updated
2026-11-11
Supersedes
  • sema:Gate#mh:SHA-256:206dc9be76b20fcc7c96b06c6c9eb8ce243565d02ce064b4206caaa46871a96d
  • sema:Gate#mh:SHA-256:bc636a863f99226e579fa58c6016053d5940510270fe7b4f3314a418408728e8