From 14ed0bb4e44d70ab83c164222fdd61be98ac2641 Mon Sep 17 00:00:00 2001 From: BigSimmo <87357024+BigSimmo@users.noreply.github.com> Date: Thu, 9 Jul 2026 20:42:35 +0800 Subject: [PATCH] fix: record PR 443 review follow-ups --- docs/branch-review-ledger.md | 3 +++ scripts/check-m13-migration.ts | 3 +-- src/components/clinical-dashboard/source-actions.tsx | 6 +++--- src/components/forms/form-detail-page.tsx | 2 +- src/components/ui-primitives.tsx | 2 +- supabase/drift-manifest.json | 4 ++-- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/branch-review-ledger.md b/docs/branch-review-ledger.md index 9226ec5f6..4c06bd362 100644 --- a/docs/branch-review-ledger.md +++ b/docs/branch-review-ledger.md @@ -21,3 +21,6 @@ Use this ledger to prevent repeated branch and PR reviews when the reviewed HEAD | Date | Branch or ref | Reviewed HEAD | Scope | Outcome | Checks | | ---------- | -------------- | --------------------------------------- | -------------- | ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | | 2026-07-09 | example/branch | abc1234567890abcdef1234567890abcdef1234 | 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` | +| 2026-07-09 | claude/llm-pipeline-review | 009e85c6be437d98dd868d26cc797327bf8fc377 | design-review | Passed; resolved 3 minor P3 design system alignment issues (fixed arbitrary font sizes to `text-2xs` and `min-h-11` to `min-h-tap`). | `npm run verify:cheap` (ESLint + typecheck + 1409 unit tests passed); `node scripts/check-type-scale.mjs`; z-index & compile checks | +| 2026-07-09 | claude/llm-pipeline-review | 009e85c6be437d98dd868d26cc797327bf8fc377 | ai-architecture-review | AI architecture review completed. Found 1 P1 issue (GET seeding routes crash on OpenAI outage) and 2 P2 issues (scaling bottleneck in spelling query corrector, orphaned chunks on registry delete). All 1409 tests passed. | `git diff origin/main...HEAD`, `npm run verify:cheap` (ESLint + typecheck + 1409 unit tests passed) | +| 2026-07-09 | claude/llm-pipeline-review | 009e85c6be437d98dd868d26cc797327bf8fc377 | api-review | No high-confidence P0/P1/P2 issues. Identified minor validation sequence and parameter bounds checks (P3). | `npm run verify:cheap` (TypeScript typecheck, ESLint, and isolated Vitest runs on medications-route, rag-answer-fallback, and rag-cache-invalidation) | diff --git a/scripts/check-m13-migration.ts b/scripts/check-m13-migration.ts index 741e3ea2b..3ec4b6e20 100644 --- a/scripts/check-m13-migration.ts +++ b/scripts/check-m13-migration.ts @@ -1,7 +1,5 @@ import { loadEnvConfig } from "@next/env"; -import { createAdminClient } from "@/lib/supabase/admin"; - loadEnvConfig(process.cwd()); const M13_HEALTH_MARKER = "commit_document_index_generation.preserve_legacy_artifacts_migration"; @@ -19,6 +17,7 @@ function missingMarkers(data: unknown) { } async function main() { + const { createAdminClient } = await import("@/lib/supabase/admin"); const supabase = createAdminClient(); const { data, error } = await supabase.rpc("search_schema_health"); if (error) { diff --git a/src/components/clinical-dashboard/source-actions.tsx b/src/components/clinical-dashboard/source-actions.tsx index 453808dd2..337a68345 100644 --- a/src/components/clinical-dashboard/source-actions.tsx +++ b/src/components/clinical-dashboard/source-actions.tsx @@ -26,7 +26,7 @@ export function SourceActionRow({ }) { return (