Files
document-haness/docs/clean-architecture-backend-template/tech-log-studio/self-disclosure-grading/case/case-build-only-exempts-ninety-files-from-todays-incident.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

4.3 KiB

kind, slug, title, topic, project, status, sourceRevision, rootTreeNode, evidenceCapturedOn, assets, evidence, source
kind slug title topic project status sourceRevision rootTreeNode evidenceCapturedOn assets evidence source
CASE build-only-exempts-ninety-files-from-todays-incident build-only 등급이 90개 파일의 미조립을 오늘의 사고에서 면제한다 self-disclosure-grading clean-architecture-backend-template 게시 전 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 case:build-only-exempts-ninety-files-from-todays-incident 2026-09-01
key file
build-only-exempts-ninety-files-from-todays-incident ../../../final/evidence/rendered/build-only-exempts-ninety-files-from-todays-incident.svg
../../../final/evidence/raw/build-only-exempts-ninety-files-from-todays-incident.txt
원본 분석 절은 final/document.md#8-3 · analysis/17 §4.1, §26.6 이다.

build-only 등급이 90개 파일의 미조립을 오늘의 사고에서 면제한다

웹소켓 어댑터가 어떤 런타임 컴포지션에도 속하지 않는다. 그 리프의 미조립 파일들은 지금 배포되지 않으므로 오늘의 사고가 아니고, 배선되는 날의 목록이다.

관계

  • runtime_memberships를 먼저 읽고 심각도를 정한다 이 사례가 그 규칙의 대표 형태다.
  • gRPC 플랫폼은 build-only로 두고 애플리케이션 도달 경로를 먼저 정한다 같은 상태를 다른 가족이 결정으로 채택한 사례다.
  • 등급표 13행 중 일곱을 스스로 강등하고 한 행만 관측과 어긋났다 자기 상태를 정확히 공시하는 같은 계열이다.

문제

웹소켓 어댑터 리프에 미조립 파일이 다수 있다. 정책과 상태 기계는 있고 전송 핸들러가 없는 형태다.

이 상태의 심각도를 어떻게 판정할 것인가.

결론

레지스트리를 먼저 읽으면 답이 갈린다.

이 리프의 런타임 멤버십이 비어 있다. 어떤 배포에도 들어가지 않는다.

그러므로 미조립은 오늘의 프로덕션 영향이 0 이다. 없는 것을 쓸 수 없기 때문이다.

그리고 저장소가 그 상태를 인정하고 고정한다. 조건부 전송 조립 계약 테스트가 빌드 전용 전송 목록을 갖고, 그 목록에 이 리프가 들어 있다.

즉 배포되지 않는다는 사실이 규약이 아니라 테스트로 고정되어 있다.

남는 것은 배선되는 날의 목록이다. 그날 이 파일들의 미조립이 한꺼번에 오늘의 사고가 된다. 그때 함께 연결해야 할 것들이 지금 기록되어 있어야 한다.

이 판정 방식이 이 저장소 전체에 적용된다. 같은 형태의 발견이라도 그 리프가 배포되는지에 따라 심각도가 달라지고, 그 판단의 근거는 레지스트리의 런타임 멤버십이다.

검증 환경

OpenJDK : 21.0.12 확인 방식 : 레지스트리 항목 확인과 계약 테스트 목록 대조 소스 수정 : x

재현 조건

원문은 final/evidence/raw/228-app-bootstrap-activation-probes.txt 에 있다.

  1. 레지스트리에서 웹소켓 어댑터의 런타임 멤버십을 확인한다. 비어 있다.
  2. 조건부 전송 조립 계약 테스트의 빌드 전용 전송 목록을 확인한다.
  3. 그 목록에 이 리프가 있는지 확인한다.

본문

websocket leaf의 backend.websocket 플랫폼 약 90개 main 파일에 조립 지점이 없고, 세 안전 장치(WebSocketPlatformStartupValidator 125줄 · WebSocketStackExclusivity 78줄 · settings의 safe-default 규약)가 전부 호출자 0이다.

WebSocketPlatformStartupValidator 참조 위치

:::evidence key="build-only-exempts-ninety-files-from-todays-incident" alt="코드베이스에서 WebSocketPlatformStartupValidator 를 검색한 출력 2줄. 이 기록이 세는 참조가 그 출력에 그대로 보인다." caption="WebSocketPlatformStartupValidator 코드베이스 검색 — 2줄 · exit 0" zoom="true" :::

P1에서 P2로 내린 근거

처음에 P1로 기록했다가 runtime_memberships=[]가 기계로 강제되는 build-only 등급임을 확인하고 내렸다 — 그 실패 시나리오가 현재 출하되는 두 조합 어디에서도 발생할 수 없다.

이 Case의 요점

등급이 심각도를 바꾸되 발견을 없애지는 않는다.

확인하지 못한 것

배선했을 때 실제로 무엇이 깨지는지 확인하지 않았다. 이 기록은 현재 심각도 판정에 대한 것이다.

없음