docs: add safe local testing guide
From the PR description
Cherry-picks upstream adc2cf2 from willchen96/mike (PR #31, "docs: add safe local testing guide").
Summary
- Adds
docs/safe-local-testing.md- guidance for testing Mike with disposable Supabase projects, capped model-provider keys, synthetic documents, and pre-commitgit statuschecks. - Removes
SUPABASE_SECRET_KEYfromfrontend/.env.local.example. The service-role key bypasses RLS and must stay server-side; keeping it as a placeholder in the frontend example invites users into a dangerous config.
Test plan
- Confirm
frontend/.env.local.exampleno longer referencesSUPABASE_SECRET_KEY. - Confirm
docs/safe-local-testing.mdrenders correctly on GitHub.
Generated by Claude Code
Our analysis
Cherry-pick upstream safe local testing guide — read the full analysis →
Think the analysis missed something the PR description covers?
Capture this PR into my fork
Download a Markdown prompt that tells Claude how to port every
commit in this PR into your working tree. Run it via
claude -p < capture-pull-3.md from
inside the repo you want the changes in.