Commit fcdbc6d
committed
fix(gates): answer PREREQUISITE NOT MET with the frame's exit code in the last three i18n gates
`#13983` moved `scripts/import-prerequisite.mjs` -- the frame 45 gates inherit --
onto `EXIT_PREREQUISITE_NOT_MET` (3), joining the five sibling sites that already
meant 3 by those two words. Three gates still answered them with 1:
- `scripts/check-i18n-coverage.mjs` 3 refusal paths
- `scripts/check-i18n-bundles.mjs` 1
- `packages/cli/scripts/check-app-nav-i18n.mjs` 1
All five now import `EXIT_PREREQUISITE_NOT_MET` / `EXIT_FINDINGS` from that frame
rather than re-picking them, so there is no new literal 3 in the diff, and each
printed advisory announces the code it actually exits with. The real-verdict and
self-test exits in these files are untouched; only the refusals that already say
"nothing was measured" moved.
`packages/cli/scripts/check-app-nav-i18n.mjs` also takes the converged pipe-shape
paragraph (`#13429`'s, verbatim apart from this gate's own command). Its old
sentence prescribed `echo "EXIT=$?"` without saying WHERE, so a reader who did
the natural thing read `tail`'s status -- the exact false green the prescription
exists to prevent. The census `git grep -l "no pipe shape repairs it"` goes 7
files to 8, and the census-negative string now has zero hits under `scripts/**`
and `packages/**`.
The lane doc `.claude/skills/pm-dispatch/references/lanes/services.md:22` keyed on
the old number, so it moves in the same stroke rather than starting to lie.
Governed surface: this lands as a draft for a human merge.
Cards: `#14008` (the exit code) and `#13825` (the banner wording) -- declared once
in the PR body, since this branch squashes.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LAwHpn4uVuf4N1geBcD5i31 parent f3ae441 commit fcdbc6d
4 files changed
Lines changed: 68 additions & 19 deletions
File tree
- .claude/skills/pm-dispatch/references/lanes
- packages/cli/scripts
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| |||
605 | 609 | | |
606 | 610 | | |
607 | 611 | | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
608 | 631 | | |
609 | 632 | | |
610 | 633 | | |
| |||
617 | 640 | | |
618 | 641 | | |
619 | 642 | | |
620 | | - | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
621 | 650 | | |
622 | | - | |
| 651 | + | |
623 | 652 | | |
624 | 653 | | |
625 | 654 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
971 | 972 | | |
972 | 973 | | |
973 | 974 | | |
974 | | - | |
975 | | - | |
976 | | - | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
977 | 984 | | |
978 | 985 | | |
979 | 986 | | |
| |||
1005 | 1012 | | |
1006 | 1013 | | |
1007 | 1014 | | |
1008 | | - | |
| 1015 | + | |
| 1016 | + | |
1009 | 1017 | | |
1010 | 1018 | | |
1011 | 1019 | | |
1012 | 1020 | | |
1013 | 1021 | | |
1014 | 1022 | | |
1015 | | - | |
| 1023 | + | |
1016 | 1024 | | |
1017 | 1025 | | |
1018 | 1026 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
1141 | 1142 | | |
1142 | 1143 | | |
1143 | 1144 | | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
1147 | 1154 | | |
1148 | 1155 | | |
1149 | 1156 | | |
| |||
1172 | 1179 | | |
1173 | 1180 | | |
1174 | 1181 | | |
1175 | | - | |
| 1182 | + | |
1176 | 1183 | | |
1177 | 1184 | | |
1178 | 1185 | | |
1179 | 1186 | | |
1180 | 1187 | | |
1181 | 1188 | | |
1182 | 1189 | | |
1183 | | - | |
| 1190 | + | |
1184 | 1191 | | |
1185 | 1192 | | |
1186 | 1193 | | |
| |||
1198 | 1205 | | |
1199 | 1206 | | |
1200 | 1207 | | |
1201 | | - | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
1202 | 1212 | | |
1203 | 1213 | | |
1204 | 1214 | | |
| |||
1232 | 1242 | | |
1233 | 1243 | | |
1234 | 1244 | | |
1235 | | - | |
| 1245 | + | |
1236 | 1246 | | |
1237 | 1247 | | |
1238 | 1248 | | |
1239 | 1249 | | |
1240 | 1250 | | |
1241 | 1251 | | |
1242 | 1252 | | |
1243 | | - | |
| 1253 | + | |
1244 | 1254 | | |
1245 | 1255 | | |
1246 | 1256 | | |
| |||
1253 | 1263 | | |
1254 | 1264 | | |
1255 | 1265 | | |
1256 | | - | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
1257 | 1269 | | |
1258 | 1270 | | |
1259 | 1271 | | |
| |||
1266 | 1278 | | |
1267 | 1279 | | |
1268 | 1280 | | |
1269 | | - | |
| 1281 | + | |
1270 | 1282 | | |
1271 | 1283 | | |
1272 | 1284 | | |
1273 | 1285 | | |
1274 | 1286 | | |
1275 | 1287 | | |
1276 | 1288 | | |
1277 | | - | |
| 1289 | + | |
1278 | 1290 | | |
1279 | 1291 | | |
1280 | 1292 | | |
| |||
0 commit comments