Commit a68a882
test: full QA framework execution — R0–R6 coverage + E2E fixes + CI/CD
Phase R0 — Security infrastructure (55 tests):
- api-route-access.test.ts: 28 tests (ARA-001–028)
- request-origin.test.ts: 27 tests (RQORG-001–027)
Phase R1 — LLM provider adapters (135 tests):
- ollama, openai, anthropic, llamacpp, lmstudio, moonshot, zai, errors
- Full validateConfig/testConnection/execute/estimateCost coverage
Phase R2 — Database repositories (51 tests):
- user.repository: UREPO-001–016 (password hashing, SafeUser projection)
- audit.repository: AUDIT-001–014 (append-only, PII redaction)
- scoreboard.repository: SCORE-001–010
- test-case.repository: TC-001–011
Phase R5 — Cross-package integration + fixtures (37 tests):
- cross-package-integration: XPKG-001–012 (real scanner integration)
- fixture-categories-extended: FCAT-001–025 (5 new categories)
Phase R4 — CI/CD:
- GitHub Actions workflow with unit + coverage + E2E jobs
- Coverage thresholds: bu-tpi 80%, dojolm-web 70%
Phase R6 — Lint/quality:
- 19 lint warnings resolved → 0 warnings
- aria-selected, useMemo deps, <Image>, timersRef cleanup
E2E fixes (14 specs):
- Scan timeouts: 90s budget for scanner/shingan/test-lab
- Guard: auto-enable before toggle/threshold tests
- Sensei drawer: animation wait + focus before Escape
- Compliance: 30–40s waits for data load
- Mobile nav: full aria-label names
- kumite/llm-dashboard/atemi/kotoba/sengoku: timeout + networkidle
Security:
- npm audit fix: picomatch (HIGH ReDoS), brace-expansion, yaml — 0 vulns
- batch route params: Next.js 15 async params fixed
- file-storage.ts: createBatch always sets status: 'pending'
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8bfd41b commit a68a882
File tree
27 files changed
+627
-75
lines changed- .github/workflows
- packages
- bu-tpi/src/validation/generators/__tests__
- dojolm-web
- e2e
- src
- components
- adversarial
- attackdna
- dashboard
- widgets
- scanner
- strategic
- arena
- lib
- __tests__
- contexts
- db
- sensei
- storage
27 files changed
+627
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
55 | 68 | | |
56 | 69 | | |
57 | 70 | | |
58 | 71 | | |
59 | 72 | | |
60 | 73 | | |
61 | | - | |
| 74 | + | |
62 | 75 | | |
63 | 76 | | |
64 | 77 | | |
| |||
117 | 130 | | |
118 | 131 | | |
119 | 132 | | |
120 | | - | |
| 133 | + | |
121 | 134 | | |
122 | 135 | | |
123 | 136 | | |
| |||
145 | 158 | | |
146 | 159 | | |
147 | 160 | | |
148 | | - | |
| 161 | + | |
149 | 162 | | |
150 | 163 | | |
151 | 164 | | |
| |||
177 | 190 | | |
178 | 191 | | |
179 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
0 commit comments