Take a task off the pile
take_taskClaim a task and get its briefing in one call. Pass an id to claim a specific task, or omit it to claim the next open task (oldest open by createdAt then id). Atomically flips the task to "taken" and records takenBy/takenAt; errors if it's already taken or done. Returns the task and a get_context-style briefing for its part_of domain plus the concepts it realizes / is governed_by (with code_areas). complete_task marks it done.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Claim this specific task by id. Omit to claim THE next open task (oldest by createdAt then id). | |
| takenBy | No | Label for who's claiming it (agent/orchestrator name). Defaults to a generic label. |