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>
15 lines
3.1 KiB
JSON
15 lines
3.1 KiB
JSON
{
|
|
"assetKey": "a-rotation-that-overwrites-and-a-generation-that-cannot-be-reclaimed",
|
|
"kind": "terminal",
|
|
"command": "G=grpc/grpc-client/src/main/java/dev/caskeleton/grpc/client\nC=grpc/grpc-policy/src/main/java/dev/caskeleton/grpc/security/GrpcCredentialRotationManager.java\necho '# 회전 — 읽고 판단한 뒤 조건 없이 쓴다'\nsed -n '87,94p;102,105p' $G/GrpcChannelRuntimeRegistry.java\necho '# 같은 클래스의 첫 설치는 비교 후 교체를 쓴다'\nsed -n '45,47p' $G/GrpcChannelRuntimeRegistry.java\necho -n '# 그 파일의 compareAndSet 매치 수: '\ngrep -c 'compareAndSet' $G/GrpcChannelRuntimeRegistry.java\necho -n '# 덮인 대체본을 담는 곳 — draining 에 add 되는 값: '\ngrep -n 'add(previous)' $G/GrpcChannelRuntimeRegistry.java\necho\necho '# 이 세대가 들고 있는 것은 채널이 아니다'\ngrep -n 'private final\\|private volatile' $G/GrpcChannelRuntime.java\necho -n '# 이 모듈 main 의 io.grpc 참조: '\ngrep -rn 'io\\.grpc' --include=*.java grpc/grpc-client/src/main/ | wc -l\necho\necho '# 계수기 — 확인하고 별도 연산으로 줄인다'\nsed -n '50,54p;66,70p' $G/GrpcChannelRuntime.java\necho -n '# 이 파일의 compareAndSet / updateAndGet 매치: '\ngrep -c 'compareAndSet\\|updateAndGet' $G/GrpcChannelRuntime.java\necho '# 올리는 쪽은 배수가 시작되면 거절한다'\nsed -n '41,45p' $G/GrpcChannelRuntime.java\necho '# 조용함 판정'\nsed -n '93,95p' $G/GrpcChannelRuntime.java\necho -n '# finishUnaryCall 의 프로덕션 호출자: '\ngrep -rn 'finishUnaryCall' --include=*.java . | grep -v '/test/' | grep -vc 'GrpcChannelRuntime.java'\necho\necho '# 회수 — 동기화 목록을 잠그지 않고 순회한다'\ngrep -n 'synchronizedList' $G/GrpcChannelRuntimeRegistry.java\nsed -n '113,115p;122,131p' $G/GrpcChannelRuntimeRegistry.java\necho -n '# retireQuiescent 의 프로덕션 호출자: '\ngrep -rn 'retireQuiescent' --include=*.java . | grep -v '/test/' | grep -vc 'GrpcChannelRuntimeRegistry.java'\necho\necho '# 옆 모듈 — 배수 완료는 판단조차 없다'\nsed -n '117,121p' $C\necho -n '# 그 파일의 compareAndSet / updateAndGet / synchronized 매치: '\ngrep -cE 'compareAndSet|updateAndGet|synchronized' $C\necho\necho -n '# 두 모듈의 런타임 소속: '\npython3 -c \"import json;m=json.load(open('config/architecture/modules.json'));ls=[x for x in m.get('modules',m) if isinstance(x,dict)];print(' '.join(f\\\"{x['id']}={x.get('runtime_memberships')}\\\" for x in ls if x.get('id','').endswith('grpc-client') or x.get('id','').endswith('grpc-policy')))\"\n",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-02T02:27:51+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/a-rotation-that-overwrites-and-a-generation-that-cannot-be-reclaimed.txt",
|
|
"svg": "evidence/rendered/a-rotation-that-overwrites-and-a-generation-that-cannot-be-reclaimed.svg",
|
|
"rawSha256": "8aec7ab0ec62008120b7a7bbc3ec02eb1d5a65bf5b2892587c041deee207d323",
|
|
"lines": 77,
|
|
"redaction": "none — 분석 문서 발췌"
|
|
}
|