You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rulesets as code, and one source of branch protection #117
Export the main-protection ruleset to .github/rulesets/; remove the legacy branch protection that duplicates it; remove the admin "always" bypass (rvt-rs removed its own on 2026-10-05 after a bypass merged without the required checks); allow auto-merge so the strict up-to-date queue can land Dependabot PRs.
State on main (2026-10-21)
A ruleset and a legacy protection rule both guard main; the ruleset lets admins bypass always; auto-merge is off.
Acceptance
The live ruleset equals its file (the audit checks it)
PR #213 merged as ab1d42b029a34e9b030b68fa2c334c6728df2935 (GitHub-verified signature). Its ruleset file is an exact normalized match for the live ruleset, preserving all current restrictions and adding the required Streaming E2E check. Bypass actors are empty. The legacy branch-protection endpoint returns 404 and repository auto-merge is enabled. All three acceptance criteria above are met. The merged tree exactly matches the checked candidate e7c3df45bbb7c9af56de3297b342e080e32baf9f.
One source of protection: the legacy branch protection required three checks the ruleset did not (Test on macOS and on Windows, Verify MSRV (1.85)) and resolved review threads. It also allowed force pushes, which the ruleset forbids. The ruleset now requires all nine checks plus resolved threads, through a pull_request rule (squash only, no approvals). The legacy protection is deleted: GET /branches/main/protection answers "Branch not protected", and the ruleset alone governs main.
Left: the ruleset's admin bypass (RepositoryRole 5, always). rvt-rs removed its own after an admin merge skipped the required checks. Removing it here means admin merges need green checks too; that is the owner's call.
The admin bypass is removed too (bypass_actors: []), so an admin merge needs the same green checks. Every item of this issue is done; it closes when the follow-up PR updates .github/rulesets/main-protection.json to the live ruleset.
Stranded-branch note: the local branch ci/spec-coverage-check carried a51622b (this issue's ruleset file plus a docs/maintaining.md paragraph). The ruleset file reached main through #213 (ab1d42b), extended with Streaming E2E, and matches the live ruleset. The prose never did; #220 brings it, updated to the ten required checks. The local branch is deleted.
Activity
DrunkOnJava commentedon Oct 21, 2026
Done 2026-10-21:
.github/rulesets/main-protection.json(docs(roadmap): milestones to 1.0, a coverage matrix for every ODA spec section, and the tracker's rules #198, updated in the follow-up PR to the live ruleset below).pull_requestrule (squash only, no approvals). The legacy protection is deleted:GET /branches/main/protectionanswers "Branch not protected", and the ruleset alone governs main.Left: the ruleset's admin bypass (
RepositoryRole 5, always). rvt-rs removed its own after an admin merge skipped the required checks. Removing it here means admin merges need green checks too; that is the owner's call.DrunkOnJava commentedon Oct 21, 2026
The admin bypass is removed too (
bypass_actors: []), so an admin merge needs the same green checks. Every item of this issue is done; it closes when the follow-up PR updates.github/rulesets/main-protection.jsonto the live ruleset.docs(streaming): publish measured scope and require streaming proof
feat(streaming): bounded file-header state machine, sources and check…
DrunkOnJava commentedon Oct 26, 2026
Stranded-branch note: the local branch
ci/spec-coverage-checkcarrieda51622b(this issue's ruleset file plus adocs/maintaining.mdparagraph). The ruleset file reachedmainthrough #213 (ab1d42b), extended with Streaming E2E, and matches the live ruleset. The prose never did; #220 brings it, updated to the ten required checks. The local branch is deleted.docs(maintaining): main is governed by the main-protection ruleset al…