Condition
Interface for patterns that evaluate to a boolean truth-value
Mechanism
A marker interface (Trait). Patterns implementing 'Condition' MUST provide an evaluation logic that returns a strict Boolean (True/False) based on provided context.
Invariants
- Boolean Output: Result must be binary.
- Decidability: Must always return a value (or error), never hang.
Failure modes
- Ambiguity: Returning 'Maybe' or probabilistic float where Boolean is required.
Where this came from
—
Used by
- Check references
- Contract accepts
- DepthGovernor references
- FeatureFlag references
- Gate references
- HeldRelease references
- Loop accepts
- Refine accepts
- State references
- TriGate references
- WhyClimb references
Identity
- Ref:
Condition#b480 - Hash: sema:Condition#mh:SHA-256:b480f3c4da11ba6d86f6d14e0fb8521268f3c4bb38588460f7ff4253ad8d78d5
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository