Commit e007729
authored
feat(test-classifier): local --unpushed run + align path lettering with security (#52)
Add a true no-PR local path so a developer can classify failing tests on their
own machine against whatever they haven't pushed yet (committed + staged), the
testing counterpart to the security runner's --unpushed:
- ai-classifier-dispatch.sh: port resolve_unpushed_base(), add --unpushed
(sets base + INCLUDE_STAGED), and teach the diff helpers base->index
(committed + staged) vs base->HEAD.
- test-classifier-dispatcher.sh: skip PR discovery on --unpushed, export
AI_REVIEW_DIFF_RANGE so the AI diffs exactly what the dispatcher accounts for
(incl. staged), keep the run report-only (no PR to post to), and fix --help
erroring on PR lookup before reaching the help text.
- docs/LOCAL_TEST_CLASSIFIER.md: new guide + one-word `test-classifier` zsh
function, mirroring LOCAL_SECURITY_REVIEW.md.
Renumber the paths to match the security bundle (A = local developer run,
B = reusable CI workflow), so SETUP.md's "mirrors PR_REVIEW_SETUP step for step"
is actually true. Reconciled every Path A/B reference across SETUP.md, README,
BEDROCK.md, and LOCAL_TEST_CLASSIFIER.md; INSTALL.txt was already on this
convention.1 parent 4afea24 commit e007729
6 files changed
Lines changed: 402 additions & 136 deletions
File tree
- testing/classifier
- .skills
- _lib
- test-classifier/scripts
- docs
Lines changed: 64 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
99 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
100 | 130 | | |
101 | 131 | | |
102 | 132 | | |
103 | 133 | | |
| 134 | + | |
104 | 135 | | |
105 | 136 | | |
106 | 137 | | |
| |||
125 | 156 | | |
126 | 157 | | |
127 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
128 | 170 | | |
129 | 171 | | |
130 | 172 | | |
| |||
158 | 200 | | |
159 | 201 | | |
160 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
161 | 208 | | |
162 | 209 | | |
163 | 210 | | |
| |||
227 | 274 | | |
228 | 275 | | |
229 | 276 | | |
230 | | - | |
| 277 | + | |
| 278 | + | |
231 | 279 | | |
232 | 280 | | |
233 | 281 | | |
234 | 282 | | |
235 | 283 | | |
236 | 284 | | |
237 | | - | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
238 | 290 | | |
239 | 291 | | |
240 | 292 | | |
241 | 293 | | |
242 | 294 | | |
243 | 295 | | |
244 | 296 | | |
245 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
246 | 302 | | |
247 | 303 | | |
248 | 304 | | |
249 | 305 | | |
250 | 306 | | |
251 | 307 | | |
252 | 308 | | |
253 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
254 | 314 | | |
255 | 315 | | |
256 | 316 | | |
| |||
Lines changed: 43 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| |||
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
119 | 131 | | |
120 | 132 | | |
121 | 133 | | |
| |||
148 | 160 | | |
149 | 161 | | |
150 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
151 | 168 | | |
152 | | - | |
| 169 | + | |
| 170 | + | |
153 | 171 | | |
154 | 172 | | |
155 | 173 | | |
| |||
240 | 258 | | |
241 | 259 | | |
242 | 260 | | |
243 | | - | |
244 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
245 | 264 | | |
246 | | - | |
247 | | - | |
| 265 | + | |
| 266 | + | |
248 | 267 | | |
249 | 268 | | |
250 | 269 | | |
| |||
295 | 314 | | |
296 | 315 | | |
297 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
298 | 324 | | |
299 | 325 | | |
300 | 326 | | |
| |||
511 | 537 | | |
512 | 538 | | |
513 | 539 | | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
514 | 550 | | |
515 | 551 | | |
516 | 552 | | |
| |||
555 | 591 | | |
556 | 592 | | |
557 | 593 | | |
558 | | - | |
| 594 | + | |
559 | 595 | | |
560 | 596 | | |
561 | 597 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
119 | | - | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| |||
0 commit comments