docs(keycloak-session-store): take the sentences out of the diagram canvases

The skill says drawings carry names and sentences go in <desc> and the
paragraph beside the figure. I put sentences in node details and edge labels
instead, and 27 of the 28 diagrams shipped with prose inside the canvas —
"예측 다섯 개가 틀렸다", "아홉 번 조용히 실패했다", "막혀서 닿지 않는다".

Only label and details render on the canvas; description does not. So every
sentence moved to a noun phrase and the meaning stays in description, which
was already carrying it.

  막혀서 닿지 않는다              -> 차단
  아홉 번 조용히 실패했다         -> 조용한 실패 9건
  예측 다섯 개가 틀렸다           -> 틀린 예측 5건
  로그아웃이 정리하지 않는다      -> 로그아웃 미정리
  볼륨이 없으면 여기까지다        -> 볼륨 없음

Three node labels were sentences too and became names: 세션 스냅샷, 예측
선기록, 대조군 확보.

What stays is what the rules protect — identifiers, commands and measured
values: PRIMARY KEY (client_registration_id, principal_name),
ValidationFailedException: 1 changesets check sum, nginx -t && nginx -s
reload, SET LOCAL synchronous_commit TO OFF. Those are names of things, not
prose about them.

294 canvas strings across 28 diagrams, none matching a sentence ending,
average 11 characters. All 28 still lint clean and re-rendered.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
DongHyeonka
2026-09-05 11:50:33 +09:00
co-authored by Claude Opus 5
parent 75bed382c8
commit 95c0e680b5
221 changed files with 1156 additions and 1152 deletions
@@ -17,6 +17,6 @@
## Relationships
- **PostgreSQL 세션 행 → 재시작 전 발급한 refresh token:** 세션이 남아 있어 통한다. Evidence: L270L278.
- **롤링 재시작 → Infinispan sessions 캐시:** 비운다. Evidence: L270L278.
- **롤링 재시작 → PostgreSQL 세션 행:** 건드리지 않는다. Evidence: L270L278.
- **PostgreSQL 세션 행 → 재시작 전 발급한 refresh token:** 세션 조회. Evidence: L270L278.
- **롤링 재시작 → Infinispan sessions 캐시:** 캐시 초기화. Evidence: L270L278.
- **롤링 재시작 → PostgreSQL 세션 행:** 변경 없음. Evidence: L270L278.
@@ -13,6 +13,6 @@ n2: "PostgreSQL 세션 행" {
n3: "재시작 전 발급한 refresh token" {
shape: rectangle
}
n0 -> n1: "비운다"
n0 -> n2: "건드리지 않는다"
n2 -> n3: "세션이 남아 있어 통한다"
n0 -> n1: "캐시 초기화"
n0 -> n2: "변경 없음"
n2 -> n3: "세션 조회"
@@ -6,7 +6,7 @@ digraph techviz {
n1 [label="Infinispan sessions 캐시", shape=box, style="rounded,filled"];
n2 [label="PostgreSQL 세션 행", shape=cylinder, style="rounded,filled"];
n3 [label="재시작 전 발급한 refresh token", shape=box, style="rounded,filled"];
n0 -> n1 [label="비운다", style=solid];
n0 -> n2 [label="건드리지 않는다", style=solid];
n2 -> n3 [label="세션이 남아 있어 통한다", style=solid];
n0 -> n1 [label="캐시 초기화", style=solid];
n0 -> n2 [label="변경 없음", style=solid];
n2 -> n3 [label="세션 조회", style=solid];
}
@@ -17,17 +17,17 @@
<mxCell id="n_refresh" value="재시작 전 발급한 refresh token&lt;br/&gt;200" tooltip="여전히 통한다. | Evidence: L270-L278" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="192.5" y="420.0" width="153.0" height="91.0" as="geometry"/>
</mxCell>
<mxCell id="e_db-rt" value="세션이 남아 있어 통한다" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_db" target="n_refresh">
<mxCell id="e_db-rt" value="세션 조회" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_db" target="n_refresh">
<mxGeometry relative="1" as="geometry">
<mxPoint x="331.0" y="344.0" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="e_r-c" value="비운다" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_restart" target="n_cache">
<mxCell id="e_r-c" value="캐시 초기화" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_restart" target="n_cache">
<mxGeometry relative="1" as="geometry">
<mxPoint x="212.0" y="157.5" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="e_r-db" value="건드리지 않는다" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_restart" target="n_db">
<mxCell id="e_r-db" value="변경 없음" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_restart" target="n_db">
<mxGeometry relative="1" as="geometry">
<mxPoint x="335.5" y="151.0" as="offset"/>
</mxGeometry>
@@ -66,9 +66,9 @@
{
"id": "edge-label-db-rt",
"type": "text",
"x": 279.0,
"x": 286.0,
"y": 332.0,
"width": 104,
"width": 90,
"height": 24,
"angle": 0,
"strokeColor": "#1e1e1e",
@@ -94,11 +94,11 @@
"locked": false,
"fontSize": 13,
"fontFamily": 5,
"text": "세션이 남아 있어 통한다",
"text": "세션 조회",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "세션이 남아 있어 통한다",
"originalText": "세션 조회",
"autoResize": true,
"lineHeight": 1.25
},
@@ -193,11 +193,11 @@
"locked": false,
"fontSize": 13,
"fontFamily": 5,
"text": "비운다",
"text": "캐시 초기화",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "비운다",
"originalText": "캐시 초기화",
"autoResize": true,
"lineHeight": 1.25
},
@@ -292,11 +292,11 @@
"locked": false,
"fontSize": 13,
"fontFamily": 5,
"text": "건드리지 않는다",
"text": "변경 없음",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "건드리지 않는다",
"originalText": "변경 없음",
"autoResize": true,
"lineHeight": 1.25
},
@@ -2,7 +2,7 @@
"harness_version": "0.2.0",
"spec_id": "a8-cache-vs-session",
"spec_version": "1.1",
"spec_sha256": "60ae0f0551684a3d013de2a0eca5a41d5edf858f99511c29441388c02f7310c2",
"spec_sha256": "02e971c0aedba252dce01773d7896eb2a751cd8752eb14d643b43e8f96646102",
"source_context": {
"document": "docs/keycloak-session-store/final/document.md",
"document_sha256": "1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe",
@@ -5,6 +5,6 @@ flowchart TB
n1["Infinispan sessions 캐시"]
n2[("PostgreSQL 세션 행")]
n3["재시작 전 발급한 refresh token"]
n0 -->|"비운다"| n1
n0 -->|"건드리지 않는다"| n2
n2 -->|"세션이 남아 있어 통한다"| n3
n0 -->|"캐시 초기화"| n1
n0 -->|"변경 없음"| n2
n2 -->|"세션 조회"| n3
@@ -51,14 +51,14 @@
</defs>
<rect class="canvas" width="680" height="556" />
<polyline class="edge kind-read style-solid emphasis-normal" points="393.0,324.0 393.0,372.0 269.0,372.0 269.0,420.0" data-evidence="270-278" />
<rect class="edge-label-bg" x="278.4" y="330.0" width="105.1" height="22" rx="3" />
<text class="edge-label" x="331.0" y="345.0">세션이 남아 있어 통한다</text>
<rect class="edge-label-bg" x="305.2" y="330.0" width="51.5" height="22" rx="3" />
<text class="edge-label" x="331.0" y="345.0">세션 조회</text>
<polyline class="edge kind-write style-solid emphasis-normal" points="260.0,131.0 260.0,185.5 164.0,185.5 164.0,240.0" data-evidence="270-278" />
<rect class="edge-label-bg" x="190.0" y="143.5" width="44.0" height="22" rx="3" />
<text class="edge-label" x="212.0" y="158.5">비운다</text>
<rect class="edge-label-bg" x="182.9" y="143.5" width="58.2" height="22" rx="3" />
<text class="edge-label" x="212.0" y="158.5">캐시 초기화</text>
<polyline class="edge kind-read style-solid emphasis-normal" points="278.0,131.0 278.0,179.0 393.0,179.0 393.0,227.0" data-evidence="270-278" />
<rect class="edge-label-bg" x="299.7" y="137.0" width="71.6" height="22" rx="3" />
<text class="edge-label" x="335.5" y="152.0">건드리지 않는다</text>
<rect class="edge-label-bg" x="309.8" y="137.0" width="51.5" height="22" rx="3" />
<text class="edge-label" x="335.5" y="152.0">변경 없음</text>
<g id="node-restart">
<rect class="node-shape kind-process emphasis-primary role-source" data-evidence="270-274" x="171.5" y="60.0" width="195.0" height="71.0" rx="7" />
<text class="node-label" x="269.0" y="87.0">롤링 재시작</text>

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB