chore(openspec): archive add-points-mall

Sync the points-mall capability plus the frontend-mall and frontend-admin
requirements into the main specs, and write the capability Purpose the archive
leaves as a placeholder.
This commit is contained in:
2026-09-18 12:43:18 +00:00
parent f70d1e506a
commit 82c1e8e4bb
10 changed files with 60 additions and 6 deletions
+12
View File
@@ -2,7 +2,9 @@
## Purpose
The platform console for managing users, shops and currencies.
## Requirements
### Requirement: Platform user and shop management
Platform admins SHALL assign user roles (with shop scope), create shops, and suspend/activate shops. Suspended shops' products MUST NOT be purchasable (enforced by API, reflected in UI).
@@ -17,3 +19,13 @@ Platform admins SHALL view currencies and update exchange rates; new rates affec
- **WHEN** an admin updates CNY rate_to_base
- **THEN** the mall conversion endpoint returns amounts computed with the new rate
### Requirement: Platform points mall management
Platform admins SHALL manage points products and inspect and fulfill redemption orders through the admin console using the shared API contract. Admin SHALL expose points-mall navigation beside existing platform operations.
#### Scenario: manage a redemption catalog item
- **WHEN** a platform admin publishes a configured points product
- **THEN** it becomes available in the customer points mall
#### Scenario: points mall appears in admin navigation
- **WHEN** an authenticated platform admin opens the admin console
- **THEN** points-product and redemption-order management are reachable from the console nav