{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "Delegate",
 "ref": "Delegate#00fa",
 "hash": "sema:Delegate#mh:SHA-256:00fabbb5e33ec9b95dce20eb8c03e6dd3578e59b041dcf0d6a28b8908763ca45",
 "stub": "00fa",
 "layer": "Society",
 "type": "Coordination",
 "summary": "Work handoff: delegate → accept/refuse → heartbeat → result-or-failure",
 "mechanism": "Delegation is a Work#f0c3-distribution protocol over an existing Task#a850. The delegator sends DELEGATE with the task and its scope; the delegatee replies ACCEPT or REFUSE. Until ACCEPT, the delegator retains ownership. On REFUSE, the delegator reassigns or escalates. On ACCEPT, ownership transfers to the delegatee, which reports PROGRESS via Heartbeat#c5df. Completion returns a result. Failure invokes Break#5003; ownership returns to the delegator before retry, reassignment, or escalation.",
 "invariants": [
  "Delegation is a request, not a command: it is accepted or refused.",
  "Ownership remains with the delegator until ACCEPT; REFUSE transfers nothing and triggers reassignment or escalation.",
  "The delegatee reports progress; silence is not progress.",
  "A failed accepted Task#a850 invokes Break#5003 and returns ownership to the delegator before the next disposition.",
  "Exactly one owner per task."
 ],
 "parameters": {},
 "signature": [],
 "preconditions": [
  "Delegator owns the Task#a850 and has authority to delegate it.",
  "Delegatee is addressable.",
  "Scope of delegation defined."
 ],
 "postconditions": [
  "On ACCEPT, ownership transfers to exactly one delegatee; completion returns a result, while failure invokes Break#5003 and returns ownership to the delegator.",
  "On REFUSE, the delegator retains ownership and reassigns or escalates the Task#a850."
 ],
 "failure_modes": [
  "No response: The candidate never replies; the delegator retains the task, but work stalls until an external timeout or reassignment policy acts.",
  "Capability mismatch (assigned to incapable agent—fails late).",
  "Delegatee disappears (no progress updates—need timeout).",
  "Circular delegation: A task returns to an earlier owner in its delegation chain.",
  "Overload (one agent accepts everything—need load awareness).",
  "Progress lies (reports complete when not—need verification)."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "Delegate",
 "builds_on": [
  {
   "alias": "heartbeat",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Heartbeat",
   "ref": "Heartbeat#c5df",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Heartbeat"
  },
  {
   "alias": "break",
   "relation": "composes_with",
   "library": "bootstrap",
   "slug": "Break",
   "ref": "Break#5003",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Break"
  },
  {
   "alias": "task",
   "relation": "accepts",
   "library": "bootstrap",
   "slug": "Task",
   "ref": "Task#a850",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Task"
  },
  {
   "alias": "work",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Work",
   "ref": "Work#f0c3",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Work"
  }
 ],
 "related": [
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "Handoff",
   "ref": "Handoff#1323",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Handoff"
  }
 ],
 "used_by": [
  {
   "slug": "Handoff",
   "relation": "composes_with",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Handoff"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/Delegate",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/Delegate.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
