Repository navigation
chore: manage ANS teams and repository settings - #8
Conversation
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
kperry-godaddy
left a comment
There was a problem hiding this comment.
Moving team rosters and branch protections into reviewed YAML is the right shape for the governance transition, and the form's refusal to guess CI checks or silently drop an App binding is the part of this I'd most want to keep. What shapes my read is that the automation fails on first contact in two places: the first PR the form generates fails its own required check, and the Peribolos steps abort while the two legacy teams still exist. Both are small fixes. The third item is a decision rather than a fix: two new tsc members arrive in peribolos.yml without mention in the description or in #7.
Re-checked at edbbcb1 after the reviewer-team commits landed: validate, 18 JS tests, 5 Python tests and actionlint pass; every action pin and the Peribolos image digest match their tags; the Safe Settings pin is exactly release 3.0.0 and supports every feature the config relies on; both license texts are word-identical to the canonical copies. The Testing section reproduces.
Eleven notes inline, two with suggestions that can be committed as-is. The first three (manage.test.mjs, org-management.yml, peribolos.yml) are the ones I'd settle before merge; the rest are activation checks and cleanups.
One structural note with no line to hang it on: this bundles four separable units (community documents and licenses, the contribution-policy workflow, Peribolos plus its workflow, Safe Settings plus the form), 43 files in all. Fine for bootstrapping a new repository, but from here on changes to any one of them should land alone so each stays independently revertible.
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
Signed-off-by: Connor Snitker <csnitker@godaddy.com>
kperry-godaddy
left a comment
There was a problem hiding this comment.
Approving at 5df8aa1. Every thread from the first pass is addressed, and I re-ran validate, the 24 JavaScript tests, the 5 Python tests and actionlint at this head. The snapshot test is gone and the suite stays green when a repository is added to the settings scope or a check list changes, so the form can no longer break its own PR. The 14 live teams now match the 14 Peribolos keys exactly, so the removal-delta failure mode is cleared as well as documented.
On Checks write: I had that wrong. At the pinned Safe Settings commit a non-nop full sync ends in a Safe-Settings check run on the admin repository, so the permission is required. Thanks for the correction and the README note.
The merge-queue concern reproduced on ans#148 (four queue ejections before the queue was removed), and moving to direct merges with strict up-to-date checks is a cleaner model than trying to make the two coexist.
Three caveats for the activation runbook rather than this merge:
- The
exemptbypass mode skips rule evaluation and the bypass audit entry on the update gate. Approval and status-check rulesets still have no bypass actors, so protection holds, but the audit trail for bypasses on the update gate is gone by design. Worth a conscious sign-off from the TSC. - No pull request has merged since the Maintainer-merge rulesets switched to
exemptat 18:22 UTC; ans#148 merged under the earlierpull_requestmode. One real merge under the live configuration would close that gap. OpenShell #19 is nowBEHINDrather thanCLEAN, which is the new strict policy doing its job. - The TSC.md roster the description cites sits on the open governance import PR, not on
main. Fine for this review, but the roster should land before the first apply so the source of truth is the merged document.
Two loose ends outside this diff: the seven dco-merge-group.yml shims in the project repositories are now inert and can be deleted, and the live repositories still carry direct collaborator grants that Peribolos does not manage, so the YAML is not yet the whole access picture. Both are follow-ups, not blockers.
Related issue
Fixes #7
Summary
Manage ANS teams and repository access with Peribolos, and protections with Safe Settings. The management form opens configuration PRs, preserves existing CI App bindings, and resolves team display names to GitHub slugs.
Maintainers merge pull requests with mandatory up-to-date CI, approvals and the DCO App check (1861). Reviewer and TSC teams provide reviews without joining the project merge allowlists. Authorized merge teams are exempt only from the separate update gate so the normal merge button works; approval and required-check rulesets have no exemptions. The configuration uses normal PR merges; existing merge queues must be removed before enrollment because they conflict with the Maintainer-only update restriction.
TSC access follows the initial roster in TSC.md, including Michael Kantor (
kantorcodes) and Ken Huang (kenhuangus). Reviewer teams cover Bin on Java and Luki on both Trust Index repositories. Bothans-specandtrust-index-specuse editorial/normative labels.Baseline and Maintainer rules already exist live. Applying the configuration enables code-owner review for enrolled repositories. Automation starts disabled and its initial scope is
.github; Homebrew and Scoop remain excluded from protection management. Retire the legacy teams before the first Peribolos run, and publish governance, CODEOWNERS and workflow dependencies before enrolling their consumers.Testing
Configuration validation, 24 JavaScript tests, 5 Python tests, actionlint and whitespace checks pass. Tests cover enrollment changes, team display names, trusted DCO sources, up-to-date checks and rejection of incompatible merge queues. All commits have human DCO sign-offs. Live validation covers the protected merge of ans#148 and normal merge eligibility (
CLEAN/MERGEABLE) for approved OpenShell #19, with independent review and required-check protections preserved.AI assistance
Assisted-by: OpenAI Codex (GPT-6).