test(ms-ai-architect): playground v3 parser fixture tests + run-e2e integration [skip-docs]
Step 15 (Wave 5).
tests/test-playground-parsers.sh (new):
- Iterates 17 expected fixtures (canonical archetype-routing list).
- Validates each present + >= 20 lines + has section headers (## ).
- Graceful-degrade: missing fixtures yield warn, not fail.
- Greps 14 parser-function names + window.__PARSERS exposure.
- Validates all 14 archetype routing keys in PARSERS object
(aiact, requirements-list, text-document, fria, conformity-checklist,
matrix-risk, matrix-risk-6x5, findings, cost-distribution, capability,
phased-plan, markdown, verdict, comparison).
- Validates handlePasteImport function + window.__handlePasteImport.
- Bash 3.2-compatible. Result: 70/70 PASS.
tests/run-e2e.sh (modify):
- Adds --playground flag dispatching test-playground-v3.sh +
test-playground-parsers.sh.
- --all and no-arg invocation both include the new suite.
Verify: bash tests/run-e2e.sh --playground -> exit 0 (170 + 70 PASS).