Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/a05-f007-transactionprofileregistry.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
4.8 KiB
JSON

{
"assetKey": "a05-f007-transactionprofileregistry",
"kind": "terminal",
"command": "SELF=adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/transaction/TransactionProfileRegistry.java\n\necho '# 자리 — 이 리프의 공개 API 패키지인가, 구현 패키지인가'\ngrep -n '^package' \"$SELF\"\necho -n '# 리프의 api/** 아래 main 파일: '\nfind adapter/outbound/persistence-jpa/src/main/java -path '*/api/*' -name '*.java' | wc -l\necho -n '# 그중 이 파일: '\nfind adapter/outbound/persistence-jpa/src/main/java -path '*/api/*' -name 'TransactionProfileRegistry.java' | wc -l\n\necho\necho '# 제거 조건 하나 — 외부 프로덕션 참조'\necho -n '# 자기 파일을 뺀 main 참조: '\ngrep -rnw 'TransactionProfileRegistry' --include=*.java . | grep '/main/' | grep -vc \"$SELF\"\necho -n '# 자동설정 등록 리소스와 spring.factories: '\ngrep -rl 'TransactionProfileRegistry' --include=*.imports --include=spring.factories . 2>/dev/null | wc -l\necho '# 패키지는 스캔 대상이지만 이 클래스에 스테레오타입이 없다'\ngrep -rn 'persistence.transaction' --include=JpaAdapterComponentsConfig.java . | sed 's|.*/||'\necho -n '# 이 파일의 스테레오타입 애너테이션: '\ngrep -c '^@\\|^ @Component\\|^ @Service' \"$SELF\"\necho -n '# 전용 단위 테스트 한 파일 안의 참조: '\ngrep -rcw 'TransactionProfileRegistry' adapter/outbound/persistence-jpa/src/test/java/dev/caskeleton/adapter/outbound/persistence/transaction/TransactionProfileRegistryTest.java\n\necho\necho '# 제거 조건 둘 — 설정 경로'\necho -n '# 출하 yml 전부에서 프로파일을 이름으로 등록하는 키: '\ngrep -rl 'transaction-profile\\|transactionProfile' app-bootstrap/src/main/resources sample-portfolio/src/main/resources 2>/dev/null | wc -l\necho -n '# @ConfigurationProperties 클래스 전부에서의 참조: '\ngrep -rln '@ConfigurationProperties' --include=*.java . | grep '/main/' | xargs grep -lw 'TransactionProfileRegistry' 2>/dev/null | wc -l\n\necho\necho '# 제거 조건 셋 — 대체 경로가 같은 동작을 증명하는가'\necho -n '# 레지스트리가 담는 타입 TransactionProfile 이 나타나는 main 줄: '\ngrep -rnw 'TransactionProfile' --include=*.java . | grep '/main/' | grep -v 'api/transaction/TransactionProfile.java' | grep -vc \"$SELF\"\necho -n '# 그중 import 와 javadoc 을 뺀 타입 사용: '\ngrep -rnw 'TransactionProfile' --include=*.java . | grep '/main/' | grep -v 'api/transaction/TransactionProfile.java' | grep -v \"$SELF\" | grep -vc 'import \\|{@link'\necho '# 그 줄이 있는 파일'\ngrep -rlw 'TransactionProfile' --include=*.java . | grep '/main/' | grep -v 'api/transaction/TransactionProfile.java' | grep -v \"$SELF\" | sed 's|.*/||' | sed 's/^/# /'\necho '# 포트 시그니처 — 프로파일은 이름이 아니라 두 번째 인자의 객체다'\ngrep -n 'T execute(' adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/api/transaction/JpaTransactionExecutor.java\necho -n '# 자기 파일 밖 main 에서 TransactionProfile 을 만드는 곳: '\ngrep -rn 'TransactionProfile\\.write(\\|TransactionProfile\\.read(\\|new TransactionProfile(' --include=*.java . | grep '/main/' | grep -vc 'api/transaction/TransactionProfile.java'\necho '# 포트 자체를 참조하는 main 파일 (단어 경계, 구현체와 구분)'\ngrep -rlnw 'JpaTransactionExecutor' --include=*.java . | grep '/main/' | sed 's|.*/||' | sed 's/^/# /'\n\necho\necho '# 프로덕션 트랜잭션이 실제로 지나는 곳은 다른 타입이다'\ngrep -n 'implements PolicyTransactionPort' adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/transaction/SpringTransactionPort.java\ngrep -n 'inTransaction(TransactionRequest' adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/transaction/SpringTransactionPort.java\necho -n '# 그 파일 안의 TransactionProfile 참조: '\ngrep -cw 'TransactionProfile' adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/transaction/SpringTransactionPort.java\necho -n '# PolicyTransactionPort 를 쓰는 main 파일: '\ngrep -rlw 'PolicyTransactionPort' --include=*.java . | grep -c '/main/' ",
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
"exitCode": 0,
"executedAt": "2026-09-02T03:32:47+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/a05-f007-transactionprofileregistry.txt",
"svg": "evidence/rendered/a05-f007-transactionprofileregistry.svg",
"rawSha256": "0c2378fe164b1cae89e9c91db15fd75fcdb063258623568fc7809a06e6e93733",
"lines": 37,
"redaction": "none — 출력에 자격증명이 없다"
}