Files
digital-psychology/.ai/product/feature-spec/ops-star-config.md
T
jackyu66gitandCursor f492088237 docs(ECR-043): StarConfig 写面 Spec Ready(先不写码)
Human 批准 ExploreConfig Loop 仅限 043;Closed 后 STOP 禁自动 044;边界排除 Rhythm/Card/Scale/Prompt。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 20:07:58 +08:00

43 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Feature Spec: ExploreConfig · StarConfigOps · ECR-035 只读基线)
> Status: `Active`**ECR-035 Closed** · 只读)
> **写面:** [ops-star-config-write.md](ops-star-config-write.md)**ECR-043** · Spec Ready
> Parent: WAVE0-FROZEN · Predecessor: ECR-034 Closed
> Capability: `ExploreConfig` · BC: `Explore_Reports`
> 授权(只读队列):`docs/WAVE0/LOOP_AUTHORIZATION.md`
## Non-goals(本只读 Spec
配置写发布(见 ECR-043)· 引擎改分层 · UGC · 真支付
## L2 Domain
| 概念 | 语义 |
|------|------|
| `StarConfig` | 本切片只读目录;code 唯一(若适用) |
## L3 API
| Method | Path | 权限 | 语义 |
|--------|------|------|------|
| GET | `/admin/explore/star-configs` | `admin.explore.read` | 只读 |
| GET | `/admin/explore/star-configs/{id}` | `admin.explore.read` | 只读 |
## Migration
`000036`:表 + 种子(若有) + 授予 admin.explore.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 &lt; 500ms |
| AC-O-01 | N/A 只读 |
contract_diff: `docs/CONTRACT_DIFF/ECR-035.yaml`