Purpose: Quick reference for task-cli.ts commands
Last Updated: 2026-01-11
npx ts-node .opencode/context/tasks/scripts/task-cli.ts <command> [args]
Task files are stored in .tmp/tasks/ at the project root.
Show task status summary for all features or specific feature.
task-cli.ts status
task-cli.ts status my-feature
Output:
[my-feature] My Feature Name
Status: active | Progress: 40% (2/5)
Pending: 2 | In Progress: 1 | Completed: 2 | Blocked: 0
Show tasks ready to work on (deps satisfied).
task-cli.ts next
task-cli.ts next my-feature
Output:
=== Ready Tasks (deps satisfied) ===
[my-feature]
02 - Create JWT service [sequential]
03 - Write unit tests [parallel]
Show only parallelizable tasks ready now.
task-cli.ts parallel
task-cli.ts parallel my-feature
Use: Batch multiple isolated tasks for parallel execution.
Show dependency tree for a specific task.
task-cli.ts deps my-feature 04
Output:
=== Dependency Tree: my-feature/04 ===
04 - Integration tests [pending]
├── ✓ 01 - Setup database [completed]
└── ○ 02 - Create API [pending]
└── ✓ 01 - Setup database [completed]
Show blocked tasks and reasons.
task-cli.ts blocked
task-cli.ts blocked my-feature
Output:
=== Blocked Tasks ===
[my-feature]
04 - Integration tests (waiting: 02, 03)
05 - Deploy (explicitly blocked)
Mark task as completed with summary (max 200 chars).
task-cli.ts complete my-feature 02 "Created JWT service with RS256 signing"
Effect:
status: "completed"completed_at timestampcompletion_summarytask.json countsCheck JSON validity, dependencies, circular refs.
task-cli.ts validate
task-cli.ts validate my-feature
Checks:
Output:
[my-feature]
✓ All checks passed
[broken-feature]
✗ ERROR: 03: depends on non-existent task 99
⚠ WARNING: 02: No acceptance criteria defined
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Error (validate found issues, missing args) |
../standards/task-schema.md - JSON schema reference../guides/managing-tasks.md - Workflow guide