Commit 638ea04
docs(agents): a negative
* docs(agents): a negative `--is-ancestor` reading is void without a positive control
`git merge-base --is-ancestor` is a one-bit answer with no error channel for "I
could not see far enough": in a shallow clone it answers exit 1 for a commit that
IS in the target's history, silently, at a normal exit code. The failure is
one-directional — missing objects can only withhold an ancestry path, never invent
one — so exit 0 stands in any clone and only exit 1 needs a control leg. That is
the direction the premise checks devs are ordered to run ("not released yet", "not
on main", `Blocked-by`) actually ask for.
Sits beside the existing shallow-clone guard for `log -S`/`--follow`/`blame` and
echoes its `--is-shallow-repository` spelling rather than adding a second one,
with the measured caveat that the depth read is a cheap trigger and the control
leg is the verdict.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
* docs(agents): wrap the new clause to the ratchet's 120-byte line budget
`check:pm-skill-ratchet` prices a per-session token read in BYTES, not display
columns, so the CJK lines landed at 137-140B against a 120B budget. Re-wrapped at
legal break points (spaces, and between two CJK characters) with the content
byte-identical — 8 lines become 9; the file is 459 of a 469 ceiling.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
---------
Co-authored-by: Claude <noreply@anthropic.com>--is-ancestor reading is void without a positive control (#15355)1 parent 3bd9b34 commit 638ea04
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
232 | 241 | | |
233 | 242 | | |
234 | 243 | | |
| |||
0 commit comments