Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
57ed737
fix(ci): clear post-merge annotations
BigSimmo Jul 3, 2026
2d5e029
Add generated sitemap audit
BigSimmo Jul 3, 2026
2d16f83
feat(search): universal footer chips + mode-identity icons on mobile
BigSimmo Jul 3, 2026
18f9ba6
fix(search): scope popover reachable via + menu on desktop widths
BigSimmo Jul 3, 2026
ca34ea9
fix(ui): prevent mode-home search composer overlap flash on services/…
BigSimmo Jul 3, 2026
2630d5f
Refine database search and answer rendering flows
BigSimmo Jul 4, 2026
080243c
Add public anonymous access implementation plan
BigSimmo Jul 4, 2026
51e4e51
Merge origin/main into codex/fix-ci-annotations
Copilot Jul 4, 2026
e922119
chore: fix Prettier formatting in 4 files to pass CI format:check
Copilot Jul 4, 2026
bfb2b07
Fix jsx-a11y/label-has-associated-control lint errors in ClinicalDash…
Copilot Jul 4, 2026
6215b9a
fix(pr-254): address Codex review findings and prettier CI gate
BigSimmo Jul 4, 2026
32cf2ce
fix: unblock CI verify gate after main merge (exports, sitemap, test)
BigSimmo Jul 4, 2026
c991340
chore(test): recalibrate function-coverage regression floor to 43%
BigSimmo Jul 4, 2026
028293b
Fix ui-smoke selectors for updated launcher and favourites UI
Copilot Jul 4, 2026
dde6964
Update Playwright smoke tests for current UI semantics
Copilot Jul 4, 2026
2bd65f4
Changes before error encountered
Copilot Jul 4, 2026
1af550f
fix(pr-254): address remaining review findings
BigSimmo Jul 4, 2026
44e757f
feat(ui): compact phone bottom search on search/result views for max …
BigSimmo Jul 4, 2026
bbbfec2
feat(mobile): hide universal header on scroll to maximise phone scree…
BigSimmo Jul 4, 2026
71f7cd8
fix(ui): fit mode home pages to phone viewports without scrolling (#256)
BigSimmo Jul 4, 2026
8fb254c
Fix header new chat button to open answer mode
BigSimmo Jul 4, 2026
e5c82d4
Redesign Clinical Guide sidebar for responsive navigation and fix UI …
BigSimmo Jul 4, 2026
55c9f17
feat(answer): add follow-up suggestions, thread storage, and collapse…
BigSimmo Jul 4, 2026
db082af
feat(search): open bottom-docked command surface upward above the pill.
BigSimmo Jul 4, 2026
98d2def
fix(ui): fit mode home and detail pages to phone viewports without ov…
BigSimmo Jul 4, 2026
ceedbea
fix(answer): bootstrap thread persistence safely and share mode icons.
BigSimmo Jul 4, 2026
c9a3dea
fix(ui): use sheets for clinical notes and evidence on all breakpoints.
BigSimmo Jul 4, 2026
caa5f95
fix(ui): tighten scope and source-only disclosure styling.
BigSimmo Jul 4, 2026
b0ae58c
fix(ui): compact evidence gap cards in mobile sheets.
BigSimmo Jul 4, 2026
46c1afa
test(ui): lock tablet rail tools and active-route affordance.
BigSimmo Jul 4, 2026
ac7aa9e
fix: export maxStoredAnswerTurns and drop invalid compact header prop.
BigSimmo Jul 4, 2026
dc9b693
fix(answer): harden thread restore on reload and extract result surface.
BigSimmo Jul 4, 2026
61b5d29
refactor(answer): re-export StagedAnswerResultSurface from shared mod…
BigSimmo Jul 4, 2026
9aeeaba
fix(answer): polish follow-up chips, quote smoke, and sign-out thread…
BigSimmo Jul 4, 2026
e20c66d
test(ui): align Playwright specs with launcher cards and answer follo…
BigSimmo Jul 4, 2026
31543a9
Align worker env defaults and refresh onboarding/verification docs.
BigSimmo Jul 4, 2026
5f4eb1e
fix(answer): derive concise topics for first-turn suggestion chips
BigSimmo Jul 4, 2026
0b1b99b
Merge origin/main into codex/fix-ci-annotations
BigSimmo Jul 4, 2026
1c5d767
Add codebase index and Cursor semantic search configuration.
BigSimmo Jul 4, 2026
93e7841
refactor(answer): complete answer-review hygiene pass
BigSimmo Jul 4, 2026
f86ae20
feat: add image generation metadata re-stamp script
BigSimmo Jul 8, 2026
56d6f40
fix(ui): edge-to-edge mobile layout for mode homes and footer dock (#…
BigSimmo Jul 8, 2026
cdf2811
Fix differential badge design for mobile search results (#412)
BigSimmo Jul 8, 2026
4144b5d
Fix mobile medication search result text cutoff (#414)
BigSimmo Jul 8, 2026
2191f6f
fix(answer): dedupe and compact Also in your library cross-mode links…
BigSimmo Jul 9, 2026
d0b1be7
docs: refresh site map after cross-mode and medications routes
cursoragent Jul 9, 2026
0a353d3
fix(ui): top-align favourites/tools on mobile mode homes (#422)
BigSimmo Jul 9, 2026
0c70b54
chore: begin merge conflict resolution with origin/main
Copilot Jul 9, 2026
aa67af9
fix: resolve all merge conflicts with origin/main
Copilot Jul 9, 2026
bac1752
chore: reconcile ingestion RPC execute privileges, schema.sql and dri…
BigSimmo Jul 9, 2026
8ff686d
Merge branch 'main' into archive/local-main-wip-20260705
BigSimmo Jul 9, 2026
ef535b0
fix: apply CodeRabbit auto-fixes
coderabbitai[bot] Jul 9, 2026
9216187
ci: add db-reset-verify and dependency-review workflows
BigSimmo Jul 9, 2026
a668294
fix(ui): remove PR 430 conflict artifacts
BigSimmo Jul 9, 2026
505f001
Merge remote-tracking branch 'origin/main' into codex/pr430-publish
BigSimmo Jul 9, 2026
83b437e
ci: remove dependency-review workflow because repository is private w…
BigSimmo Jul 9, 2026
1eee7d8
Merge origin/main into claude/llm-pipeline-review
Copilot Jul 9, 2026
50adfd5
Merge remote-tracking branch 'origin/claude/llm-pipeline-review' into…
Copilot Jul 9, 2026
8681ae9
test(ui): query differentials result filters as tabs
BigSimmo Jul 9, 2026
6b7e581
📝 CodeRabbit Chat: Simplify code implementation (#434)
coderabbitai[bot] Jul 9, 2026
7efedc2
fix(db): rename duplicate migration version 20260708160000 to unique …
BigSimmo Jul 9, 2026
24314db
fix: run prettier on 19 files to fix CI format:check failure (#436)
Copilot Jul 9, 2026
def4753
fix: address PR 433 review comments
cursoragent Jul 9, 2026
255ca67
fix: address follow-up PR 433 review comments
cursoragent Jul 9, 2026
e811cc1
fix: address PR 433 review blockers
BigSimmo Jul 9, 2026
553eac9
fix: address PR 433 review comments on image re-stamp and eval forcing
cursoragent Jul 9, 2026
d831252
Merge origin/main into claude/llm-pipeline-review
Copilot Jul 9, 2026
7449ebf
Merge remote-tracking branch 'origin/claude/llm-pipeline-review' into…
BigSimmo Jul 9, 2026
a76fc39
Merge remote-tracking branch 'origin/claude/llm-pipeline-review' into…
BigSimmo Jul 9, 2026
6a90516
fix: restore neutralized 160000 migration for Supabase Preview parity
BigSimmo Jul 9, 2026
e1b5407
ci: keep supabase cache save non-blocking
BigSimmo Jul 9, 2026
6c06307
Merge remote-tracking branch 'origin/claude/llm-pipeline-review' into…
BigSimmo Jul 9, 2026
93c70e3
ci: run migration verification before docker image cache save
Copilot Jul 9, 2026
560013a
docs: add Codex review throttling protocol
BigSimmo Jul 9, 2026
31d79e7
fix: format docs/branch-review-ledger.md to pass Prettier check
Copilot Jul 9, 2026
c424845
fix: address registry corpus review comments
BigSimmo Jul 9, 2026
75ad728
Finish RAG registry re-embed and quality routing (#438)
BigSimmo Jul 9, 2026
e426255
Merge branch 'main' into codex/review-throttling-protocol
BigSimmo Jul 9, 2026
87cb446
fix(docs): tighten ledger skip checks and pure-review exception
BigSimmo Jul 9, 2026
3e64189
docs: codify review and branch cleanup workflow
BigSimmo Jul 9, 2026
009e85c
Merge remote-tracking branch 'origin/claude/llm-pipeline-review' into…
BigSimmo Jul 9, 2026
fed1d48
fix: throttle Codex auto-resolve reviews
BigSimmo Jul 9, 2026
eee3ab3
test: stabilize differentials UI navigation checks
BigSimmo Jul 9, 2026
f629cb4
fix: harden Codex review automation
BigSimmo Jul 9, 2026
8034331
merge: integrate LLM pipeline review cleanup
BigSimmo Jul 9, 2026
99a750e
merge: integrate PR430 UI test stabilization
BigSimmo Jul 9, 2026
4bda908
merge: integrate review throttling protocol
BigSimmo Jul 9, 2026
2d06156
chore: refresh drift manifest after branch merges
BigSimmo Jul 9, 2026
e79494f
Merge remote-tracking branch 'origin/main'
BigSimmo Jul 9, 2026
c4ce648
chore: initial plan — resolving merge conflicts with main
Copilot Jul 9, 2026
e2b23df
Merge remote-tracking branch 'origin/main'
BigSimmo Jul 9, 2026
284cee3
merge: resolve conflicts with main — keep registry re-embed hooks and…
Copilot Jul 9, 2026
f55378d
merge: refresh LLM pipeline review integration
BigSimmo Jul 9, 2026
a108e77
fix: apply prettier formatting to rag-routing, registry-corpus, and t…
Copilot Jul 9, 2026
cb5164a
merge: resolve conflicts with main (accept throttled workflow and upd…
Copilot Jul 9, 2026
e681ae3
fix: apply CodeRabbit auto-fixes
coderabbitai[bot] Jul 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .cursor/skills/accessibility-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews keyboard navigation support, semantic HTML tags, drawer/dia

Use this skill when reviewing user interfaces to ensure compliance with a11y standards.

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Keyboard & Focus Control
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/ai-architecture-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews RAG flows, context assembly, model routing, structured outp

Use this skill when reviewing or modifying the RAG (Retrieval-Augmented Generation) pipeline, document retrieval, and LLM integrations.

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Retrieval Quality & Provenance
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/api-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews API routes for routing contracts, input schema validation (

Use this skill when reviewing or modifying API routes, endpoints, or network boundaries within this repository (primarily under `src/app/api/`).

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Request Validation
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/code-quality-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews code quality, naming structures, control flow patterns, abs

Use this skill when auditing source files for maintainability, readability, and structural patterns.

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Maintainability & Naming
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/design-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews layout density, theme adherence, typography, spacing, and v

Use this skill when auditing UI styling, colors, layout structures, and spacing rules.

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Style & Spacing Consistency
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/frontend-architecture-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews Next/React boundaries, state ownership, duplicated client s

Use this skill when reviewing Next.js App Router structures, component boundaries, state management, and React performance.

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Next.js App Router Boundaries
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/performance-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews model latency/cost, cache policies, duplicate query coalesc

Use this skill when reviewing query bottlenecks, database RPC latencies, client bundle sizes, or API cost overhead.

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Database & API Latency
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/release-readiness-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews build validation, linting/type-checking, target database ch

Use this skill when preparing a branch for merging, pull request submission, or production deployment.

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Build & Automation Checks
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/repo-auditor/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews module dependencies, broken imports, unused files, and stru

Use this skill when auditing the workspace layout, folder structures, imports, and dependencies.

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Structural Audits
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/security-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews credentials, token handling, JWT claims, service-role confi

Use this skill when reviewing code that touches authentication, database schemas, environment variables, storage, or external API gateways.

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Key Confinement & Environment Safety
Expand Down
2 changes: 2 additions & 0 deletions .cursor/skills/supabase-postgres-best-practices/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Reference these guidelines when:
- Optimizing for Postgres-specific features
- Working with Row-Level Security (RLS)

For review-only use, follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` first. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/testing-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews unit/integration/E2E coverage, checks for fragile/flaky tes

Use this skill when reviewing test coverage, testing harnesses, and test execution paths (Vitest + Playwright).

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Test Harness Coverage
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/ux-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: Reviews the question-to-answer flow, source-review friction, eviden

Use this skill when reviewing user interface flows, search input behaviors, sidebars, modal navigation, and responsiveness.

## Repository Review Protocol

Follow `AGENTS.md` review throttling and `docs/codex-review-protocol.md` before starting. Do not review opportunistically, do not mutate files during pure review, and update `docs/branch-review-ledger.md` after completed branch/PR reviews.

## Review Checklist

### 1. Search Composer Integration
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/live-drift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Live drift check

# Live Supabase drift detection is useful, but it must not slow PR iteration or
# touch live services on every branch. Keep it scheduled/manual only.
on:
workflow_dispatch:
schedule:
# Weekly, aligned with the existing Sunday off-peak CI cadence.
- cron: "30 18 * * 0"

concurrency:
group: live-drift-check
cancel-in-progress: false

permissions:
contents: read

env:
NEXT_PUBLIC_SUPABASE_URL: https://sjrfecxgysukkwxsowpy.supabase.co
SUPABASE_PROJECT_REF: sjrfecxgysukkwxsowpy
SUPABASE_PROJECT_NAME: Clinical KB Database
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY: placeholder-ci-anon-key
SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }}

jobs:
live-drift:
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- name: Checkout
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Preflight required secrets
run: |
missing=""
[ -z "$SUPABASE_SERVICE_ROLE_KEY" ] && missing="$missing SUPABASE_SERVICE_ROLE_KEY"
if [ -n "$missing" ]; then
echo "::error::Live drift check cannot run - missing repo secrets:$missing"
exit 1
fi

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version-file: ".nvmrc"
cache: npm
cache-dependency-path: package-lock.json

- name: Install dependencies
run: npm ci

- name: Guard Supabase project identity
run: npm run check:supabase-project

- name: Compare live schema drift
run: npm run check:drift
22 changes: 18 additions & 4 deletions docs/branch-cleanup-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,19 @@ Before deleting anything:
git worktree list --porcelain
```

5. For each candidate branch, check whether it has patch content not on `main`:
5. Filter candidates through the review ledger before inspecting branch diffs. Follow the lookup procedure in `docs/branch-review-ledger.md` and require all three fields to match before skipping:

```powershell
$branch = "BRANCH_NAME"
$head = git rev-parse $branch
$escapedBranch = [regex]::Escape($branch)
Get-Content docs\branch-review-ledger.md |
Select-String -Pattern "\|\s*$escapedBranch\s*\|\s*$head\s*\|\s*branch-cleanup\s*\|"
```

Skip the branch only when a ledger row matches the same branch/ref, reviewed HEAD, and `branch-cleanup` scope together. A branch-name-only match is not enough. Re-review when the HEAD changed or the user explicitly asks for a fresh pass.
Comment thread
BigSimmo marked this conversation as resolved.

6. For each remaining candidate branch, check whether it has patch content not on `main`:

```powershell
git log --format="%h %s" --right-only --cherry-pick main...BRANCH_NAME
Expand All @@ -53,9 +65,11 @@ Delete a branch only when the cherry-pick-aware log is empty, or when the branch
## Recommended Cleanup Order

1. Fetch and inspect current branch state with the commands above.
2. For each candidate branch, confirm patch-unique commits and file diffs against `main`.
3. Port, commit, or explicitly reject useful patch content before deleting any branch ref.
4. Remove detached worktrees only when clean, unneeded, and absent from active `git worktree list` output.
2. Resolve each candidate's HEAD and skip unchanged completed reviews recorded in `docs/branch-review-ledger.md`.
3. For each remaining candidate branch, confirm patch-unique commits and file diffs against `main`.
4. Port, commit, or explicitly reject useful patch content before deleting any branch ref.
5. Record completed cleanup reviews in `docs/branch-review-ledger.md`.
6. Remove detached worktrees only when clean, unneeded, and absent from active `git worktree list` output.

## Final Verification

Expand Down
23 changes: 23 additions & 0 deletions docs/branch-review-ledger.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Branch Review Ledger

Use this ledger to prevent repeated branch and PR reviews when the reviewed HEAD has not changed.

## Lookup Procedure

1. Identify the target branch or ref from the user request. If no target is named, use the current branch.
2. Resolve the current HEAD:

```powershell
git rev-parse <branch-or-ref>
```

3. Search this file for a row with the same branch/ref, reviewed HEAD, and review scope.
4. If the HEAD and scope match an existing completed row, do not repeat the review. Summarize the prior outcome and ask before doing a fresh pass.
5. If the HEAD changed, or the user explicitly requests a fresh review, review the changed scope and append a new row.
6. For branch-cleanup passes, run this lookup before inspecting branch diffs so unchanged reviewed branches are filtered out early.

## Review Records

| Date | Branch or ref | Reviewed HEAD | Scope | Outcome | Checks |
| ---------- | -------------- | ------------- | -------------- | ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| 2026-07-09 | example/branch | abc1234 | branch-cleanup | Example: already merged into `main`; no unique patch content. | `git log --right-only --cherry-pick main...example/branch`; `git diff --name-status main...example/branch` |
Loading
Loading