Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/a05-f033-jpa-flyway-migration.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": "a05-f033-jpa-flyway-migration",
"kind": "terminal",
"command": "T=adapter/outbound/persistence-jpa/src/postgresqlIntegrationTest/java/dev/caskeleton/adapter/outbound/persistence/readiness/PostgreSqlMigrationIntegrationTest.java\n\necho '# 이 카드의 상태와 생산자 태스크'\ngrep -n -A6 '\"jpa-flyway-migration\": {' config/jpa/readiness-cards.yaml\n\necho\necho '# 이 카드를 선행 조건으로 두는 카드 전수'\npython3 - <<'PY'\nimport json\ncards = json.load(open('config/jpa/readiness-cards.yaml'))['cards']\nfor name, card in cards.items():\n if 'jpa-flyway-migration' in card.get('prerequisites', []):\n print('# ', name.ljust(34), card['state'])\nprint('# 집계 게이트 jpa-primary-foundation 의 선행 조건:')\nfor p in cards['jpa-primary-foundation']['prerequisites']:\n print('# ', p)\nPY\n\necho\necho '# 집계 게이트는 카드 id 를 이름으로 요구한다'\ngrep -n \"jpa-flyway-migration'\" gradle/jpa-evidence.gradle\n\necho\necho '# 그 태스크가 고정한 적용 집합 셋'\ngrep -n 'containsExactly(\"1\", \"3\", \"4\", \"5\", \"6\")\\|containsExactly(\"0\", \"1\")\\|containsExactly(\"1\")' \"$T\"\n\necho\necho '# 두 스트림의 실제 마이그레이션'\nM=adapter/outbound/persistence-jpa/src/main/resources/db/migration\necho -n '# postgresql : '\nls \"$M/postgresql\" | sed 's/__.*//' | sort -V | tr '\\n' ' '; echo\necho -n '# jpa/core : '\nls \"$M/jpa/core\" | sed 's/__.*//' | sort -V | tr '\\n' ' '; echo\n\necho\necho '# 단언이 마지막으로 갱신된 시점과 그 뒤 들어온 마이그레이션'\nfor f in \"$T\" \"$M/jpa/core/V2__\"* \"$M/postgresql/V9__\"* \"$M/postgresql/V10__\"* \"$M/postgresql/V11__\"* \"$M/postgresql/V12__\"*; do\n echo \"# $(git log -1 --format='%ad %h' --date=short -- \"$f\") $(basename \"$f\")\"\ndone\n\necho\necho '# 같은 소스 세트가 이 실패 유형을 주석으로 적어 두었다'\nL=$(find . -name PostgreSqlOptionalStreamLifecycle.java -not -path '*/build/*')\nsed -n '140,144p' \"$L\"",
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
"exitCode": 0,
"executedAt": "2026-09-02T06:27:08+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/a05-f033-jpa-flyway-migration.txt",
"svg": "evidence/rendered/a05-f033-jpa-flyway-migration.svg",
"rawSha256": "e9e95ae3633c78c232105e5f3e5f233eff6dac58a8df60539376cf431a32d349",
"lines": 56,
"redaction": "none — 코드베이스 정적 검색"
}