chore: execute audit remediation fixes and RAG governance - #1352
chore: execute audit remediation fixes and RAG governance#1352BigSimmo wants to merge 4 commits into
Conversation
RAG impact: no retrieval behaviour change — remediation of merge conflicts and UI RAG governance fail-closed boundary
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in:2 minutes 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 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 Run ID: 📒 Files selected for processing (33)
Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:dcdcb5b2b0
ℹ️ 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".
| appBackdrop, | ||
| // Phone: fixed inset-0 (not 100dvh) — matches GlobalSearchShell; avoids Safari toolbar dead band. | ||
| "mobile-app-shell flex flex-col overflow-hidden text-[color:var(--text)] max-sm:fixed max-sm:inset-0 max-sm:h-auto max-sm:min-h-0 max-sm:overflow-hidden md:grid md:grid-cols-[5.25rem_minmax(0,1fr)] md:overflow-hidden", | ||
| "mobile-app-shell @container/dashboard flex flex-col overflow-hidden text-[color:var(--text)] @max-@sm:fixed @max-@sm:inset-0 @max-@sm:h-auto @max-@sm:min-h-0 @max-@sm:overflow-hidden @md:grid @md:grid-cols-[5.25rem_minmax(0,1fr)] @md:overflow-hidden", |
There was a problem hiding this comment.
Keep viewport breakpoints on the dashboard root
On every dashboard route, the @md/@lg variants are attached to the same element that establishes @container/dashboard; a container cannot respond to a query against itself, so these variants never switch the root from flex-col to the sidebar grid. At tablet/desktop widths the sidebar consequently stacks above the main content, while the phone fixed-shell behavior is also lost. Keep viewport variants on this root or establish the query container on an ancestor; a 390px and 1024px layout smoke test would catch both failures.
AGENTS.md reference: AGENTS.md:L214-L221
Useful? React with 👍 / 👎.
| publisher_code: canonicalAuthority ? (identityAuthority.code ?? canonicalAuthority.codes[0] ?? null) : null, | ||
| publisher: canonicalAuthority?.publisher ?? null, | ||
| jurisdiction: canonicalAuthority?.jurisdictions[0] ?? "Australia/WA", |
There was a problem hiding this comment.
Do not authenticate sources from filenames
When an administrator uploads a file whose filename or title contains an exact registered code such as WACHS, this inference writes canonical publisher metadata before anyone verifies the document. classifySourceAuthority then designates it Official even while clinical_validation_status remains unverified, and the UI describes that designation as an authenticated source. Keep the inferred identity as a review candidate rather than canonical provenance; an upload test using WACHS-notes.pdf should assert that its designation remains Unclassified until approval.
Useful? React with 👍 / 👎.
Summary
Verification
Risk and rollout
Clinical Governance Preflight
Notes
RAG impact: no retrieval behaviour change — remediation of merge conflicts and UI RAG governance fail-closed boundary