Adjusts the paywall strategy from withholding toward insight-first:
- Free-tier instructions rewritten around the monetization philosophy:
the goal is not to interrupt the conversation but to build trust. The
free experience should leave the user feeling understood, respected
and curious to continue, and should help the user reach a meaningful
insight of their own. The rule is included verbatim: 'Never
manufacture suspense. Create genuine curiosity by helping the user
reach a meaningful insight, then offer a deeper level of analysis in
Premium.'
- Premium transition sharpened: analysis_ready may only fire when the
conversation has reached a meaningful point and the natural next step
is a complete analysis, structured framework, personalised strategy,
practical exercises or a step-by-step action plan — pausing
immediately before that delivery, never mid-sentence or mid-
explanation. Transition example updated to the new wording. Product
feeling encoded: always 'I genuinely want to continue this
conversation', never 'they stopped me just to make me pay'.
- Pricing: paywall now shows plan prices — localized prices fetched
from the store via react-native-iap, falling back to $5.99/month and
$49.99/year (~30% below monthly) until store config exists — plus
the Premium includes list (unlimited conversations, unlimited
analyses, personalised guidance, future feature updates).
- README: monetization philosophy, product feeling and pricing sections
updated to match.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118DaxZR36RpnY524vRqx3z
Ersätter den tidigare webappen på denna branch med ett fokuserat monorepo:
- apps/mobile: Expo/React Native med tre vyer (Welcome, Chat, Paywall),
Cognito hosted UI-inloggning (Apple/Google/e-post) och In-App
Purchase/Play Billing via en gemensam purchases-modul.
- services/api: en enda Lambda-backend — OpenAI Responses API med
Markdown-kunskapsbas som systeminstruktioner, free tier-gräns i
PostgreSQL (HTTP 402 -> paywall) och kvittoverifiering bakom ett
delat PaymentProvider-interface (Apple/Google, Stripe kan läggas
till för webb senare).
- infra: AWS CDK-stack med API Gateway (JWT-authorizer), Lambda,
Cognito, Aurora Serverless v2 och Secrets Manager.
- db/migrations: minimal datamodell (users + usage), inga
konversationer sparas.
- GitHub Actions: CI (lint, typecheck, test) och deploy från main.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118DaxZR36RpnY524vRqx3z