Repository navigation
fix(cli): list all five check modes in short --help - #8553
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
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. View limit details
Comment |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
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.
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 --helpshort help now lists all five--modevalues (instant, draft, fast, deep, ready), matching--help --alland the docs.Before:
ripr check --helpdescribed--modeas "instant, draft (default), or deep", whileripr check --help --alland 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_referencenow asserts the five-mode text.How: edited the
--moderow incrates/ripr/src/cli/help/core.rs(same line count) and added the assertion incrates/ripr/tests/cli_help_hierarchy.rs. No docs or golden pinned the old string. Verified withcargo test -p ripr --test cli_help_hierarchyandcargo xtask precommit. Main was merged into the branch to pick up the #8524 golden update.Generated by Claude Code