Commit 51bc005
committed
tooling(pm): run the sweep's own self-test before it writes, and refuse unknown flags
`check-self-test-wired` is the gate that settles where the self-test belongs:
CI runs this script, so CI must run its cases. The patrol step now runs them
first and skips the sweep entirely if they fail -- this step writes to other
people's cards, and a broken predicate that still runs is the one failure the
next run cannot undo.
The CLI gains `--dry-run` as a real flag so the workflow can name the mode it
is in, and refuses any argument it does not know: a caller who believes it
passed a mode flag and did not must not get a run that looks ordinary.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox1 parent 7078fc0 commit 51bc005
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
292 | 314 | | |
293 | 315 | | |
294 | 316 | | |
| |||
0 commit comments