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.5 KiB
JSON
15 lines
3.5 KiB
JSON
{
|
|
"assetKey": "analysis-finding-a06-f015",
|
|
"kind": "terminal",
|
|
"command": "#!/bin/bash\nset -euo pipefail\ncd /shared/codebase/clean-architecture-backend-template\n. /tmp/lib.sh\nS=src/adapter/outbound/persistence-mongo/src/main/java/dev/caskeleton/adapter/outbound/mongo/schema\nM=$S/manifest/MongoIndexManifest.java\nV=$S/ttl/MongoTtlPolicyValidator.java\nP=$S/ttl/MongoTtlPolicy.java\nD=$S/ttl/MongoTtlIndexDescriptor.java\nfor f in \"$M\" \"$V\" \"$P\" \"$D\"; do test -f \"$f\"; done\n\necho \"# 매니페스트 쪽 TTL\"\nat \"$M\" 28 32 MongoIndexManifest.java\nat \"$M\" 50 58 MongoIndexManifest.java\nat \"$M\" 66 80 MongoIndexManifest.java\nat \"$M\" 186 194 MongoIndexManifest.java\nprintf ' expireAfter 라는 이름이 그 파일에 나오는 줄 : %s 개\\n' \"$(lines 'expireAfter' \"$M\")\"\nprintf ' 그중 값을 거절하는 줄 : %s 개\\n' \"$({ grep -cE 'expireAfter.*isNegative|isNegative.*expireAfter' \"$M\" || true; })\"\n\necho\necho \"# 규칙을 가진 쪽\"\nat \"$V\" 7 94 MongoTtlPolicyValidator.java\n\necho\necho \"# 그 정책 타입이 요구하는 것\"\nat \"$P\" 1 40 MongoTtlPolicy.java\n\necho\necho \"# 두 표현 사이에 참조가 있는가\"\nprintf ' schema/ttl 밖 main 에서 그 네 타입을 언급하는 줄 : %s 개\\n' \\\n \"$({ git grep -nE 'MongoTtlPolicy|MongoTtlIndexDescriptor|MongoExpirationAccessPolicy|MongoTtlPolicyValidator' -- 'src/**/src/main/**/*.java' || true; } | { grep -v '/schema/ttl/' || true; } | grep -c . || true)\"\nprintf ' [대조] schema/ttl 안에서는 : %s 개\\n' \\\n \"$({ git grep -nE 'MongoTtlPolicy|MongoTtlIndexDescriptor|MongoExpirationAccessPolicy|MongoTtlPolicyValidator' -- 'src/**/src/main/**/*.java' || true; } | { grep '/schema/ttl/' || true; } | grep -c . || true)\"\nprintf ' MongoIndexManifest 가 그 네 타입을 언급하는 줄 : %s 개\\n' \\\n \"$({ grep -cE 'MongoTtlPolicy|MongoTtlIndexDescriptor|MongoExpirationAccessPolicy' \"$M\" || true; })\"\nprintf ' isTtlIndex() 나 ttl() 을 부르는 줄 : %s 개\\n' \"$(lines '\\.isTtlIndex\\(\\)|\\.ttl\\(\\)' \"$S/**/*.java\")\"\nprintf ' [대조] 그 두 이름이 나오는 줄 (선언 포함) : %s 개\\n' \"$(lines 'isTtlIndex\\(\\)|ttl\\(\\)' \"$S/**/*.java\")\"\n\necho\necho \"# 두 표현을 조립하는 main 코드가 있는가\"\nprintf ' MongoIndexManifest 를 만드는 main 줄 : %s 개\\n' \\\n \"$(lines 'MongoIndexManifest\\.named\\(|new MongoIndexManifest' 'src/**/src/main/**/*.java')\"\nhits 'MongoIndexManifest\\.named\\(|new MongoIndexManifest' 'src/**/src/main/**/*.java' \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\nprintf ' [대조] 시험에서 만드는 줄 : %s 개\\n' \\\n \"$(lines 'MongoIndexManifest\\.named\\(|new MongoIndexManifest' 'src/**/src/*[Tt]est*/**/*.java')\"\nprintf ' MongoTtlPolicyValidator 를 만드는 main 줄 : %s 개\\n' \"$(lines 'new MongoTtlPolicyValidator' 'src/**/src/main/**/*.java')\"\nprintf ' [대조] 시험에서 검증기를 만드는 줄 : %s 개\\n' \\\n \"$(lines 'new MongoTtlPolicyValidator' 'src/**/src/*[Tt]est*/**/*.java')\"\n",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-04T08:26:10+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/analysis-finding-a06-f015.txt",
|
|
"svg": "evidence/rendered/analysis-finding-a06-f015.svg",
|
|
"rawSha256": "da4fed550289d9cd35cc37917380875f6af63390cf73d3c6d3a56cd88dd020d0",
|
|
"lines": 187,
|
|
"redaction": "없음"
|
|
}
|