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": "analysis-finding-a05-f010",
|
|
"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}\nmod() { sed -E 's#^src/(.*)/src/([a-zA-Z]+)/java/.*/([A-Za-z]+\\.java):([0-9]+): *# \\1 · \\2 · \\3:\\4 #'; }\nat() { awk -v s=\"$2\" -v e=\"$3\" -v n=\"$4\" 'NR>=s && NR<=e {printf \" %s:%d %s\\n\", n, NR, $0}' \"$1\"; }\nB=src/app-bootstrap/src/main/java/dev/caskeleton/bootstrap/autoconfigure/jpa/JpaTransactionAutoConfiguration.java\nS=src/adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/transaction/SpringTransactionPort.java\ntest -f \"$B\" && test -f \"$S\"\n\necho \"# 자동설정 주석이 코디네이터를 어떻게 설명하는가\"\nat \"$B\" 28 55 JpaTransactionAutoConfiguration.java\n\necho\necho \"# PolicyTransactionPort 를 구현한다고 선언한 클래스\"\nhits 'implements[[:space:]]+([A-Za-z0-9_.]+,[[:space:]]*)*PolicyTransactionPort' 'src/**/*.java' | mod\necho \" [자기시험] 없는 이름으로 같은 검색 : $(\n hits 'implements[[:space:]]+PolicyTransactionPortZZZ' 'src/**/*.java' | grep -c . || true) 개\"\necho \" [대조] implements TransactionPort : $(\n hits 'implements[[:space:]]+([A-Za-z0-9_.]+,[[:space:]]*)*TransactionPort' 'src/**/*.java' | grep -c . || true) 개\"\n\necho\necho \"# 그 구현체의 선언과 자바독\"\nat \"$S\" 24 40 SpringTransactionPort.java\n\necho\necho \"# 코디네이터와 런타임 빈이 무엇을 만드는가\"\nhits '@Bean' \"$B\" | sed -E 's#^([0-9]+): *# JpaTransactionAutoConfiguration.java:\\1 #'\n{ grep -nE '^ public [A-Za-z]' \"$B\" || true; } | sed -E 's#^([0-9]+): *# JpaTransactionAutoConfiguration.java:\\1 #'\n\necho\necho \"# 두 스택을 부르는 자리\"\nfor n in PolicyTransactionPort FullTransactionRetryCoordinator SpringJpaTransactionExecutor SpringTransactionPort; do\n printf ' %s 를 참조하는 main 파일 : %s 개\\n' \"$n\" \\\n \"$(hits \"$n\" 'src/**/*.java' | { grep '/src/main/' || true; } | cut -d: -f1 | sort -u | grep -c . || true)\"\ndone\necho \" PolicyTransactionPort 를 참조하는 main 파일 :\"\nhits 'PolicyTransactionPort' 'src/**/*.java' | { grep '/src/main/' || true; } | cut -d: -f1 | sort -u | sed 's#.*/# #'\n\necho\necho \"# 문서 쪽 서술\"\n{ git grep -rn 'PolicyTransactionPort' -- 'docs/**/*.md' 'src/**/*.md' || true; } \\\n | sed -E 's#^([^:]+):([0-9]+): *# \\1:\\2 #' | head -8\n",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-04T06:08:24+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/analysis-finding-a05-f010.txt",
|
|
"svg": "evidence/rendered/analysis-finding-a05-f010.svg",
|
|
"rawSha256": "9e8e0ffff346037620ac78a19cd2b2baa74955d973d8f36cb6736c5786355c5c",
|
|
"lines": 84,
|
|
"redaction": "비밀값 없음"
|
|
}
|