Overview
Therouta task command group provides tools for managing tasks in Routa workspaces. Tasks represent discrete units of work that can be assigned to agents, tracked, and coordinated as part of larger workflows.
Task Statuses
Tasks progress through several statuses:| Status | Description |
|---|---|
PENDING | Task created but not yet started |
IN_PROGRESS | Task is actively being worked on |
REVIEW_REQUIRED | Task completed and awaiting review |
COMPLETED | Task successfully finished |
NEEDS_FIX | Task requires corrections or improvements |
BLOCKED | Task cannot proceed due to dependencies |
CANCELLED | Task was cancelled |
Commands
List Tasks
List all tasks in a workspace:--workspace-id <ID>- Workspace ID (default:default)
Create Task
Create a new task in a workspace:--title <TITLE>- Task title (required)--objective <TEXT>- Task objective description (required)--workspace-id <ID>- Workspace ID (default:default)--scope <TEXT>- Task scope description (optional)--acceptance-criteria <CRITERIA>- Comma-separated acceptance criteria (optional)
Get Task
Get details of a specific task:--id <ID>- Task ID (required)
Update Task Status
Update the status of a task:--id <ID>- Task ID (required)--status <STATUS>- New status (required):PENDING,IN_PROGRESS,REVIEW_REQUIRED,COMPLETED,NEEDS_FIX,BLOCKED,CANCELLED--agent-id <ID>- Agent ID performing the update (required)--summary <TEXT>- Optional completion summary
Task Workflows
Typical Task Lifecycle
Here’s a typical workflow for a task:Handling Task Feedback
When a task needs fixes:Task Dependencies
While the CLI doesn’t have a direct command for setting dependencies, you can manage them through the workspace:Filtering and Monitoring
Usejq to filter tasks by various criteria:
Integration with Agents
Tasks and agents work together:Bulk Operations
Create multiple tasks from a file:Next Steps
- Learn about Agent commands to assign tasks
- Try Interactive chat to discuss tasks with agents
- Explore Workflow automation for complex task orchestration