Commit 6952e21
committed
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_01MsbKEG4LtERSLaDrbehM3e1 parent 422f997 commit 6952e21
2 files changed
Lines changed: 378 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
140 | 146 | | |
141 | 147 | | |
142 | 148 | | |
| |||
0 commit comments