复用 admin.explore.write、POST/PUT+审计、C端 GET /rhythm/configs、 H5 无 active 空态/失败回退;migration 000053。ExploreConfig Loop STOP,禁自动 ECR-045。 Co-authored-by: Cursor <cursoragent@cursor.com>
43 lines
1.1 KiB
Markdown
43 lines
1.1 KiB
Markdown
# Feature Spec: ExploreConfig · RhythmConfig(Ops · ECR-036)
|
||
|
||
> Status: `Active`(Loop continuous · **ECR-036 Closed**)
|
||
> **写面:** [ops-rhythm-config-write.md](ops-rhythm-config-write.md)(**ECR-044**)
|
||
> Parent: WAVE0-FROZEN · Predecessor: ECR-035 Closed
|
||
> Capability: `ExploreConfig` · BC: `Explore_Reports`
|
||
> 授权:`docs/WAVE0/LOOP_AUTHORIZATION.md`
|
||
|
||
## Non-goals
|
||
|
||
配置写发布 · UGC · 真支付
|
||
|
||
## L2 Domain
|
||
|
||
| 概念 | 语义 |
|
||
|------|------|
|
||
| `RhythmConfig` | 本切片只读目录;code 唯一(若适用) |
|
||
|
||
## L3 API
|
||
|
||
| Method | Path | 权限 | 语义 |
|
||
|--------|------|------|------|
|
||
| GET | `/admin/explore/rhythm-configs` | `admin.explore.read` | 只读 |
|
||
| GET | `/admin/explore/rhythm-configs/{id}` | `admin.explore.read` | 只读 |
|
||
|
||
## Migration
|
||
|
||
`000037`:表 + 种子(若有)(权限复用)
|
||
|
||
## 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-036.yaml`
|