Skip to content

Align CLI documentation and audit validation - #78840

Merged
pelikhan merged 4 commits into
mainfrom
copilot/cli-consistency-issues
Nov 18, 2026
Merged

pelikhan merged 4 commits into
mainfrom
copilot/cli-consistency-issues

Conversation

@gh-aw-bot

@gh-aw-bot gh-aw-bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

CLI help and reference docs diverged from implemented flags, and audit did not enforce its documented repository requirement for bare run IDs.

  • Audit: Require --repo owner/repo for numeric run IDs; update help and examples. Run URLs continue to use their repository context.
    gh aw audit 12345678 --repo owner/repo
  • CLI reference: Remove the nonexistent project new -l alias; document timeout formats and defaults, logs --retained, and work-queue options and selector cardinality.

gh-aw-bot and others added 3 commits November 17, 2026 21:39
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@gh-aw-bot gh-aw-bot changed the title [WIP] Fix CLI documentation inconsistencies and errors Align CLI documentation and audit validation Nov 17, 2026
@pelikhan
pelikhan marked this pull request as ready for review November 18, 2026 00:58
Copilot AI adaptive review requested due to automatic review settings November 18, 2026 00:58
@pelikhan
pelikhan merged commit b47bdc3 into main Nov 18, 2026
56 of 57 checks passed
@pelikhan
pelikhan deleted the copilot/cli-consistency-issues branch November 18, 2026 00:58
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~8 AIC · ⌖ ~2 AIC · ⊞ 6.6K · ◷

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

PR Specification Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by PR Specification Reviewer for #78840 · copilot · gpt56 · ~1 AIC · ⌖ ~1 AIC · ⊞ 1.7K · ◷

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by Ponytail Reviewer for #78840 · codex · routed: gpt61 medium · ~5 AIC · ⌖ ~1 AIC · ⊞ 185 · ◷

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ⊞ 7.2K · ◷

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

Potential security threats were detected in the agent output. Detected threat types: prompt injection.

Review the workflow run logs for details.

PR Code Quality Reviewer

Outcome: reported_action

The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt56 · ~4 AIC · ⌖ ~2 AIC · ⊞ 1.5K · ◷

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.

🟡 Changes recommended

The changes break existing CLI documentation and audit tests, and the submit-graph documentation lists unsupported flags that cause unknown-flag errors.

3 open issues
What changed in this PR

This PR aligns gh-aw’s CLI help and reference documentation with implemented options and enforces the documented repository requirement for numeric audit run IDs.

Changes:

  • Require --repo owner/repo for bare audit run IDs and update help, examples, and validation tests.
  • Expand documentation for timeout formats and defaults, retained deliveries, and work-queue options.
  • Remove the unsupported project new -l alias from the reference.
File Description
pkg/​cli/​audit_command.go Enforces the audit repository requirement and updates command help.
pkg/​cli/​audit_command_test.go Tests the missing-repository validation error.
docs/​src/​content/​docs/​setup/​cli.md Updates flag documentation, timeout details, and audit examples.

Review effort: Balanced (adaptive)

Comment on lines +35 to +39
| `audit` | Go duration | `0` | `--timeout 5m` | No additional deadline |
| `health` | Go duration | `2m` | `--timeout 5m` | Disables its collection deadline |
| `connector test` | Go duration greater than zero and at most `20s` | `20s` | `--timeout 10s` | Rejected |
| `logs episode` | Go duration | `5m` | `--timeout 10m` | Rejected |
| `logs`, `forecast` | Integer minutes | `0` | `--timeout 5` | No timeout |
Comment thread pkg/cli/audit_command.go
Comment on lines +290 to +291
if repoFlag == "" {
return errors.New("--repo is required for bare run IDs; use --repo owner/repo")
| `explain` | `--pool` predicts live eligibility; `--work-id` inspects one Work, `--before-claim ID` explains the exact predecessor state of a committed Claim, and `--request-id` selects a committed request. |
| `trace` | Exactly one of `--request-id` or `--claim-id` selects history; `--offset` and `--limit` paginate events. |
| `submit-work` | `--graph-id` sets a nonempty graph namespace (default: canonical payload SHA-256); `--node-key` sets a nonempty node identity within the graph (default: `root`). `--fairness-key` selects an entitled accounting key (default: one shared bucket). `--pool` selects an approved pool; `--priority` sets the entitled priority (1–5); `--worker-profile` selects an approved profile; `--execution-ref` pins an immutable worker SHA; `--expires-at` sets a Unix-millisecond deadline. |
| `submit-graph` | `--pool`, `--max-claims`, and `--max-dispatches` set the pool and logical-Claim/native-dispatch budgets for an atomically admitted graph. |
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.3.1

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cli-consistency] CLI Consistency Issues - 2026-11-17

4 participants