--- kind: CASE slug: the-admin-switch-turns-on-the-guard-and-not-the-service title: admin 스위치가 가드를 켜고 서비스는 켜지 않는다 topic: cross-leaf-integration-facts project: clean-architecture-backend-template status: 게시 전 sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 rootTreeNode: case:the-admin-switch-turns-on-the-guard-and-not-the-service evidenceCapturedOn: 2026-09-01 assets: - key: the-admin-switch-turns-on-the-guard-and-not-the-service file: ../../../final/evidence/rendered/the-admin-switch-turns-on-the-guard-and-not-the-service.svg - key: the-admin-switch-turns-on-the-guard-and-not-the-service-diagram file: ../../../final/assets/diagrams/the-admin-switch-turns-on-the-guard-and-not-the-service.svg evidence: - ../../../final/evidence/raw/the-admin-switch-turns-on-the-guard-and-not-the-service.txt source: - 원본 분석 절은 final/document.md#a19#L975 이다. module: integration/19-messaging-platform priority: P2 --- # admin 스위치가 가드를 켜고 서비스는 켜지 않는다 운영자가 admin 기능을 켜는 프로퍼티 하나가 파괴적 작업 가드를 활성화한다. 같은 스위치가 그 가드를 실제로 부르는 admin 서비스 빈은 만들지 않는다. ## 문제 운영자가 admin 기능을 켜는 프로퍼티 하나가 파괴적 작업 가드를 활성화한다. 같은 스위치가 그 가드를 실제로 부르는 admin 서비스 빈은 만들지 않는다. ## 결론 결과적으로 스위치는 '켜졌다' 는 상태를 만들고 그 상태를 소비하는 경로가 없다. 두 리프의 SSOT 를 겹쳐야만 보이는 형태다 — 한쪽은 가드의 조건을, 다른 쪽은 서비스 빈의 부재를 소유한다. ## 검증 환경 OpenJDK : 21.0.12 java -version 으로 확인 Gradle : 9.0.0 src/gradle/wrapper/gradle-wrapper.properties 의 distributionUrl 로 확인 확인 방식 : admin 스위치가 만드는 빈 4종 전수 확인과 그 가드를 부르는 서비스 빈의 생성 지점 검색 소스 수정 : x ## 재현 조건 원문은 final/document.md#a19#L975 에 있다. ## 본문 운영자가 admin 기능을 켜는 프로퍼티 하나가 파괴적 작업 가드를 활성화한다. 같은 스위치가 그 가드를 실제로 부르는 admin 서비스 빈은 만들지 않는다. ## 스위치가 닿는 범위 :::evidence key="the-admin-switch-turns-on-the-guard-and-not-the-service-diagram" alt="admin 스위치에서 가드와 저널과 검증기는 만들어지고 admin 서비스 빈은 빗금인 두 갈래가 나온다" caption="스위치가 닿는 범위" zoom="false" ::: ## 스위치가 만드는 빈 넷 :::evidence key="the-admin-switch-turns-on-the-guard-and-not-the-service" alt="분석 문서 final/document.md#a19 에서 이 기록의 근거 절을 그대로 잘라낸 15줄. 코드베이스를 측정한 것이 아니라 원본 판정이 무엇을 적었는지를 보여 준다." caption="final/document.md#a19 발췌 — 15줄" zoom="true" ::: ## 켜졌다는 상태를 소비하는 경로가 없다 두 리프의 SSOT 를 겹쳐야만 보이는 형태다 — 한쪽은 가드의 조건을, 다른 쪽은 서비스 빈의 부재를 소유한다. ## 확인하지 못한 것 부팅된 컨텍스트에서 admin 평면을 켜고 빈 그래프를 관측하지 않았다. 런타임 관측을 수행하지 않았다.