Files
document-haness/docs/clean-architecture-backend-template/final/evidence/rendered/tl-outbox-unsatisfiable-condition.svg
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

51 lines
7.8 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="748" viewBox="0 0 1200 748" 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="746" 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">$ echo &#x27;--- the condition chain&#x27;
grep -nE &#x27;ConditionalOnBean|public (Outbox|Inbox|Messaging)&#x27; src/messaging/messaging-spring-boot-starter/src/main/java/dev/caskeleton/messaging/autoconfigure/MessagingReliabilityAutoConfiguration.java | head -14
echo
echo &#x27;--- main references to the only implementations of the two root ports&#x27;
for n in JdbcOutboxRepository JdbcInboxRepository; do
printf &#x27;%-24s mainRefs=%s\n&#x27; &quot;\$n&quot; &quot;\$(grep -rlw \$n --include=*.java src/*/src/main src/*/*/src/main src/messaging/*/src/main 2&gt;/dev/null | grep -v &quot;/\$n[.]java\$&quot; | wc -l)&quot;
done
echo
echo &#x27;--- the same starter DOES provide a default for another port&#x27;
grep -n &#x27;ConditionalOnMissingBean(dev.caskeleton.messaging.schema.MessageCodecRegistry.class)&#x27; -A4 src/messaging/messaging-spring-boot-starter/src/main/java/dev/caskeleton/messaging/autoconfigure/MessagingCoreAutoConfiguration.java</text>
<text x="24" y="92" fill="#8b949e" font-size="13" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace">cwd: /shared/codebase/clean-architecture-backend-template</text>
<text x="24" y="116" fill="#8b949e" font-size="13" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace">time: 2026-08-31T00:39:38+00:00 · exit 0</text>
<line x1="24" y1="130" x2="1176" y2="130" stroke="#30363d"/>
<text x="24" y="170" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">--- the condition chain</text>
<text x="24" y="192" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">18:import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;</text>
<text x="24" y="214" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">50: public OutboxProperties outboxProperties() {</text>
<text x="24" y="236" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">62: public OutboxRetryScheduler outboxRetryScheduler(OutboxProperties properties) {</text>
<text x="24" y="258" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">81: @ConditionalOnBean({OutboxRepository.class, OutboxEnvelopeFactory.class})</text>
<text x="24" y="280" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">83: public OutboxRelay outboxRelay(</text>
<text x="24" y="302" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">106: @ConditionalOnBean(OutboxRelay.class)</text>
<text x="24" y="324" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">108: public OutboxRelayWorker outboxRelayWorker(OutboxRelay relay, OutboxRetryScheduler scheduler) {</text>
<text x="24" y="346" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">123: @ConditionalOnBean(OutboxRelayWorker.class)</text>
<text x="24" y="368" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">125: public MessagingOutboxRelayLifecycle outboxRelayLifecycle(</text>
<text x="24" y="390" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">138: @ConditionalOnBean(OutboxRepository.class)</text>
<text x="24" y="412" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">140: public OutboxCleanupJob outboxCleanupJob(OutboxRepository outbox, OutboxProperties properties) {</text>
<text x="24" y="434" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">155: public InboxRetentionPolicy inboxRetentionPolicy() {</text>
<text x="24" y="456" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">167: @ConditionalOnBean(InboxRepository.class)</text>
<text x="24" y="478" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">169: public InboxCleanupJob inboxCleanupJob(InboxRepository inbox, InboxRetentionPolicy policy) {</text>
<text x="24" y="500" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"></text>
<text x="24" y="522" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">--- main references to the only implementations of the two root ports</text>
<text x="24" y="544" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">$n mainRefs=$(grep -rlw $n --include=*.java src/*/src/main src/*/*/src/main src/messaging/*/src/main 2&gt;/dev/null | grep -v /$n[.]java$ | wc -l)</text>
<text x="24" y="566" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">$n mainRefs=$(grep -rlw $n --include=*.java src/*/src/main src/*/*/src/main src/messaging/*/src/main 2&gt;/dev/null | grep -v /$n[.]java$ | wc -l)</text>
<text x="24" y="588" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"></text>
<text x="24" y="610" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">--- the same starter DOES provide a default for another port</text>
<text x="24" y="632" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">360: @ConditionalOnMissingBean(dev.caskeleton.messaging.schema.MessageCodecRegistry.class)</text>
<text x="24" y="654" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">361- public dev.caskeleton.messaging.runtime.RegisteredMessageCodecs messagingCodecs(</text>
<text x="24" y="676" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">362- ObjectProvider&lt;MessageContracts&gt; contracts) {</text>
<text x="24" y="698" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">363- return dev.caskeleton.messaging.runtime.RegisteredMessageCodecs.of(</text>
<text x="24" y="720" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve">364- dev.caskeleton.messaging.schema.json.JacksonMessageCodec.of(</text>
</svg>