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-a05-f024",
|
|
"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\"; }\nG=src/adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/fileserver/JpaQuotaReclaimGateway.java\nR=src/adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/fileserver/repository/FileserverQuotaRepository.java\ntest -f \"$G\" && test -f \"$R\"\n\necho \"# 회수 게이트웨이 전문 ($(wc -l < \"$G\") 줄)\"\nawk '{printf \" JpaQuotaReclaimGateway.java:%d %s\\n\", NR, $0}' \"$G\"\n\necho\necho \"# 그 한 번의 질의가 무엇을 돌려주는가\"\nat \"$R\" 106 117 FileserverQuotaRepository.java\necho\necho \"# 그 차감이 0 행을 갱신했을 때 무엇이 되는가\"\nat \"$R\" 119 139 FileserverQuotaRepository.java\n\necho\necho \"# 회수를 부르는 자리\"\nhits '\\.reclaim\\(' 'src/**/*.java' | mod\n\necho\necho \"# 같은 게이트웨이를 그대로 부른 결과 (리포지터리만 프록시)\"\ngrep -nE 'RECLAIM|findCommittedWithBytes|reduceCommitted|committedRow|gateway.reclaim|new JpaQuotaReclaimGateway|subList|ledger.add' \\\n /tmp/probe-reclaim/ReclaimProbe.java | sed -E 's#^([0-9]+): *# probe:\\1 #'\nCP=$(cat /tmp/cp-jpa.txt)\nrm -rf /tmp/probe-reclaim/out && mkdir -p /tmp/probe-reclaim/out\njavac -nowarn -cp \"$CP\" -d /tmp/probe-reclaim/out /tmp/probe-reclaim/ReclaimProbe.java\njava -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 \\\n -cp \"$CP:/tmp/probe-reclaim/out\" dev.caskeleton.adapter.outbound.persistence.fileserver.ReclaimProbe\n\necho\necho \"# 그 경계를 짚는 시험이 있는가\"\nfor n in 64 65 RECLAIM_PAGE; do\n printf ' 시험에서 %s 를 쓰는 줄 : %s 개\\n' \"$n\" \\\n \"$({ git grep -nE \"\\\\b$n\\\\b\" -- 'src/**/*Reclaim*' 'src/**/*Quota*' || true; } | { grep -E '/src/(test|[a-zA-Z]+Test)/' || true; } | grep -c . || true)\"\ndone\necho \" 회수를 다루는 시험 파일 :\"\ngit ls-files -- 'src/**/*Reclaim*' | sed 's#^# #'\n",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-04T06:08:26+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/analysis-finding-a05-f024.txt",
|
|
"svg": "evidence/rendered/analysis-finding-a05-f024.svg",
|
|
"rawSha256": "edd8469d476b189854e7e56f63fd7ee2f01d91f45a39e8ff087f4d7f2d2ec963",
|
|
"lines": 129,
|
|
"redaction": "비밀값 없음"
|
|
}
|