Skip to content

fix(review): admit only final human-facing claims - #746

Merged
EffortlessSteven merged 10 commits into
mainfrom
fix/human-output-admission
Jul 11, 2026
Merged

EffortlessSteven merged 10 commits into
mainfrom
fix/human-output-admission

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Jul 11, 2026 •

Copy link
Copy Markdown
Member

Summary\n\n- compile paraphrased lane observations and summary findings with conservative claim identity, polarity protection, and evidence-first survivor ranking\n- preserve concise summary fallbacks for inline findings until delivery is receipted; deduplicate only matching claims\n- compact byte and bullet overflow into a truncated artifact-backed body instead of failing unrelated code\n- reject internal review-planning markers while preserving ordinary reviewer prose\n- keep reporter distillation from stacking over deterministic findings\n\n## Verification\n\n- [x] cargo test --bin ub-review (615 passed)\n- [x] cargo fmt --all -- --check\n- [x] cargo clippy --bin ub-review --tests -- -D warnings\n- [x] cargo xtask policy-check\n- [x] python scripts/verify-bun-review-artifacts.py --self-test\n- [x] local RIPR 0.10.0 strict-zero for the Windows run\n- [ ] authoritative Linux RIPR parity: issue #737\n\n## Policy receipts\n\nThe branch retains the 29 content-addressed IDs emitted by the authoritative Linux run. Windows produced four additional host-only IDs; those aliases were deliberately removed. Strict-zero remains unchanged.\n\n## Claim boundary\n\nThis slice fixes human-output regressions and ensures review-quality overflow degrades to artifacts. Proof-request execution is #747; transactional inline delivery is #748. Cross-platform RIPR identity remains the explicit #737 boundary.

@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 Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@EffortlessSteven, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 18 minutes

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).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: db9c13d6-d830-4913-bb52-36bc6c1b15e0

📥 Commits

Reviewing files that changed from the base of the PR and between f70be0e and f0749f6.

📒 Files selected for processing (8)
  • .ripr/suppressions.toml
  • docs/REVIEW_BODY_CONTRACT.md
  • scripts/verify-bun-review-artifacts.py
  • src/main.rs
  • src/noise.rs
  • src/render.rs
  • src/review_compiler.rs
  • src/review_text.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/human-output-admission

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d78c45d990

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/noise.rs Outdated
let right_tokens = conflict_tokens(&right);
let smaller = left_tokens.len().min(right_tokens.len());
let shared = left_tokens.intersection(&right_tokens).count();
smaller >= 4 && shared >= 4 && shared * 5 >= smaller * 3

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Tighten fuzzy claim matching to avoid dropping findings

When two summary findings or observations mention the same component/object but describe different failure modes, this subset-style token threshold treats them as the same claim; for example, “parser drops default value when parsing const declarations” and “parser accepts default value when parsing const declarations” share enough tokens to match here, so unique_summary_review_findings/unique_review_observations_by_claim keep only the higher-ranked item and the other real finding disappears from the PR body.

Useful? React with 👍 / 👎.

@codecov

codecov Bot commented Jul 11, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.77922% with 13 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/render.rs 80.85% 9 Missing ⚠️
src/noise.rs 98.52% 3 Missing ⚠️
src/review_compiler.rs 96.29% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@EffortlessSteven
EffortlessSteven merged commit 23f94aa into main Jul 11, 2026
2 checks passed
@EffortlessSteven
EffortlessSteven deleted the fix/human-output-admission branch July 11, 2026 04:43
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.

1 participant