{"id":"c7d6aa7f-437c-4625-a203-b4f1f4ac8450","version_id":"56dd8045-06cf-46d2-84a7-8440d8793a9f","reporter":"mathviz-bug-archive","bug_summary":"[bug-5] CI 失败: package.json test 脚本是 'echo Error: no test specified && exit 1'","root_cause":"npm init -y 默认生成无 test 脚本，CI 逻辑先检查 package.json 再 fallback 到 test_math.js，但 'npm test' 失败后 '||' 接管不会触发 elif fallback","fix_plan":"✓ 已修 (commit 3b532cf): package.json 加 test 脚本 'node tests/test_math.js'。同时加 test:e2e (playwright) 和 test:all (unit + e2e)。","severity":"low","status":"fixed","decision":"keep_as_is","reused_in_projects":[],"decided_at":"2026-06-22T02:02:23.255890","created_at":"2026-06-22T02:00:17.363049","requirement_id":null}