Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/a01-f002-idfactory-newid.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.3 KiB
JSON

{
"assetKey": "a01-f002-idfactory-newid",
"kind": "terminal",
"command": "D=domain-core/src/main/java/dev/caskeleton/domain/identifier\nS=sample-portfolio/src/main/java/dev/caskeleton/sample/portfolio\n\necho '# 식별자 생성 포트 전문'\ncat $D/IdFactory.java\necho '# 그 포트가 만드는 값의 계약'\nsed -n '11,15p' $D/ResourceId.java\n\necho\necho -n '# 이 포트를 직접 구현하는 main 클래스: '\ngrep -rn 'implements IdFactory<' --include=*.java . | grep -c '/main/'\necho '# 샘플이 정의한 팩토리 인터페이스 넷'\ngrep -rn 'interface .*IdFactory' --include=*.java . | grep '/main/' | grep -v '/domain-core/' | sed 's|^\\./||'\necho '# 그중 포트를 확장한 둘을 구현하는 어댑터'\ngrep -rn 'class .* implements \\(WorkLogIdFactory\\|PosterIdFactory\\)' --include=*.java . | grep '/main/' | sed 's|.*/||'\n\necho\necho '# 확장하는 둘은 메서드를 더하지 않는다'\ngrep -n 'public interface' $S/domain/worklog/WorkLogIdFactory.java $S/domain/poster/PosterIdFactory.java\necho '# 확장하지 않는 둘은 반환형이 포트의 바운드를 만족하지 못한다'\ngrep -n 'String newEventId();' $S/domain/worklog/OutboxEventIdFactory.java\ngrep -n 'AllocatedOperation allocate();' $S/application/posterimage/PosterImageOperationIdFactory.java\n\necho\necho '# 실제 구현이 무엇을 부르는가'\nsed -n '17,21p' $S/adapter/outbound/identifier/UuidWorkLogIdFactory.java\n\necho\necho '# 값 객체가 실제로 검사하는 것'\nsed -n '15,24p' $S/domain/worklog/WorkLogId.java\n\necho\necho '# 모듈 README 가 적는 책임 분리'\nsed -n '37,45p' domain-core/README.md\n\necho\necho '# 저장소 수준 유일성을 실제로 강제하는 곳'\ngrep -n 'PRIMARY KEY' sample-portfolio/src/main/resources/db/sample-migration/V2__work_log.sql\ngrep -n 'PRIMARY KEY' sample-portfolio/src/main/resources/db/sample-migration/V7__poster.sql",
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
"exitCode": 0,
"executedAt": "2026-09-02T03:24:41+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/a01-f002-idfactory-newid.txt",
"svg": "evidence/rendered/a01-f002-idfactory-newid.svg",
"rawSha256": "adba3239e210b029c090117c03da21c260030d60ab0198141ada702fb01555c5",
"lines": 73,
"redaction": "none — 코드베이스 정적 검색"
}