# PromptVault V12 — Accounts + Community

## Added in this build
- Free email/password account UX with unique username rules.
- Sign-in, sign-out, password-reset placeholder, profile editing and account deletion UX.
- Creator profile with followers, following, prompts and results counters.
- Creator discovery with persistent prototype Follow / Unfollow.
- Persistent prototype notifications.
- Supabase production schema for profiles, follows, notifications, blocks and reports with RLS policies.
- Existing V11 Create Studio, Compare Models, Prompt Intelligence, Test Lab and community prompt systems preserved.

## Important production boundary
This ZIP can be opened locally and the account/community interactions persist in localStorage for realistic front-end QA. It deliberately does not hash/store real user passwords in browser storage. Production email verification, secure password handling, multi-device sessions, real unique-username enforcement and account recovery must be provided by the connected authentication backend (Supabase Auth is scaffolded here).

## Production launch checklist
1. Create Supabase project and enable Email/Password authentication.
2. Apply `backend/supabase/schema.sql`.
3. Add signup trigger/profile creation and reserved-username server validation.
4. Configure email verification, password reset, session expiry and abuse/rate limits.
5. Connect UI methods to Supabase Auth + database rather than localStorage.
6. Configure moderation/reporting/admin workflows and privacy/terms pages.
7. Encrypt third-party generation credentials server-side; never expose provider secrets in the browser.
