Existing issue check
Current audit
ConaryLabs is on GitHub Team with four public repositories and one private repository. Conary already has an active repository ruleset on main requiring pull requests, resolved review threads, and the fmt, clippy, workspace-tests, docs-truth, and frontends checks; it also blocks deletion/non-fast-forward updates and has secret scanning plus push protection enabled.
Because Conary is public, Team does not materially change its Actions-minute, environment, CODEOWNERS, or repository-rules availability. The useful upgrade-specific capability is an organization-level ruleset that can cover public and private repositories, including Cairn and future repositories. Team also permits push rulesets for private/internal repositories.
The current CLI credential has read:org, repo, and workflow, but not admin:org; organization-ruleset API calls therefore cannot be applied from the current session until that scope is explicitly granted.
Outcome
Every active ConaryLabs repository inherits a small, visible, non-bypass-by-accident baseline while repository-specific CI requirements remain local to each project.
Scope
- organization branch ruleset targeting the default branch of active repositories
- block branch deletion and non-fast-forward updates
- require a pull request and resolution of review threads
- retain repository-specific required checks rather than pretending every repo has Conary's jobs
- define an explicit, narrow emergency bypass actor/mode and audit its use
- protect release tags from deletion/non-fast-forward updates using exact per-project tag grammars
- assess a private-repository push ruleset for oversized files and credential/build-output paths without blocking legitimate artifacts
- leave archived Mira excluded
- document the effective organization baseline in this repository
Deliberate non-goal
Do not require an approving human review while the organization has one active maintainer. That would add no independent review and would normalize bypassing the rule. Add approval-count/CODEOWNERS enforcement when a second accountable reviewer exists.
Acceptance criteria
Sources
Existing issue check
Current audit
ConaryLabs is on GitHub Team with four public repositories and one private repository. Conary already has an active repository ruleset on
mainrequiring pull requests, resolved review threads, and thefmt,clippy,workspace-tests,docs-truth, andfrontendschecks; it also blocks deletion/non-fast-forward updates and has secret scanning plus push protection enabled.Because Conary is public, Team does not materially change its Actions-minute, environment, CODEOWNERS, or repository-rules availability. The useful upgrade-specific capability is an organization-level ruleset that can cover public and private repositories, including Cairn and future repositories. Team also permits push rulesets for private/internal repositories.
The current CLI credential has
read:org,repo, andworkflow, but notadmin:org; organization-ruleset API calls therefore cannot be applied from the current session until that scope is explicitly granted.Outcome
Every active ConaryLabs repository inherits a small, visible, non-bypass-by-accident baseline while repository-specific CI requirements remain local to each project.
Scope
Deliberate non-goal
Do not require an approving human review while the organization has one active maintainer. That would add no independent review and would normalize bypassing the rule. Add approval-count/CODEOWNERS enforcement when a second accountable reviewer exists.
Acceptance criteria
admin:orgauthority needed to manage organization rulesets..github, Cairn, and newly created repositories receive the default-branch baseline; archived Mira is excluded.Protect mainruleset is not weakened or duplicated inconsistently.Sources