[WIP] Add multi-vendor marketplace functionality to StormCom #59
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Original prompt
This section details on the original issue you should resolve
<issue_title>[Phase 5] Epic: Advanced Reliability</issue_title>
<issue_description>## Priority: P3
Phase: 3
Type: Epic
Overview
Epic Goal: Transform StormCom into a multi-vendor marketplace platform enabling independent sellers to list products, manage inventory, and fulfill orders while the platform owner collects commission fees and provides shared infrastructure.
This epic targets:
Business Value
Child Issues
Phase 3.1 - Vendor Management (4 issues, 10 days)
Issue [WIP] Add RBAC and scoped API tokens for multi-tenant authorization #75: Vendor Onboarding & KYC (3 days)
Issue [WIP] Implement cache tags and product summary denormalization #76: Vendor Product Management (2 days)
Issue [WIP] Add webhook infrastructure with delivery guarantees #77: Vendor Order Fulfillment (3 days)
Issue [WIP] Establish observability baseline with structured logging and metrics #78: Vendor Payouts (2 days)
Phase 3.2 - Commission & Finance (3 issues, 7 days)
Issue [WIP] Implement rate limiting and throttling controls #79: Commission Engine (3 days)
Issue [WIP] Introduce refund and return workflow primitives #80: Split Payments (2 days)
Issue [WIP] Establish tracking for integrity foundations and risk matrix #81: Financial Reporting (2 days)
Phase 3.3 - Marketplace Features (4 issues, 9 days)
Issue Add unified Prisma schema with performance indexes for multi-tenant queries #82: Vendor Storefront (3 days)
/vendors/acme-store)Issue Implement Product CRUD API with variants, CSV import, and image upload #83: Vendor Reviews & Ratings (2 days)
Issue [Phase 1] Product Dashboard UI with variant manager, image upload, and bulk actions #84: Multi-Vendor Cart & Checkout (2 days)
Issue ## Pull request overview #85: Vendor Analytics Dashboard (2 days)
Acceptance Criteria (Epic Level)
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.