类 Task
java.lang.Object
io.agentscope.core.state.Task
Persistent agent task record carried inside
TaskContextState.
Tasks are user-visible work items. Their state progresses pending → in_progress
→ completed; dependencies are declared via blocks (downstream task ids waiting on this
one) and blockedBy (upstream task ids whose completion gates this one).
All fields except subject and description have sensible defaults so callers
normally invoke Task.Builder.subject(String) + Task.Builder.description(String) and let the
other fields populate themselves.