Files
DongHyeonkaandClaude Opus 5 b2963105a8 docs(keycloak-session-store): import the session-storage lab as a new project
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>
2026-09-04 22:51:59 +09:00

15 lines
4.0 KiB
JSON

{
"assetKey": "analysis-finding-a04-f005",
"kind": "terminal",
"command": "#!/bin/bash\nset -euo pipefail\ncd /shared/codebase/clean-architecture-backend-template\nat() { awk -v s=\"$2\" -v e=\"$3\" -v n=\"$4\" 'NR>=s && NR<=e {printf \" %s:%d %s\\n\", n, NR, $0}' \"$1\"; }\ncount() {\n local out rc\n out=$(git grep -lE \"$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\" | grep -c . || echo 0\n}\nRM=src/adapter/outbound/support/README.md\ntest -f \"$RM\"\n\necho \"# README 가 적은 세 문장\"\nat \"$RM\" 7 11 README.md\nat \"$RM\" 20 25 README.md\necho \" README 의 커밋 이력 :\"\ngit log --format=' %h %ad %s' --date=short -- \"$RM\"\n\necho\necho \"# 두 파일이 언제 태어났는가\"\ngit log --all --name-status --format=' C %h %ad %s' --date=short \\\n -- src/adapter/outbound/support/CLAUDE.md src/adapter/outbound/support/README.md \\\n | sed 's#^\\t# #'\necho \" README 가 쓰인 커밋의 레지스트리 위치 :\"\ngit show 821fe00c:src/build.gradle | grep -n 'moduleRegistryFile = ' | sed -E 's#^([0-9]+): *# build.gradle@821fe00c:\\1 #'\necho \" modules.json 이 들어온 커밋 :\"\ngit log --all --diff-filter=A --format=' %h %ad %s' --date=short -- src/config/architecture/modules.json\n\necho\necho \"# 1. 의존 정책의 정본이 어디인가\"\nprintf ' src/build.gradle 에서 그 이름이 나오는 줄 : %s 개 (전부)\\n' \\\n \"$({ grep -c 'allowedProjectDependencies' src/build.gradle || true; })\"\n{ grep -n 'allowedProjectDependencies' src/build.gradle || true; } \\\n | sed -E 's#^([0-9]+): *# src/build.gradle:\\1 #'\nat src/config/architecture/modules.json 41 52 modules.json\n\necho\necho \"# 2. 이 모듈에 CLAUDE.md 가 있는가\"\ngit ls-files -- 'src/adapter/outbound/support/*.md' | sed 's#^# #'\nat src/adapter/outbound/support/CLAUDE.md 1 10 support/CLAUDE.md\necho \" CLAUDE.md 의 커밋 이력 :\"\ngit log --format=' %h %ad %s' --date=short -- src/adapter/outbound/support/CLAUDE.md\n\necho\necho \"# 3. httpclient 쪽 로거의 이름\"\nN_OLD=$(count 'OutboundHttpDependencyLogger' 'src/**/*.java') || exit 2\necho \" OutboundHttpDependencyLogger 를 가진 파일 : $N_OLD 개\"\nprintf ' httpclient main 의 이름에 Logger 가 든 파일 : %s 개\\n' \\\n \"$(git ls-files -- 'src/adapter/outbound/httpclient/src/main/**/*Logger*.java' | grep -c . || true)\"\nprintf ' httpclient main 에서 org.slf4j 를 import 하는 파일 : %s 개\\n' \\\n \"$({ git grep -l 'org.slf4j' -- 'src/adapter/outbound/httpclient/src/main/**/*.java' || true; } | grep -c . || true)\"\nprintf ' httpclient main 의 log.error 호출 : %s 줄\\n' \\\n \"$({ git grep -n 'log\\.error\\|logger\\.error\\|LOG\\.error' -- 'src/adapter/outbound/httpclient/src/main/**/*.java' || true; } | grep -c . || true)\"\necho \" [자기시험] 없는 이름 OutboundHttpDependencyLoggerZZZ : $(count 'OutboundHttpDependencyLoggerZZZ' 'src/**/*.java') 개\"\necho \" [대조] FailOpenDependencyLogger : $(count 'FailOpenDependencyLogger' 'src/**/*.java') 개\"\necho \" 그 이름의 이력 :\"\ngit log --all --name-status --format=' C %h %ad %s' --date=short -- '*OutboundHttpDependencyLogger*' \\\n | sed 's#^\\t# #'\n\necho\necho \"# 4. README 가 PII 에 대해 적은 것과 로거가 실제로 적는 것\"\nat \"$RM\" 24 25 README.md\nL=src/adapter/outbound/support/src/main/java/dev/caskeleton/adapter/outbound/support/FailOpenDependencyLogger.java\nat \"$L\" 36 48 FailOpenDependencyLogger.java\n",
"cwd": "/shared/codebase/clean-architecture-backend-template",
"exitCode": 0,
"executedAt": "2026-09-04T06:18:51+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/analysis-finding-a04-f005.txt",
"svg": "evidence/rendered/analysis-finding-a04-f005.svg",
"rawSha256": "7089135188f713dd881cbb89d2ba1dcd4e92ba6a705114050947403d35c7ee0f",
"lines": 96,
"redaction": "비밀값 없음"
}