{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "StateTransition",
 "ref": "StateTransition#bdc0",
 "hash": "sema:StateTransition#mh:SHA-256:bdc0c1988a26e15a4e90bb79b214e4bebe630bc53f758ca67c6e1148aa802686",
 "stub": "bdc0",
 "layer": "Infrastructure",
 "type": "Primitives",
 "summary": "Explicit finite-state machine governance",
 "mechanism": "Finite State Machine. A Transition#9b62 is defined as T: S x Event -> S. Only valid transitions allowed. Current State#4f25 determines available actions.",
 "invariants": [
  "Only declared transitions are permitted; an event with no transition from the current State#4f25 is refused, not improvised.",
  "The available actions are a function of the current State#4f25 alone."
 ],
 "parameters": {},
 "signature": [],
 "preconditions": [],
 "postconditions": [],
 "failure_modes": [
  "Undeclared event: an event arrives that the machine has no transition for, and a caller treats the refusal as a failure of the event rather than of the model.",
  "Unreachable state: a state is declared with no transition leading to it."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "StateTransition",
 "builds_on": [
  {
   "alias": "state",
   "relation": "references",
   "library": "bootstrap",
   "slug": "State",
   "ref": "State#4f25",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/State"
  },
  {
   "alias": "transition",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Transition",
   "ref": "Transition#9b62",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Transition"
  }
 ],
 "related": [],
 "used_by": [
  {
   "slug": "LatticeCommit",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/LatticeCommit"
  },
  {
   "slug": "StateAudit",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/StateAudit"
  },
  {
   "slug": "TaskLifecycle",
   "relation": "composes_with",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/TaskLifecycle"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/StateTransition",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/StateTransition.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
