Repository navigation
Done
Labels
automationclicookieIssue Monster Loves Cookies!documentationImprovements or additions to documentation
Description
Summary
Inspected 94 unique gh aw command flag blocks from /tmp/gh-aw/agent/all-help.txt and compared them with docs/src/content/docs/setup/cli.md.
Severity breakdown: high 0, medium 0, low 1.
Findings
Documentation and examples
1. [low] Help examples use the hidden --pr alias
Affected commands: add, add-wizard, deploy, init, pr transfer, update, upgrade.
Exact quotes from help output:
gh aw add githubnext/agentics/ci-doctor --pr --auto-merge # Open a pull request and enable auto-merge
gh aw init --pr --auto-merge # Initialize and enable pull request auto-merge
gh aw update --pr --auto-merge # Open a pull request and enable auto-merge
The same commands show the canonical flag in their flag lists, while --pr is missing from those lists:
--auto-merge[=true|false] Enable auto-merge on the created pull request (requires --pr or --create-pull-request)
- Expected: examples use the visible flag
--create-pull-request, and the--auto-mergedescription refers only to--create-pull-request. - Actual: examples and the
--auto-mergedescription use--pr, which is registered withMarkHiddenand does not appear in the flag lists. - Source:
pkg/cli/add_command.go:242-244(cmd.Flags().Bool("pr", ...), then_ = cmd.Flags().MarkHidden("pr")). Similar registrations exist inadd_wizard_command.go,deploy_command.go,init_command.go, andupgrade_command.go. - Doc status:
cli.mddocuments--prin the**Options:**lines for these commands. Users who read the help never see it listed. - Suggested fix: change the examples and the
--auto-mergedescription to--create-pull-request. Keep--pras a hidden alias for backward compatibility. Optionally add a note incli.mdthat--pris a hidden alias. - Priority: low.
Checked and not reported
--timeouttypes (duration vs integer minutes) match the doc's timeout table.-n, --nameis used onaddanddeploy, but not onwork-queue control, where--namehas a different meaning (Closed operational control name).--repo/-rand--logical-repo/-lare consistent with thetrialnote in the doc.- No doubled words or spacing errors were found in help descriptions.
Inspection metadata
- Date: 2026-11-13
- Input:
/tmp/gh-aw/agent/all-help.txt(help output for 94 unique command flag blocks). Per-subcommand files inhelp-output/were byte-identical root help, so they were not used. - Method: parsed flag definitions per command, compared short aliases, types, and examples against
cli.md**Options:**lines and the timeout table, grepped for doubled words and common misspellings, and checked hidden flags inpkg/cli/*.go. - Limitations: the binary was not run directly. Findings are based on the captured help dataset and source.
Generated by ✅ CLI Consistency Checker · copilot · routed: haiku55 xhigh · ~10 AIC · ⌖ ~1 AIC · ⊞ 3.4K · ◷
- expires on Nov 15, 2026, 5:32 AM UTC-08:00
Reacted by Copilot
Metadata
Metadata
Labels
automationclicookieIssue Monster Loves Cookies!documentationImprovements or additions to documentation
Activity
github-actions commentedon Nov 13, 2026
🍪 Issue Monster selected this for Copilot
I have identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, Copilot will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪