fix: fail-closed on numeric claim truncation overflow - #1292
Conversation
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Warning Review limit reached
Next review available in:29 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
This pull request has been ignored for the connected project Preview Branches by Supabase. |
BigSimmo
commented
Jul 28, 2026
@cursoragent please resolve all CI failing tests after understanding the issue. Please also fix any comments and resolve them and also ensure that you fix with smallest required fix with best coding practice and u derstabding the fix rather than simple patch. Please fix any merge conflicts and ensure any issues are found. Please resolve any issues you find. Please also run bugbot. |
CI is green on PR #1292. The only blocker was PR policy metadata, not product tests. Root cause: Clinical-risk paths ( What I did
CI on tip Residual: human approving review only (merge still blocked on that). |
Unblocks the PR policy gate for the numeric claim-cap fail-closed change by providing a complete Clinical Governance Preflight and risk/verification sections for Sync PR policy body to apply. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Keeps Sync PR policy body from re-applying a stale template on later pushes now that the live PR description includes the governance preflight. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Append-only review record for the claim-cap fail-closed PR after PR policy remediation and Bugbot triage. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Append a superseding row for tip 1d43484 after the amend changed the previously recorded commit hash. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Record exact-tip SUCCESS for PR policy remediation and Bugbot triage. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
BigSimmo
commented
Jul 28, 2026
@cursoragent please resolve all CI failing tests after understanding the issue. Please also fix any comments and resolve them and also ensure that you fix with smallest required fix with best coding practice and u derstabding the fix rather than simple patch. Please fix any merge conflicts and ensure any issues are found. Please resolve any issues you find. Please also run bugbot. Please mark comments resolved also once you resolve them. |
PR #1292 is clear again on tip What was wrong this pass
What I did
CI now: PR policy, Static, Unit, Build, PR required, SAST, Gitleaks — all pass. Mergeable. Residual: human approving review only. |
Sync clean main tip so GitHub mergeability matches the merge-tree result. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Document the clean main merge that cleared GitHub DIRTY staleness and confirm Bugbot still has no actionable review threads. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
BigSimmo
commented
Jul 28, 2026
@cursoragent please resolve all CI failing tests after understanding the issue. Please also fix any comments and resolve them and also ensure that you fix with smallest required fix with best coding practice and u derstabding the fix rather than simple patch. Please fix any merge conflicts and ensure any issues are found. Please resolve any issues you find. Please also run bugbot. Please mark comments resolved also once you resolve them. |
PR #1292 is green again on tip What was wrong
Fix
Checks: local claim-support + answer-verification 223/223; hosted PR policy / Static / Unit / Build / PR required all pass; merge-tree clean. |
Resolve real conflicts in answer-verification and rag-claim-support by keeping main's labelled-band and section-scoped claim assessment while preserving fail-closed handling for numeric claims past the assessment cap. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Union merge retained identical #1290 review records twice; keep one of each so check:branch-review-ledger passes. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
BigSimmo
commented
Jul 28, 2026
@cursoragent please resolve all CI failing tests after understanding the issue. Please also fix any comments and resolve them and also ensure that you fix with smallest required fix with best coding practice and u derstabding the fix rather than simple patch. Please fix any merge conflicts and ensure any issues are found. Please resolve any issues you find. Please also run bugbot. Please mark comments resolved also once you resolve them. |
PR #1292 is merged ( This pass
|
Clear GitHub DIRTY staleness; merge-tree reported no content conflicts. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
The merge=union driver duplicated one identical babysit record when syncing main into PR #1285. Keep the first copy only.


Summary
RAG impact: no retrieval behaviour change — this changes post-verification failure handling and adds guardrail coverage only.
Verification
npx vitest run tests/rag-claim-support.test.ts(40/40)npm run verify:pr-localnot required for this metadata/body remediation pass; UI verification not run: no UI/routing/styling changes.Risk and rollout
Clinical Governance Preflight
Clinical KB Database(sjrfecxgysukkwxsowpy)