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
4.2 KiB
JSON
15 lines
4.2 KiB
JSON
{
|
|
"assetKey": "analysis-finding-a06-f010",
|
|
"kind": "terminal",
|
|
"command": "#!/bin/bash\nset -euo pipefail\ncd /shared/codebase/clean-architecture-backend-template\n. /tmp/lib.sh\nM=src/adapter/outbound/persistence-mongo/src/main/java/dev/caskeleton/adapter/outbound/mongo\nR=$M/imperative/MongoCollectionProfileRegistry.java\nG=$M/aggregation/PolicyAwareMongoAggregationExecutor.java\nE=$M/imperative/DefaultMongoImperativeExecutor.java\nC=$M/api/MongoOperationContext.java\nfor f in \"$R\" \"$G\" \"$E\" \"$C\"; do test -f \"$f\"; done\n\necho \"# 레지스트리가 펴는 주장\"\nat \"$R\" 9 48 MongoCollectionProfileRegistry.java\n\necho\necho \"# 그 주장을 지키는 쪽\"\nat \"$E\" 80 84 DefaultMongoImperativeExecutor.java\necho \" require 를 부르는 main 줄 :\"\nhits 'collections\\.require\\(|profileRegistry\\.require\\(' 'src/adapter/outbound/persistence-mongo/src/main/**/*.java' \\\n | sed -E 's#^.*/([A-Za-z0-9_]+\\.java):([0-9]+): *# \\1:\\2 #'\n\necho\necho \"# 컨텍스트가 이미 들고 있는 것\"\nat \"$C\" 1 46 MongoOperationContext.java\n\necho\necho \"# 집계 실행기의 서명\"\nat \"$G\" 24 87 PolicyAwareMongoAggregationExecutor.java\necho\nat \"$G\" 88 98 PolicyAwareMongoAggregationExecutor.java\n\necho\necho \"# 그 실행기가 레지스트리를 아는가\"\nprintf ' 이 파일이 MongoCollectionProfileRegistry 를 언급하는 줄 : %s 개\\n' \\\n \"$({ grep -c 'MongoCollectionProfileRegistry' \"$G\" || true; })\"\nprintf ' 이 파일이 context.collectionProfile() 을 부르는 줄 : %s 개\\n' \\\n \"$({ grep -c 'collectionProfile()' \"$G\" || true; })\"\nprintf ' [대조] 같은 두 grep 을 블로킹 실행기에 걸면 : %s 개 · %s 개\\n' \\\n \"$({ grep -c 'MongoCollectionProfileRegistry' \"$E\" || true; })\" \\\n \"$({ grep -c 'collectionProfile()' \"$E\" || true; })\"\necho \" 이 파일의 import 전부 :\"\n{ grep -nE '^import ' \"$G\" || true; } | sed -E 's#^([0-9]+): *# :\\1 #'\n\necho\necho \"# 같은 모양의 서명이 또 있는가\"\nU=$M/reactive/cursor/MongoReactiveCursorPublisher.java\ntest -f \"$U\"\nat \"$U\" 32 46 MongoReactiveCursorPublisher.java\nat \"$U\" 55 65 MongoReactiveCursorPublisher.java\nprintf ' 이 파일이 MongoCollectionProfileRegistry 를 언급하는 줄 : %s 개\\n' \\\n \"$({ grep -c 'MongoCollectionProfileRegistry' \"$U\" || true; })\"\nprintf ' 이 파일이 collectionProfile() 을 부르는 줄 : %s 개\\n' \\\n \"$({ grep -c 'collectionProfile()' \"$U\" || true; })\"\necho \" context 가 나오는 줄 전부 :\"\n{ grep -nE '\\bcontext\\b' \"$U\" || true; } | sed -E 's#^([0-9]+): *# MongoReactiveCursorPublisher.java:\\1 #'\necho \" MongoOperationContext 와 String collection 을 함께 받는 main 파일 :\"\nfor f in $(git grep -l '^ *String collection,' -- 'src/adapter/outbound/persistence-mongo/src/main/**/*.java'); do\n grep -q 'MongoOperationContext' \"$f\" && printf ' %s\\n' \"$(basename \"$f\")\" || true\ndone\n\necho\necho \"# 이 실행기가 조립되는가\"\nhits 'PolicyAwareMongoAggregationExecutor' 'src/**/*.java' \\\n | sed -E 's#^src/(.*)/src/([a-zA-Z]+)/java/.*/([A-Za-z0-9_$]+\\.java):([0-9]+): *# \\2 · \\3:\\4 #'\nprintf ' main 에서 그것을 만드는 줄 : %s 개\\n' \\\n \"$(lines 'new PolicyAwareMongoAggregationExecutor' 'src/**/src/main/**/*.java')\"\nprintf ' [대조] main 에서 MongoBudgetEnforcer 를 만드는 줄 : %s 개\\n' \\\n \"$(lines 'new MongoBudgetEnforcer' 'src/**/src/main/**/*.java')\"\nprintf ' MongoReactiveCursorPublisher 를 만드는 main 줄 : %s 개\\n' \\\n \"$(lines 'new MongoReactiveCursorPublisher' 'src/**/src/main/**/*.java')\"\nprintf ' [대조] 시험이 집계 실행기를 만드는 줄 : %s 개\\n' \\\n \"$(lines 'new PolicyAwareMongoAggregationExecutor' 'src/**/src/*[Tt]est*/**/*.java')\"\n",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-04T07:52:58+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/analysis-finding-a06-f010.txt",
|
|
"svg": "evidence/rendered/analysis-finding-a06-f010.svg",
|
|
"rawSha256": "bdc8b56b45ed47a66933c6b1ad2a207c33f64c34e42b2f63d436e9227fc2b051",
|
|
"lines": 242,
|
|
"redaction": "없음"
|
|
}
|