Repository navigation
Commit 05e3b98
committed
docs(ci): rest the direct-node invocation on precedent, not on an over-broad #9465 fence
The `Step-collector gate` step comment and the script docblock both claimed
root `package.json` is "declared territory of the @changesets/cli v3 migration
lane (#9465)". That reading is over-broad. The fence's own text scopes it to
that file's `@changesets/cli` range and its `version` script -- the
parenthetical in the issue body is scoping, not illustrative -- so the file
itself is not fenced and a `check:step-collectors` key would have been allowed.
The decision is unchanged and still correct: lint.yml already invokes several
gates as `node scripts/...` directly, and dispatch-gates.mjs derives gate
families from either spelling, so the direct form loses no discovery and adds
no key to the root manifest. Only the stated REASON was wrong.
Worth more than a silent reword, because it is this PR's own defect class one
level up: a comment asserting a constraint nobody verified reads exactly like
a verified one, and propagates to the next agent who reads it -- the same way
a stale knownGap turns into a stale permission. So the accurate scope is now
stated positively next to the decision rather than merely deleted.
Only the two comments I authored are touched; the seven pre-existing instances
of the same phrasing elsewhere in lint.yml are left alone as out of scope.
Part of #10814
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DdCnBGcHeufjrq7drTD3wt1 parent a2a9741 commit 05e3b98
2 files changed
Lines changed: 24 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
661 | 670 | | |
662 | 671 | | |
663 | 672 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
93 | 98 | | |
94 | 99 | | |
95 | 100 | | |
| |||
0 commit comments