Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/a-transaction-capability-true-and-its-validator-never-run.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
3.0 KiB
JSON

{
"assetKey": "a-transaction-capability-true-and-its-validator-never-run",
"kind": "terminal",
"command": "M=messaging; K=$M/messaging-kafka/src/main/java/dev/caskeleton/messaging/kafka\nS=$M/messaging-spring-boot-starter/src/main/java/dev/caskeleton/messaging/autoconfigure\necho '# 능력 성분의 아홉째 자리'\ngrep -n 'boolean brokerTransaction' $M/messaging-core-api/src/main/java/dev/caskeleton/messaging/api/destination/MessagingCapabilities.java\necho '# Kafka 가 넘기는 열두 값 (아홉째가 참)'\nsed -n '63,64p' $K/KafkaMessagingTransport.java\necho ' ^^^^ brokerTransaction'\necho -n '# 그 상수 선언이 프로파일을 참조하는가: '\nsed -n '62,64p' $K/KafkaMessagingTransport.java | grep -c 'profile\\|Profile'\necho -n '# 이 플래그를 읽는 main 코드: '\ngrep -rn 'brokerTransaction()' --include=*.java . | grep -c '/main/'\necho -n '# 바로 옆 열째 플래그를 읽는 main 코드: '\ngrep -rn 'deduplicatedPublish()' --include=*.java . | grep '/main/' | sed 's|.*/||'\necho '# 그 열째가 거짓인 이유'\nsed -n '53,56p' $K/KafkaMessagingTransport.java\necho\necho '# 트랜잭션 검증기가 요구하는 다섯'\ngrep -n 'if (' $K/KafkaTransactionProfileValidator.java\nsed -n '46,52p' $K/KafkaTransactionProfileValidator.java\necho\necho '# 기동 검증으로 감싸이는 검증기와 직접 불리는 검증기'\ngrep -rn 'StartupProfileValidation<' --include=*.java $S | grep -v 'StartupProfileValidation.java' | grep 'public ' | sed 's|.*/||'\ngrep -n 'new DestinationProfileValidator().validateAll' $S/MessagingCoreAutoConfiguration.java\necho '# 그런데 트랜잭션 검증기는 그냥 빈이다'\nsed -n '72,77p' $S/KafkaMessagingAutoConfiguration.java\necho -n '# 자동설정 밖에서 그것을 언급하는 main 코드: '\ngrep -rn 'KafkaTransactionProfileValidator' --include=*.java . | grep '/main/' | grep -v 'KafkaTransactionProfileValidator.java' | grep -vc 'KafkaMessagingAutoConfiguration.java'\necho -n '# 그것을 만드는 test 코드: '\ngrep -rn 'KafkaTransactionProfileValidator' --include=*.java . | grep -c '/test/'\necho\necho '# 감쌀 수 없는 이유는 인자 수가 아니다'\nsed -n '35,40p' $S/StartupProfileValidation.java\necho -n '# 두 번째 인자의 출처 — transactionalIdPrefix 가 나오는 곳: '\ngrep -rn 'transactionalIdPrefix\\|transactional-id-prefix' --include=*.java --include=*.yml --include=*.properties . | grep -v /build/ | sed 's|.*/||'\n",
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
"exitCode": 0,
"executedAt": "2026-09-02T02:52:53+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/a-transaction-capability-true-and-its-validator-never-run.txt",
"svg": "evidence/rendered/a-transaction-capability-true-and-its-validator-never-run.svg",
"rawSha256": "f29b62722b7d8dd348908d7249cad9e9001a42d52a466068affd027bc2e4c4d2",
"lines": 54,
"redaction": "none — 출력에 자격증명이 없다"
}