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
4.4 KiB
JSON
15 lines
4.4 KiB
JSON
{
|
|
"assetKey": "analysis-finding-a06-f005",
|
|
"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\nR=$M/api/error/MongoPersistenceException.java\nX=$M/api/error/MongoTimeoutException.java\nE=$M/reactive/DefaultReactiveMongoExecutor.java\nT=src/adapter/outbound/persistence-mongo/src/test/java/dev/caskeleton/adapter/outbound/mongo/api/error/MongoFailureContextTest.java\nfor f in \"$R\" \"$X\" \"$E\" \"$T\"; do test -f \"$f\"; done\n\necho \"# 루트 예외가 세우는 두 규칙\"\nat \"$R\" 6 31 MongoPersistenceException.java\n\necho\necho \"# 그 규칙이 적용되는 범위\"\nprintf ' MongoPersistenceException 을 상속하는 main 타입 : %s 개\\n' \\\n \"$(count 'extends MongoPersistenceException' 'src/**/src/main/**/*.java')\"\n{ git grep -ln 'extends MongoPersistenceException' -- 'src/**/src/main/**/*.java' || true; } \\\n | sed 's#.*/# #' | sort\n\necho\necho \"# 이 계층에서 원인을 받거나 설정하는 자리 전수\"\nQ='src/adapter/outbound/persistence-mongo/src/main/**/*.java'\nprintf ' Throwable 을 인자로 받는 생성자 줄 : %s 개\\n' \"$(lines 'Throwable cause\\)' \"$Q\")\"\nprintf ' initCause 를 부르는 줄 : %s 개\\n' \"$(lines 'initCause' \"$Q\")\"\nhits 'Throwable cause\\)|initCause' \"$Q\" \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\nprintf ' [대조] 그 검색이 훑은 파일 : %s 개\\n' \"$(git ls-files -- \"$Q\" | grep -c .)\"\nprintf ' [대조] 옆 계층 persistence-jpa 에서 같은 검색 : %s 줄\\n' \\\n \"$(lines 'Throwable cause\\)' 'src/adapter/outbound/persistence-jpa/src/main/**/*.java')\"\n\necho\necho \"# 그 하나의 타입\"\nat \"$X\" 5 29 MongoTimeoutException.java\n\necho\necho \"# 2 인자 생성자를 부르는 자리\"\nhits 'MongoTimeoutException\\(' 'src/**/*.java' \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\necho\nat \"$E\" 138 172 DefaultReactiveMongoExecutor.java\n\necho\necho \"# 생성자를 지나지 않고 드라이버 예외가 붙는 자리\"\nF=$M/transaction/SpringMongoTransactionSessionFactory.java\ntest -f \"$F\"\nprintf ' 이 계층에서 addSuppressed 를 부르는 줄 : %s 개\\n' \\\n \"$(lines 'addSuppressed' 'src/adapter/outbound/persistence-mongo/src/main/**/*.java')\"\nhits 'addSuppressed' 'src/adapter/outbound/persistence-mongo/src/main/**/*.java' \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\necho\nat \"$F\" 159 176 SpringMongoTransactionSessionFactory.java\necho\nat \"$F\" 185 199 SpringMongoTransactionSessionFactory.java\necho\nat \"$F\" 212 256 SpringMongoTransactionSessionFactory.java\n\necho\necho \"# 그 규칙을 검사하는 시험\"\nprintf ' 이 계층의 시험에서 getCause 를 단언하는 줄 : %s 개\\n' \\\n \"$(lines 'assertThat\\(.*getCause' 'src/adapter/outbound/persistence-mongo/src/test/**/*.java')\"\nhits 'assertThat\\(.*getCause' 'src/adapter/outbound/persistence-mongo/src/test/**/*.java' \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\nprintf ' [대조] test 소스 세트에서는 : %s 줄\\n' \"$(lines 'assertThat\\(.*getCause' 'src/**/src/test/**/*.java')\"\nprintf ' [대조] 시험 소스 세트를 모두 훑으면 : %s 줄\\n' \"$(lines 'assertThat\\(.*getCause' 'src/**/src/*[Tt]est*/**/*.java')\"\nprintf ' [대조] 이 계층의 하위 타입 가운데 final 로 닫힌 것 : %s 개\\n' \"$(lines '^public final class Mongo[A-Za-z]+Exception extends MongoPersistenceException' 'src/adapter/outbound/persistence-mongo/src/main/**/*.java')\"\necho\nat \"$T\" 56 67 MongoFailureContextTest.java\nprintf ' MongoTimeoutException 이 나오는 시험 줄 : %s 개\\n' \"$(lines 'MongoTimeoutException' 'src/**/src/*[Tt]est*/**/*.java')\"\nprintf ' [대조] MongoTransactionCommitUnknownException 은 : %s 줄\\n' \"$(lines 'MongoTransactionCommitUnknownException' 'src/**/src/*[Tt]est*/**/*.java')\"\n",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-04T07:45:17+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/analysis-finding-a06-f005.txt",
|
|
"svg": "evidence/rendered/analysis-finding-a06-f005.svg",
|
|
"rawSha256": "732333031e4b7e951db056f7768e7dc488973b5dd2a9081e3bfc7ceecd845de7",
|
|
"lines": 238,
|
|
"redaction": "없음"
|
|
}
|