Skip to content

Align lint and logs CLI options - #75265

Merged
pelikhan merged 2 commits into
mainfrom
copilot/cli-consistency-fix-lint-short-flag
Nov 6, 2026
Merged

pelikhan merged 2 commits into
mainfrom
copilot/cli-consistency-fix-lint-short-flag

Conversation

Copilot AI commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

The CLI reference omitted three logs options, and lint --json lacked the -j shorthand used by other commands.

  • Lint: Add -j for --json and update its reference documentation.
  • Logs: Document --episodes, --outcomes, and --outcomes-dir in the main options list and --outcomes in the outcomes section.
gh aw lint --rules secret-leak -j

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix missing short flag for gh aw lint --json Align lint and logs CLI options Nov 6, 2026
Copilot AI requested a review from gh-aw-bot November 6, 2026 01:15
@pelikhan
pelikhan marked this pull request as ready for review November 6, 2026 03:52
Copilot AI auto review requested due to automatic review settings November 6, 2026 03:52
@pelikhan
pelikhan merged commit f15f30b into main Nov 6, 2026
60 checks passed
@pelikhan
pelikhan deleted the copilot/cli-consistency-fix-lint-short-flag branch November 6, 2026 03:52
@github-actions

github-actions Bot commented Nov 6, 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 from PR Specification Reviewer Β· gpt56 Β· ~1 AIC Β· βŒ– ~1 AIC Β· ⊞ 1.6K Β· β—·

Generated by PR Specification Reviewer for #75265

@github-actions

github-actions Bot commented Nov 6, 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.

Generated from Test Quality Sentinel Β· routed: gpt56 max Β· ~1 AIC Β· βŒ– ~1 AIC Β· ⊞ 6.3K Β· β—·

πŸ§ͺ Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Nov 6, 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 from Ponytail Reviewer Β· routed: gpt56 max Β· ~1 AIC Β· βŒ– ~1 AIC Β· ⊞ 118 Β· β—·

Generated by Ponytail Reviewer for #75265

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

βœ… PR Code Quality Reviewer completed the code quality review.

πŸ”Ž Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Nov 6, 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

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

βœ… Design Decision Gate πŸ—οΈ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate πŸ—οΈ

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 from Design Decision Gate πŸ—οΈ Β· routed: opus55 xhigh Β· ~12 AIC Β· βŒ– ~2 AIC Β· ⊞ 7.7K Β· β—·

πŸ—οΈ ADR gate enforced by Design Decision Gate πŸ—οΈ

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.

🟒 Approval recommended

The reviewed changes align the CLI behavior and documentation, with a regression test covering the new lint shorthand and no active issues identified.

No open issues πŸŽ‰

What changed in this PR

Updates the lint and logs CLI interfaces and documentation to keep available options and references aligned.

Changes:

  • Adds the -j shorthand for lint --json.
  • Adds a regression test for the new shorthand.
  • Documents the logs --episodes, --outcomes, and --outcomes-dir options.
File Description
pkg/​cli/​lint_command.go Registers -j as the shorthand for --json.
pkg/​cli/​lint_command_test.go Verifies the new lint JSON shorthand.
docs/​src/​content/​docs/​setup/​cli.md Updates lint and logs CLI option documentation.

Review effort: Lite (auto)

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

πŸŽ‰ This pull request is included in a new release.

Release: v1.2.1

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-11-05

4 participants