SurfSense/_bmad-output/implementation-artifacts
Vonic e7382b26de docs: rewrite story 3.5 and epic 5 stories to match actual codebase
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>
2026-04-14 14:19:57 +07:00
..
1-0-authentication-system.md update 2026-03-11 19:32:08 +07:00
1-1-project-infrastructure-database-init.md update 2026-04-13 23:17:12 +07:00
1-2-backend-auth-api-jwt.md update 2026-04-13 23:17:12 +07:00
1-3-frontend-auth-ui.md update 2026-04-13 23:17:12 +07:00
1-6-settings-sync.md update 2026-03-11 19:32:08 +07:00
2-1-celery-worker-pdf-parser.md update 2026-04-13 23:17:12 +07:00
2-2-upload-api-rate-limiting.md update 2026-04-13 23:17:12 +07:00
2-3-knowledge-base-ui-micro-sync-indicators.md update 2026-04-13 23:17:12 +07:00
2-4-delete-document-flow.md update 2026-04-13 23:17:12 +07:00
3-1-chat-session-api.md update 2026-04-13 23:17:12 +07:00
3-2-rag-engine-sse-endpoint.md update 2026-04-13 23:17:12 +07:00
3-3-chat-ui-sse-client.md chore: recreate standard BMad stories with corrected names based on sprint status keys 2026-04-13 09:56:30 +07:00
3-4-split-pane-layout-interactive-citation.md update 2026-04-13 23:17:12 +07:00
3-5-model-selection-via-quota.md docs: rewrite story 3.5 and epic 5 stories to match actual codebase 2026-04-14 14:19:57 +07:00
4-1-chat-history-sync.md update 2026-04-13 23:17:12 +07:00
4-2-graceful-degradation-offline-ui.md update 2026-04-13 23:17:12 +07:00
4-3-global-network-sync-indicators.md chore: recreate standard BMad stories with corrected names based on sprint status keys 2026-04-13 09:56:30 +07:00
5-1-pricing-plan-selection-ui.md docs: rewrite story 3.5 and epic 5 stories to match actual codebase 2026-04-14 14:19:57 +07:00
5-2-stripe-payment-integration.md docs: rewrite story 3.5 and epic 5 stories to match actual codebase 2026-04-14 14:19:57 +07:00
5-3-stripe-webhook-sync.md docs: rewrite story 3.5 and epic 5 stories to match actual codebase 2026-04-14 14:19:57 +07:00
5-4-usage-tracking-rate-limit-enforcement.md docs: rewrite story 3.5 and epic 5 stories to match actual codebase 2026-04-14 14:19:57 +07:00
sprint-status.yaml feat: initialize agent and claude skill libraries with comprehensive knowledge bases, workflow templates, and implementation artifacts. 2026-04-13 09:49:58 +07:00