# 확장 가능한 저장소는 owner가 보인다

> CODEOWNERS, dependency·secret·agent governance, SLO와 incident

- Canonical: https://learning.reopt.ai/en/courses/enterprise-monorepo/lessons/em-m4-concept
- Language: en
- HTML: https://learning.reopt.ai/en/courses/enterprise-monorepo/lessons/em-m4-concept

---

[Enterprise monorepo architecture](/en/courses/enterprise-monorepo) 4. 소유권·보안·관측 7 / 9

# 확장 가능한 저장소는 owner가 보인다

CODEOWNERS, dependency·secret·agent governance, SLO와 incident
Concept 45 XP 9 min

공유 패키지와 자동화가 늘수록 누가 승인하고 복구하는지가 중요합니다. CODEOWNERS와 branch protection으로 경계를 강제하고, dependency·SAST·secret scan은 CI gate로 둡니다. 관측은 app별 DSN과 구조화 로그, RUM, incident severity로 연결합니다.
자율성은 게이트 뒤에 단계적으로 AI agent의 파일·command·MCP 권한은 CI와 owner 경계가 안정된 뒤 한 단계씩 넓힙니다. 정적 분석과 보안 통과를 agent 자기평가에 맡기지 않습니다.

| 통제 | 정본 | 운영 행동 |
| Ownership | CODEOWNERS·branch rule | 필수 review·escalation |
| Dependency | Renovate/Dependabot policy | 그룹 update·audit |
| Secret/SAST | CI·pre-commit | merge block·rotation |
| Observability | RUM·error·structured log | SLO·incident·rollback |

- 1 Owner 지도 app·package·infra·schema의 승인자와 backup을 정합니다.

- 2 기계 게이트 lint·type·SAST·dependency·secret 검사를 merge에 연결합니다.

- 3 Telemetry 분리 app별 error·performance·log ownership을 둡니다.

- 4 Incident drill P0~P3 응답·rollback·회고를 정기 검증합니다.

실무에 남길 기준

- 공유 ownership은 무주인이 아니라 명시된 복수 책임이어야 한다
- secret은 local·preview/prod·CI 경계를 분리한다
- agent 자율성은 검증·승인·rollback 체계가 성숙한 만큼만 높인다

[Previous](/en/courses/enterprise-monorepo/lessons/em-m3-checklist) Got it · Continue

---

Site guide for agents: https://learning.reopt.ai/llms.txt · Sitemap: https://learning.reopt.ai/sitemap.xml · Contact: https://learning.reopt.ai/contact
