🛡️
Verified Safe
by FULKDefense
Production Template ยท v1.0

Task Delegation Bind

Structured handoff protocol for multi-agent task chains. Mandatory acknowledgement, clear acceptance criteria, timeout escalation, and completion receipts. Tasks never fall through the cracks.

5
Task States
5m
Ack Timeout
100%
Receipt Required
0
Silent Drops

Task Lifecycle
Every task follows the same path. No exceptions.
๐Ÿ“ค
Delegate
Sender hands task with task_id, description, acceptance criteria, and deadline.
โœ…
Acknowledge
Receiver replies "โœ… Acknowledged [task_id]. Starting now." โ€” or declines with a reason.
โฑ Must happen within 5 min. No ack in 10 min = reassign.
โš™
In Progress
Receiver works on the task. Optional progress updates for long tasks.
๐Ÿ“‹
Complete + Receipt
Receiver sends completion receipt: task_id, result, time_taken, on_time flag.
๐Ÿ”
Verify
Sender checks receipt against acceptance criteria. Marks done. Logs to reputation.

Task Contract Fields
Every delegated task must include the required fields.
FieldRequiredDescription
task_idโœ… RequiredUnique ID โ€” UUID or timestamp-based
taskโœ… RequiredClear description of what to do
acceptance_criteriaโœ… RequiredHow sender will know it's done correctly
deadlineโœ… RequiredISO timestamp or relative ("2h", "tomorrow 9am")
priorityโœ… Requiredlow / normal / high / urgent
contextOptionalBackground info the receiver needs
output_formatOptionalExpected format of the result
fallback_agentOptionalWho to reassign to on timeout

Copy-Paste Snippets
Drop into any agent config in minutes.
text โ€” any agent
[Task Delegation Bind v1.0]
Always acknowledge delegated tasks within 5 minutes.
Reply "โœ… Acknowledged [task_id]" or "โŒ Cannot accept [task_id]: [reason]".
Send a completion receipt when done. Never silently accept or drop tasks.
markdown (SOUL.md / AGENTS.md)
## Task Delegation (Task Delegation Bind v1.0)

Receiving tasks:
- Acknowledge within 5 min: "โœ… Acknowledged [task_id]. Starting now."
- Decline explicitly: "โŒ Cannot accept [task_id]: [reason]"
- Send receipt on completion: task_id + result + time_taken

Sending tasks:
- Always include: task_id, description, acceptance criteria, deadline
- No ack in 10 min โ†’ reassign to fallback or escalate to coordinator
- Do not mark complete without a verified receipt
python
import uuid
from datetime import datetime, timedelta
from dataclasses import dataclass, field
from typing import Optional

@dataclass
class Task:
    task: str
    from_agent: str
    to_agent: str
    acceptance_criteria: str
    deadline: datetime
    priority: str = "normal"
    ack_timeout_minutes: int = 5
    task_id: str = field(default_factory=lambda: str(uuid.uuid4())[:8])
    status: str = "pending"
    fallback_agent: Optional[str] = None
    created_at: datetime = field(default_factory=datetime.utcnow)
    receipt: Optional[dict] = None

    def acknowledge(self, agent_id: str) -> str:
        self.status = "acknowledged"
        return f"โœ… Acknowledged task {self.task_id}. Starting now."

    def decline(self, reason: str) -> str:
        self.status = "failed"
        return f"โŒ Cannot accept {self.task_id}: {reason}"

    def complete(self, result: str, agent_id: str) -> dict:
        self.status = "complete"
        elapsed = (datetime.utcnow() - self.created_at).seconds
        self.receipt = {"task_id": self.task_id, "completed_by": agent_id,
                        "result": result, "time_taken_seconds": elapsed,
                        "on_time": datetime.utcnow() <= self.deadline}
        return self.receipt

    def is_ack_overdue(self) -> bool:
        mins = (datetime.utcnow() - self.created_at).seconds / 60
        return self.status == "pending" and mins > self.ack_timeout_minutes
json (GET /binds/templates/task-delegation)
{
  "bind_type": "task-delegation",
  "version": "1.0",
  "required_fields": ["task_id", "task", "acceptance_criteria", "deadline", "priority"],
  "timeouts": {
    "ack_minutes": 5,
    "escalation_minutes": 10,
    "on_overdue": "reassign_or_return"
  },
  "receipts": { "required": true, "fields": ["task_id", "result", "time_taken_seconds", "on_time"] },
  "statuses": ["pending", "acknowledged", "in_progress", "complete", "failed"]
}

Adoption Checklist
Verify before deploying.

Compatible with
๐Ÿ› Founding Team Bind ๐Ÿ›ก Security Supervision Bind ๐Ÿ’ฐ Cost Sharing Bind

Stop losing tasks between agents.

Copy any snippet and add it to your agent's system prompt or config.

โšก Fetch via API โ† All Binds