From ea1ac4019dca64a31ff5f20b4ae1a140bd4e4365 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 19 Jul 2026 20:25:32 +0000 Subject: [PATCH] chore: remove stale PR_POLICY_BODY.md left on main #932 committed a PR-specific policy body template that Sync PR policy body keeps applying to later PRs with unchecked governance checkboxes. Remove it so future heads skip sync unless they intentionally add a fresh template. Co-authored-by: BigSimmo --- PR_POLICY_BODY.md | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 PR_POLICY_BODY.md diff --git a/PR_POLICY_BODY.md b/PR_POLICY_BODY.md deleted file mode 100644 index 9eab9a297..000000000 --- a/PR_POLICY_BODY.md +++ /dev/null @@ -1,23 +0,0 @@ -## Summary - -- Hardens administrator-only access across document, ingestion, and account APIs; adds signed-in favourites/preferences persistence; repairs mobile Safari bottom-composer spacing on Information pages; and fixes a pre-existing unit-test regression in the clinical dashboard merge-artifact guards. - -## Verification - -- [x] `npm run verify:cheap` — local run on PR head: lint, typecheck, and 2892/2895 unit tests passed; 3 known failures remain in `tests/pdf-extraction-budget.test.ts` (Python/PDF fixture env); clinical-dashboard merge-artifact Safari reserve assertion fixed in this commit. -- [x] `npm run check:production-readiness` — passed locally for auth/privacy/admin-route changes. -- [x] `npm run verify:ui` — hosted Production UI gate on this PR head (UI-scoped paths include `global-search-shell`, detail pages, and `DocumentViewer`). - -## Risk and rollout - -- Risk: medium — touches Supabase migrations/RLS, administrator authorization, account persistence APIs, ingestion-worker auth, and mobile layout spacing; incorrect rollout could block uploads or expose admin affordances to non-administrators (API routes remain fail-closed). -- Rollback: revert the PR commit and roll back the Supabase migrations in reverse order on the preview branch; account tables are additive and can remain without breaking reads. -- Provider or production effects: requires applying new Supabase migrations and redeploying the ingestion-worker edge function; no change to answer-generation prompts or retrieval scoring. - -## Clinical Governance Preflight - - - -## Notes - -- Resolves bottom layout spacing and transition issues on Information pages, removes the footer search composer from Information pages, restores the back button at desktop widths, and gates administrative upload-drawer assertions in tests to match production authorization.