Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/analysis-finding-a06-f002.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.7 KiB
JSON

{
"assetKey": "analysis-finding-a06-f002",
"kind": "terminal",
"command": "#!/bin/bash\nset -euo pipefail\ncd /shared/codebase/clean-architecture-backend-template\n. /tmp/lib.sh\nG=src/adapter/outbound/persistence-mongo/src/test/java/dev/caskeleton/adapter/outbound/mongo/MongoNamespaceContractTest.java\ntest -f \"$G\"\n\necho \"# 가드가 자기 목적을 어떻게 적는가\"\nat \"$G\" 14 31 MongoNamespaceContractTest.java\n\necho\necho \"# 두 시험이 무엇을 보는가\"\nat \"$G\" 32 65 MongoNamespaceContractTest.java\n\necho\necho \"# 그 탐색 범위를 만드는 코드\"\nat \"$G\" 67 110 MongoNamespaceContractTest.java\n\necho\necho \"# 폐기된 키가 저장소 어디에 있는가 (시험 소스 제외)\"\n{ git grep -n 'spring\\.data\\.mongodb' -- ':!*/src/test/*' ':!*/build/*' || true; } \\\n | sed -E 's#^([^:]+):([0-9]+): *# \\1:\\2 #'\n\necho\necho \"# 그중 가드의 범위 안에 드는 것\"\nmapfile -t SCOPED < <(git grep -l 'spring\\.data\\.mongodb' -- ':!*/src/test/*' ':!*/build/*')\n[ \"${#SCOPED[@]}\" -eq 6 ] || { echo \"EXPECTED 6 FILES, GOT ${#SCOPED[@]}\" >&2; exit 3; }\nfor p in \"${SCOPED[@]}\"; do\n inscope=\"범위 밖\"\n case \"$p\" in\n src/adapter/outbound/persistence-mongo/src/main/*|src/app-bootstrap/src/main/*)\n case \"$p\" in *.java|*.yml|*.properties) inscope=\"범위 안\" ;; esac ;;\n esac\n printf ' %-70s %s\\n' \"$p\" \"$inscope\"\ndone\n\necho\necho \"# 범위 안에 든 자바 파일에서 그 키가 놓인 자리\"\nM=src/adapter/outbound/persistence-mongo/src/main/java/dev/caskeleton/adapter/outbound/mongo/MongoPersistenceSettings.java\nat \"$M\" 5 22 MongoPersistenceSettings.java\n\necho\necho \"# 운영자가 읽는 두 문서가 그 키로 무엇을 말하는가\"\n{ grep -n -B2 -A2 'spring\\.data\\.mongodb' src/adapter/outbound/persistence-mongo/README.md || true; } \\\n | sed -E 's#^([0-9]+)[:-] *# README.md:\\1 #'\n{ grep -n -B1 -A1 'spring\\.data\\.mongodb' src/adapter/outbound/persistence-mongo/CLAUDE.md || true; } \\\n | sed -E 's#^([0-9]+)[:-] *# CLAUDE.md:\\1 #'\n\necho\necho \"# 시험 소스에는 그 키를 실제로 바인딩하는 자리가 있다\"\nhits 'spring\\.data\\.mongodb' 'src/adapter/outbound/persistence-mongo/src/test/**/*.java' \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\n",
"cwd": "/shared/codebase/clean-architecture-backend-template",
"exitCode": 0,
"executedAt": "2026-09-04T07:09:33+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/analysis-finding-a06-f002.txt",
"svg": "evidence/rendered/analysis-finding-a06-f002.svg",
"rawSha256": "d40887401c456946bf364ccf5b503f5adaeda73e2ab5399073614b97d0e4956e",
"lines": 162,
"redaction": "없음"
}