Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/a-replay-store-with-no-eviction-path.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.5 KiB
JSON

{
"assetKey": "a-replay-store-with-no-eviction-path",
"kind": "terminal",
"command": "R=grpc/grpc-policy/src/main/java/dev/caskeleton/grpc/idempotency/GrpcOutcomeReplay.java; D=grpc-advanced/grpc-advanced-streaming/src/main/java/dev/caskeleton/grpc/advanced/streaming/GrpcClientMessageDeduplicator.java; S=grpc-advanced/grpc-advanced-streaming/src/main/java/dev/caskeleton/grpc/advanced/streaming/GrpcClientStreamSessionId.java; echo '# 결과 재생 저장소 — 항목 하나의 크기만 제한한다'; sed -n '18,19p;41,49p' $R; echo -n '# remove / clear / evict / expire 매치: '; grep -c 'remove\\|clear\\|evict\\|expire' $R; echo '# 개수를 볼 수 있는 유일한 창구'; sed -n '59,61p' $R; echo -n '# 그 값을 읽는 main 코드: '; grep -rn 'replay.size()\\|Replay.size()' --include=*.java . | grep -c '/main/'; echo -n '# 이 클래스를 잡는 main 코드: '; grep -rn 'GrpcOutcomeReplay' --include=*.java . | grep '/main/' | grep -vc 'GrpcOutcomeReplay.java'; echo '# javadoc 이 이 저장소를 부르는 이름'; sed -n '13,14p' $R; echo; echo '# 형제 모듈의 중복 제거기 — 같은 형태를 자기 javadoc 이 비판한다'; sed -n '11,17p' $D; echo '# 비판을 지키는 쪽: 세션당 항목 하나'; sed -n '21,23p' $D; echo '# 지키지 않는 쪽: 적용된 메시지마다 한 항목'; sed -n '74,77p' $D; echo '# 재생 판정이 실제로 보는 것'; grep -n 'alreadyApplied(message.sequence())' $D; echo -n '# 이 파일의 remove / clear / removeIf 매치: '; grep -c 'remove\\|clear\\|evict\\|expire' $D; echo '# 그 둘이 있는 자리'; sed -n '109,113p' $D; echo '# 그 접두사가 실제로 무엇인가'; sed -n '40p;44p' $S; echo; echo -n '# 두 모듈의 런타임 소속: '; python3 -c \"import json;m=json.load(open('config/architecture/modules.json'));ls=[x for x in m.get('modules',m) if isinstance(x,dict)];print(' '.join(f\\\"{x['id']}={x.get('runtime_memberships')}\\\" for x in ls if x.get('id','').endswith('grpc-policy') or x.get('id','').endswith('grpc-advanced-streaming')))\"",
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
"exitCode": 0,
"executedAt": "2026-09-02T01:58:32+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/a-replay-store-with-no-eviction-path.txt",
"svg": "evidence/rendered/a-replay-store-with-no-eviction-path.svg",
"rawSha256": "385d4a3e445ad6eefa9a4f03d16515c446326c7f1d370fd8e8d74308f5f5488c",
"lines": 54,
"redaction": "none — 분석 문서 발췌"
}