Files
digital-psychology/docs/TEST_REPORT/ECR-023.md
T
2026-08-08 01:49:58 +08:00

34 lines
786 B
Markdown

# TEST_REPORT — ECR-023 KnowledgeSource
Date: 2026-08-08 · Loop continuous · commit: `bf1ae8b`
## Commands
```bash
cd apps/api && go test ./internal/integration/ -run TestAICoreKnowledgeSources -count=1
npm run build:admin
python3 scripts/ess-validate.py --phase review --ecr ECR-023
python3 scripts/ess-gate-check.py --ecr ECR-023
```
## Results
| Check | Result |
|-------|--------|
| TestAICoreKnowledgeSources | PASS |
| build:admin | PASS |
| ess-validate review | PASS |
| ess-gate-check | PASS |
## AC
| ID | Evidence |
|----|----------|
| AC-F-01 | list 含 ask_grounding |
| AC-F-02 | get source_kind 合法 |
| AC-F-03 | 未知 id → 404 |
| AC-S-01 | 无 token → 401 |
| AC-S-02 | 仅 users.read → 403 |
| AC-P-01 | list < 500ms |
| AC-O-01 | N/A 只读 |