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
2.6 KiB
JSON
15 lines
2.6 KiB
JSON
{
|
|
"assetKey": "a05-f029-for-update-skip-locked",
|
|
"kind": "terminal",
|
|
"command": "S=adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/notification/platform/JdbcReconciliationJobStore.java\nC=adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/notification/platform/RecipientClaimSql.java\nW=$(find . -name ReconciliationJobWorker.java -path '*/main/*')\nB=adapter/outbound/notification/src/main/java/dev/caskeleton/adapter/outbound/notification/platform/dispatch/NotificationBackgroundWorkers.java\nV=adapter/outbound/persistence-jpa/src/main/resources/db/migration/jpa/notification-platform/V3__notification_platform_inbox_admin.sql\n\necho '# 청구 저장소의 javadoc'\ngrep -n '' \"$S\" | sed -n '25,26p'\necho '# 청구 문장과 그것을 실행하는 메서드'\ngrep -n '' \"$S\" | sed -n '44,52p'\ngrep -n -A7 'public List<ReconciliationJob> claimDue' \"$S\"\necho -n '# 그 클래스의 @Transactional / TransactionPort: '\ngrep -c 'Transactional\\|TransactionPort\\|inWrite' \"$S\"\n\necho\necho '# 같은 패키지의 전달 큐는 같은 잠금 구문에 UPDATE 를 붙인다'\ngrep -n '' \"$C\" | sed -n '27,50p'\n\necho\necho '# 작업자는 조회와 정산 사이에 제공자를 부른다'\ngrep -n -A16 'public int reconcileOnce' \"$W\"\necho -n '# 그 클래스의 @Transactional / TransactionPort: '\ngrep -c 'Transactional\\|TransactionPort\\|inWrite' \"$W\"\n\necho\necho '# 조정 작업 표의 열'\ngrep -n -A12 'CREATE TABLE notification_reconciliation_job' \"$V\"\necho -n '# 그 표 정의 안에서 owner/lease/status 를 포함한 줄: '\nsed -n '/CREATE TABLE notification_reconciliation_job/,/^);/p' \"$V\" | grep -ci 'owner\\|lease\\|status'\necho '# 이 표를 건드리는 마이그레이션 전부'\ngrep -rn 'notification_reconciliation_job' --include=*.sql --exclude-dir=build . | sed 's|.*/||'\n\necho\necho '# 도달 조건'\ngrep -n 'APP_NOTIFICATION_PLATFORM_ENABLED\\|APP_NOTIFICATION_PLATFORM_MODE' app-bootstrap/src/main/resources/application.yml\ngrep -n -A3 'Executors.newScheduledThreadPool' \"$B\"\ngrep -n 'schedule(\"reconciliation\"' \"$B\"",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-02T06:03:12+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/a05-f029-for-update-skip-locked.txt",
|
|
"svg": "evidence/rendered/a05-f029-for-update-skip-locked.svg",
|
|
"rawSha256": "843f1ad30c0d8bd6ae7b8887fa8798ee0bf9597f0e066974162aeba8ef8d8acb",
|
|
"lines": 97,
|
|
"redaction": "none — 코드베이스 정적 검색"
|
|
}
|