Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/a-flag-that-validates-an-unwired-subsystem.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-flag-that-validates-an-unwired-subsystem",
"kind": "terminal",
"command": "M=adapter/outbound/persistence-mongo/src/main/java/dev/caskeleton/adapter/outbound/mongo; A=$M/autoconfigure/MongoPlatformAutoConfiguration.java; S=$M/autoconfigure/MongoPlatformSettings.java; echo -n '# 트랜잭션 패키지의 타입 수: '; find $M/transaction -name '*.java' | wc -l; ls $M/transaction/ $M/transaction/retry/ $M/transaction/session/ | grep '\\.java' | sed 's/^/ /'; echo; echo -n '# 자동설정이 그 타입들을 참조하는 매치 (Transaction / CausalSession): '; echo \"$(grep -c 'Transaction' $A) / $(grep -c 'CausalSession' $A)\"; echo -n '# transaction 패키지 밖 main 참조: '; grep -rn 'outbound\\.mongo\\.transaction' --include=*.java . | grep '/main/' | grep -vc '/mongo/transaction/'; echo; echo '# 플래그는 선언되고 검증기까지 가서 판정에 쓰인다'; grep -n 'boolean transactions' $S; grep -n 'properties.transactions()' $A; grep -n -A3 'transactionsEnabled && ' $M/autoconfigure/MongoStartupValidator.java; echo; echo '# 다만 그 검사는 프로브가 있어야 돌고, 이 저장소는 프로브를 출하하지 않는다'; sed -n '330,332p' $A; sed -n '383,384p' $A; echo -n '# MongoTopologyProbe 를 빈으로 만드는 main 코드: '; grep -rn -B2 'MongoTopologyProbe ' --include=*.java . | grep '/main/' | grep -c '@Bean'; echo; echo '# 같은 생성자가 입력마다 다르게 처리한다'; sed -n '47p;55p;62,65p' $S; echo; echo '# 반대쪽 실행체는 플래그와 무관하게 조립된다'; sed -n '188,190p;207,209p' $A; echo -n '# 이 경로에서 두 플래그를 보는 조건: '; grep -c \"ConditionalOnProperty(prefix = \\\"ca-skeleton.persistence-mongo.platform\\\"\" $A; echo '# 그 주석이 없다고 적은 드라이버 호출'; grep -n 'changeStream(\\|watchCollection(\\|startAfter(\\|resumeAfter(' $M/changestream/consumer/SpringReactiveChangeStreamSource.java; echo; echo '# 그 위 소비자가 요구하는 다섯 포트'; sed -n '228,233p' $A",
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
"exitCode": 0,
"executedAt": "2026-09-02T01:20:46+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/a-flag-that-validates-an-unwired-subsystem.txt",
"svg": "evidence/rendered/a-flag-that-validates-an-unwired-subsystem.svg",
"rawSha256": "553ad6ba8beceb0eeb5809e86ebb540cfbda640a53cb5f0c84cae69a84508c53",
"lines": 70,
"redaction": "none — 분석 문서 발췌"
}