docs: add safe local testing guide

✅ merged · #3 · easterbrooka/mike ← easterbrooka/mike · opened 17d ago by easterbrooka · merged 17d ago by easterbrooka · self · +89-1 across 2 files · ↗ on GitHub

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-commit git status checks.
  • Removes SUPABASE_SECRET_KEY from frontend/.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.example no longer references SUPABASE_SECRET_KEY.
  • Confirm docs/safe-local-testing.md renders 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.

⬇ Download capture-pull-3.md