Skip to content

fix: resolve 9 CLI consistency issues across audit, secrets, mcp-server, init, logs, and trial commands - #24904

Closed
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-cli-consistency-issues
Closed

pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-cli-consistency-issues

Conversation

Copilot AI commented Apr 6, 2026 •

Copy link
Copy Markdown
Contributor

Automated CLI consistency inspection found 9 inconsistencies spanning missing commands, terminology errors, description mismatches, and minor style issues.

Changes

High — Missing command

  • audit report subcommand: Documented in changelog and docs but never wired up. Added audit_report_command.go with NewAuditReportSubcommand() (registered in audit.go) that wraps the existing cross-run report logic from logs --format, giving it a proper home under gh aw audit report [workflow] with --format, --count/--last, --json, --repo flags.

Medium — Description/terminology errors

  • secrets: Bullet for bootstrap in parent command said "Validate and configure all required secrets for workflows" — updated to match the subcommand's actual Short: "Analyze workflows and set up required secrets"
  • mcp-server: Replaced non-standard write+ notation with "write access or higher" (3 occurrences); fixed truncated example comment "Run with verbose logging and actor" → "Run with verbose logging and actor set"
  • init: "automated agentic actions" → "automated agentic workflows"

Low — Style/formatting

  • logs: --format option order changed from markdown, pretty → pretty, markdown to match audit diff; simplified --last description
  • trial: Fixed off-by-one space in --host-repo my-trial example alignment

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/orgs/test-owner/actions/secrets
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name 055818/b413/_pkgGOINSECURE GO111MODULE 64/bin/go GOINSECURE b/gh-aw/pkg/slicenv GOMODCACHE go env vRFZ/TFe2LkwlXdEGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE 055818/b413/impo-test.run=TestAudit\|TestLogs\|TestSecrets\|TestInit\|TestTrial\|TestMCP (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha GOSUMDB GOWORK 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD s,MFiles,HFiles,-json node (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha IFN6/bocmKwuU1B_GOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE 055818/b398/impoGOPROXY -c che/go-build/bf/GOSUMDB GOPROXY 64/bin/go GOSUMDB GOWORK 64/bin/go /opt/hostedtoolc--revs (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha CR-P/frBw6CY6QUVGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE 055818/b414/impoGOPROXY -c che/go-build/56/GOSUMDB GOPROXY 64/bin/go GOSUMDB GOWORK 64/bin/go /opt/hostedtoolcache/go/1.25.8/xGO111MODULE (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/1/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env 1189708687/.github/workflows GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12345/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name Init\|TestTrial\|TestMCP 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12346/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/2/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env 1117036382/.github/workflows GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/3/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env 1117036382/.github/workflows GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/4/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env 1117036382/.github/workflows GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env 1189708687/.github/workflows GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/5/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env 1189708687/.github/workflows GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path 055818/b414/_pkgGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env CR-P/frBw6CY6QUVGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE 055818/b414/impoGOPROXY (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 100 GOWORK 64/bin/go node /hom�� --check scripts/**/*.js 64/bin/go .prettierignore /tmp/go-build752-C 64/bin/go go (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 6 GOMOD GOMODCACHE go itbr�� -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.2.3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.2.3 --jq .object.sha "prettier" --cheGOINSECURE GOPROXY 64/bin/go GOSUMDB GOWORK 64/bin/go /opt/hostedtoolcGOPROXY -V=f�� -nilfunc /opt/hostedtoolcGOWORK 64/bin/go -unreachable=falgit /tmp/go-build752-C 64/bin/go go (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v2.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq .object.sha "prettier" --cheGOSUMDB GOPROXY 64/bin/go GOSUMDB GOWORK 64/bin/go gcc -###�� -x c 64/bin/go - -buildtags 64/bin/go go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq .object.sha 055818/b386/embeGOSUMDB GOPROXY 64/bin/go GOSUMDB GOWORK run-script/lib/n--symref /opt/hostedtoolcorigin -o /tmp/go-build378055818/b363/_pkgGOINSECURE -trimpath 64/bin/go -p main -lang=go1.25 go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq .object.sha k/gh-aw/gh-aw/cmGOSUMDB k/gh-aw/gh-aw/cmGOWORK 64/bin/go GOSUMDB GOWORK 64/bin/go /opt/hostedtoolcache/go/1.25.8/xGO111MODULE -o /tmp/go-build378055818/b389/_pkgGOINSECURE -trimpath 64/bin/go -p main -lang=go1.25 go (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v3.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq .object.sha pkg/mod/github.cGOSUMDB pkg/mod/github.cGOWORK 64/bin/go GOSUMDB GOWORK 64/bin/go /opt/hostedtoolc--format=%(objectname) -o /tmp/go-build378055818/b395/_pkgGOINSECURE -trimpath 64/bin/go -p github.com/githu-C -lang=go1.25 go (http block)
  • https://api.github.com/repos/nonexistent/repo/actions/runs/12345
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/owner/repo/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo 64/bin/go GOINSECURE b/gh-aw/pkg/testenv GOMODCACHE go env JTcy/vyuGXqzRen6GOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE 055818/b419/impoGOPROXY (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo 64/bin/go GOINSECURE GOMOD GOMODCACHE go env loN8/QO4Zgp-VdzDGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE 055818/b420/impoGOPROXY (http block)
  • https://api.github.com/repos/owner/repo/contents/file.md
    • Triggering command: /tmp/go-build2122040454/b001/cli.test /tmp/go-build2122040454/b001/cli.test -test.paniconexit0 -test.timeout=10m0s -test.count=1 GOROOT GOSUMDB GOWORK 64/bin/go GOINSECURE GOMOD ode-gyp-bin/node-json go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/test-owner/test-repo/actions/secrets
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name 055818/b410/_pkgGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env Grcp/S95imfMq9IeGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE 055818/b410/impo-importcfg (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Fix CLI consistency issues identified in automated inspection fix: resolve 9 CLI consistency issues across audit, secrets, mcp-server, init, logs, and trial commands Apr 6, 2026
Copilot AI requested a review from pelikhan April 6, 2026 14:47
@pelikhan

pelikhan commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator

@copilot remove report command, merge functionality in logs

@pelikhan

pelikhan commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator

@copilot work

@pelikhan pelikhan closed this Apr 6, 2026
@github-actions
github-actions Bot deleted the copilot/fix-cli-consistency-issues branch April 14, 2026 02:59
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-04-06

2 participants