Commit 0bffdae
`check-changeset-no-major.mjs` read the whole `.changeset` directory with no
branch point, so its verdict was a function of what main carried rather than of
what the author wrote. Dormant while pre-mode holds; at `changeset pre exit` it
would have failed every unlabelled PR in the repo, each listing 172 pending
major changesets it never touched, with `allow-major` as the only route out.
Judge only what the diff introduces, starting at `merge-base(base, head)` —
the machinery `check-empty-changeset.mjs` already carries for #6129, reused
rather than reinvented. The pending stock is exempt with no roster.
Claude-Session: https://claude.ai/code/session_01F8q5J1MQyocgtNspb15fSn
Co-authored-by: os-dev <dev@objectstack.ai>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 17a0a1e commit 0bffdae
2 files changed
Lines changed: 751 additions & 124 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
825 | 836 | | |
826 | 837 | | |
827 | 838 | | |
828 | 839 | | |
829 | | - | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
0 commit comments