Files
document-haness/docs/clean-architecture-backend-template/tech-log-studio/cross-leaf-integration-facts/case/case-the-admin-switch-turns-on-the-guard-and-not-the-service.md
T
DongHyeonkaandClaude Fable 5.1 b25357c48a docs(clean-architecture-backend-template): fold analysis into final and re-select one topic
- analysis/·source-index·state.json 을 final/document.md 제2부·제3부로 접었다. SSOT 는 하나다
- 파일럿 — commit-ambiguity-as-a-result 를 새 기준으로 재선별. 후보 14 → 글감 5
  (PROMOTE 5 · MERGE_INTO 3 · KEEP_IN_SSOT 4 · 보류 2). 기록 5건을 다시 썼고 그림 1개를
  techviz 로 만들었다
- 재선별이 잡은 것: 제1부 §6.2·§11.1 이 자기 §13.2 와 어긋나 있었다(레인을 안 돌렸다 vs
  돌렸다) — 정정. 이미 답이 나와 있던 Question 을 HEAD 재실행 질문으로 다시 세웠다.
  Concept 이 인용한 코드가 SSOT 에 없어 뺐다
- candidateScope·sourceRepository 기록. 나머지 43개 주제는 재선별 대기(PENDING 905)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-07 12:39:20 +09:00

76 lines
3.4 KiB
Markdown

---
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 에 있다.
## 본문
<!-- body:start -->
운영자가 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 평면을 켜고 빈 그래프를 관측하지 않았다. 런타임 관측을 수행하지 않았다.
<!-- body:end -->