Repository navigation
Conversation
…(796 tests, 0 failures) and both typecheck configs are clean. Help fixes - Command Groups footer: it is now built from the registered commands (new `packages/cli/src/rootHelp.ts`). The small group table there only decides which group a command goes in. The subcommand lists come from the live command tree, so all the missing items now show up: `stats`, `pr`, `events`, `setup`, `github-app`, `connect`, `goal attention|continue|wait`, `plan generate|finalize|issues`, `automation templates`, `todo move|category`, `agent login` and `repo validate`. A command with no group is still shown under "Other", and the new test fails until it gets one. Long lines wrap at 100 columns. - `propr help task list` now prints the `task list` help. Commander's built-in help command only looks one level deep, so I replaced it with `help [command...]`, which follows the full path. An unknown path exits 1 with `unknown command 'task nope'`. - Smaller text fixes: - `plan create -b` shows its default once. - `goal wait`: the Conditions table now explains `blocked`, and the examples have the `$ ` prefix. - Retired model ids are replaced with current ones (`claude-sonnet-5-5`, `claude-opus-5-5`, `claude-haiku-5-5`). - `integry/gitfix` is now `myorg/myrepo`. - `task delete --force` now says it skips the confirmation prompt. - `propr admission` text output now points to `propr tank` instead of the MCP tool name. - `propr stats` help states that the default period is all time, unlike the MCP tool's 30 days. - Flags: `-j` now works everywhere `--json` does. That covers the commands in the issue plus `relay list`, `check`, `status` and `github-app create|manifest`, which had the same gap. `events` also gets `-l` for `--limit`. Both `stats` subcommands accept `-p, --project` as an alias of `--repository`, and the long flags still work. Decisions for you - `--group-by ""` still means `day`. The issue says no behaviour changes, so I documented it in the flag's help rather than making it an error. Rejecting an empty list would be a one-line change if you'd rather have that. - The global `-p` now reaches `stats`. Because of the new alias, `propr -p owner/repo stats cost` limits the report to that repository. Before, `stats` ignored it. The configured default project is still not applied to `stats`. - Two additions you didn't ask for: `propr completion --help` now has setup examples for bash, zsh and fish. The CLI README's System section said `propr status` checks the backend, but it shows the local stack, so I fixed that. Tests (new `packages/cli/src/rootHelp.test.ts`) - Fails when a top-level command or subcommand is missing from the footer. - Fails when any help text, including examples, names a model id that isn't in the current model definitions. - Fails when a `--json`, `--limit` or `--project` flag lacks its short form. `config profile set --project` is exempt, because it stores a profile's default project rather than choosing a target. - Also checks `propr help task list` end to end. I confirmed the first two catch regressions: putting an old model id back into `log` help and dropping `stats` from the group table each made them fail. Docs - `docs/docs/features/propr-cli.md` has short sections for config profiles, shell completion, follow-up handoffs, `agent login`, `setting reindex-summaries` and `backend`. The settings table gains `max_provider_replacements`, `ultrafix_escalation_*`, `ultrafix_ci_wait_timeout_ms`, `agent_network_*`, `token_outlier_*`, and two keys that were also missing: `agent_run_usage_pause_percent` and `automation_unproductive_run_threshold`. - `packages/cli/README.md` documents goals, automations, stats, pr, events, admission, handoffs, config and `agent pool`. I also corrected a stale model id and added `vibe` to the agent types. - `docs/mcp-coverage.md` has rows for `close_pull_request`, `approve_pull_request_workflow_runs` and `update_pull_request_labels`. I didn't create a visual preview because the changes are terminal help text and docs. The docs site wasn't rebuilt, so the new anchor links are checked by hand only.
|
/ultrafix goal=8 max=6 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 6) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationReady to merge within the supplied review scope. The changes improve CLI discoverability, flag consistency, and documentation without substantial architectural expansion. Review was static; no commands were run. Current-head checks report 35 passed, none failed or pending. ✅ Generated command groups — The footer derives subcommands from the registered command tree, with fallback visibility for ungrouped commands and coverage tests. ✅ Nested help resolution — The new resolver follows complete command paths, recognizes aliases, and explicitly rejects unknown paths. Tests cover successful nested help and failure exit status. ✅ Compatible flag additions — Short flags preserve existing long forms, and the stats handlers explicitly forward the new project option as the repository filter. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Exercise stats filter forwardingThe new stats tests verify option registration, but do not exercise the resulting API query. Optional behavioral tests for both stats commands could cover S2: 🟢 Cover additional help pathsConsider testing bare ScoreThe implementation is focused, includes meaningful regression tests, and has no verified merge blockers. All reported current-head checks are passing or skipped. 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
AI Implementation Summary
Closes #3601
Branch:
3601/claude-opus-5-5-cli-help-and-documentatio-20261117-0509-lozCommits: ✅ Changes committed (d7b0077)
AI Processing Completed
Execution Details:
Summary:
I've fixed every item in issue #3601. The full CLI test suite passes (796 tests, 0 failures) and both typecheck configs are clean.
Help fixes
packages/cli/src/rootHelp.ts). The small group table there only decides which group a command goes in. The subcommand lists come from the live command tree, so all the missing items now show up:stats,pr,events,setup,github-app,connect,goal attention|continue|wait,plan generate|finalize|issues,automation templates,todo move|category,agent loginandrepo validate. A command with no group is still shown under "Other", and the new test fails until it gets one. Long lines wrap at 100 columns.propr help task listnow prints thetask listhelp. Commander's built-in help command only looks one level deep, so I replaced it withhelp [command...], which follows the full path. An unknown path exits 1 withunknown command 'task nope'.plan create -bshows its default once.goal wait: the Conditions table now explainsblocked, and the examples have the$prefix.claude-sonnet-5-5,claude-opus-5-5,claude-haiku-5-5).integry/gitfixis nowmyorg/myrepo.task delete --forcenow says it skips the confirmation prompt.propr admissiontext output now points topropr tankinstead of the MCP tool name.propr statshelp states that the default period is all time, unlike the MCP tool's 30 days.-jnow works everywhere--jsondoes. That covers the commands in the issue plusrelay list,check,statusandgithub-app create|manifest, which had the same gap.eventsalso gets-lfor--limit. Bothstatssubcommands accept-p, --projectas an alias of--repository, and the long flags still work.Decisions for you
--group-by ""still meansday. The issue says no behaviour changes, so I documented it in the flag's help rather than making it an error. Rejecting an empty list would be a one-line change if you'd rather have that.-pnow reachesstats. Because of the new alias,propr -p owner/repo stats costlimits the report to that repository. Before,statsignored it. The configured default project is still not applied tostats.propr completion --helpnow has setup examples for bash, zsh and fish. The CLI README's System section saidpropr statuschecks the backend, but it shows the local stack, so I fixed that.Tests (new
packages/cli/src/rootHelp.test.ts)--json,--limitor--projectflag lacks its short form.config profile set --projectis exempt, because it stores a profile's default project rather than choosing a target.propr help task listend to end.I confirmed the first two catch regressions: putting an old model id back into
loghelp and droppingstatsfrom the group table each made them fail.Docs
docs/docs/features/propr-cli.mdhas short sections for config profiles, shell completion, follow-up handoffs,agent login,setting reindex-summariesandbackend. The settings table gainsmax_provider_replacements,ultrafix_escalation_*,ultrafix_ci_wait_timeout_ms,agent_network_*,token_outlier_*, and two keys that were also missing:agent_run_usage_pause_percentandautomation_unproductive_run_threshold.packages/cli/README.mddocuments goals, automations, stats, pr, events, admission, handoffs, config andagent pool. I also corrected a stale model id and addedvibeto the agent types.docs/mcp-coverage.mdhas rows forclose_pull_request,approve_pull_request_workflow_runsandupdate_pull_request_labels.I didn't create a visual preview because the changes are terminal help text and docs. The docs site wasn't rebuilt, so the new anchor links are checked by hand only.
Review digest
Risk-tiered paths
packages/cli/src/api/agents.ts(+1/−1)packages/cli/src/api/implement.ts(+1/−1)packages/cli/src/commands/admissionCommands.ts(+7/−2)packages/cli/src/commands/agentCommands.ts(+1/−1)packages/cli/src/commands/checkCommands.ts(+1/−1)packages/cli/src/commands/eventCommands.ts(+2/−2)packages/cli/src/commands/githubAppCommands.ts(+1/−1)packages/cli/src/commands/goalCommands.ts(+5/−2)packages/cli/src/commands/implementCommands.ts(+1/−1)packages/cli/src/commands/logCommands.ts(+2/−2)packages/cli/src/commands/planCommands.ts(+1/−1)packages/cli/src/commands/prCommands.ts(+1/−1)packages/cli/src/commands/relayCommands.ts(+1/−1)packages/cli/src/commands/repoCommands.ts(+4/−4)packages/cli/src/commands/settingCommands.ts(+1/−1)packages/cli/src/commands/stackCommands.ts(+1/−1)packages/cli/src/commands/statsCommands.ts(+6/−5)packages/cli/src/commands/statsCostCommand.ts(+10/−6)packages/cli/src/commands/systemCommands.ts(+2/−2)packages/cli/src/commands/taskCommands.ts(+4/−3)packages/cli/src/index.ts(+18/−19)packages/cli/src/rootHelp.ts(added, +146/−0)docs/docs/features/propr-cli.md(+69/−8)docs/mcp-coverage.md(+3/−0)packages/cli/README.md(+126/−7)packages/cli/src/commands/admissionCommands.test.ts(+3/−2)packages/cli/src/commands/statsCommands.test.ts(+3/−1)packages/cli/src/commands/statsCostCommand.test.ts(+1/−1)packages/cli/src/rootHelp.test.ts(added, +129/−0)Validation evidence
Diff size: 29 files changed, +551/−77 lines
Detailed Logs:
d67b3741-6841-4a6a-8261-e33029d5de07Log files stored at:
/usr/src/app/logs/executions/issue-3601-2026-11-17T05-26-27-998Z-conversation.json/usr/src/app/logs/executions/issue-3601-2026-11-17T05-26-27-998Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #3601.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!