gstack
gstack copied to clipboard
train ready --fixes-base-red accepts case names the gate never matches
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.
Checked