Skip to content

chore(rulesets): sync tracked specs with live branch and tag rules - #50

Merged
rldyourmnd merged 1 commit into
mainfrom
chore/sync-ruleset-specs
Aug 1, 2026
Merged

chore(rulesets): sync tracked specs with live branch and tag rules#50
rldyourmnd merged 1 commit into
mainfrom
chore/sync-ruleset-specs

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Summary

check_rulesets.py validates the JSON shape but never compares it to the live ruleset, so the two drifted in both directions.

  • branch-main.json claimed squash-only plus required_linear_history. Live is now merge-only with linear history dropped — merge commits are the only method that lands contributor commits with their original SHAs and signatures intact.
  • tag-semver.json omitted the update rule the live tag ruleset carries; the live ruleset was missing the required_signatures the spec declared. Both sides now agree.

Type of change

  • Docs only (ruleset specs; no workflow behavior)

Threat-model note

N/A — no workflow, token scope, or action reference touched.

Permissions diff

N/A — no job permissions: change.

Verification

python3 scripts/validate_all.py — 18/18 OK.

Tier impact

  • Public - [ ] Private free - [ ] Private paid

check_rulesets.py validates the JSON shape but never compares it to the live
ruleset, so the two drifted in both directions.

branch-main.json claimed squash-only plus required_linear_history. The live
rule is now merge-only with linear history dropped: merge commits are the only
method that lands contributor commits with their original SHAs and signatures
intact, which squash and rebase both destroy.

tag-semver.json omitted the update rule the live tag ruleset carries, and the
live ruleset was missing the required_signatures the spec declared. Both sides
now agree: deletion, non_fast_forward, update, required_signatures.

Signed-off-by: rldyourmnd <danil@nddev.it.com>
@rldyourmnd
rldyourmnd merged commit 319d689 into main Aug 1, 2026
10 checks passed
@rldyourmnd
rldyourmnd deleted the chore/sync-ruleset-specs branch August 1, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant