Files
document-haness/docs/clean-architecture-backend-template/tech-log-studio/composition-and-lifecycle-models/concept/concept-grpc-advanced-bootstrap-c02.md
T
DongHyeonkaandClaude Opus 5 b2963105a8 docs(keycloak-session-store): import the session-storage lab as a new project
The keycloak project ended with four open questions that design could not
settle. A two-VM lab was built to answer them by measurement, and this is
that material: 26 experiments, 125 raw command outputs, 22 browser captures.

Follows the import procedure in README.md.

  source/     the originating repository verbatim — 78 documents, 28 SVGs,
              8 manifests, plus .source-revision recording the commit
  final/      the SSOT
    document.md   729 lines written from the 29 experiment documents, not
                  concatenated: what was predicted, what was measured, and
                  where the measurement itself was wrong
    evidence/raw    125 outputs, flattened to <experiment>__<file> because
                    the originals collided (01-baseline.txt appeared three
                    times) and the audit only globs the top level
    evidence/meta   one per raw file; command and exitCode are null and the
                    README says why rather than inventing them
    evidence/browser  22 captures
    assets/       three diagrams through techviz
    .techviz/     their VizSpecs

A separate project rather than an addition to keycloak: the B-layer answers
that project's four questions, but the A, C and D layers are about cluster
failure, SSO and operations, and one document.md should hold one subject.
The four question records there can point here through 관계.

Recorded rather than papered over: only three of the 28 diagrams were
remade. The repository forbids hand-drawn SVG and forbids titles inside the
canvas; all 28 originals carry both, so converting them is redrawing, not
reformatting. They stay in source/ and the gap is written into the document.

verify-pipeline.py passes. audit-records.py reports no issues.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 22:51:59 +09:00

2.5 KiB

kind, slug, title, topic, project, status, sourceRevision, rootTreeNode, evidenceCapturedOn, assets, evidence, source, module
kind slug title topic project status sourceRevision rootTreeNode evidenceCapturedOn assets evidence source module
CONCEPT grpc-advanced-bootstrap-c02 세 조건을 하나의 boolean으로 접지 않는다 composition-and-lifecycle-models clean-architecture-backend-template 게시 전 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 concept:grpc-advanced-bootstrap-c02 2026-09-01
key file
grpc-advanced-bootstrap-c02 ../../../final/evidence/rendered/grpc-advanced-bootstrap-c02.svg
key file
grpc-advanced-bootstrap-c02-diagram ../../../final/assets/diagrams/grpc-advanced-bootstrap-c02.svg
../../../final/evidence/raw/grpc-advanced-bootstrap-c02.txt
원본 분석 절은 analysis/grpc/grpc-advanced-bootstrap.md#L76 이다.
grpc-advanced-bootstrap

세 조건을 하나의 boolean으로 접지 않는다

게이트가 깃발 설정 여부, 등급의 시작 가능 여부, 운영 별도 승인을 순서대로 따로 본다. 접으면 처방이 서로 다른 세 상황이 같은 메시지를 받는다.

본문

게이트가 세 조건을 순서대로 본다.

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). 지금 그 검사를 실행하는 것은 이 리프의 자기 테스트뿐이다.