{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "OrchestrationLoop",
 "ref": "OrchestrationLoop#e8ba",
 "hash": "sema:OrchestrationLoop#mh:SHA-256:e8ba5873bab7bc8a60c971462d4c5a19d86ecf67c4526a516242e20aa388762e",
 "stub": "e8ba",
 "layer": "Society",
 "type": "Protocols",
 "summary": "Interpret-Plan-Rollout Lifecycle",
 "mechanism": "A strict lifecycle for high-stakes problem solving implementing Workflow#808d. It enforces a sequence: 1. RequestFraming#2280 (Frame Problem → FrameSpec#3c20), 2. ManifestPlanning#8bd4 (Architect Solution → ExecutionManifest#fed5), 3. Rollout#ea8c (Execute safely → RolloutManifest#248d). Each transition is mediated by a typed artifact that must pass a non-compensatory AcceptSpec#37fa. The loop can iterate: failed rollouts trigger re-planning, failed plans trigger re-interpretation. At seams that cross trust boundaries (cross-organizational or commons-facing), feedback returning through each stage passes through a ReceptivityGate#0db5 that validates any FailureTrace before the upstream stage absorbs the rejection.",
 "invariants": [
  "Artifact Mediation: All phase transitions MUST pass through typed artifacts.",
  "Non-Compensatory Gates: Each AcceptSpec is binary pass/fail.",
  "Bounded Iteration: Within one run, the loop MUST NOT re-enter an earlier phase more than `iteration_limit` times; the next failed gate escalates."
 ],
 "parameters": [
  {
   "name": "iteration_limit",
   "type": "PositiveInteger",
   "range": "unspecified",
   "description": "Maximum number of failed-gate re-entries within one run before escalation"
  }
 ],
 "signature": [
  "Workflow(Rollout)"
 ],
 "preconditions": [],
 "postconditions": [],
 "failure_modes": [
  "Bureaucracy: Blindly following the full lifecycle for trivial tasks (using a cannon for a mosquito).",
  "Loop Stalling: Getting stuck in Plan/Rollout cycles without shipping.",
  "Artifact Rejection Cascade: Overly strict AcceptSpecs repeatedly send work to earlier phases until `iteration_limit` is exhausted.",
  "Seam Leakage: Untyped data bypasses the artifact boundaries."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "OrchestrationLoop",
 "builds_on": [
  {
   "alias": "frame_spec",
   "relation": "references",
   "library": "bootstrap",
   "slug": "FrameSpec",
   "ref": "FrameSpec#3c20",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/FrameSpec"
  },
  {
   "alias": "workflow",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Workflow",
   "ref": "Workflow#808d",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Workflow"
  },
  {
   "alias": "receptivity_gate",
   "relation": "references",
   "library": "bootstrap",
   "slug": "ReceptivityGate",
   "ref": "ReceptivityGate#0db5",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ReceptivityGate"
  },
  {
   "alias": "rollout_manifest",
   "relation": "references",
   "library": "bootstrap",
   "slug": "RolloutManifest",
   "ref": "RolloutManifest#248d",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/RolloutManifest"
  },
  {
   "alias": "accept_spec",
   "relation": "references",
   "library": "bootstrap",
   "slug": "AcceptSpec",
   "ref": "AcceptSpec#37fa",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/AcceptSpec"
  },
  {
   "alias": "execution_manifest",
   "relation": "references",
   "library": "bootstrap",
   "slug": "ExecutionManifest",
   "ref": "ExecutionManifest#fed5",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ExecutionManifest"
  },
  {
   "alias": "rollout",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Rollout",
   "ref": "Rollout#ea8c",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Rollout"
  },
  {
   "alias": "request_framing",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "RequestFraming",
   "ref": "RequestFraming#2280",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/RequestFraming"
  },
  {
   "alias": "manifest_planning",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "ManifestPlanning",
   "ref": "ManifestPlanning#8bd4",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ManifestPlanning"
  }
 ],
 "related": [
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "LayeredCheck",
   "ref": "LayeredCheck#6d73",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/LayeredCheck"
  }
 ],
 "used_by": [],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/OrchestrationLoop",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/OrchestrationLoop.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
