{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "HumanApprove",
 "ref": "HumanApprove#cf56",
 "hash": "sema:HumanApprove#mh:SHA-256:cf561deb1a5e93a9f221abe2621c8a2bcfebf6863bd1128fa2230ef90237e67d",
 "stub": "cf56",
 "layer": "Infrastructure",
 "type": "Verification",
 "summary": "Pause for human approval before critical actions",
 "mechanism": "A checkpoint gate where execution pauses and awaits explicit human approval before proceeding. The agent presents its proposed Task#a850, rationale, and risk assessment to a human operator. Only upon receiving affirmative consent does execution continue. Critical for high-stakes actions (financial transactions, deployments, irreversible changes).",
 "invariants": [
  "Presents the proposed Task#a850, its rationale and its risk assessment before asking.",
  "Halts execution until a human answers, or until `timeout`.",
  "Requires a context-specific challenge code when `challenge_required`.",
  "Logs every approval and rejection with a timestamp and a rationale, in the Audit#be97 trail.",
  "On timeout the action does not proceed: silence is not consent."
 ],
 "parameters": [
  {
   "name": "challenge_required",
   "type": "Boolean",
   "range": "{true, false}",
   "description": "Whether the approver must match a challenge code, not merely click through."
  },
  {
   "name": "timeout",
   "type": "Duration",
   "range": "unspecified",
   "description": "Longest the gate waits for a human before escalating. Deliberately uncapped."
  }
 ],
 "signature": [],
 "preconditions": [],
 "postconditions": [],
 "failure_modes": [
  "Approval Fatigue: Humans rubber-stamp requests without review due to high volume.",
  "Blocking: System#f8eb halts indefinitely if human is unavailable.",
  "Missing decision information: Human lacks sufficient information about the proposal, rationale, or risk to make an informed decision."
 ],
 "domain": "",
 "caution": "Bypassing removes the human-in-the-loop safety boundary.",
 "sources": [],
 "name": "HumanApprove",
 "builds_on": [
  {
   "alias": "audit",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Audit",
   "ref": "Audit#be97",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Audit"
  },
  {
   "alias": "system",
   "relation": "references",
   "library": "bootstrap",
   "slug": "System",
   "ref": "System#f8eb",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/System"
  },
  {
   "alias": "task",
   "relation": "accepts",
   "library": "bootstrap",
   "slug": "Task",
   "ref": "Task#a850",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Task"
  }
 ],
 "related": [],
 "used_by": [
  {
   "slug": "NormativeJudge",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/NormativeJudge"
  },
  {
   "slug": "PermissionEscalate",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/PermissionEscalate"
  },
  {
   "slug": "ReversibilityCheck",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ReversibilityCheck"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/HumanApprove",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/HumanApprove.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
