Files
digital-psychology/docs/TEST_REPORT/ECR-017.md
T
jackyu66gitandCursor 00a798bd85 feat(ECR-017): AskOperations 问答会话只读并 Closed
新增 admin.ask.read、GET /admin/ask/threads*(AskSessionView)与 admin-h5「问答」页;禁改消息/UGC/真支付。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 18:39:37 +08:00

32 lines
720 B
Markdown

# TEST_REPORT — ECR-017 AskOperations
Date: 2026-08-07 · Loop continuous · commit: (pending)
## Commands
```bash
cd apps/api && go test ./internal/integration/ -run TestAskOperations -count=1
npm run build:admin
python3 scripts/ess-validate.py --phase review --ecr ECR-017
python3 scripts/ess-gate-check.py --ecr ECR-017
```
## Results
| Check | Result |
|-------|--------|
| TestAskOperations | PASS |
| build:admin | PASS |
| ess-validate review | PASS |
## AC
| ID | Evidence |
|----|----------|
| AC-F-01 | list 含 thread · message_count≥1 |
| AC-F-02 | detail ≥2 messages |
| AC-S-01 | 无 token → 401 |
| AC-S-02 | 仅 users.read → 403 |
| AC-P-01 | list &lt; 500ms |
| AC-O-01 | N/A 只读 |