@davoodmehraban89 / LifeMate / commits / 853d25b
Fork 0

LifeMate — Personal, Family & Learning Companion

docs: record JWT-gated Edge QA deployment and unauthenticated HTTP 401

davoodmehraban89 committed Oct 15, 2026 at 00:37 UTC 853d25b34ad5cf12af951fd6de5f9f16f810fa78
1 file changed +11
docs/audits/2026-10-15-supabase-qa-provisioning.md
+11
@@ -60,6 +60,17 @@ Post-migration security advisor: one **INFO** `rls_enabled_no_policy` finding fo
60
61 Remediation reference: https://supabase.com/docs/guides/database/database-linter?lint=0008_rls_enabled_no_policy
62
63 +## JWT-protected Edge runtime probe — verified
64 +
65 +A single synthetic-only Edge Function was deployed:
66 +- slug `lifeguide-qa-health`, function ID `1f9a5c60-7f37-4bfa-ae68-663e46875dc1`
67 +- status `ACTIVE`, version `1`, `verify_jwt=true`, no database calls, no credentials, no real data, and GET-only JSON response.
68 +- GitHub source: `supabase/functions/lifeguide-qa-health/index.ts` and `deno.json`.
69 +- An unauthenticated HTTP GET from an external fetch service to `https://iqkrwxeprxvdiubdfcrb.supabase.co/functions/v1/lifeguide-qa-health` was **HTTP 401**, as intended. This is a real negative access test, **not** proof of an authenticated 200 or of parent/child policy.
70 +- The function is strictly a private QA runtime proof, **not** the existing Node/Express v0.7.1 `/api`, PWA deployment or Android backend.
71 +
72 +The existing `Finora ERP – Production` project remained listed as `ACTIVE_HEALTHY` after QA provisioning. No writes to it were made by this workstream.
73 +
74 ## Compatibility conclusion and remaining gates
75
76 Existing LifeGuide v0.7.1: