Repository navigation
Closed
Description
Problem
propr events wait -p a/b --follow --timeout 0loops without any delay: 1302 requests in 3 seconds against a stub that answers immediately. On a real instance this exhausts the API rate limit in seconds.propr task get nopeexits 0 and prints "Task Details … ID: nope / Status: Pending" (--json:{"taskId":"nope","currentState":"pending","isInProgress":true,…,"history":[]}).propr task inspect nopecorrectly says "Error: Task not found: nope" and exits 1.- When the configured remote answers with HTML (for example
propr remotepointed at the web UI host):propr remote-statusprints "Cannot read properties of undefined (reading 'toLowerCase')";propr task list --jsonexits 0 and prints the HTML page as a JSON string;propr goal listexits 0 with "No goals found.";propr setting getprints a table of single characters;propr stats cost --csvprints the HTML with exit 0. propr plan listsays "Total: 197 plan(s) … More plans available." but has no--limit,--offsetor--page; it shows the raw statuspr_createdwhereplan getshows "Merged".propr repo listhas no column for the PR title status setting added with--pr-title-status(only--jsonshowsprTitleStatus), and its "Visual previews" column holds a sentence per row, making the table about 240 columns wide.propr handoffs listtext output: no blank line between entries, no count, raw enum values (agent_exited,released_by_operator_force), no updated time.propr remote-statussays "All systems operational." while its JSON has"indexing":"failed";propr task getshows "Duration: 339975ms";propr login xprints "Authentication successful!" without contacting the API.
Expected / acceptance criteria
- 1: with
--follow, consecutive waits are at least one second apart, or--timeout 0is rejected together with--follow. - 2: an unknown task id prints "Task not found: " and exits 1, in text and
--jsonmode. - 3: every backend command checks that the response is JSON from a ProPR API; otherwise it prints one line such as "The remote did not return a ProPR API response. Check the URL with
propr remote." and exits non-zero. No TypeError text, no HTML on stdout. - 4:
plan listaccepts-l, --limitand--offsetliketask list, and shows the same status labels asplan get. - 5:
repo listshows the PR title status (on/off) and a short visual-preview value (e.g.image,off); the long explanation stays in--json/repodetail output. - 6:
handoffs listprints a count, separates entries, labels states in words and shows the updated time in local time. - 7:
remote-statusreports a degraded component instead of "All systems operational."; durations are human-readable (5m 40s);loginverifies the token against the API when a remote is configured and says so when it could not verify. - Tests for each point.
Implementation
packages/cli/src/commands/eventCommands.ts (follow()), taskCommands.ts, the shared API client used by the commands (one place to validate the response content type and shape), planCommands, repoCommands, the handoffs command.
Notes
Keep exit codes and JSON shapes of successful calls unchanged. Do not contact a real instance in tests.
Activity
propr-dev commentedon Nov 17, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53600/claude-opus-5-5-cli-busy-loop-in-events-w-20261117-0355-ov23595-epic-0-9-h9lissue-3600-20261117-0355-claude-opus-5-5-ov2🔍 Track Task Execution
I've fixed all seven points from issue #3600 in `packages/cli`. The f…
[3600 by Claude Opus 5.5] CLI: busy loop in `events wait --follow --t…