- 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>
56 lines
2.5 KiB
Markdown
56 lines
2.5 KiB
Markdown
---
|
|
kind: CONCEPT
|
|
slug: grpc-advanced-bootstrap-c02
|
|
title: 세 조건을 하나의 boolean으로 접지 않는다
|
|
topic: composition-and-lifecycle-models
|
|
project: clean-architecture-backend-template
|
|
status: 게시 전
|
|
sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916
|
|
rootTreeNode: concept:grpc-advanced-bootstrap-c02
|
|
evidenceCapturedOn: 2026-09-01
|
|
assets:
|
|
- key: grpc-advanced-bootstrap-c02
|
|
file: ../../../final/evidence/rendered/grpc-advanced-bootstrap-c02.svg
|
|
- key: grpc-advanced-bootstrap-c02-diagram
|
|
file: ../../../final/assets/diagrams/grpc-advanced-bootstrap-c02.svg
|
|
evidence:
|
|
- ../../../final/evidence/raw/grpc-advanced-bootstrap-c02.txt
|
|
source:
|
|
- 원본 분석 절은 final/document.md#a20-grpc-advanced-bootstrap#L76 이다.
|
|
module: grpc-advanced-bootstrap
|
|
---
|
|
|
|
# 세 조건을 하나의 boolean으로 접지 않는다
|
|
|
|
게이트가 깃발 설정 여부, 등급의 시작 가능 여부, 운영 별도 승인을 순서대로 따로 본다. 접으면 처방이 서로 다른 세 상황이 같은 메시지를 받는다.
|
|
|
|
## 본문
|
|
|
|
<!-- body:start -->
|
|
|
|
게이트가 세 조건을 순서대로 본다.
|
|
|
|
```java
|
|
if (!flags.flagSet(capability)) → "its feature flag is not set"
|
|
if (!grade.startable()) → "it is graded WATCH, which cannot start"
|
|
if (production && requiresApproval && !approved) → "production needs a separate approval"
|
|
```
|
|
|
|
> "Collapsing them into one boolean produces a 'not enabled' message for three situations with three different remedies."
|
|
|
|
## 게이트가 보는 세 조건
|
|
|
|
:::evidence key="grpc-advanced-bootstrap-c02-diagram" alt="깃발 설정 여부와 등급의 시작 가능 여부와 운영 별도 승인이 왼쪽에서 오른쪽으로 이어지는 구조" caption="게이트가 보는 세 조건" zoom="false"
|
|
:::
|
|
|
|
## 이 기록이 다루는 파일 범위
|
|
|
|
:::evidence key="grpc-advanced-bootstrap-c02" alt="코드베이스에서 파일 목록을 만든 출력 9줄. 이 기록이 다루는 범위가 그 목록이다." caption="코드베이스 파일 목록 — 9줄 · exit 0" zoom="true"
|
|
:::
|
|
|
|
## 같은 불변식의 런타임 확인은 실행되지 않는다
|
|
|
|
`requireStableStarterIsClean` 이 같은 불변식을 런타임에서도 확인한다 — 팻 자, 셰이드 산출물, 테스트 하네스처럼 다른 방식으로 조립된 런타임을 위해서다. **다만 그 메서드를 부르는 런타임이 없다**(§12.1). 지금 그 검사를 실행하는 것은 이 리프의 자기 테스트뿐이다.
|
|
|
|
<!-- body:end -->
|