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
2.9 KiB
JSON

{
"assetKey": "analysis-finding-a05-f032",
"kind": "terminal",
"command": "#!/bin/bash\nset -euo pipefail\ncd /shared/codebase/clean-architecture-backend-template\n. /tmp/lib.sh\nW=.github/workflows/jpa-nightly.yml\nB=src/adapter/outbound/persistence-jpa/build.gradle\nD=src/adapter/outbound/persistence-jpa/src/jpaPlatformPerformanceTest/java/dev/caskeleton/adapter/outbound/persistence/platform/pool\nfor f in \"$W\" \"$B\"; do test -f \"$f\"; done\n\necho \"# 야간 워크플로가 이 레인에 대해 적는 것\"\nat \"$W\" 122 134 jpa-nightly.yml\n\necho\necho \"# 그 레인이 도는 소스 세트와 그 안의 시험 파일\"\nat \"$B\" 281 310 persistence-jpa/build.gradle\ngit ls-files -- 'src/adapter/outbound/persistence-jpa/src/jpaPlatformPerformanceTest/**/*.java' | sed 's#.*/# #'\n\necho\necho \"# 세 시험 파일의 시험과 단언 전수\"\nfor f in \"$D\"/*.java; do\n echo \" --- $(basename \"$f\")\"\n { grep -nE ' void [a-zA-Z]+\\(|assertThat|assertThatThrownBy|new PoolMeasurement|getThreadsAwaitingConnection' \"$f\" || true; } \\\n | sed -E 's#^([0-9]+): *# :\\1 #'\ndone\n\necho\necho \"# 대기 수를 단언하는 자리\"\nprintf ' measurement.pending() 를 단언하는 줄 : %s 개\\n' \\\n \"$({ git grep -n 'pending()' -- 'src/adapter/outbound/persistence-jpa/src/jpaPlatformPerformanceTest/**/*.java' || true; } | grep -c . || true)\"\necho \" 그 줄이 있는 시험의 입력 :\"\nat \"$D/PoolPressureContractTest.java\" 26 47 PoolPressureContractTest.java\necho \" 포화를 다루는 세 시험 전문 :\"\nat \"$D/HikariPoolSaturationContractTest.java\" 30 34 HikariPoolSaturationContractTest.java\nat \"$D/HikariPoolSaturationContractTest.java\" 50 118 HikariPoolSaturationContractTest.java\n\necho\necho \"# 나머지 두 주장에는 실제 단언이 있다\"\nat \"$D/RequiresNewPoolPressureContractTest.java\" 43 89 RequiresNewPoolPressureContractTest.java\n\necho\necho \"# PoolMeasurement 는 어디서 온 타입인가\"\nprintf ' 세 시험이 그것을 어디서 import 하는가 :\\n'\nhits 'import .*PoolMeasurement' 'src/**/*.java' \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\nP=$(git ls-files -- '**/testkit/**/PoolMeasurement.java')\ntest -f \"$P\"\nat \"$P\" 6 34 PoolMeasurement.java\nprintf ' 프로덕션에서 대기 수를 읽는 자리 : %s 개\\n' \\\n \"$(count 'getThreadsAwaitingConnection|HikariPoolMXBean' 'src/**/src/main/**')\"\nprintf ' [대조] 그 검색이 훑은 main 파일 : %s 개\\n' \"$(git ls-files -- 'src/**/src/main/**' | grep -c .)\"\n",
"cwd": "/shared/codebase/clean-architecture-backend-template",
"exitCode": 0,
"executedAt": "2026-09-04T07:10:22+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/analysis-finding-a05-f032.txt",
"svg": "evidence/rendered/analysis-finding-a05-f032.svg",
"rawSha256": "c4d1b9dd7cea42bed771ebb00aa21828c604c409d60b58be3b83e0232acc7268",
"lines": 271,
"redaction": "없음"
}