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

{
"assetKey": "analysis-finding-a06-f009",
"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\nE=$M/imperative/DefaultMongoImperativeExecutor.java\nO=$M/api/observation/MongoOperationObservation.java\nI=$M/observation/MicrometerMongoOperationObserver.java\nX=$M/api/error/MongoOperationRejectedException.java\nfor f in \"$E\" \"$O\" \"$I\" \"$X\"; do test -f \"$f\"; done\n\necho \"# 관측 인터페이스가 세우는 계약\"\nat \"$O\" 6 26 MongoOperationObservation.java\n\necho\necho \"# 예산 초과 분기\"\nat \"$E\" 85 118 DefaultMongoImperativeExecutor.java\n\necho\necho \"# 그 예외가 무엇을 상속하는가\"\nat \"$X\" 1 27 MongoOperationRejectedException.java\n\necho\necho \"# 한 관측에 두 번 기록되는가\"\nprintf ' try 블록 안에서 observation.success 를 부르는 줄 : %s 개\\n' \\\n \"$(awk 'NR>=87 && NR<=107 && /observation\\.success\\(/' \"$E\" | grep -c .)\"\nprintf ' 같은 try 의 catch 가 observation.failure 를 부르는 줄 : %s 개\\n' \\\n \"$(awk 'NR>=108 && NR<=111 && /observation\\.failure\\(/' \"$E\" | grep -c .)\"\necho \" 이 파일에서 두 메서드를 부르는 자리 전부 :\"\nhits 'observation\\.(success|failure)\\(' \"$E\" \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\n\necho\necho \"# 출하 구현이 그것을 어떻게 다루는가\"\nat \"$I\" 62 103 MicrometerMongoOperationObserver.java\n\necho\necho \"# 다른 구현이 있는가\"\nprintf ' MongoOperationObservation 을 구현하는 자리 : %s 개\\n' \\\n \"$(lines 'implements MongoOperationObservation' 'src/**/*.java')\"\nhits 'implements MongoOperationObservation' 'src/**/*.java' \\\n | sed -E 's#^src/(.*)/src/([a-zA-Z]+)/java/.*/([A-Za-z0-9_$]+\\.java):([0-9]+): *# \\2 · \\3:\\4 #'\nprintf ' [대조] MongoOperationObserver 를 구현하는 자리 : %s 개\\n' \\\n \"$(lines 'implements MongoOperationObserver' 'src/**/*.java')\"\necho\nN=$M/api/observation/NoOpMongoOperationObserver.java\ntest -f \"$N\"\nat \"$N\" 27 50 NoOpMongoOperationObserver.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-f009.txt",
"svg": "evidence/rendered/analysis-finding-a06-f009.svg",
"rawSha256": "cbc51ded2f6020330f77acfa98430d61bda5ed9e09352c2f60e8d6e6055aed44",
"lines": 171,
"redaction": "없음"
}