You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a focused CLI workflow for inspecting active tasks #1946
Add one focused, read-only CLI workflow for inspecting active ProPR tasks. Operators and automation should be able to fetch tasks by lifecycle state and fetch the full details for one running task without having to discover and compose separate lower-level commands.
The CLI already has propr task list -s <status> and propr task get <task-id>. Reuse those API/client primitives and preserve their compatibility; this issue is about a coherent running-task inspection entry point and stable machine-readable output, not a second task API.
Expected behavior
Add a clearly named task inspection command or option under propr task.
With no task ID, fetch active tasks from the server using explicit lifecycle-state filters. Support selecting a particular authoritative task state rather than filtering a previously fetched page only on the client.
With a task ID, fetch and display that task's current status and full available details/run history using the existing task-status/details endpoint.
Define the default active/running state set from the server's canonical status vocabulary; do not invent status names or silently omit queued work.
Preserve existing task list and task get behavior.
Support --json with a documented, deterministic shape suitable for scripts. Human output should clearly distinguish queued and executing work and include task ID, repository, title, state, agent/model when available, and elapsed/updated time.
Authentication, remote selection, timeout, and API error behavior must match the rest of the CLI.
Acceptance criteria
CLI tests cover state-filtered inspection, default active-state inspection, a specific running task, empty results, invalid/not-found task IDs, API failures, and JSON output.
API-client tests prove filters are sent to the server and the task-detail path is used for a supplied ID.
CLI help, examples, the CLI README, and user documentation explain the workflow.
Activity
propr-dev commentedon Aug 25, 2026
🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-5.6-sol1946/gpt-5.6-sol-add-a-focused-cli-workflo-20260825-2001-z6amainissue-1946-20260825-2001-gpt-5.6-sol-z6a🔍 Track Task Execution
fix(ai): Resolve issue #1946 - Add a focused CLI workflow for inspect…