Skip to content

revert(rag): back out #2065 claim-leading condition binding after live canary regression - #2088

Merged
BigSimmo merged 2 commits into
mainfrom
claude/revert-2065-claim-condition-regression
Aug 18, 2026
Merged

revert(rag): back out #2065 claim-leading condition binding after live canary regression#2088
BigSimmo merged 2 commits into
mainfrom
claude/revert-2065-claim-condition-regression

Conversation

@BigSimmo

Copy link
Copy Markdown
Owner

Summary

RAG impact: behaviour change — canary pair 32052479537 (last green, 084f63799) -> post-merge confirmation dispatch; this restores the claim-support behaviour that run 32052479537 measured green.

Verification

  • Live probe on this branch: "routing_reason": "high_confidence_extractive_retrieval", "citation_count": 5 (was 0 on main).
  • npx vitest run tests/rag-claim-support.test.tsTests 157 passed (157).
  • npm run eval:rag:offlineTest Files 25 passed (25) · Tests 614 passed (614); Offline RAG fixture and production-contract checks passed.
  • npm run check:rag:fixturesOffline RAG fixture and manifest validation passed (36 golden cases, 25 suites).
  • npm run check:production-readinessREADY: no blocking production-readiness failures.
  • Prettier check on the two reverted files: All matched files use Prettier code style!

Risk and rollout

Clinical Governance Preflight

Complete this section when the change touches ingestion, answer generation, search/ranking, source rendering, document access, privacy, production env, or clinical output.

  • Source-backed claims still require linked source verification before clinical use
  • No patient-identifiable document workflow was introduced or expanded without explicit governance approval
  • Supabase target remains Clinical KB Database (sjrfecxgysukkwxsowpy)
  • Service-role keys and private document access remain server-only
  • Demo/synthetic content remains clearly separated from real clinical sources
  • Source metadata, review status, and outdated/unknown-source behavior remain conservative
  • Deployment classification/TGA SaMD impact was checked when clinical decision-support behavior changed

Notes

  • Follow-up for the S1c lane: the condition-first idea needs an offline fixture built from this exact extractive answer before it is re-attempted (queue via /issues).
  • Ledger record for head afbf14737 under docs/branch-review-records/.

Opened by the RAG programme coordinator chat (Claude Code).

BigSimmoand others added 2 commits August 18, 2026 12:16
…dition-first-4pb1at"
This reverts commit 964869f, reversing
changes made to aade20a.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@supabase

supabaseBot commented Aug 18, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project sjrfecxgysukkwxsowpy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in:20 minutes

Limit details: You’ve used all 1 included review currently available under your plan. You completed 99 included PR reviews in the past 7 days; at that activity level, included reviews refill at 1 review per hour.

Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab.

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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: ca6c0306-9465-4655-89d9-e353c87af6e2

📥 Commits

Reviewing files that changed from the base of the PR and between 981d85d and fa87b77.

📒 Files selected for processing (3)
  • docs/branch-review-records/a843a22bab4d2c65ae47bc683f553fb5e5726f2fe111fb3f93fa9386e7b46b20.record.md
  • src/lib/rag/rag-claim-support.ts
  • tests/rag-claim-support.test.ts

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

Sign up for freeto 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

@BigSimmo