train ready --fixes-base-red accepts case names the gate never matches
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
Research direction
Start with crew/lib/ship-queue-train-cli.ts lines 81–93 and compare the accepted case names with the gate test-record keys described in the issue. Then check the wording in crew/docs/captain.md line 792 and captain/templates/merge-train-peer.md line 37. Done when ready handles invalid or normalized names clearly, or the docs direct lanes to copy the verdict's red= list.
Written by the indexing model from the issue text.
Description
What happens
gstack-ship-queue train ready --fixes-base-red <file> accepts any case names. A lane copies the names from vitest's FAIL lines, which look like file > describe > case. The gate's test-record keys look like ci.yml:file.describe > case, so none of the names match. The train still seats the fixer at slot 1 (BASE_RED: fixer) and then returns RED-ON-MAIN, and nothing explains why.
Where (at e394c3f)
crew/lib/ship-queue-train-cli.tslines 81-93 read the file but never check the names against the known gate keys.crew/docs/captain.md:792andcaptain/templates/merge-train-peer.md:37say "gate cases" but don't say where the exact key comes from.
Possible fixes
readynormalizes vitest-style names to gate keys, or refuses names that match no known key and lists the valid ones.- The docs tell lanes to copy names from the train verdict's
red=list.
Workaround today: copy the names from the verdict's red= list.
Seen on two consecutive trains in a downstream repo on 2026-12-01.
- Dominant language
- TypeScript
- Stars
- 143k
- Forks
- 21.1k
- Avg merge
- 4h 18m
- Merged PRs (30d)
- 745
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from garrytan/gstack
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
garrytan/gstack#4986 · 2 comments ·
Maintainers usually reply within 1 day
-
[feature] Lane discipline: name the return for a mid-build finding that defeats the approved planOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
garrytan/gstack#4985 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Add: Alfa DramasOpencheck:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maduki-tech/bautackt#4 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
moq-dev/moq#10463 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day