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>
15 lines
2.9 KiB
JSON
15 lines
2.9 KiB
JSON
{
|
|
"assetKey": "a16-f002-oneof",
|
|
"kind": "terminal",
|
|
"command": "set -e\nset -o pipefail\nG=src/adapter/inbound/graphql/src/main/java/dev/caskeleton/adapter/inbound/graphql/schema\necho \"# 정책 클래스가 자바독 첫 줄에 적은 주체\"\nsed -n '3,13p' $G/GraphQlOneOfPolicy.java\necho\necho \"# 강제하는 두 코드와, 자기 파일 밖에서 그것을 부르는 자리\"\nfor f in GraphQlOneOfSchemaGate GraphQlOneOfInputValidator; do\n echo \" $f :\"\n git grep -n \"$f\\.\" -- \"src/**/*.java\" \\\n | awk -F: -v self=\"/$f.java\" 'index($1, self) == 0' \\\n | sed -E 's#^src/[^:]*/src/(main|test)/[^:]*/([^:/]+):([0-9]+):.*# \\1 · \\2:\\3#' | sort -u\ndone\necho\necho \"# 정책을 참조하는 자리\"\ngit grep -n 'GraphQlOneOfPolicy\\.' -- \"src/**/*.java\" \\\n | sed -E 's#^src/[^:]*/src/(main|test)/[^:]*/([^:/]+):([0-9]+):(.*)# \\1 · \\2:\\3 \\4#'\necho\necho \"# 이 저장소가 쓰는 graphql-java 판본\"\ngrep -n 'com.graphql-java:graphql-java:' src/adapter/inbound/graphql/gradle.lockfile \\\n | sed -E 's#^([0-9]+):([^=]+)=.*# gradle.lockfile:\\1 \\2#'\necho\necho \"# 스키마 파일과 그 안의 oneOf 선언\"\nfind src -name '*.graphqls' -not -path '*/build/*' | sed 's#^# #'\necho -n \" 그중 @oneOf 를 선언한 파일 : \"\nf=$(git grep -ln 'oneOf' -- \"src/**/*.graphqls\" | tr '\\n' ' ' || true)\necho \"${f:-(없음)}\"\necho\necho \"# 그 계약 스위트를 부르는 자리와 그것을 도는 레인\"\ngit grep -n 'GraphQlSchemaContractSuite' -- \"src/**/*.java\" \\\n | grep -v '/GraphQlSchemaContractSuite.java' \\\n | sed -E 's#^src/[^:]*/src/([a-zA-Z]+)/[^:]*/([^:/]+):([0-9]+):.*# \\1 · \\2:\\3#'\ngrep -n '@Tag' src/adapter/inbound/graphql/src/test/java/dev/caskeleton/adapter/inbound/graphql/testkit/GraphQlCrossModuleContractSuiteTest.java \\\n | sed 's#^# GraphQlCrossModuleContractSuiteTest:#'\necho \" 기본 test 레인이 배제하는 태그 :\"\ngrep -n '' src/gradle/graphql-platform-conventions.gradle | sed -n '49,52p' \\\n | sed 's#^# graphql-platform-conventions.gradle:#'\necho\necho \"# 두 강제 코드가 인스턴스를 갖지 않는다는 것\"\ngrep -n 'private GraphQlOneOf' $G/GraphQlOneOfSchemaGate.java $G/GraphQlOneOfInputValidator.java \\\n | sed -E 's#^.*/([^:/]+):([0-9]+):(.*)# \\1:\\2 \\3#'\necho\necho \"# 이 계열 타입을 API 표면으로 적어 둔 문서\"\ngit grep -n 'GraphQlOneOf' -- docs/architecture/ | sed -E 's#^docs/([^:]+):([0-9]+):(.*)# \\1:\\2 \\3#'\n",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-03T08:09:09+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/a16-f002-oneof.txt",
|
|
"svg": "evidence/rendered/a16-f002-oneof.svg",
|
|
"rawSha256": "df78b2f49f909937ddd667fa74dcab602ba9deda1c05506fff385fb7d48c7c44",
|
|
"lines": 69,
|
|
"redaction": "레인 인용에 파일과 줄 표시"
|
|
}
|