Commit 584fe2e
fix(pm): make dispatch-gates name the repo it answers about, and refuse a contradicted --repo assertion (#11126)
* fix(pm): make dispatch-gates name the repo it answers about, and refuse a contradicted --repo assertion
The tool derives gate families from the tree it runs in and never said so.
Handed a sister repo's paths it returned a confident, well-formed, exit-0
answer about the wrong repo, with no tell — and four of the five repos in
scope hold no copy of the script at all, so every sister-repo dispatch was
exposed to it.
Every derivation now opens with a banner naming the repo and commit the
answer came from, and `--repo <owner>/<name>` turns a caller's expectation
into a checked assertion that refuses, naming both repos, on mismatch. Paths
are repo-relative, so a path's home repo is never guessed: the banner is the
unconditional tell and the assertion is the mechanical one. The no-path
merge-base mode is untouched apart from the banner.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MsbKEG4LtERSLaDrbehM3e
* chore(pm): raise the os-dev.md line ceiling 399→405 per the 2026-08-23 maintainer ruling
The merge group for this PR went red on check-skill-line-ratchet: os-dev.md
composes to 401 lines against main (which #11112 took to 395), and to 405 once
the queued #11137 (395→399) lands ahead of it — each PR green alone, over the
ceiling only in composition. Maintainer ruling, 2026-08-23, on this PR
(option B of the three put to them, verbatim): 「B:提天花板 399→405」 —
keep the +6-line cross-repo caveat and raise the ceiling, quoted in the PR
body as the ratchet requires. Sized to exactly 405 so headroom returns to
zero once both queued PRs land.
Gate + 19-case self-test green at this commit.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MsbKEG4LtERSLaDrbehM3e
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 2d8b92f commit 584fe2e
3 files changed
Lines changed: 382 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
139 | 145 | | |
140 | 146 | | |
141 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
0 commit comments