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>
2.1 KiB
2.1 KiB
kind, slug, title, topic, project, status, sourceRevision, rootTreeNode, verifiedOn, source
| kind | slug | title | topic | project | status | sourceRevision | rootTreeNode | verifiedOn | source | |
|---|---|---|---|---|---|---|---|---|---|---|
| REFERENCE | messaging-kafka-share-experimental-f04 | 구성 오류는 한 예외 타입과 안정 코드로 보고한다 | runtime-contract-correctness | clean-architecture-backend-template | 게시 전 | 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 | reference:messaging-kafka-share-experimental-f04 |
|
구성 오류는 한 예외 타입과 안정 코드로 보고한다
관계
- "등록"이 아무것도 등록하지 않고 성공을 반환한다 이 규칙의 근거는 같은 분석 리프의 판정이 소유한다.
목적
같은 시작 시점에 같은 종류의 설정 오류를 거절하면서 한쪽만 FailureDescriptor 를 갖게 되면, 운영자가 받는 두 실패 중 하나에만 코드와 카테고리가 붙는다.
규칙
-
같은 검증기 안의 거절들이 같은 예외 타입인지 본다 KafkaShareProfileValidator.java:31-40 에서 !enabled 는 MessagingCapabilityUnavailableException(안정 코드 KAFKA_SHARE_DISABLED)이고, orderingScope != NONE 은 IllegalArgumentException(코드 없음)이다.
-
안정 코드가 없는 거절을 찾아 코드를 준다 코드가 없으면 그 실패는 문자열로만 식별된다.
-
같은 가족 안에서 갈라진 사례를 함께 본다 messaging-security 의 MessageSecurityValidator 는 전부 IllegalArgumentException 이고 BrokerTlsPolicy 는 전부 MessagingConfigurationException 이다. 같은 형태의 분기가 이미 두 곳에 있다.
적용 조건
시작 시점에 설정을 거절하는 검증기 전부. 특히 한 클래스가 여러 규칙을 검사하는 자리.
예외
플랫폼 예외 계층이 닿지 않는 프레임워크 경계에서는 표준 예외가 불가피할 수 있다. 이 검증기는 그 경계가 아니다.
예시
KafkaShareProfileValidator.java:31-40 의 두 throw 문. 확인 방법은 그 둘을 나란히 대조하는 것이다.