Files
gstack/evals/parity/regressions/pr-1102.json
T
2026-07-21 19:19:23 -07:00

22 lines
1.0 KiB
JSON

{
"pr": 1102,
"url": "https://github.com/garrytan/gstack/pull/1102",
"title": "Read the test command from CLAUDE.md instead of hardcoding it",
"targets": [
"ship"
],
"anchor": "GSTACK2_FIX_1102_TEST_COMMAND_FROM_CLAUDEMD",
"body": "### Project-owned test command\n\nResolve the test command from the project, never from a hardcoded stack assumption. Read the CLAUDE.md `## Testing` section first and use the command it declares. If that section is absent, search the project for its actual test entry point (package.json test script, Gemfile rake tasks, pytest configuration, and so on) and use what you find. If no test framework is detectable, print that Step 5 is skipped and continue. Never fall back to a baked-in Rails or Node command against a repository that does not use it.",
"regression": {
"input": {
"claude_md_testing": "bun run test:custom",
"has_package_json": false
},
"expected": {
"test_command": "bun run test:custom",
"source": "CLAUDE.md",
"hardcoded_fallback_used": false
}
}
}