Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/a10-f001-readme-counts.json
T
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.8 KiB
JSON

{
"assetKey": "a10-f001-readme-counts",
"kind": "terminal",
"command": "L=src/adapter/outbound/cache-redis\nR=$L/src/main/java/dev/caskeleton/adapter/outbound/cache/redis\nC=$R/sdk/config/RedisSdkAutoConfiguration.java\nM=$L/src/main/java\n\necho '# 표가 없다고 적은 자리를 센다'\necho -n '# sdk/lettuce/connection : '\necho \"$(find $R/sdk/lettuce/connection -name '*.java' | wc -l) 파일 $(find $R/sdk/lettuce/connection -name '*.java' -exec cat {} + | wc -l) 줄\"\nfind $R/sdk/lettuce/connection -name '*.java' -exec wc -l {} + | sort -rn | sed -n '2,5p' | sed \"s#$R/# #\"\necho '# 표가 든 다섯 포트 중 구현이 있는 넷'\nfor p in cache idempotency ratelimit lease; do\n printf ' %-12s %s 파일 %s 줄\\n' \"$p\" \"$(find $R/$p -name '*.java' | wc -l)\" \"$(find $R/$p -name '*.java' -exec cat {} + | wc -l)\"\ndone\necho -n ' 합계 '\necho \"$(find $R/cache $R/idempotency $R/ratelimit $R/lease -name '*.java' | wc -l) 파일 $(find $R/cache $R/idempotency $R/ratelimit $R/lease -name '*.java' -exec cat {} + | wc -l) 줄\"\necho -n '# 다섯째 session : '\nls -d $R/session 2>/dev/null || { echo -n '패키지 없음, main 전체에서 session 문자열 '; grep -rn 'session' -i --include=*.java $M | wc -l; }\necho -n '# 그 행에 이름이 없어 뺀 패키지 : '\necho \"realtime $(find $R/realtime -name '*.java' -exec cat {} + | wc -l) 줄, keyspace $(find $R/keyspace -name '*.java' -exec cat {} + | wc -l) 줄\"\necho -n '# 상태 기여자 : '\necho \"$(wc -l < $R/sdk/config/RedisHealthContributor.java) + $(wc -l < $R/sdk/config/RedisCorrectnessRoles.java)\"\n\necho\necho '# 조립되지 않는다고 적힌 자동 설정의 @Bean 메서드'\ngrep -n '@Bean' -A2 \"$C\" | grep -E '@Bean|@Conditional|public ' | grep -v '^55:' | sed 's/^/ /'\n\necho\necho '# build.gradle 이 등록한 간선 셋과 앞 주석'\nsed -n '7,15p' $L/build.gradle\n\necho\necho '# 그 간선들을 임포트하는 파일'\nfor e in application shared adapter.outbound.support; do\n printf ' dev.caskeleton.%-24s %s 파일\\n' \"$e\" \"$(grep -rl \"^import dev.caskeleton.$e\" $M | wc -l)\"\ndone\necho -n '# 주석의 주어인 sdk 패키지만 보면 : '\ngrep -rl 'dev.caskeleton.application\\|dev.caskeleton.shared' $R/sdk | wc -l\n\necho\necho '# 스무 줄 뒤의 별개 주석'\nsed -n '33,39p' $L/build.gradle",
"cwd": "/shared/codebase/clean-architecture-backend-template",
"exitCode": 0,
"executedAt": "2026-09-02T10:44:47+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/a10-f001-readme-counts.txt",
"svg": "evidence/rendered/a10-f001-readme-counts.svg",
"rawSha256": "4a0f4da067cc855b7231a101cded9f30e89fd1c7b4dbdb77cbe42c25414969e2",
"lines": 58,
"redaction": "none — 코드베이스 정적 검색"
}