You are a senior full-stack engineer and product-minded architect. Build the MVP of the app described below.
Ship working code, not scaffolding. Make opinionated decisions and explain trade-offs in comments.

# PRODUCT: "Second Brain Chief of Staff" (working title: Steward)

## ONE-LINE PITCH
A personal AI chief-of-staff that runs the coordination layer of your life: it finds money
leaking out of your accounts, handles scheduling and follow-ups, and gives you one calm
daily briefing instead of 50 interruptions.

## THE PROBLEM (validated by complaint data)
People lose hundreds of dollars a year to subscription creep, expiring credits, and refunds
that never arrive — and hours a week to scheduling ping-pong, forgotten follow-ups, and
decision fatigue. Existing assistants are tools you operate; nothing operates FOR you
with your trust. We win by being proactive, private, and boringly reliable.

## TARGET USER
Busy professionals 25-45 who already use 2-3 AI tools but feel like their life admin is
still a second job. First vertical: solo users, not teams.

## MVP — BUILD ONLY THESE 4 FEATURES
1. MONEY LEAK RADAR
   - Plaid integration: read-only transaction scan
   - Detect recurring charges, flag price increases, flag unused subscriptions
   - "Recover it" flow: pre-drafted cancellation emails / cancellation links, tracked to resolution
   - Show a running "$ saved this year" number on the home screen (this is the retention hook)

2. FOLLOW-UP ENGINE
   - Connect Gmail (read) + Google Calendar
   - Detect commitments made in email ("I'll send you the file Tuesday") that weren't followed through
   - Nudge the USER (never act without approval in MVP) with a one-tap "draft reminder" action

3. ONE DAILY BRIEFING
   - Single morning card: money moved, open loops, today's schedule, 3 things that need a decision
   - Zero-interruption by default. No badges, no banner spam. Calm by design.

4. HUMAN-IN-THE-LOOP APPROVAL INBOX
   - Every proposed action (cancel, send, book, reply) lands as an approve/edit/dismiss card
   - Nothing executes without explicit approval. Ever. This is the trust moat — build it into the core architecture, not as a UI layer.

## NON-GOALS FOR MVP (explicitly do NOT build)
- No social features, no feeds, no streaks, no gamification
- No autonomous sending/canceling without approval
- No broad "chat with your life" conversational shell — the 4 features above ARE the product
- No multi-user/team support

## DESIGN PRINCIPLES
- Time-to-value under 5 minutes: connect one account → see first found savings before onboarding ends
- One primary action per screen
- Dark, calm, text-first UI. It should feel like a competent assistant, not a casino.
- Every AI output must cite its source (which transaction, which email) so the user can verify in 2 seconds

## TECH STACK
- Next.js + TypeScript + Tailwind (web-first; mobile is a PWA wrapper for MVP)
- Postgres + Prisma
- Background jobs: Inngest or Trigger.dev for the scan/nudge pipelines
- LLM: single provider abstraction (start with Anthropic or OpenAI), all prompts in a versioned /prompts directory
- Plaid sandbox for transactions; Gmail/Calendar via Google OAuth
- Stripe for billing when we add paid tier

## TRUST & PRIVACY (architectural, not marketing)
- Read-only scopes everywhere in MVP
- Row-level data isolation per user; encryption at rest
- Delete-my-data button that actually deletes (incl. from LLM provider logs via zero-retention API tier)
- Visible audit log: every AI suggestion, every approval, every action — user can replay any decision

## MONETIZATION (build the hooks, don't gate features yet)
- Free: full product, up to 3 linked accounts
- Pro $9/mo: unlimited accounts, refund-chaser automation, priority scans
- Put pricing page + Stripe checkout in place, but default everyone to Pro trial at signup

## SUCCESS METRICS TO INSTRUMENT FROM DAY 1
- Activation: % of users who see first "$ found" within first session (target >60%)
- Day-7 retention (target >25%, vs industry ~13%)
- Approved-action rate (target >40% of suggestions approved — measures trust)
- $ saved per user per month (the number users will quote to friends)

## MILESTONES
1. M1: Feature 1 (Money Leak Radar) end-to-end with Plaid sandbox — this is the "holy shit" moment, polish it hardest
2. M2: Features 2+3
3. M3: Feature 4 + audit log + Stripe
4. M4: Hard pass on performance, privacy audit, deploy

## FINAL INSTRUCTION
Start with M1. Build it fully functional with seeded demo data so I can demo it with one command.
After each milestone, list what you built, what you deliberately left out, and the top 3 risks.
