@@ -1618,22 +1618,22 @@ npm install -D @vitest/coverage-v8
16181618## Phase 1: Critical Fixes (Week 1-2)
16191619
16201620### Day 1-2: Security Patches
1621- - [ ] Enable RLS on ` global_prompts ` (30 min)
1622- - [ ] Enable RLS on ` rate_limits ` (30 min)
1623- - [ ] Enable RLS on ` user_roles ` (30 min)
1624- - [ ] Enable leaked password protection (5 min )
1625- - [ ] Add HSTS header to nginx (5 min)
1626- - [ ] Update CORS in Edge Functions (1 hour)
1621+ - [x ] Enable RLS on ` global_prompts ` (30 min)
1622+ - [x ] Enable RLS on ` rate_limits ` (30 min)
1623+ - [x ] Enable RLS on ` user_roles ` (30 min)
1624+ - [ ] Enable leaked password protection (skipped - free plan )
1625+ - [x ] Add HSTS header to nginx (5 min)
1626+ - [x ] Update CORS in Edge Functions (1 hour)
16271627
16281628### Day 3-4: Dependency & Config Fixes
1629- - [ ] Update Vite/esbuild (` npm audit fix ` ) (30 min)
1630- - [ ] Install ` @vitest/coverage-v8 ` (15 min )
1631- - [ ] Add missing FK indexes (15 min)
1632- - [ ] Suppress lint warnings (1 hour)
1629+ - [x ] Update Vite/esbuild (` npm audit fix ` ) (30 min)
1630+ - [ ] Install ` @vitest/coverage-v8 ` (skipped - peer dep conflict )
1631+ - [x ] Add missing FK indexes (15 min)
1632+ - [x ] Suppress lint warnings (1 hour)
16331633
16341634### Day 5: RLS Performance
1635- - [ ] Update all RLS policies to use ` (select auth.uid()) ` (2 hours)
1636- - [ ] Consolidate duplicate policies (1 hour)
1635+ - [x ] Update all RLS policies to use ` (select auth.uid()) ` (2 hours)
1636+ - [x ] Consolidate duplicate policies (1 hour)
16371637
16381638** Phase 1 Total: ~ 8 hours**
16391639
0 commit comments