---
library: "bootstrap"
slug: "Delegate"
name: "Delegate"
ref: "Delegate#00fa"
hash: "sema:Delegate#mh:SHA-256:00fabbb5e33ec9b95dce20eb8c03e6dd3578e59b041dcf0d6a28b8908763ca45"
type: "Coordination"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Delegate"
---

# Delegate

Work handoff: delegate → accept/refuse → heartbeat → result-or-failure

Society · Coordination

## Mechanism

Delegation is a [Work](https://semahash.org/vocabularies/bootstrap/patterns/Work.md)-distribution protocol over an existing [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md). 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](https://semahash.org/vocabularies/bootstrap/patterns/Heartbeat.md). Completion returns a result. Failure invokes [Break](https://semahash.org/vocabularies/bootstrap/patterns/Break.md); 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](https://semahash.org/vocabularies/bootstrap/patterns/Task.md) invokes [Break](https://semahash.org/vocabularies/bootstrap/patterns/Break.md) and returns ownership to the delegator before the next disposition.
- Exactly one owner per task.

## Preconditions

- Delegator owns the [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md) 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](https://semahash.org/vocabularies/bootstrap/patterns/Break.md) and returns ownership to the delegator.
- On REFUSE, the delegator retains ownership and reassigns or escalates the [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md).

## 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).

## Where this came from

—

## Builds on

- [Heartbeat](https://semahash.org/vocabularies/bootstrap/patterns/Heartbeat.md) (composes_with)
- [Break](https://semahash.org/vocabularies/bootstrap/patterns/Break.md) (composes_with)
- [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md) (accepts)
- [Work](https://semahash.org/vocabularies/bootstrap/patterns/Work.md) (references)

## Used by

- [Handoff](https://semahash.org/vocabularies/bootstrap/patterns/Handoff.md) (composes_with)

## Related

- [Handoff](https://semahash.org/vocabularies/bootstrap/patterns/Handoff.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Delegate#00fa
- Hash: sema:Delegate#mh:SHA-256:00fabbb5e33ec9b95dce20eb8c03e6dd3578e59b041dcf0d6a28b8908763ca45

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Delegate
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Delegate.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
