feat(ECR-038): GrowthInsights ReportTemplate 只读并 Closed

ReportTemplate catalog (000039) · Loop continuous.
This commit is contained in:
jackyu66git
2026-08-08 03:16:57 +08:00
parent b34b4f281f
commit 5de9a7bbe5
26 changed files with 466 additions and 2 deletions
+1
View File
@@ -47,6 +47,7 @@
| [ops-star-config.md](ops-star-config.md) | ExploreConfig StarConfig | §7 | `GET /admin/explore/star-configs*` | Ops-D · **ECR-035 Closed** |
| [ops-rhythm-config.md](ops-rhythm-config.md) | ExploreConfig RhythmConfig | §7 | `GET /admin/explore/rhythm-configs*` | Ops-D · **ECR-036 Closed** |
| [ops-image-card-deck.md](ops-image-card-deck.md) | ExploreConfig ImageCardDeck | §7 | `GET /admin/explore/image-card-decks*` | Ops-D · **ECR-037 Closed** |
| [ops-report-template.md](ops-report-template.md) | GrowthInsights ReportTemplate | §7 | `GET /admin/growth/report-templates*` | Ops-D · **ECR-038 Closed** |
新功能:复制 `_TEMPLATE.md` → 填满 → 在本表登记 → 再编码。
@@ -0,0 +1,41 @@
# Feature Spec: GrowthInsights · ReportTemplateOps · ECR-038
> Status: `Active`Loop continuous · **ECR-038 Closed**
> Parent: WAVE0-FROZEN · Predecessor: ECR-037 Closed
> Capability: `GrowthInsights` · BC: `Explore_Reports`
> 授权:`docs/WAVE0/LOOP_AUTHORIZATION.md`
## Non-goals
模板写发布 · 广告投放 · UGC · 真支付
## L2 Domain
| 概念 | 语义 |
|------|------|
| `ReportTemplate` | 本切片只读目录;code 唯一(若适用) |
## L3 API
| Method | Path | 权限 | 语义 |
|--------|------|------|------|
| GET | `/admin/growth/report-templates` | `admin.growth.read` | 只读 |
| GET | `/admin/growth/report-templates/{id}` | `admin.growth.read` | 只读 |
## Migration
`000039`:表 + 种子(若有) + 授予 admin.growth.read
## L4 AC
| ID | Then |
|----|------|
| AC-F-01 | list 含种子或空列表合法 |
| AC-F-02 | 已知 id get 200 |
| AC-F-03 | 未知 id → 404 |
| AC-S-01 | 无 Admin → 401 |
| AC-S-02 | 无权限 → 403 |
| AC-P-01 | list < 500ms |
| AC-O-01 | N/A 只读 |
contract_diff: `docs/CONTRACT_DIFF/ECR-038.yaml`