Skip to content

fix(cli): clearer first-run output and errors - #9034

Merged
EffortlessSteven merged 8 commits into
mainfrom
claude/project-thread-u1ln0p
Oct 21, 2026
Merged

EffortlessSteven merged 8 commits into
mainfrom
claude/project-thread-u1ln0p

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Requested by Steven · project thread

Governing issue or accepted claim: #9033
Acceptance delta (one sentence): Seven confusing first-run messages (repair/continue limitation wall and seam-budget advice, target/ in the gitignored note, explain/context vs dirty-tree check ids, init and doctor next commands, flag-before-command error, base-branch clean-tree advice) now say what to do.

What changed

  • repair/continue: module-limitation list capped at 3 files plus "and N more"; truncation refusals name RIPR_REPO_EXPOSURE_SEAM_LIMIT.
  • check: root target/ build output no longer appears in the gitignored-files note.
  • explain/context: follow check's dirty-tree worktree default, so printed ids resolve.
  • init/doctor: plain ripr doctor / ripr check, no /. suffix; init outside git says a repo is needed.
  • ripr --root . check: error says options go after the command.
  • Clean tree on the base branch: says you are on the base.

Verification

  • Subagents ran fmt, cargo xtask precommit (explain and init/doctor commits) and focused tests; goldens check passed for the init/doctor commit.
  • Not run locally: lib unit tests for the limitation-list and target/ filter changes (rustc OOM), goldens check for those two commits (offline). Hosted CI owns these. cli_smoke has 11 environmental failures as root inside a git repo.
  • Remaining findings listed on New-developer CLI output: confusing messages from a first-run walkthrough #9033.

Generated by Claude Code

… truncation refusals

The Rust module composition limitation note now lists at most three files
plus "and N more" (count stays total), and every seam-inventory truncation
refusal names RIPR_REPO_EXPOSURE_SEAM_LIMIT as the way to widen the budget.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AoDuBssWGcMdCq1nXZbDsG
The gitignored-files disclosure named Cargo build output such as
target/release/build/*/out/lib.rs, which is not a stageable source file.
Leave the root-level target/ out of the ignored set (and the disk walk).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AoDuBssWGcMdCq1nXZbDsG
On a dirty tree, ripr check analyzes uncommitted edits by default and
prints finding ids from that run, but explain/context re-analysed
committed history only and failed with no finding matched. Both now
share app::diff_source's default (unless --diff, --from or a candidate
tree supplies the scope). Adds a smoke test and updates the #7328 test
whose dead-end premise no longer holds on a dirty tree.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- init: drop the trailing /. from follow-up roots, omit --root when init ran in the cwd, and skip the check suggestion outside a Git work tree
- doctor: recommend plain `ripr check` instead of --base HEAD --worktree
- a flag in command position says options go after the command
- clean tree on the base branch says you are on the comparison base

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AoDuBssWGcMdCq1nXZbDsG
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AoDuBssWGcMdCq1nXZbDsG
@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!

@EffortlessSteven EffortlessSteven self-assigned this Oct 21, 2026
@coderabbitai

coderabbitai Bot commented Oct 21, 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 21 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 71 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: 88e43865-2b20-46e1-ad13-5b099839e5c0
📥 Commits

Reviewing files that changed from the base of the PR and between 6be02b0 and 1f98c82.

📒 Files selected for processing: 15
  • changelog.d/9033-first-run-cli-wording.md
  • crates/ripr/src/analysis/committed_source.rs
  • crates/ripr/src/analysis/rust_index.rs
  • crates/ripr/src/app/explain.rs
  • crates/ripr/src/app/navigation.rs
  • crates/ripr/src/app/task_first.rs
  • crates/ripr/src/cli/command.rs
  • crates/ripr/src/cli/commands.rs
  • crates/ripr/src/cli/commands/context.rs
  • crates/ripr/src/cli/commands/init.rs
  • crates/ripr/src/output/doctor.rs
  • crates/ripr/src/output/human/triage.rs
  • crates/ripr/tests/cli_smoke.rs
  • crates/ripr/tests/cli_smoke/init_followups.rs
  • crates/ripr/tests/hostile_repos.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 21, 2026 00:56
@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!

@devin-ai-integration devin-ai-integration 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.

Devin Review found 4 potential issues.

Devin Review

Comment thread crates/ripr/src/cli/commands/init.rs Resolved
Comment thread crates/ripr/src/analysis/rust_index.rs Resolved
Comment thread crates/ripr/src/output/doctor.rs Resolved
…lter to Cargo output

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AoDuBssWGcMdCq1nXZbDsG
@EffortlessSteven
EffortlessSteven merged commit 90e1df9 into main Oct 21, 2026
47 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/project-thread-u1ln0p branch October 21, 2026 02:08

Copy link
Copy Markdown
Member Author

Confirmed #9015/#9034 integration regression for the existing navigation owners: exact-subject reproduction, command results, source/executable identities, and recoverable synthetic evidence driver.

On actual main 90e1df9c73797763f3a9bcabdf7b18e07c4602ac composed with unchanged #9064, the existing selector-recovery test fails (one selected test, exit101). Separately, both actual explain/context commands printed by check --base HEAD~1 --committed on an opposing-nonempty dirty fixture fail (exit2, worktree scope). Explicit-worktree, supplied-diff and artifact controls pass. These distinguish a stale no-scope test oracle from a real committed-check drill-in regression.

Please retain the existing navigation authors, reconcile the journey, and return the owning repair PR plus a frozen repair SHA and focused replay results to #9064. No competing repair was made; #9064 remains Draft and will refresh only affected integration after the accepted repair lands. Previously repaired member-root/target-marker findings are not reopened.

EffortlessSteven commented Oct 21, 2026 •

Copy link
Copy Markdown
Member Author

Terminal author handoff for Draft #9069, unchanged frozen dcae0af62acd44e520a334a018b46f894cd5f5ae, base2cd6a0ffd, clean checkout. Original check-fast91942/native0:15 gates,9 paths, stable selector agrees with Git; strict workspace/all-targets Clippy pass. Fixture-contract skip subsequently closed by precommit. Precommit59316/native0: exact-head/base pass,9 committed paths,complete selector,no outer limitations/skips,both ripr/xtask all-targets strict Clippy pass. Inner goldens explicitly skipped, not a golden pass. Raw receipt/digest sha256:b960680e76e720a4c1e16fc8c48796e63dfacf0a9cd7060664b6850f207444de: #9069 comment6306644768.

Author7CLI/10unit proofs,2 intended RED tests,4 missing-selector refusals+4 emitted-listing replays remain revision-bound. Reviewer16's independent exact-head review5594479921 has no blocking source/runtime finding: fresh installed-CLI64positive/16expected negative controls+2help checks; its executable and136-row raw receipt retain their own identities. Independent consumer12/12 composition proof remains separately scoped. No duplicated91942, no new build/retry/CI request; all author native drivers terminal.

Local gates and independent source/runtime review are complete. Parent/designated integration now owns normal required hosted qualification and final current-head/base/integration/protection judgment. Draft stays REVIEW_INCOMPLETE for those remaining dimensions. No author Ready/merge-ready/merge/release/policy action. Source/proof/log/receipt/admission artifacts retained /tmp/selector-composition-evidence; target/cache retained for active review with unknown inherited outputs preserved,27GiB free within8GiB admission.

This was referenced Oct 21, 2026
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