TaskSpec
autogen.beta.task.TaskSpec dataclass #
TaskSpec(title, description='', payload=dict(), capability=None)
What a Task is doing — title plus optional description and payload.
capability tags the task with a capability name from the owning agent's Resume.claimed_capabilities. When set, the network's TaskMirror calls Hub.record_observation on the terminal event so the matching Resume.observed[capability] track record is updated. Untagged tasks are still observed but don't update any observed stat.