Commit e30c07c
docs: record the release-* ruleset, which now exists (#641)
The `Protect stable hotfix branches` ruleset was created after #635 merged
(id 20972632: `refs/heads/release-*`, non_fast_forward, enforcement=active,
empty bypass_actors). CLAUDE.md and quality-check.sh still carried the
warning that `release-X.Y` was unguarded at both layers, which is no longer
true -- and a doc asserting a gap that has been closed misleads exactly as
much as one asserting a guard that does not exist.
Adds the row to the ruleset table and replaces the warning with the reason
for the one asymmetry in it: `release-*` blocks non_fast_forward and
deliberately NOT deletion. The branch is pushed and tagged, so rewriting it
must fail; deleting it once the release is out is ordinary cleanup and must
not. The tag ruleset one row up is what makes dropping the deletion guard
safe -- the published tag pins the released commit.
Careful with the summary line above the table: `--delete release-X.Y` is
still permitted, so "refuse every line above" would be false. It refuses
every REWRITE. Written that way once in this commit's first draft and
corrected before pushing.
Claude-Session: https://claude.ai/code/session_016tGBHZEAfKzP9qoJU4NdNY
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent cd9a08f commit e30c07c
2 files changed
Lines changed: 28 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
334 | | - | |
335 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
336 | 337 | | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
| 343 | + | |
342 | 344 | | |
343 | 345 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
357 | 355 | | |
358 | 356 | | |
359 | 357 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
| |||
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
342 | | - | |
343 | | - | |
| 343 | + | |
| 344 | + | |
344 | 345 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
351 | 352 | | |
352 | 353 | | |
353 | 354 | | |
| |||
0 commit comments