mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
Keeps subscription SaaS vision from PRD while adding accurate as-is analysis of existing code. Each story now has an "As-Is" table showing what exists and where the gaps are. Key points: - Story 3.5: Transition from BYOK to system-managed models with token billing. BYOK stays for self-hosted mode (deployment_mode=self-hosted), system models + subscription quota for hosted mode. - Story 5.1: Pricing UI exists (Free/PAYG/Enterprise) but needs redesign to subscription tiers (Free/Pro) with monthly/yearly toggle. - Story 5.2: PAYG checkout exists (mode=payment), need NEW subscription endpoint (mode=subscription) with stripe_customer_id binding. - Story 5.3: Webhook infrastructure exists (signature verify, PAYG handlers). Need subscription event handlers (customer.subscription.*) alongside. - Story 5.4: PageLimitService fully implemented. Gap is HTTP-layer pre-check, plan-based limits, frontend quota indicator, and 402 error handling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 1-0-authentication-system.md | ||
| 1-1-project-infrastructure-database-init.md | ||
| 1-2-backend-auth-api-jwt.md | ||
| 1-3-frontend-auth-ui.md | ||
| 1-6-settings-sync.md | ||
| 2-1-celery-worker-pdf-parser.md | ||
| 2-2-upload-api-rate-limiting.md | ||
| 2-3-knowledge-base-ui-micro-sync-indicators.md | ||
| 2-4-delete-document-flow.md | ||
| 3-1-chat-session-api.md | ||
| 3-2-rag-engine-sse-endpoint.md | ||
| 3-3-chat-ui-sse-client.md | ||
| 3-4-split-pane-layout-interactive-citation.md | ||
| 3-5-model-selection-via-quota.md | ||
| 4-1-chat-history-sync.md | ||
| 4-2-graceful-degradation-offline-ui.md | ||
| 4-3-global-network-sync-indicators.md | ||
| 5-1-pricing-plan-selection-ui.md | ||
| 5-2-stripe-payment-integration.md | ||
| 5-3-stripe-webhook-sync.md | ||
| 5-4-usage-tracking-rate-limit-enforcement.md | ||
| sprint-status.yaml | ||