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
2.9 KiB
JSON
15 lines
2.9 KiB
JSON
{
|
|
"assetKey": "analysis-finding-a06-f021",
|
|
"kind": "terminal",
|
|
"command": "#!/bin/bash\nset -euo pipefail\ncd /shared/codebase/clean-architecture-backend-template\n. /tmp/lib.sh\nM=src/adapter/outbound/persistence-mongo/src/main/java/dev/caskeleton/adapter/outbound/mongo\nG=$M/security/admin/MongoAdminGateway.java\nT=$(git ls-files -- '**/MongoAdminAuditStateMachineTest.java')\nfor f in \"$G\" \"$T\"; do test -f \"$f\"; done\n\necho \"# 감사 실패를 플랫폼 예외로 바꾸는 헬퍼\"\nat \"$G\" 120 137 MongoAdminGateway.java\n\necho\necho \"# 실행 경로가 그 헬퍼를 쓰는 자리\"\nat \"$G\" 83 126 MongoAdminGateway.java\nprintf ' auditSink 를 직접 부르는 줄 : %s 개\\n' \"$({ grep -cE 'auditSink\\.accept' \"$G\" || true; })\"\nprintf ' audit 헬퍼를 부르는 줄 : %s 개\\n' \"$({ grep -cE '^ +audit\\(Mongo' \"$G\" || true; })\"\necho \" auditSink 라는 이름이 나오는 자리 전부 :\"\nhits 'auditSink' \"$G\" | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\necho \" audit 헬퍼를 부르는 자리 전부 :\"\n{ grep -nE '^ +audit\\(Mongo' \"$G\" || true; } | sed -E 's#^([0-9]+): *# MongoAdminGateway.java:\\1 #'\n\necho\necho \"# 드라이런은 헬퍼를 거치지 않는다\"\nat \"$G\" 139 149 MongoAdminGateway.java\n\necho\necho \"# 그 원칙을 고정하는 시험\"\nat \"$T\" 84 113 MongoAdminAuditStateMachineTest.java\nprintf ' 드라이런의 감사 실패를 보는 시험 줄 : %s 개\\n' \\\n \"$(lines 'dryRun' 'src/**/src/*[Tt]est*/**/MongoAdminAuditStateMachineTest.java')\"\nprintf ' 이 게이트웨이의 dryRun 을 부르는 줄 (저장소 전체) : %s 개\\n' \\\n \"$(lines '[Gg]ateway\\.dryRun\\(' 'src/**/*.java')\"\nprintf ' [대조] 같은 게이트웨이의 execute 를 부르는 줄 : %s 개\\n' \\\n \"$({ git grep -nE '[Gg]ateway\\.execute\\(' -- 'src/**/*.java' || true; } | { grep -E 'MongoAdmin|MongoSharding|MongoQueryableEncryption' || true; } | grep -c . || true)\"\necho \" 그 execute 호출 전부 :\"\n{ git grep -nE '[Gg]ateway\\.execute\\(' -- 'src/**/*.java' || true; } \\\n | { grep -E 'MongoAdmin|MongoSharding|MongoQueryableEncryption' || true; } \\\n | sed -E 's#^src/(.*)/src/([a-zA-Z]+)/java/.*/([A-Za-z0-9_$]+\\.java):([0-9]+): *# \\2 · \\3:\\4 #'\nprintf ' [참고] 같은 정규식이 다른 게이트웨이에서 잡는 줄 : %s 개\\n' \\\n \"$({ git grep -nE '[Gg]ateway\\.execute\\(' -- 'src/**/*.java' || true; } | { grep -vE 'MongoAdmin|MongoSharding|MongoQueryableEncryption' || true; } | grep -c . || true)\"\n",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-04T08:39:24+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/analysis-finding-a06-f021.txt",
|
|
"svg": "evidence/rendered/analysis-finding-a06-f021.svg",
|
|
"rawSha256": "d0139b5459cc59e9986e2b832287d7d0b4f5a62723d5828c55324b646fd3d2d6",
|
|
"lines": 145,
|
|
"redaction": "없음"
|
|
}
|