Repository navigation
Description
Summary
Automated CLI consistency inspection found 10 inconsistencies across command help text, covering typos, misleading documentation, and flag description gaps that should be addressed for better user experience and documentation clarity.
Breakdown by Severity
- High: 2 (incorrect URL, inconsistent timeout units)
- Medium: 5 (flag description gaps, capitalization, redundant wording, missing link)
- Low: 3 (minor phrasing/ordering inconsistencies)
Issue Categories
- Incorrect / potentially broken URL (1 command)
project newhelp text referencesgithub.github.com— a doubled domain
- Inconsistent flag units (2 commands)
trial --timeoutis in minutes,logs --timeoutis in seconds
- Inconsistent flag descriptions (3 commands)
validate --statsis shorter thancompile --statscompile --strictis much more detailed thanvalidate --strict
- Capitalisation / grammar (1 command)
inithelp body says"github"(lowercase) instead of"GitHub"
- Redundant wording (1 command)
audit diffdescription says "between two workflow runs" then lists "workflow runs" again
- Missing documentation link (1 command)
secrets bootstrapreferences "the GitHub Tokens reference in the documentation" with no URL
- Missing flag in documentation (1 command)
newcommand help lists-i, --interactivein CLI output but the CLI documentation page omits it
Inspection Details
- Total Commands Inspected: 30 (all top-level commands + subcommands run with
--help) - Commands with Issues: 8
- Date: 2026-04-02
- Method: Built binary with
make build, executed all CLI commands with--helpflags, and compared with docs atdocs/src/content/docs/setup/cli.md
Findings Summary
✅ No issues found in these areas:
- Flag naming conventions (short flags are consistent)
- Example formatting and style
- Global flags (
--banner,-v/--verbose,-h/--help) consistent everywhere --repo/-rflag description consistent across all commands--repeatflag description consistent betweenrunandtrial--engine/-eflag description consistent across all commands
Detailed Findings
1. Invalid URL in project new help
Command Affected: gh aw project new
Priority: High
Type: Incorrect/broken URL
Current Output (from running ./gh-aw project new --help):
Authentication Requirements:
The default GITHUB_TOKEN cannot create projects. You must use additional authentication.
See https://github.github.com/gh-aw/reference/auth-projects/.
```
**Issue**: The URL `github.github.com` has a doubled domain name and is almost certainly wrong. It likely should be `github.com/github/gh-aw/...` or a docs URL.
**Suggested Fix**: Correct the URL to the intended documentation page (e.g. `https://github.com/github/gh-aw/blob/main/docs/...` or the correct docs site URL).
---
#### 2. Inconsistent `--timeout` units between `trial` and `logs`
**Commands Affected**: `gh aw trial`, `gh aw logs`
**Priority**: High
**Type**: Inconsistent behavior / misleading documentation
**Current Output**:
`./gh-aw trial --help`:
```
--timeout int Execution timeout in minutes (e.g., 30 for 30 minutes) (default 30)
```
`./gh-aw logs --help`:
```
--timeout int Download timeout in seconds (0 = no timeout)
```
**Issue**: `trial --timeout` is measured in **minutes** while `logs --timeout` is measured in **seconds**. A user who uses both commands may accidentally specify the wrong magnitude — e.g., passing `--timeout 30` expecting 30 minutes when it means 30 seconds (or vice versa).
**Suggested Fix**: Standardise both flags to the same unit (seconds is more common in CLI tools), or at minimum ensure the help text is prominently clear about the unit difference. Consider renaming one to `--timeout-minutes` / `--timeout-seconds` for clarity.
---
#### 3. `validate --stats` description is shorter than `compile --stats`
**Commands Affected**: `gh aw compile`, `gh aw validate`
**Priority**: Medium
**Type**: Inconsistent documentation
**Current Output**:
`./gh-aw compile --help`:
```
--stats Display statistics table sorted by file size (shows jobs, steps, scripts, and shells)
```
`./gh-aw validate --help`:
```
--stats Display statistics table sorted by file size
```
**Issue**: The `compile` version includes the parenthetical `(shows jobs, steps, scripts, and shells)` that explains what the table contains. The `validate` version omits this detail.
**Suggested Fix**: Add the same parenthetical to `validate --stats` description so both are identical.
---
#### 4. `compile --strict` description is far more detailed than `validate --strict`
**Commands Affected**: `gh aw compile`, `gh aw validate`
**Priority**: Medium
**Type**: Inconsistent documentation
**Current Output**:
`./gh-aw compile --help`:
```
--strict Override frontmatter to enforce strict mode validation for all workflows (enforces
action pinning, network config, safe-outputs, refuses write permissions and deprecated
fields). Note: Workflows default to strict mode unless frontmatter sets strict: false
```
`./gh-aw validate --help`:
```
--strict Enforce strict mode validation for all workflows
```
**Issue**: `compile --strict` has a thorough description with the specific checks it enforces and a note about the default. `validate --strict` has only a six-word description with no detail. Since both flags do the same thing, users reading `validate --help` don't get the same information.
**Suggested Fix**: Copy the full `compile --strict` description to `validate --strict`.
---
#### 5. `init` help body uses lowercase "github"
**Command Affected**: `gh aw init`
**Priority**: Medium
**Type**: Capitalisation / grammar
**Current Output** (from running `./gh-aw init --help`):
```
To create, update or debug automated agentic actions using github, playwright, and other tools,
load the .github/agents/agentic-workflows.agent.md (applies to .github/workflows/*.md)
```
**Issue**: "github" is not capitalised. The correct brand name is "GitHub".
**Suggested Fix**: Change `using github, playwright` → `using GitHub, Playwright`.
---
#### 6. `audit diff` description is redundant
**Command Affected**: `gh aw audit diff`
**Priority**: Medium
**Type**: Redundant wording
**Current Output** (from running `./gh-aw audit diff --help`):
```
Compare workflow run behavior between two workflow runs to detect policy regressions,
new unauthorized domains, behavioral drift, and changes in MCP tool usage or run metrics.
```
**Issue**: "workflow run behavior between two workflow runs" — "workflow run" appears twice in consecutive words making it awkward to read.
**Suggested Fix**: Change to `"Compare behavior across two workflow runs to detect..."` or `"Compare workflow behavior between two runs to detect..."`.
---
#### 7. `secrets bootstrap` help references documentation without a URL
**Command Affected**: `gh aw secrets bootstrap`
**Priority**: Medium
**Type**: Missing link / incomplete documentation
**Current Output** (from running `./gh-aw secrets bootstrap --help`):
```
For full details, including precedence rules, see the GitHub Tokens
reference in the documentation.
```
**Issue**: The sentence references "the documentation" but provides no URL, making it impossible to follow without searching for the page.
**Suggested Fix**: Add the actual URL, e.g., `See the GitHub Tokens reference: (redacted)`.
---
#### 8. `new` CLI docs page omits `--interactive/-i` flag
**Command Affected**: `gh aw new` (documentation only)
**Priority**: Low
**Type**: Missing documentation
**Current CLI output** (from running `./gh-aw new --help`):
```
Flags:
-e, --engine string Override AI engine (claude, codex, copilot, custom)
-f, --force Overwrite existing files without confirmation
-h, --help Show help for gh aw new
-i, --interactive Launch interactive workflow creation wizard
```
**Docs page** (`docs/src/content/docs/setup/cli.md`), `new` options list:
```
**Options:** `--force`, `--engine/-e`
```
**Issue**: The `--interactive/-i` flag is missing from the documentation options list for the `new` command.
**Suggested Fix**: Update the docs options line to: `**Options:** `--force`, `--engine/-e`, `--interactive/-i``.
---
#### 9. `audit diff` vs `audit report` — `--format` options listed in reverse order
**Commands Affected**: `gh aw audit diff`, `gh aw audit report`
**Priority**: Low
**Type**: Minor inconsistency
**Current Output**:
`./gh-aw audit diff --help`:
```
--format string Output format: pretty, markdown (default "pretty")
```
`./gh-aw audit report --help`:
```
--format string Output format: markdown, pretty (default "markdown")
```
**Issue**: The order of the values in the description is reversed between the two commands. While each lists its default value first, the inconsistent ordering may cause minor confusion.
**Suggested Fix**: Pick a consistent canonical order (e.g., `markdown, pretty`) for both commands and note the default separately, or always list the default first and add `(default "X")`.
---
#### 10. `mcp` parent and `mcp add` use different server name formats in examples
**Commands Affected**: `gh aw mcp` (parent), `gh aw mcp add`
**Priority**: Low
**Type**: Example inconsistency
**Current Output**:
`./gh-aw mcp --help` example:
```
gh aw mcp add my-workflow tavily # Add Tavily MCP server to workflow
```
`./gh-aw mcp add --help` examples:
```
gh aw mcp add weekly-research makenotion/notion-mcp-server # Add Notion MCP server
Issue: The mcp parent help uses the short server ID tavily while mcp add uses the full owner/server-name format makenotion/notion-mcp-server. Users reading the parent help may be confused about the expected format.
Suggested Fix: Use the same owner/server-name format in the parent mcp --help example, e.g., gh aw mcp add my-workflow devhubai/tavily.
Generated by CLI Consistency Checker · ◷
- expires on Apr 4, 2026, 1:42 PM UTC
Activity
github-actions commentedon Apr 2, 2026
🍪 Issue Monster has assigned this to Copilot!
I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot coding agent.
The Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪