Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/analysis-finding-a06-f008.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
4.1 KiB
JSON

{
"assetKey": "analysis-finding-a06-f008",
"kind": "terminal",
"command": "#!/bin/bash\nset -euo pipefail\ncd /shared/codebase/clean-architecture-backend-template\n. /tmp/lib.sh\nM=src/adapter/outbound/persistence-mongo/src/main/java/dev/caskeleton/adapter/outbound/mongo\nB=$M/imperative/BoundScopedOperations.java\nA=$M/imperative/MongoPlatformCollectionAccess.java\nC=$M/imperative/MongoCollectionAccess.java\nE=$M/imperative/DefaultMongoImperativeExecutor.java\nG=$M/aggregation/PolicyAwareMongoAggregationExecutor.java\nQ=$M/query/PolicyAwareMongoQueryBuilder.java\nfor f in \"$B\" \"$A\" \"$C\" \"$E\" \"$G\" \"$Q\"; do test -f \"$f\"; done\n\necho \"# 이 타입이 존재하는 이유\"\nat \"$B\" 12 27 BoundScopedOperations.java\necho \" 그 데드라인이 실제로 붙는 자리 :\"\nhits 'maxTimeMsec|maxTimeMS|maxTime\\(' \"$B\" | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\necho\nat \"$B\" 48 56 BoundScopedOperations.java\necho\nat \"$B\" 92 102 BoundScopedOperations.java\n\necho\necho \"# 그 타입에 닿는 유일한 문\"\nat \"$C\" 24 33 MongoCollectionAccess.java\necho\nat \"$A\" 5 20 MongoPlatformCollectionAccess.java\n\necho\necho \"# 두 접근자를 부르는 자리 전수\"\nprintf ' 저장소 전체에서 scoped() 를 부르는 줄 : %s 개\\n' \"$(lines '\\.scoped\\(\\)' 'src/**/*.java')\"\nprintf ' 저장소 전체에서 rawOperations() 를 부르는 줄 : %s 개\\n' \"$(lines '\\.rawOperations\\(\\)' 'src/**/*.java')\"\necho \" 두 이름이 나오는 자리 전부 (선언 포함) :\"\nhits 'scoped\\(\\)|rawOperations\\(\\)' 'src/**/*.java' \\\n | sed -E 's#^src/(.*)/src/([a-zA-Z]+)/java/.*/([A-Za-z0-9_$]+\\.java):([0-9]+): *# \\2 · \\3:\\4 #'\nprintf ' [대조] 그 검색이 훑은 파일 : %s 개\\n' \"$(git ls-files -- 'src/**/*.java' | grep -c .)\"\n\necho\necho \"# rawOperations 가 무엇을 돌려주는가\"\nat \"$E\" 180 196 DefaultMongoImperativeExecutor.java\n\necho\necho \"# 서버에 데드라인을 실제로 붙이는 다른 경로들\"\nat \"$G\" 88 108 PolicyAwareMongoAggregationExecutor.java\necho \" maxTimeMillis 를 부르는 자리 전부 (에러 메시지 포함) :\"\nhits 'maxTimeMillis\\(\\)' 'src/adapter/outbound/persistence-mongo/src/main/**/*.java' \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\necho \" context.timeout() 이나 narrowedTo 가 나오는 자리 전부 :\"\nhits 'narrowedTo|context\\.timeout\\(\\)' 'src/adapter/outbound/persistence-mongo/src/main/**/*.java' \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\n\necho\necho \"# 그 다섯 자리를 가진 세 실행기가 조립되는가\"\nhits 'MongoAtomicOperationsTemplate\\(|MongoBulkExecutor\\(|SpringMongoGeospatialOperations\\(' 'src/**/src/main/**/*.java' \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\necho \" 그 셋이 자기 안에서 데드라인을 따로 거는가 :\"\nfor t in geo/SpringMongoGeospatialOperations imperative/atomic/MongoAtomicOperationsTemplate imperative/bulk/MongoBulkExecutor; do\n printf ' %-34s maxTime 이나 timeout 이 나오는 줄 : %s 개\\n' \"$(basename \"$t\").java\" \\\n \"$(lines 'maxTime|[Tt]imeout' \"$M/$t.java\")\"\ndone\nprintf ' [대조] 같은 검색을 BoundScopedOperations 에 걸면 : %s 줄\\n' \"$(lines 'maxTime|[Tt]imeout' \"$B\")\"\n\necho\necho \"# 저장소가 그 손잡이를 어떻게 지키는가\"\nX=src/app-bootstrap/src/test/java/dev/caskeleton/bootstrap/architecture/MongoRawAccessBoundaryTest.java\ntest -f \"$X\"\nat \"$X\" 15 32 MongoRawAccessBoundaryTest.java\nat \"$X\" 35 41 MongoRawAccessBoundaryTest.java\n\necho\necho \"# 세 실행기가 대신 하는 것\"\nat \"$E\" 85 106 DefaultMongoImperativeExecutor.java\n",
"cwd": "/shared/codebase/clean-architecture-backend-template",
"exitCode": 0,
"executedAt": "2026-09-04T07:52:57+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/analysis-finding-a06-f008.txt",
"svg": "evidence/rendered/analysis-finding-a06-f008.svg",
"rawSha256": "3aec10c84f79cb235ae04ccae08cecb104c8df6ce6dc95e9991b02cbf25cedb3",
"lines": 214,
"redaction": "없음"
}