docs(04): create phase plan

This commit is contained in:
2026-06-22 14:20:01 +02:00
parent 0470d500b2
commit fb6e90d78e
5 changed files with 510 additions and 6 deletions
@@ -19,10 +19,11 @@ autonomous: true
requirements: [MRKT-01, MRKT-02, MRKT-04]
must_haves:
truths:
- "User can navigate to /marketplace and see a card grid of all available modules with name, description and category badge"
- "Each card shows whether the module is activated (green status badge) or available for the current tenant"
- "User can navigate to /marketplace and see a card grid of all available modules with name, description and category badge (D-01)"
- "Each card shows whether the module is activated (green status badge) or available for the current tenant (D-01)"
- "Admin can click the activate button on an available module card and it becomes activated (POST /modules/:id/activate)"
- "Modules are grouped/labelled by category via a category badge on each card"
- "Modules are grouped/labelled by category via a category badge on each card (D-01)"
- "Empty state shows friendly illustration + text when no modules available (D-03)"
artifacts:
- path: "apps/web/src/app/(portal)/marketplace/page.tsx"
provides: "Marketplace grid page with parallel fetch of /modules + /modules/active, activation map, role gate"