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>
15 lines
3.8 KiB
JSON
15 lines
3.8 KiB
JSON
{
|
|
"assetKey": "analysis-finding-a05-f028",
|
|
"kind": "terminal",
|
|
"command": "#!/bin/bash\nset -euo pipefail\ncd /shared/codebase/clean-architecture-backend-template\n. /tmp/lib.sh\nP=src/application-core/src/main/java/dev/caskeleton/application/notification/platform/dispatch/RecipientDeliveryStorePort.java\nR=src/application-core/src/main/java/dev/caskeleton/application/notification/platform/dispatch/DispatchOutcomeRecorder.java\nS=src/application-core/src/main/java/dev/caskeleton/application/notification/platform/dispatch/NotificationDispatchService.java\nQ=src/adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/notification/platform/RecipientDeliveryJpaRepository.java\nE=src/adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/notification/platform/RecipientDeliveryEntity.java\nI=src/adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/notification/platform/JpaRecipientDeliveryStore.java\nfor f in \"$P\" \"$R\" \"$S\" \"$Q\" \"$E\" \"$I\"; do test -f \"$f\"; done\n\necho \"# 포트가 선언한 네 쓰기와 saveHeldBy 의 자바독\"\nhits '^ [A-Za-z].*\\(|^ Optional' \"$P\" | sed -E 's#^([0-9]+): *# RecipientDeliveryStorePort.java:\\1 #'\necho\nat \"$P\" 21 36 RecipientDeliveryStorePort.java\n\necho\necho \"# 펜싱하는 갱신문이 where 절에 넣는 것\"\nat \"$Q\" 56 82 RecipientDeliveryJpaRepository.java\necho\necho \" 세 갱신문의 where 절을 나란히 :\"\nhits 'WHERE id = :id|AND lease_owner|AND lease_fence|AND lease_until|int (saveProjectionHeldBy|transitionHeldBy|renewLease)' \"$Q\" \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\n\necho\necho \"# 조건 없는 save 가 실제로 덮는 컬럼\"\nat \"$I\" 32 52 JpaRecipientDeliveryStore.java\necho\nat \"$E\" 158 182 RecipientDeliveryEntity.java\n\necho\necho \"# 제공자 호출 뒤 결과를 쓰는 자리\"\nat \"$R\" 14 19 DispatchOutcomeRecorder.java\nat \"$R\" 108 136 DispatchOutcomeRecorder.java\n\necho\necho \"# 같은 흐름의 다른 쓰기는 펜싱을 쓴다\"\nfor m in 'recipients\\.save\\(' 'recipients\\.transition\\(' 'recipients\\.saveHeldBy\\(' 'recipients\\.transitionHeldBy\\('; do\n printf ' %s\\n' \"$m\"\n hits \"$m\" 'src/application-core/src/main/**/notification/**/*.java' \\\n | sed -E 's#^src/(.*)/src/main/java/.*/([A-Za-z]+\\.java):([0-9]+): *# \\2:\\3 #'\ndone\n\necho\necho \"# 디스패치가 레코더를 부르기 직전에 하는 일\"\nat \"$S\" 158 178 NotificationDispatchService.java\n\necho\necho \"# 그 넷이 놓인 메서드가 자기 자바독에 적는 것\"\nat \"$S\" 398 412 NotificationDispatchService.java\necho\nat \"$S\" 417 445 NotificationDispatchService.java\n\necho\necho \"# 그 순서를 고정하는 시험이 있는가\"\nprintf ' 파일명에 Fenc 나 Lease 가 든 시험 파일 : %s 개\\n' \\\n \"$(git ls-files -- 'src/**/*Test*.java' 'src/**/*IT.java' | xargs -n1 basename | { grep -iE 'fenc|lease' || true; } | { grep -vi 'release' || true; } | grep -c . || true)\"\nprintf ' DispatchOutcomeRecorder 를 이름에 가진 시험 파일 : %s 개\\n' \\\n \"$(git ls-files -- 'src/**/*Test*.java' | { grep -c 'DispatchOutcomeRecorder' || true; })\"\necho \" 펜싱 연산 이름이 나오는 시험 자리 (더블의 선언 포함) :\"\nhits 'saveHeldBy|transitionHeldBy' 'src/**/*.java' | { grep -v '/src/main/' || true; } | mod\n",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-04T07:01:16+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/analysis-finding-a05-f028.txt",
|
|
"svg": "evidence/rendered/analysis-finding-a05-f028.svg",
|
|
"rawSha256": "cb09bbf3c810f3c9b992428d08ab5dd724bf4dc53270ca5416f1cd0beaee789c",
|
|
"lines": 250,
|
|
"redaction": "없음"
|
|
}
|