Skip to content

Task Management Guide

Tasks are managed through the unified subject surface: animus subject ... --kind task.

Create a Task

bash
animus subject create --kind task \
  --title "Add retry logic to HTTP client" \
  --body "Implement exponential backoff for 429 responses." \
  --priority p1 \
  --labels backend,reliability

List and Inspect Tasks

bash
animus subject list --kind task
animus subject list --kind task --status ready --limit 10
animus subject next --kind task
animus subject get --kind task --id task:TASK-001

Subject ids are backend-qualified. Use animus subject list --kind task --json to discover the exact id format your active backend returns.

Update Task State

bash
animus subject status --kind task --id task:TASK-001 --status ready
animus subject status --kind task --id task:TASK-001 --status in_progress
animus subject status --kind task --id task:TASK-001 --status done

You can also patch priority and labels:

bash
animus subject update --kind task --id task:TASK-001 --priority p0 --labels urgent,backend

Run a Workflow for a Task

bash
animus workflow run --task-id TASK-001

animus workflow run --task-id ... first checks the in-tree task store and then falls back to the active subject_backend resolution path. That means the same command works for built-in tasks and plugin-owned tasks.

For terminal debugging, use synchronous execution:

bash
animus workflow run --task-id TASK-001 --sync

Built-in tasks usually execute in a managed worktree. Plugin-owned task subjects execute from project_root unless the plugin manages its own checkout or branching model.

Queue and Daemon Operations

bash
animus queue list
animus queue hold --subject-id task:TASK-001
animus queue release --subject-id task:TASK-001
animus daemon start --autonomous

Notes

  • The legacy animus task ... command tree was removed.
  • Task creation and status transitions now route through the active subject_backend for kind=task.
  • Workflow history is tracked through animus workflow list and animus history ..., not a dedicated task history command.

Released under the Elastic License 2.0 (ELv2).