Summary
A comprehensive inspection of the gh-aw CLI comparing real --help output (/tmp/gh-aw/agent/all-help.txt, generated from run 31497017446) against docs/src/content/docs/setup/cli.md found 1 confirmed documentation gap. All other flag sets, descriptions, and examples checked (add, add-wizard, compile, validate, run, update, upgrade, deploy, trial, secrets, env, mcp, project, doctor, health, checks, forecast, outcomes, enable/disable/remove, list/status, hash-frontmatter) were consistent between CLI help and docs.
Severity Breakdown
Findings
1. --runtime flag undocumented for logs and audit (Medium)
Affected commands: gh aw logs, gh aw audit
Both commands expose a real, working --runtime flag:
# gh aw logs --help
--runtime string Filter to runs using a specific sandbox agent runtime (e.g., gvisor, docker-sbx)
# gh aw audit --help
--runtime string Filter to runs using a specific sandbox agent runtime (e.g., gvisor, docker-sbx)
It is also demonstrated in the audit help examples:
gh aw audit 1234567890 --runtime gvisor # Skip run unless sandbox agent runtime matches
However, docs/src/content/docs/setup/cli.md never mentions --runtime anywhere. The only match for the string "runtime" in the whole file is an unrelated sentence about Dependabot ("analyzing runtime tools across all workflows", line 349).
logs Options line (cli.md:518) lists: --after-run-id, --artifacts, --before-run-id, --cache-before, --count/-c, --end-date, --engine/-e, --evals, --exclude-staged, --filtered-integrity, --firewall, --format, --json/-j, --last, --no-firewall, --output/-o, --parse, --ref, --report-file, --repo/-r, --safe-output, --start-date, --stdin, --summary-file, --timeout, --tool-graph, --train — missing --runtime.
audit Options line (cli.md:547) lists: --artifacts, --evals, --experiment, --format, --json/-j, --output/-o, --parse, --repo/-r, --stdin, --variant — missing --runtime.
Expected: Both Options lines should include --runtime, and ideally a short usage example (mirroring the existing gh aw audit 1234567890 --runtime gvisor example already present in the CLI help) should be added to the logs and audit sections of cli.md.
Suggested fix: Add `--runtime` to both Options lines and add one example line each, e.g.:
gh aw logs --runtime gvisor # Filter logs by sandbox agent runtime
gh aw audit 1234567890 --runtime gvisor # Skip run unless sandbox agent runtime matches
Priority: Medium — this is a real, functioning flag useful for debugging sandboxed/gVisor runs, and its complete absence from the reference docs means users won't discover it without reading --help directly.
Inspection Metadata
- Commands inspected: All 30+ top-level commands and their subcommands (add, add-wizard, audit, checks, compile, completion, deploy, disable, doctor, domains, enable, env [get/update], experiments [list/analyze], fix, forecast, hash-frontmatter, health, help, init, lint, list, logs, mcp [list/list-tools/inspect/add], mcp-server, new, outcomes [history], pr [transfer], project [new], remove, run, secrets [set/bootstrap], status, trial, update, upgrade, validate, version), 429 individual per-flag help snapshots.
- Method: Extracted the
Flags: section (excluding Global Flags:) from each command's pre-collected --help output and diffed the flag names against the corresponding **Options:** line in docs/src/content/docs/setup/cli.md, cross-checked flag descriptions, defaults, and examples for wording/behavior mismatches, and scanned for typos/grammar issues across the full help corpus (none found beyond the gap above).
- Date: 2026-08-11
- **Source (redacted)
/tmp/gh-aw/agent/all-help.txt (22,530 lines) and /tmp/gh-aw/agent/help-output/*.txt (429 files), pre-collected by pre-agent-steps for run 31497017446.
Generated by ✅ CLI Consistency Checker · auto · 98.3 AIC · ⌖ 3.09 AIC · ⊞ 6.7K · ◷
Summary
A comprehensive inspection of the
gh-awCLI comparing real--helpoutput (/tmp/gh-aw/agent/all-help.txt, generated from run 31497017446) againstdocs/src/content/docs/setup/cli.mdfound 1 confirmed documentation gap. All other flag sets, descriptions, and examples checked (add, add-wizard, compile, validate, run, update, upgrade, deploy, trial, secrets, env, mcp, project, doctor, health, checks, forecast, outcomes, enable/disable/remove, list/status, hash-frontmatter) were consistent between CLI help and docs.Severity Breakdown
Findings
1.
--runtimeflag undocumented forlogsandaudit(Medium)Affected commands:
gh aw logs,gh aw auditBoth commands expose a real, working
--runtimeflag:It is also demonstrated in the
audithelp examples:However,
docs/src/content/docs/setup/cli.mdnever mentions--runtimeanywhere. The only match for the string "runtime" in the whole file is an unrelated sentence about Dependabot ("analyzing runtime tools across all workflows", line 349).logsOptions line (cli.md:518) lists:--after-run-id,--artifacts,--before-run-id,--cache-before,--count/-c,--end-date,--engine/-e,--evals,--exclude-staged,--filtered-integrity,--firewall,--format,--json/-j,--last,--no-firewall,--output/-o,--parse,--ref,--report-file,--repo/-r,--safe-output,--start-date,--stdin,--summary-file,--timeout,--tool-graph,--train— missing--runtime.auditOptions line (cli.md:547) lists:--artifacts,--evals,--experiment,--format,--json/-j,--output/-o,--parse,--repo/-r,--stdin,--variant— missing--runtime.Expected: Both Options lines should include
--runtime, and ideally a short usage example (mirroring the existinggh aw audit 1234567890 --runtime gvisorexample already present in the CLI help) should be added to thelogsandauditsections ofcli.md.Suggested fix: Add
`--runtime`to both Options lines and add one example line each, e.g.:Priority: Medium — this is a real, functioning flag useful for debugging sandboxed/gVisor runs, and its complete absence from the reference docs means users won't discover it without reading
--helpdirectly.Inspection Metadata
Flags:section (excludingGlobal Flags:) from each command's pre-collected--helpoutput and diffed the flag names against the corresponding**Options:**line indocs/src/content/docs/setup/cli.md, cross-checked flag descriptions, defaults, and examples for wording/behavior mismatches, and scanned for typos/grammar issues across the full help corpus (none found beyond the gap above)./tmp/gh-aw/agent/all-help.txt(22,530 lines) and/tmp/gh-aw/agent/help-output/*.txt(429 files), pre-collected bypre-agent-stepsfor run 31497017446.