Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/a05-f021-complete-replayttl.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": "a05-f021-complete-replayttl",
"kind": "terminal",
"command": "P=adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/postgresql/idempotency/PostgreSqlOwnerSafeIdempotencyStore.java\nI=adapter/outbound/persistence-jpa/src/postgresqlIntegrationTest/java/dev/caskeleton/adapter/outbound/persistence/readiness/PostgreSqlIdempotencyIntegrationTest.java\nD=adapter/outbound/persistence-jpa/src/test/java/dev/caskeleton/adapter/outbound/persistence/postgresql/idempotency/IdempotencyDigestPolicyTest.java\nR=adapter/outbound/cache-redis/src/main/java/dev/caskeleton/adapter/outbound/cache/redis/idempotency\n\necho '# 두 번째 완료가 비교하는 것'\ngrep -n '' \"$P\" | sed -n '261,268p'\n\necho\necho '# 첫 완료가 다이제스트에 넣는 것과 그 이유 주석'\ngrep -n '' \"$P\" | sed -n '274,285p'\n\necho\necho '# 공용 헬퍼와 그것이 읽는 열'\ngrep -n -A13 'private static ReplayVerdict replayVerdict' \"$P\"\ngrep -n 'lastTransition' adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/postgresql/idempotency/IdempotencyRecordRow.java\ngrep -n 'last_transition_result_digest' adapter/outbound/persistence-jpa/src/main/resources/db/migration/jpa/idempotency/V1__expand_owner_safe_v2.sql\n\necho\necho '# 그 헬퍼를 쓰는 네 전이'\ngrep -n 'switch (replayVerdict(' \"$P\" | sed 's/^/ /'\necho -n '# complete 본문에서 그것을 부르는 줄: '\nawk '/public IdempotencyCompleteOutcome complete\\(/,/^ }$/' \"$P\" | grep -c 'replayVerdict'\n\necho\necho '# 값이 다르다는 것은 이미 단위 시험이 고정한다'\ngrep -n -A4 'twoCompletionsWithDifferentReplayWindowsDiffer' \"$D\"\n\necho\necho '# 갱신 경로의 주석'\ngrep -n '' \"$P\" | sed -n '216,218p'\n\necho\necho '# 출하 통합 시험이 덮는 인자 재생'\ngrep -n ' void ' \"$I\" | grep -iE 'conflict|retention|lease|renewal|SameArguments'\necho -n '# 그 파일에서 완료를 부르는 곳: '\ngrep -c 'store.complete(' \"$I\"\necho -n '# ALREADY_COMPLETED_SAME_RESULT 를 단언하는 곳: '\ngrep -c 'ALREADY_COMPLETED_SAME_RESULT' \"$I\"\n\necho\necho '# 레디스 구현도 같은 자리에서 멈춘다'\ngrep -n -A5 'case \"ALREADY\" ->' \"$R/RedisIdempotencyStoreAdapter.java\" | head -8\ngrep -n \"return {'ALREADY'\" \"$R/IdempotencyScripts.java\"\ngrep -n \"if ARGV\\[8\\] ~= ''\" \"$R/IdempotencyScripts.java\"",
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
"exitCode": 0,
"executedAt": "2026-09-02T04:43:45+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/a05-f021-complete-replayttl.txt",
"svg": "evidence/rendered/a05-f021-complete-replayttl.svg",
"rawSha256": "8d0a4df8d3246c1af3da01256ec1ae478fd7aab2ea26baa3c795bc81b6e818dc",
"lines": 81,
"redaction": "none — 코드베이스 정적 검색"
}