TriGate
Generic Red/Yellow/Green flow control
Mechanism
A generic Gate traffic-light enforcement primitive. Wraps a Judge or Condition that returns a trinary status (Red/Yellow/Green) and yields a Decision: Red -> CLOSE (halt execution). Yellow -> DEBT (proceed with the obligation recorded to Ledger). Green -> OPEN (proceed).
Invariants
- Fail-Closed: Red triggers immediate halt.
- Yellow appends a remediation item and records the obligation to Ledger. An unrecorded Yellow is a Green.
Signature
- Gate(Judge)
Failure modes
- Yellow read as Green: both states proceed, so the obligation exists only in the Ledger.
- Debt accumulating unread: the obligation is recorded and nothing consumes it.
Where this came from
—
Builds on
Used by
- ConceptBlend references
- Taper composes_with
Identity
- Ref:
TriGate#04a9 - Hash: sema:TriGate#mh:SHA-256:04a9a7cc17d29dab76ee781b7d7a3f557f68d528788da12620a320ce53d6b44c
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository