Background
CoreLink is managed as one product across multiple implementation boundaries. This work is owned by .github under EPIC-01.
Problem
CoreLink does not yet have verified, consistently maintained evidence that every active repository has an authoritative ownership map and protected-review enforcement. A central policy in the organization .github repository is useful, but GitHub CODEOWNERS files are repository-scoped and are not inherited automatically by other repositories.
Goal
Establish team-based ownership and protected review rules across all active repositories, with .github holding the authoritative policy/template and each repository carrying or receiving the enforcement artifacts it actually requires.
Parent
- Primary Product Epic: EPIC-01
- Backlog ID:
GH-02
Scope
- Define the authoritative organization ownership policy and reusable CODEOWNERS template/generation approach in
.github.
- Materialize repository-scoped
CODEOWNERS in each active repository that requires code-owner review; do not assume organization-level inheritance.
- Configure or verify protected review enforcement through repository rulesets/branch protection as appropriate.
- Define a minimal documented exception path for repositories that intentionally use different ownership/review rules.
- Reconcile affected organization policy, product claims, security, release, documentation and repository maturity.
- Retain acceptance evidence for the Governance Baseline gate.
Active Repository Coverage Set
As reconciled on 2026-09-12, the active repository set in scope contains 18 repositories:
platform
.github
product-planning
api-contracts
sdk-typescript
sdk-python
sdk-java
cli
mcp-server
mock-server
developer-docs
website
coreplatform.ir
Console
Control
Deployment
Identity
design-system
coreplatform.ir is a newly active public web repository and therefore enters governance coverage immediately; repository creation must not wait for a later manual inventory refresh before ownership/review disposition is assigned.
Console is the canonical tenant/customer/partner/reseller frontend. Control is the separate private privileged platform-operator surface. Deployment is the canonical product-stack deployment boundary. Identity is the reusable Keycloak theme/identity presentation repository and must remain separated from deployment secrets and realm provisioning. design-system is the canonical runtime UI/design-system implementation boundary; product/design semantics remain authoritative in product-planning/design/system/. demo-repository is archived and excluded unless reactivated.
Out of Scope
- Runtime feature implementation in this Issue.
- Duplicating the product roadmap in repository README files.
- Presenting scaffolds or planned capability as a supported release.
- Treating a CODEOWNERS file in the organization
.github repository as inherited enforcement for other repositories.
- Archived repositories unless they are explicitly restored to active status.
Acceptance Criteria
Current Audit Evidence — reconciled 2026-09-12
- Direct repository-content reads verify CODEOWNERS in 2 of 18 active repositories:
platform/.github/CODEOWNERS
Control/.github/CODEOWNERS
Console/.github/CODEOWNERS is not present on the current default branch and remains part of the repository-wide enforcement backlog unless separately corrected.
design-system/.github/CODEOWNERS is not present on the current default branch and requires CODEOWNERS or an approved exception.
coreplatform.ir/.github/CODEOWNERS is not present on the current default branch; the repository is newly active and requires ownership/protection disposition.
Deployment and Identity are active repository boundaries and remain in scope.
- Protected-review/ruleset enforcement still requires repository-by-repository verification where plan/integration access permits.
- Organization-wide GitHub code-search results for
CODEOWNERS have produced false negatives during prior audits even when direct repository-content reads prove the file exists. Do not use organization code search as authoritative coverage evidence. Coverage validation must use direct per-repository content lookup (or an equivalent generated manifest/check) for all repositories in the active set.
Technical Notes
Use organization-wide policy/templates where useful, but keep enforcement semantics repository-local where GitHub requires it. Control should receive stricter review/security treatment than ordinary tenant-facing UI because it aggregates cross-tenant and provider/infrastructure diagnostics. Deployment should receive release/production-change ownership treatment. Identity should receive security/release review appropriate to authentication UX and published artifacts. design-system should have explicit UI-foundation/release ownership because changes propagate into multiple product surfaces and can create cross-repository accessibility/RTL/brand regressions. Public web repositories such as website and coreplatform.ir still require explicit ownership/review disposition because production-domain and brand changes are governance-sensitive even when runtime risk is lower than Platform/Deployment.
The preferred durable control is a machine-generated active-repository manifest plus a coverage check that performs direct repository content verification. This avoids both stale hard-coded repository counts and false-negative organization code searches.
Dependencies
- Decision prerequisite: team and repository ownership approval must establish authoritative owners before CODEOWNERS/protection can be treated as accepted governance.
- Execution prerequisite: assign an ownership/protection disposition for each of the 18 active repositories: CODEOWNERS + enforcement, CODEOWNERS + plan-limited enforcement with explicit compensating control/risk acceptance, or documented approved exception.
- Blocks: protected review enforcement, repository ownership acceptance, and EPIC-01 governance completion.
- Cross-repository: implementation will require repository-specific changes/configuration; link concrete PRs or evidence instead of duplicating product planning.
- Current dependency state: See the CoreLink Product organization Project.
Planning Metadata
- Type: Technical Task
- Priority snapshot: P0
- Product milestone snapshot: Governance Baseline
- Domains snapshot: governance, security
- Area snapshot: operations
- Complexity: M
- Created in status: Triage
- Current status and DRI: See the CoreLink Product organization Project.
- Intended repository labels:
type:technical-task
Definition of Done
Background
CoreLink is managed as one product across multiple implementation boundaries. This work is owned by
.githubunder EPIC-01.Problem
CoreLink does not yet have verified, consistently maintained evidence that every active repository has an authoritative ownership map and protected-review enforcement. A central policy in the organization
.githubrepository is useful, but GitHubCODEOWNERSfiles are repository-scoped and are not inherited automatically by other repositories.Goal
Establish team-based ownership and protected review rules across all active repositories, with
.githubholding the authoritative policy/template and each repository carrying or receiving the enforcement artifacts it actually requires.Parent
GH-02Scope
.github.CODEOWNERSin each active repository that requires code-owner review; do not assume organization-level inheritance.Active Repository Coverage Set
As reconciled on 2026-09-12, the active repository set in scope contains 18 repositories:
platform.githubproduct-planningapi-contractssdk-typescriptsdk-pythonsdk-javaclimcp-servermock-serverdeveloper-docswebsitecoreplatform.irConsoleControlDeploymentIdentitydesign-systemcoreplatform.iris a newly active public web repository and therefore enters governance coverage immediately; repository creation must not wait for a later manual inventory refresh before ownership/review disposition is assigned.Consoleis the canonical tenant/customer/partner/reseller frontend.Controlis the separate private privileged platform-operator surface.Deploymentis the canonical product-stack deployment boundary.Identityis the reusable Keycloak theme/identity presentation repository and must remain separated from deployment secrets and realm provisioning.design-systemis the canonical runtime UI/design-system implementation boundary; product/design semantics remain authoritative inproduct-planning/design/system/.demo-repositoryis archived and excluded unless reactivated.Out of Scope
.githubrepository as inherited enforcement for other repositories.Acceptance Criteria
Current Audit Evidence — reconciled 2026-09-12
platform/.github/CODEOWNERSControl/.github/CODEOWNERSConsole/.github/CODEOWNERSis not present on the current default branch and remains part of the repository-wide enforcement backlog unless separately corrected.design-system/.github/CODEOWNERSis not present on the current default branch and requires CODEOWNERS or an approved exception.coreplatform.ir/.github/CODEOWNERSis not present on the current default branch; the repository is newly active and requires ownership/protection disposition.DeploymentandIdentityare active repository boundaries and remain in scope.CODEOWNERShave produced false negatives during prior audits even when direct repository-content reads prove the file exists. Do not use organization code search as authoritative coverage evidence. Coverage validation must use direct per-repository content lookup (or an equivalent generated manifest/check) for all repositories in the active set.Technical Notes
Use organization-wide policy/templates where useful, but keep enforcement semantics repository-local where GitHub requires it.
Controlshould receive stricter review/security treatment than ordinary tenant-facing UI because it aggregates cross-tenant and provider/infrastructure diagnostics.Deploymentshould receive release/production-change ownership treatment.Identityshould receive security/release review appropriate to authentication UX and published artifacts.design-systemshould have explicit UI-foundation/release ownership because changes propagate into multiple product surfaces and can create cross-repository accessibility/RTL/brand regressions. Public web repositories such aswebsiteandcoreplatform.irstill require explicit ownership/review disposition because production-domain and brand changes are governance-sensitive even when runtime risk is lower than Platform/Deployment.The preferred durable control is a machine-generated active-repository manifest plus a coverage check that performs direct repository content verification. This avoids both stale hard-coded repository counts and false-negative organization code searches.
Dependencies
Planning Metadata
type:technical-taskDefinition of Done