Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/a-lease-without-an-owner.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": "a-lease-without-an-owner",
"kind": "terminal",
"command": "O=messaging/messaging-outbox-jdbc-postgresql/src/main; M=$O/resources/db/migration/messaging/V2__messaging_outbox_lease_fencing.sql; R=$O/java/dev/caskeleton/messaging/outbox/JdbcOutboxRepository.java; I=messaging/messaging-reliability-api/src/main/java/dev/caskeleton/messaging/reliability/OutboxRepository.java; echo '# V2 가 더한 컬럼과 제약'; sed -n '15,23p' $M; echo; echo '# 다섯 상태에서 여섯으로'; grep -n \"status IN\" $O/resources/db/migration/messaging/V1__messaging_outbox.sql | head -1; sed -n '33p' $M; echo; echo '# 청구가 소유자와 토큰을 같은 문장에서 쓴다'; sed -n '129,133p' $R; echo '# 그 청구가 읽는 술어'; sed -n '117,124p' $R; echo '# V2 가 그 술어에 맞춰 만든 부분 인덱스'; sed -n '37,39p' $M; echo; echo '# 최종 쓰기는 소유자와 토큰을 조건으로 걸고, 0행을 삼키지 않는다'; grep -n \"AND lease_owner = ? AND lease_token = ?\" $R; sed -n '394,396p' $R; echo; echo '# 릴레이가 부르는 것은 전부 신세대다'; grep -rn 'repository\\.\\(mark\\|release\\|claim\\|lease\\)' --include=*.java $O/java | sed 's|.*/||'; echo; echo '# 펜싱 없는 옛 경로는 인터페이스에 남아 있다'; grep -n 'List<OutboxRecord> leaseBatch' $I; echo '# 그 메서드 자신의 javadoc 은 아직 안전을 주장한다'; sed -n '27,29p' $I; echo '# 폐기를 적은 것은 신세대 쪽 javadoc 이다'; sed -n '41,44p' $I; echo -n '# messaging 트리 전체의 @Deprecated 매치: '; grep -rn '@Deprecated' --include=*.java messaging/ | wc -l; echo -n '# .leaseBatch( 를 부르는 main 코드: '; grep -rn '\\.leaseBatch(' --include=*.java . | grep -c '/main/'; echo; echo '# 두 세대가 AMBIGUOUS 에서 남기는 것이 다르다'; sed -n '332,334p' $R; echo ' ---구세대'; sed -n '438,439p' $R; echo; echo '# 같은 형태가 다른 곳에도 있었다고 파일서버 마이그레이션이 적는다'; grep -n 'notification dispatcher' adapter/outbound/persistence-jpa/src/main/resources/db/migration/jpa/fileserver/V3__fileserver_fenced_cleanup_lease.sql",
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
"exitCode": 0,
"executedAt": "2026-09-02T01:32:03+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/a-lease-without-an-owner.txt",
"svg": "evidence/rendered/a-lease-without-an-owner.svg",
"rawSha256": "95cdb5c25fc5d718a06fd0369c5f8ef2c067117dca5924a1abcd6942e1ac249b",
"lines": 73,
"redaction": "none — 분석 문서 발췌"
}