Files
digital-psychology/.ai/product/feature-spec/ops-moderation-case.md
T
jackyu66git b904e6b04f feat(ECR-030): ContentSafety ModerationCase 只读并 Closed
ModerationCase catalog (000031) · Loop continuous.
2026-08-08 03:15:00 +08:00

42 lines
1.1 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: ContentSafety · ModerationCaseOps · ECR-030
> Status: `Active`Loop continuous · **ECR-030 Closed**
> Parent: WAVE0-FROZEN · Predecessor: ECR-029 Closed
> Capability: `ContentSafety` · BC: `Content_Safety`
> 授权:`docs/WAVE0/LOOP_AUTHORIZATION.md`
## Non-goals
审核写回 · 真 NLP 厂商 · UGC · 真支付
## L2 Domain
| 概念 | 语义 |
|------|------|
| `ModerationCase` | 本切片只读目录;code 唯一(若适用) |
## L3 API
| Method | Path | 权限 | 语义 |
|--------|------|------|------|
| GET | `/admin/content-safety/cases` | `admin.content_safety.read` | 只读 |
| GET | `/admin/content-safety/cases/{id}` | `admin.content_safety.read` | 只读 |
## Migration
`000031`:表 + 种子(若有)(权限复用)
## 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-030.yaml`