{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "TriGate",
 "ref": "TriGate#04a9",
 "hash": "sema:TriGate#mh:SHA-256:04a9a7cc17d29dab76ee781b7d7a3f557f68d528788da12620a320ce53d6b44c",
 "stub": "04a9",
 "layer": "Infrastructure",
 "type": "Primitives",
 "summary": "Generic Red/Yellow/Green flow control",
 "mechanism": "A generic Gate#664d traffic-light enforcement primitive. Wraps a Judge#704c or Condition#b480 that returns a trinary status (Red/Yellow/Green) and yields a Decision#b140: Red -> CLOSE (halt execution). Yellow -> DEBT (proceed with the obligation recorded to Ledger#4dda). Green -> OPEN (proceed).",
 "invariants": [
  "Fail-Closed: Red triggers immediate halt.",
  "Yellow appends a remediation item and records the obligation to Ledger#4dda. An unrecorded Yellow is a Green."
 ],
 "parameters": {},
 "signature": [
  "Gate(Judge)"
 ],
 "preconditions": [],
 "postconditions": [],
 "failure_modes": [
  "Yellow read as Green: both states proceed, so the obligation exists only in the Ledger#4dda.",
  "Debt accumulating unread: the obligation is recorded and nothing consumes it."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "TriGate",
 "builds_on": [
  {
   "alias": "decision",
   "relation": "yields",
   "library": "bootstrap",
   "slug": "Decision",
   "ref": "Decision#b140",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Decision"
  },
  {
   "alias": "gate",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Gate",
   "ref": "Gate#664d",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Gate"
  },
  {
   "alias": "condition",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Condition",
   "ref": "Condition#b480",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Condition"
  },
  {
   "alias": "judge",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Judge",
   "ref": "Judge#704c",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Judge"
  },
  {
   "alias": "ledger",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Ledger",
   "ref": "Ledger#4dda",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Ledger"
  }
 ],
 "related": [],
 "used_by": [
  {
   "slug": "ConceptBlend",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ConceptBlend"
  },
  {
   "slug": "Taper",
   "relation": "composes_with",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Taper"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/TriGate",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/TriGate.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
