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>
37 lines
8.9 KiB
XML
37 lines
8.9 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1052" viewBox="0 0 1200 1052" role="img">
|
|
<title>terminal evidence</title>
|
|
<desc>Terminal-style rendering generated from retained command output. Sensitive-looking values are redacted in the visual asset.</desc>
|
|
<rect x="1" y="1" width="1198" height="1050" rx="14" fill="#0d1117" stroke="#30363d"/>
|
|
<rect x="1" y="1" width="1198" height="44" rx="14" fill="#161b22"/>
|
|
<rect x="1" y="30" width="1198" height="14" fill="#161b22"/>
|
|
<circle cx="24" cy="22" r="6" fill="#ff5f57"/>
|
|
<circle cx="44" cy="22" r="6" fill="#febc2e"/>
|
|
<circle cx="64" cy="22" r="6" fill="#28c840"/>
|
|
<text x="92" y="27" fill="#8b949e" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace">terminal evidence</text>
|
|
<text x="24" y="68" fill="#c9d1d9" font-size="15" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">$ grep -rn "Permission" --include=*.java shared-contract</tspan></text>
|
|
<text x="24" y="90" fill="#8b949e" font-size="13" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">cwd: /shared/codebase/clean-architecture-backend-template/src</tspan></text>
|
|
<text x="24" y="112" fill="#8b949e" font-size="13" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">time: 2026-09-01T05:42:23+00:00 · exit 0</tspan></text>
|
|
<line x1="24" y1="126" x2="1176" y2="126" stroke="#30363d"/>
|
|
<text x="24" y="166" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:8:class PermissionTest {</tspan></text>
|
|
<text x="24" y="188" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:12: Permission p = Permission.parse("worklog</tspan><tspan x="24" dy="22">:close");</tspan></text>
|
|
<text x="24" y="232" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:21: Permission p = Permission.parse("worklog</tspan><tspan x="24" dy="22">:write");</tspan></text>
|
|
<text x="24" y="276" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:23: assertThat(Permission.parse(p.value())).</tspan><tspan x="24" dy="22">isEqualTo(p);</tspan></text>
|
|
<text x="24" y="320" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:30: Permission p = Permission.parse("WorkLog</tspan><tspan x="24" dy="22">:Close");</tspan></text>
|
|
<text x="24" y="364" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:34: assertThat(p).isEqualTo(Permission.parse</tspan><tspan x="24" dy="22">("worklog:close"));</tspan></text>
|
|
<text x="24" y="408" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:39: Permission p = Permission.parse(" workl</tspan><tspan x="24" dy="22">og:read ");</tspan></text>
|
|
<text x="24" y="452" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:41: assertThat(p).isEqualTo(Permission.parse</tspan><tspan x="24" dy="22">("worklog:read"));</tspan></text>
|
|
<text x="24" y="496" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:46: assertThatThrownBy(() -> new Permission(</tspan><tspan x="24" dy="22">"worklog", " "))</tspan></text>
|
|
<text x="24" y="540" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:48: assertThatThrownBy(() -> new Permission(</tspan><tspan x="24" dy="22">" ", "read"))</tspan></text>
|
|
<text x="24" y="584" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:54: assertThatThrownBy(() -> Permission.pars</tspan><tspan x="24" dy="22">e(null)).isInstanceOf(IllegalArgumentException.class);</tspan></text>
|
|
<text x="24" y="628" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:55: assertThatThrownBy(() -> Permission.pars</tspan><tspan x="24" dy="22">e(" ")).isInstanceOf(IllegalArgumentException.class);</tspan></text>
|
|
<text x="24" y="672" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:62: assertThatThrownBy(() -> Permission.pars</tspan><tspan x="24" dy="22">e("worklog"))</tspan></text>
|
|
<text x="24" y="716" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:64: assertThatThrownBy(() -> Permission.pars</tspan><tspan x="24" dy="22">e("svc:worklog:close"))</tspan></text>
|
|
<text x="24" y="760" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:66: assertThatThrownBy(() -> Permission.pars</tspan><tspan x="24" dy="22">e("worklog:"))</tspan></text>
|
|
<text x="24" y="804" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/test/java/dev/caskeleton/shared/security/PermissionTest.java:68: assertThatThrownBy(() -> Permission.pars</tspan><tspan x="24" dy="22">e(":read"))</tspan></text>
|
|
<text x="24" y="848" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/main/java/dev/caskeleton/shared/security/Permission.java:14:public record Permission(String resource, String</tspan><tspan x="24" dy="22"> action) {</tspan></text>
|
|
<text x="24" y="892" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/main/java/dev/caskeleton/shared/security/Permission.java:18: public Permission {</tspan></text>
|
|
<text x="24" y="914" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/main/java/dev/caskeleton/shared/security/Permission.java:24: * Parses a {@code resource:action} token into</tspan><tspan x="24" dy="22"> a {@link Permission}. Surrounding whitespace is</tspan></text>
|
|
<text x="24" y="958" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/main/java/dev/caskeleton/shared/security/Permission.java:31: public static Permission parse(String token) {</tspan></text>
|
|
<text x="24" y="980" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">shared-contract/src/main/java/dev/caskeleton/shared/security/Permission.java:42: return new Permission(trimmed.substring(0, f</tspan><tspan x="24" dy="22">irstColon), trimmed.substring(firstColon + 1));</tspan></text>
|
|
</svg>
|