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.3 KiB
JSON
15 lines
3.3 KiB
JSON
{
|
|
"assetKey": "analysis-finding-a04-f004",
|
|
"kind": "terminal",
|
|
"command": "#!/bin/bash\nset -euo pipefail\ncd /shared/codebase/clean-architecture-backend-template\nhits() {\n local out rc\n out=$(git grep -nE \"$1\" -- \"$2\") && rc=0 || rc=$?\n [ \"$rc\" -le 1 ] || { echo \"SEARCH FAILED rc=$rc : $1\" >&2; return 2; }\n [ \"$rc\" -eq 0 ] && printf '%s\\n' \"$out\" || true\n}\nat() { awk -v s=\"$2\" -v e=\"$3\" -v n=\"$4\" 'NR>=s && NR<=e {printf \" %s:%d %s\\n\", n, NR, $0}' \"$1\"; }\nN=src/adapter/outbound/notification/src/main/java/dev/caskeleton/adapter/outbound/notification/core/FailOpenNotificationProvider.java\nP=src/adapter/outbound/messaging/src/main/java/dev/caskeleton/adapter/outbound/messaging/core/OutboundMessagePublisher.java\nR=src/adapter/outbound/notification/src/main/java/dev/caskeleton/adapter/outbound/notification/core/RoutingNotifier.java\nfor f in \"$N\" \"$P\" \"$R\"; do test -f \"$f\"; done\n\necho \"# 이 데코레이터가 자기에게 매긴 계약\"\nat \"$N\" 7 11 FailOpenNotificationProvider.java\necho\necho \"# 실패 경로 : catch 안에서 실패 로그를 부른다\"\nat \"$N\" 35 45 FailOpenNotificationProvider.java\necho\necho \"# 메시징 쪽의 같은 자리 : catch 안도 observeQuietly 를 거친다\"\nat \"$P\" 26 46 OutboundMessagePublisher.java\nat \"$P\" 48 60 OutboundMessagePublisher.java\necho\necho \"# 그 데코레이터를 부르는 팬아웃 루프\"\nat \"$R\" 112 123 RoutingNotifier.java\necho\necho \"# 위임 제공자가 던지는 경로에 로거 예외를 겹쳤을 때\"\ngrep -nE 'n.equals\\(\"warn\"\\)|throw new IllegalStateException|provider is down|p.send|catch \\(RuntimeException|new FailOpenNotificationProvider' \\\n /tmp/probe-failpath/FailPathProbe.java | sed -E 's#^([0-9]+): *# probe:\\1 #'\nCP=\"$(cat /tmp/cp-notif.txt)\"\nrm -rf /tmp/probe-failpath/out && mkdir -p /tmp/probe-failpath/out\njavac -nowarn -cp \"$CP\" -d /tmp/probe-failpath/out /tmp/probe-failpath/FailPathProbe.java\njava -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 \\\n -cp \"$CP:/tmp/probe-failpath/out\" dev.caskeleton.adapter.outbound.notification.core.FailPathProbe\necho\necho \"# 그 경로를 고정하는 시험이 있는가\"\necho \" 알림 모듈에서 Proxy.newProxyInstance 로 로거를 만드는 자리 : $(\n { git grep -n 'Proxy.newProxyInstance' -- 'src/adapter/outbound/notification/**/*.java' || true; } | grep -c . || true) 개\"\necho \" 메시징 모듈에서 같은 자리 : $(\n { git grep -n 'Proxy.newProxyInstance' -- 'src/adapter/outbound/messaging/**/*.java' || true; } | grep -c . || true) 개\"\necho \" 이 데코레이터를 조립하는 시험이 던지게 만드는 대상 :\"\nfor tf in $(git grep -l 'new FailOpenNotificationProvider' -- 'src/**/*.java' | grep '/src/test/'); do\n { grep -nE 'throw new' \"$tf\" || true; } | sed -E \"s#^([0-9]+): *# $(basename \"$tf\"):\\1 #\"\ndone\n",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-04T06:18:51+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/analysis-finding-a04-f004.txt",
|
|
"svg": "evidence/rendered/analysis-finding-a04-f004.svg",
|
|
"rawSha256": "f775b9f16954434c205ace47e55a98d99a0fc13b1f5b507cd37e0d1341e78100",
|
|
"lines": 89,
|
|
"redaction": "비밀값 없음"
|
|
}
|