hlix tasks
hlix tasks reads tasks and follows their status. All four commands are transport-only: with --json the body is the API’s response passed through unmodified. None of them starts, dispatches, or cancels work.
Prerequisites
Section titled “Prerequisites”- A credential that reaches the resolved workspace (see
hlix auth login) - A task ID for
get,review, andwatch—hlix tasks listis where you get one
hlix tasks list
Section titled “hlix tasks list”hlix tasks list [--project <id>] [--status <status>] [--json]--project <id>(string, default the bound project): restrict the listing to one project. With no flag, a folder bound to a project lists that project’s tasks; anywhere else it lists the whole workspace’s tasks. Unlikeprojects get, the unbound case is a fallback, not an error.--status <status>(string, default: every status): restrict to one task status. The value is passed through to the API; an unrecognised one is refused there, not locally.--json(boolean, defaultfalse): the API’s task array, unmodified.
Expected result:
hlix tasks list --status buildingID STATUS TITLE------------------------------------ -------- ------------------b4a1f0d2-3c77-4e1a-9a2b-1d5e6f7c8a90 building Add GET /healthzAn empty result prints No tasks. and exits 0. The TITLE column falls back to the first line of the description when a task has no title.
hlix tasks get
Section titled “hlix tasks get”hlix tasks get <task-id> [--json]task-id(string, required): omitting it exitsmissing_argument; a second positional exitsinvalid_usage.
Expected result:
id b4a1f0d2-3c77-4e1a-9a2b-1d5e6f7c8a90status buildingtitle Add GET /healthzproject 6f1c2a9e-8f0b-4a7d-9d33-2f0b1c7e5a41description Return 200 with the build SHA and cover it with a test.hlix tasks review
Section titled “hlix tasks review”hlix tasks review <task-id> [--json]Returns the verified review evidence: the comparison the QA evaluator judged, read back from the repository host rather than summarised by the agent. See Reviewing output for the document’s meaning and for leaving line-level comments.
task-id(string, required).--json(boolean, defaultfalse): the envelope. Without it the human view prints the evidence as indented JSON — the published contract does not pin this body, so the CLI states what it found rather than pretending to know the shape.
hlix tasks watch
Section titled “hlix tasks watch”hlix tasks watch <task-id> [--json]Consumes the task’s server-sent status stream and exits when the task reaches a terminal status or the server closes the stream.
task-id(string, required).--json(boolean, defaultfalse): emit one envelope per line (JSONL), so a consumer can read frames as they arrive. This is the one command whose--jsonoutput is not a single document.
Expected result:
queuedbuildingtestingreviewingdoneA frame carrying an error field prints error: <message> instead of a status. Frames whose payload is not JSON are printed verbatim.
Conflicts and validation
Section titled “Conflicts and validation”watchreturns0when the stream closes, including a close the server initiated. Check the last status, not only the exit code.listis the only command in the group that takes command-specific flags; passing--projector--statustoget,review, orwatchexitsinvalid_usage.
What this group does not do
Section titled “What this group does not do”- No execution. There is no way to start a run, execute a cycle, or dispatch a task from the CLI — dispatching from a dropped connection can duplicate work. Use the API or the dashboard; see Cycles.
- No
tasks logs --follow. The public API has a task-status stream, not a log stream, so a--followhere would be a poll dressed up as a stream.tasks watchis named for what it actually does.
If a tasks command fails
Section titled “If a tasks command fails”missing_argument—A task id is required.not_found— no such task in this workspace. The API does not confirm cross-tenant existence; do not infer it.{"error":"No review evidence: this task has no branch (it was never dispatched through a cycle)"}— the task exists but never ran. A standalone task does not execute; see Tasks.No tasks.immediately after starting a run — planning has not produced any yet. Wait and re-run rather than starting a second run.unreachablemid-watch— the connection dropped. Re-runwatch; it re-opens from the current status.unauthenticated/forbidden— the credential does not reach this workspace.hlix auth statusprobes it.