Skip to content

fix(cli): list all five check modes in short --help - #8553

Merged
EffortlessSteven merged 2 commits into
mainfrom
claude/check-help-modes
Oct 17, 2026
Merged

EffortlessSteven merged 2 commits into
mainfrom
claude/check-help-modes

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Requested by Steven · project thread

Governing issue or accepted claim: project-thread follow-up from docs audit PR #8523
Acceptance delta (one sentence): ripr check --help short help now lists all five --mode values (instant, draft, fast, deep, ready), matching --help --all and the docs.

Before: ripr check --help described --mode as "instant, draft (default), or deep", while ripr check --help --all and the docs list all five modes.

After: the short help reads "instant, draft (default), fast, deep, or ready", still within the one-screen (<= 35 lines) limit. check_help_is_one_screen_and_all_is_the_full_reference now asserts the five-mode text.

How: edited the --mode row in crates/ripr/src/cli/help/core.rs (same line count) and added the assertion in crates/ripr/tests/cli_help_hierarchy.rs. No docs or golden pinned the old string. Verified with cargo test -p ripr --test cli_help_hierarchy and cargo xtask precommit. Main was merged into the branch to pick up the #8524 golden update.


Generated by Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 75 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 95f55d4e-5dbe-4457-a084-0480e2bb925f
📥 Commits

Reviewing files that changed from the base of the PR and between 3fc24df and b4b33bd.

📒 Files selected for processing: 2
  • crates/ripr/src/cli/help/core.rs
  • crates/ripr/tests/cli_help_hierarchy.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 17, 2026 21:23
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions github-actions Bot 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.

Decision

  • Needs reviewer attention before upstream: findings remain.

Confirmed findings

  • ripr sensor exit 2 is unrelated to this doc/help-only diff (no behavior change); recorded for trust context only.
  • No docs or golden pinned the prior three-mode string (per PR body grep). Ripr sensor exit code 2 is reported but unrelated to help-text correctness. cargo-test receipt is scheduled late and not yet present.

Verification questions

  • Confirm test anchors the exact five-mode text in check_help_is_one_screen_and_all_is_the_full_reference, matching the PR body claim; one-screen invariant (<= 35 lines) is preserved by same line count.

Refuted

  • The required substring could match outside the --mode row (e.g., the --all help text or another section), making the test pass on stale builds.; refuted because: Asserted fragment 'fast, deep, or ready' exists nowhere else in the surrounding context per the diff (only the rewritten --mode row carries it); the new core.rs line is the sole source, and the test's required[] block ordering localizes the match.

Parked follow-ups

  • ripr sensor exit 2 is not a correctness blocker for this textual fix; sensor failure should be investigated separately but is orthogonal to the --mode prose change.
  • Docstring for CheckMode enum still uses parenthesized 'Instant, Draft, Fast, Deep, Ready' (title case, comma list) while --mode help text uses lowercase 'instant, draft (default), fast, deep, or ready'. Style drift between docs and CLI help.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • cargo-test scheduled-late; receipt absent at compile time. PR body claims 24/24 pass on cli_help_hierarchy via cargo test -p ripr --test cli_help_hierarchy. Awaiting broker witness.

@EffortlessSteven
EffortlessSteven merged commit 7f4d5f6 into main Oct 17, 2026
48 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/check-help-modes branch October 17, 2026 21:59
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.

2 participants