Delegation Tasks

Chain Hub delegation tasks enable structured task assignment across the agent network.

State Machine

Created ──→ Active ──→ Completed
  │            │
  └→ Cancelled   └→ Expired

Instructions

InstructionDescription
create_delegation_taskCreate task with skill, protocol, agent, judge
activate_delegation_taskTransition Created → Active
record_delegation_executionRecord execution, increment counter
complete_delegation_taskMark as completed
cancel_delegation_taskCancel task

Account Layout

DelegationTaskAccount: 253 bytes, stores task_id, skill, protocol, agent, judge, deadline, execution_count, status.