Repository navigation
Commit 3aeab7d
Close the five guard bypasses the M0 review council found
Three independent reviewers (deepseek-r1, openai.gpt-5.6-sol, grok) read the
M0 diff. Their verified findings, each now a failing-then-passing test:
- A branch named lane/m1 or lane/m1x did not match ^lane/m(\d+)- and the
ownership guard SKIPPED instead of failing. A branch under lane/ that is not
lane/m<n>-<slug> now raises MalformedLaneBranchError and the guard fails.
- `git diff --name-only` lists only the new path of a rename, so moving another
lane's file into your own directory passed. Both diffs now run --no-renames,
so the old path is classified as a deletion in its real owner's lane.
- The CLI-example guard cut at the first shell metacharacter anywhere in the
line, truncating quoted arguments like --msg "a | b". It now tokenises with
shlex in punctuation mode and cuts only at an unquoted operator; trailing
comments are dropped the same way the caller's shlex.split does.
- The YAML-key guard skipped any block with no key overlapping the known set,
so a block whose every key was misspelled passed. Skipping is now driven by
an explicit list of non-config marker keys; a self-consistency test asserts
the markers never overlap real keys, and it immediately caught `hosts`,
which shared.py reads from config.yaml.
- The known-key derivation reads loader source statically and is tied to the
identifiers those loaders use; a refactor could shrink it without any doc
noticing. A sentinel test now asserts four keys that must always be present.
Arbitration and the rejected findings (with evidence) are in
reviews/2026-09-02-full-repo-review/SIGNOFF-M0/ARBITRATION.md.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 288a8d1 commit 3aeab7d
3 files changed
Lines changed: 121 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
19 | 29 | | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
23 | | - | |
24 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
25 | 37 | | |
26 | 38 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
30 | 47 | | |
31 | 48 | | |
32 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | 82 | | |
84 | 83 | | |
85 | | - | |
86 | | - | |
| 84 | + | |
| 85 | + | |
87 | 86 | | |
88 | | - | |
89 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
90 | 100 | | |
91 | | - | |
92 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
93 | 115 | | |
94 | 116 | | |
95 | 117 | | |
| |||
446 | 468 | | |
447 | 469 | | |
448 | 470 | | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
449 | 510 | | |
450 | 511 | | |
451 | 512 | | |
| |||
461 | 522 | | |
462 | 523 | | |
463 | 524 | | |
464 | | - | |
| 525 | + | |
| 526 | + | |
465 | 527 | | |
466 | | - | |
467 | | - | |
| 528 | + | |
| 529 | + | |
468 | 530 | | |
469 | 531 | | |
470 | 532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
71 | 87 | | |
72 | 88 | | |
73 | 89 | | |
| |||
168 | 184 | | |
169 | 185 | | |
170 | 186 | | |
171 | | - | |
172 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
173 | 194 | | |
174 | 195 | | |
175 | 196 | | |
| |||
187 | 208 | | |
188 | 209 | | |
189 | 210 | | |
190 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
191 | 215 | | |
192 | 216 | | |
193 | 217 | | |
| |||
0 commit comments