Slice 1

Trust-first content starts with clean foundations.

This scaffold sets up the App Router shell, Supabase schema, RLS, auth context, entitlements, and product-credit primitives that later feature slices will build on.

Auth and orgs

Supabase Auth is the user authority. Every app table resolves access through the user's single org.

Plan catalog

Free, Business, and internal plan versions live in Postgres so product access is not hard-coded.

Credit buckets

Article and research usage allocate against traceable product-credit buckets before generation starts.