Refine CODEOWNERS for tiered contractor team ownership#67
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
Agent-Logs-Url: https://github.com/edx/enterprise-catalog/sessions/64dad22b-b379-4e67-bdcd-6fe48cd0da32 Co-authored-by: macdiesel <67862+macdiesel@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update .github/CODEOWNERS to match new ownership model
Refine CODEOWNERS for tiered contractor team ownership
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements a two-tier CODEOWNERS model: maintainer subteams gate application code merges, while full contractor teams have broader access to low-risk docs/markdown.
Changes
@edx/enterprise-titansas sole catch-all (removes previous flat multi-team ownership includingenterprise-markhors)/enterprise_catalog/): titans +enterprise-sunrise-maintainers+enterprise-lakshy-maintainers— CODEOWNERS satisfied only by trusted maintainers/docs/,*.md,*.rst): titans + fullenterprise-sunrise+enterprise-lakshyteams — reduces friction on lower-risk changesThis file serves as the template pattern for other enterprise repos in the
edxorg.Original prompt
Problem / Goal
Refine the
.github/CODEOWNERSfile in theedx/enterprise-catalogrepo to precisely match our new ownership model with:Requirements
*)./enterprise_catalog/): only the maintainer subteams and titans should be owners:@edx/enterprise-titans@edx/enterprise-sunrise-maintainers@edx/enterprise-lakshy-maintainers/docs/,/tests/, and*.md/*.rstpatterns for full teams (@edx/enterprise-titans,@edx/enterprise-sunrise,@edx/enterprise-lakshy)Acceptance Criteria
.github/CODEOWNERSmatches exactly:.github/CODEOWNERS, overwriting any existing one if presententerprise_catalog/directory does exist)Important:
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: I"ve been working on this plan with chat GPT. What do you think?
Below is a Claude-ready implementation plan you can paste into Claude (or use as a task brief). It includes: team definitions, repo list + URLs, the policy intent, the exact CODEOWNERS templates to create, and the branch protection / permissions checklist.
Implementation Plan: Phased Merge Autonomy for Enterprise Repos (Claude Task Brief)
Date: 2026-04-01
Goal: Gradually delegate PR review + merge autonomy to contractor teams while keeping a “master” team with full approval/merge authority across all enterprise repos.
1) Organizations in scope
openedxedx2) Teams (existing)
These teams already exist and must be used as the starting point:
2.1 Master / can do everything
enterprise-titans2.2 Newly onboard teams (can open PRs)
enterprise-sunriseenterprise-lakshy2.3 Ownership by domain
enterprise-lakshyowns:enterprise-sunriseowns:3) Repositories in scope (high priority for CODEOWNERS)
Microservices / Backend Services
This pull request was created from Copilot chat.