32 lines
747 B
Markdown
32 lines
747 B
Markdown
# TEST_REPORT — ECR-016 UserIntelligence
|
|
|
|
Date: 2026-08-07 · Loop continuous · commit: `61ae3b0`
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
cd apps/api && go test ./internal/integration/ -run TestUserInsight -count=1
|
|
npm run build:admin
|
|
python3 scripts/ess-validate.py --phase review --ecr ECR-016
|
|
```
|
|
|
|
## Results
|
|
|
|
| Check | Result |
|
|
|-------|--------|
|
|
| TestUserInsight | PASS |
|
|
| build:admin | PASS |
|
|
| ess-validate review | PASS |
|
|
|
|
## AC
|
|
|
|
| ID | Evidence |
|
|
|----|----------|
|
|
| AC-F-01 | insight.reports_by_type 含 portrait |
|
|
| AC-F-02 | tags 含 portrait 映射标签 |
|
|
| AC-F-03 | behavior.events=[] 仍 200 |
|
|
| AC-S-01 | 无 token → 401 |
|
|
| AC-S-02 | RequireAdminPermission(admin.users.read) |
|
|
| AC-P-01 | GET insight < 500ms |
|
|
| AC-O-01 | N/A 只读 |
|