Skip to content

docs: fix audit command default output path in CLI reference - #48908

Merged
pelikhan merged 2 commits into
mainfrom
copilot/cli-consistency-issues-resolution
Jul 29, 2026
Merged

docs: fix audit command default output path in CLI reference#48908
pelikhan merged 2 commits into
mainfrom
copilot/cli-consistency-issues-resolution

Conversation

Copilot AI commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

The CLI docs incorrectly stated the audit command saves logs to logs/run-{id}/, while the actual default output directory is .github/aw/logs (producing .github/aw/logs/run-{id}/).

Changes

  • docs/src/content/docs/setup/cli.md: Corrected the audit output path from `logs/run-{id}/` to `.github/aw/logs/run-{id}/`, aligning with the actual --output flag default exposed by gh aw audit --help.

…n-{id}/

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CLI consistency issues and documentation gaps docs: fix audit command default output path in CLI reference Jul 29, 2026
Copilot AI requested a review from pelikhan July 29, 2026 14:33
@pelikhan
pelikhan marked this pull request as ready for review July 29, 2026 14:33
Copilot AI review requested due to automatic review settings July 29, 2026 14:33
@pelikhan
pelikhan merged commit cacf2f4 into main Jul 29, 2026
@pelikhan
pelikhan deleted the copilot/cli-consistency-issues-resolution branch July 29, 2026 14:34
Copilot stopped reviewing on behalf of pelikhan due to an error July 29, 2026 14:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates the CLI setup documentation to reflect the correct default output directory for downloaded logs.

Changes:

  • Corrected the documented log output path for gh aw logs runs.
Show a summary per file
File Description
docs/src/content/docs/setup/cli.md Updates the described logs output directory to match the current CLI behavior.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Low

The `--artifacts` flag selects which artifact sets to download (default: `all`). Valid sets include `activation`, `agent`, `all`, `detection`, `experiment`, `firewall`, `github-api`, `mcp`, and `usage`. Use `all` to download the full artifact set. Unlike `gh aw logs`, which defaults to `usage`, `audit` defaults to `all` for comprehensive analysis. The `--experiment` flag filters to runs that include the named experiment; `--variant` further restricts to a specific variant value and requires `--experiment` to be set. The `--output/-o` flag overrides the output directory.

Logs are saved to `logs/run-{id}/` with filenames indicating the extraction level. Pre-agent failures (integrity filtering, missing secrets, binary install) surface the actual error in `failure_analysis.error_summary`. Invalid run IDs return a human-readable error.
Logs are saved to `.github/aw/logs/run-{id}/` with filenames indicating the extraction level. Pre-agent failures (integrity filtering, missing secrets, binary install) surface the actual error in `failure_analysis.error_summary`. Invalid run IDs return a human-readable error.
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.84.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cli-consistency] CLI Consistency Issues - 2026-07-29

3 participants