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 @@ D-4 에서 주입 전에 900건을 재서 오류 0을 확인했다. 그래서
## Relationships
- **주입 전 대조군 → 주입 중 관측:** 비교 기준을 준다. Evidence: L596L610.
- **주입 중 관측 → 귀속:** 대조으면. Evidence: L596L618.
- **주입 중 관측 → 오보:** 대조으면. Evidence: L607L618.
- **주입 전 대조군 → 주입 중 관측:** 비교 기준. Evidence: L596L610.
- **주입 중 관측 → 귀속:** 대조. Evidence: L596L618.
- **주입 중 관측 → 오보:** 대조. Evidence: L607L618.
@@ -13,6 +13,6 @@ n2: "귀속" {
n3: "오보" {
shape: rectangle
}
n0 -> n1: "비교 기준을 준다"
n1 -> n2: "대조으면"
n1 -> n3: "대조으면"
n0 -> n1: "비교 기준"
n1 -> n2: "대조"
n1 -> n3: "대조"
@@ -6,7 +6,7 @@ digraph techviz {
n1 [label="주입 중 관측", shape=box, style="rounded,filled"];
n2 [label="귀속", shape=box, style="rounded,filled"];
n3 [label="오보", shape=box, style="rounded,filled"];
n0 -> n1 [label="비교 기준을 준다", style=solid];
n1 -> n2 [label="대조으면", style=solid];
n1 -> n3 [label="대조으면", style=solid];
n0 -> n1 [label="비교 기준", style=solid];
n1 -> n2 [label="대조", style=solid];
n1 -> n3 [label="대조", style=solid];
}
@@ -6,30 +6,30 @@
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="n_baseline" value="주입 전 대조군&lt;br/&gt;900건 중 오류 0" tooltip="평시 오류율을 잰다. | Evidence: L596-L606" 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="188.5" y="60.0" width="150.0" height="71.0" as="geometry"/>
<mxGeometry x="175.0" y="60.0" width="150.0" height="71.0" as="geometry"/>
</mxCell>
<mxCell id="n_observation" value="주입 중 관측" tooltip="이상이 보인다. | Evidence: L607-L618" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry x="188.5" y="227.0" width="150.0" height="64.0" as="geometry"/>
<mxGeometry x="175.0" y="227.0" width="150.0" height="64.0" as="geometry"/>
</mxCell>
<mxCell id="n_attribution" value="귀속&lt;br/&gt;대조군 0 이므로 한 번도 갱신 탓" tooltip="대조군과 대비될 때만 성립한다. | Evidence: L596-L618" 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="70.0" y="387.0" width="174.0" height="71.0" as="geometry"/>
<mxCell id="n_attribution" value="귀속&lt;br/&gt;대조군 0 → 귀속 성립" tooltip="대조군과 대비될 때만 성립한다. | Evidence: L596-L618" 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="70.0" y="387.0" width="150.0" height="71.0" as="geometry"/>
</mxCell>
<mxCell id="n_misreport" value="오보&lt;br/&gt;76건 실패는 로컬 아티팩트였다" tooltip="대조군이 없으면 여기로 간다. | Evidence: L607-L618" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#d97706;fillColor=#fffdf5;" vertex="1" parent="1">
<mxGeometry x="304.0" y="387.0" width="153.0" height="71.0" as="geometry"/>
<mxCell id="n_misreport" value="오보&lt;br/&gt;로컬 아티팩트 76건" tooltip="대조군이 없으면 여기로 간다. | Evidence: L607-L618" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#d97706;fillColor=#fffdf5;" vertex="1" parent="1">
<mxGeometry x="280.0" y="387.0" width="150.0" height="71.0" as="geometry"/>
</mxCell>
<mxCell id="e_b-o" value="비교 기준을 준다" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_baseline" target="n_observation">
<mxCell id="e_b-o" value="비교 기준" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_baseline" target="n_observation">
<mxGeometry relative="1" as="geometry">
<mxPoint x="287.5" y="179.0" as="offset"/>
<mxPoint x="274.0" y="179.0" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="e_o-a" value="대조으면" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_observation" target="n_attribution">
<mxCell id="e_o-a" value="대조" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_observation" target="n_attribution">
<mxGeometry relative="1" as="geometry">
<mxPoint x="205.8" y="311.0" as="offset"/>
<mxPoint x="193.0" y="311.0" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="e_o-m" value="대조으면" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_observation" target="n_misreport">
<mxCell id="e_o-m" value="대조" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_observation" target="n_misreport">
<mxGeometry relative="1" as="geometry">
<mxPoint x="326.5" y="311.0" as="offset"/>
<mxPoint x="307.0" y="311.0" as="offset"/>
</mxGeometry>
</mxCell>
</root>
@@ -6,7 +6,7 @@
{
"id": "edge-b-o",
"type": "arrow",
"x": 263.5,
"x": 250.0,
"y": 131.0,
"width": 0.0,
"height": 96.0,
@@ -66,7 +66,7 @@
{
"id": "edge-label-b-o",
"type": "text",
"x": 242.5,
"x": 229.0,
"y": 167.0,
"width": 90,
"height": 24,
@@ -94,20 +94,20 @@
"locked": false,
"fontSize": 13,
"fontFamily": 5,
"text": "비교 기준을 준다",
"text": "비교 기준",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "비교 기준을 준다",
"originalText": "비교 기준",
"autoResize": true,
"lineHeight": 1.25
},
{
"id": "edge-o-a",
"type": "arrow",
"x": 157.0,
"x": 145.0,
"y": 291.0,
"width": 97.5,
"width": 96.0,
"height": 96.0,
"angle": 0,
"strokeColor": "#1e1e1e",
@@ -131,11 +131,11 @@
"locked": false,
"points": [
[
97.5,
96.0,
0.0
],
[
97.5,
96.0,
48.0
],
[
@@ -165,7 +165,7 @@
{
"id": "edge-label-o-a",
"type": "text",
"x": 160.75,
"x": 148.0,
"y": 299.0,
"width": 90,
"height": 24,
@@ -193,20 +193,20 @@
"locked": false,
"fontSize": 13,
"fontFamily": 5,
"text": "대조으면",
"text": "대조",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "대조으면",
"originalText": "대조",
"autoResize": true,
"lineHeight": 1.25
},
{
"id": "edge-o-m",
"type": "arrow",
"x": 272.5,
"x": 259.0,
"y": 291.0,
"width": 108.0,
"width": 96.0,
"height": 96.0,
"angle": 0,
"strokeColor": "#1e1e1e",
@@ -238,11 +238,11 @@
48.0
],
[
108.0,
96.0,
48.0
],
[
108.0,
96.0,
96.0
]
],
@@ -264,7 +264,7 @@
{
"id": "edge-label-o-m",
"type": "text",
"x": 281.5,
"x": 262.0,
"y": 299.0,
"width": 90,
"height": 24,
@@ -292,18 +292,18 @@
"locked": false,
"fontSize": 13,
"fontFamily": 5,
"text": "대조으면",
"text": "대조",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "대조으면",
"originalText": "대조",
"autoResize": true,
"lineHeight": 1.25
},
{
"id": "node-baseline",
"type": "rectangle",
"x": 188.5,
"x": 175.0,
"y": 60.0,
"width": 150.0,
"height": 71.0,
@@ -333,7 +333,7 @@
{
"id": "node-label-baseline",
"type": "text",
"x": 198.5,
"x": 185.0,
"y": 70.0,
"width": 130.0,
"height": 51.0,
@@ -372,7 +372,7 @@
{
"id": "node-observation",
"type": "rectangle",
"x": 188.5,
"x": 175.0,
"y": 227.0,
"width": 150.0,
"height": 64.0,
@@ -402,7 +402,7 @@
{
"id": "node-label-observation",
"type": "text",
"x": 198.5,
"x": 185.0,
"y": 237.0,
"width": 130.0,
"height": 44.0,
@@ -443,7 +443,7 @@
"type": "rectangle",
"x": 70.0,
"y": 387.0,
"width": 174.0,
"width": 150.0,
"height": 71.0,
"angle": 0,
"strokeColor": "#1e1e1e",
@@ -473,7 +473,7 @@
"type": "text",
"x": 80.0,
"y": 397.0,
"width": 154.0,
"width": 130.0,
"height": 51.0,
"angle": 0,
"strokeColor": "#1e1e1e",
@@ -499,20 +499,20 @@
"locked": false,
"fontSize": 15,
"fontFamily": 5,
"text": "귀속\n대조군 0 이므로 한 번도 갱신 탓",
"text": "귀속\n대조군 0 → 귀속 성립",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "귀속\n대조군 0 이므로 한 번도 갱신 탓",
"originalText": "귀속\n대조군 0 → 귀속 성립",
"autoResize": true,
"lineHeight": 1.25
},
{
"id": "node-misreport",
"type": "rectangle",
"x": 304.0,
"x": 280.0,
"y": 387.0,
"width": 153.0,
"width": 150.0,
"height": 71.0,
"angle": 0,
"strokeColor": "#1e1e1e",
@@ -540,9 +540,9 @@
{
"id": "node-label-misreport",
"type": "text",
"x": 314.0,
"x": 290.0,
"y": 397.0,
"width": 133.0,
"width": 130.0,
"height": 51.0,
"angle": 0,
"strokeColor": "#1e1e1e",
@@ -568,11 +568,11 @@
"locked": false,
"fontSize": 15,
"fontFamily": 5,
"text": "오보\n76건 실패는 로컬 아티팩트였다",
"text": "오보\n로컬 아티팩트 76건",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "오보\n76건 실패는 로컬 아티팩트였다",
"originalText": "오보\n로컬 아티팩트 76건",
"autoResize": true,
"lineHeight": 1.25
}
@@ -2,7 +2,7 @@
"harness_version": "0.2.0",
"spec_id": "measurement-control",
"spec_version": "1.1",
"spec_sha256": "3d2920d4ba708e8e505ef14e82b01bed9c293bbfe4b0d8379a0cef7265d38414",
"spec_sha256": "169ffe513a56bc94943815168f5dd8c311041aabaa20bb8ed1328c25936e7334",
"source_context": {
"document": "docs/keycloak-session-store/final/document.md",
"document_sha256": "1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe",
@@ -5,6 +5,6 @@ flowchart TB
n1["주입 중 관측"]
n2["귀속"]
n3["오보"]
n0 -->|"비교 기준을 준다"| n1
n1 -->|"대조으면"| n2
n1 -->|"대조으면"| n3
n0 -->|"비교 기준"| n1
n1 -->|"대조"| n2
n1 -->|"대조"| n3
@@ -50,35 +50,35 @@
</style>
</defs>
<rect class="canvas" width="680" height="503" />
<polyline class="edge kind-read style-solid emphasis-normal" points="263.5,131.0 263.5,179.0 263.5,179.0 263.5,227.0" data-evidence="596-610" />
<rect class="edge-label-bg" x="248.3" y="165.0" width="78.3" height="22" rx="3" />
<text class="edge-label" x="287.5" y="180.0">비교 기준을 준다</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="254.5,291.0 254.5,339.0 157.0,339.0 157.0,387.0" data-evidence="596-618" />
<rect class="edge-label-bg" x="173.3" y="297.0" width="64.9" height="22" rx="3" />
<text class="edge-label" x="205.8" y="312.0">대조으면</text>
<polyline class="edge kind-blocked style-solid emphasis-normal" points="272.5,291.0 272.5,339.0 380.5,339.0 380.5,387.0" data-evidence="607-618" />
<rect class="edge-label-bg" x="294.1" y="297.0" width="64.9" height="22" rx="3" />
<text class="edge-label" x="326.5" y="312.0">대조으면</text>
<polyline class="edge kind-read style-solid emphasis-normal" points="250.0,131.0 250.0,179.0 250.0,179.0 250.0,227.0" data-evidence="596-610" />
<rect class="edge-label-bg" x="248.2" y="165.0" width="51.5" height="22" rx="3" />
<text class="edge-label" x="274.0" y="180.0">비교 기준</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="241.0,291.0 241.0,339.0 145.0,339.0 145.0,387.0" data-evidence="596-618" />
<rect class="edge-label-bg" x="163.9" y="297.0" width="58.2" height="22" rx="3" />
<text class="edge-label" x="193.0" y="312.0">대조</text>
<polyline class="edge kind-blocked style-solid emphasis-normal" points="259.0,291.0 259.0,339.0 355.0,339.0 355.0,387.0" data-evidence="607-618" />
<rect class="edge-label-bg" x="277.9" y="297.0" width="58.2" height="22" rx="3" />
<text class="edge-label" x="307.0" y="312.0">대조</text>
<g id="node-baseline">
<rect class="node-shape kind-process emphasis-primary role-source" data-evidence="596-606" x="188.5" y="60.0" width="150.0" height="71.0" rx="7" />
<text class="node-label" x="263.5" y="87.0">주입 전 대조군</text>
<line class="node-detail-divider" x1="202.5" y1="108.0" x2="324.5" y2="108.0" />
<text class="node-detail" x="204.5" y="125.0">900건 중 오류 0</text>
<rect class="node-shape kind-process emphasis-primary role-source" data-evidence="596-606" x="175.0" y="60.0" width="150.0" height="71.0" rx="7" />
<text class="node-label" x="250.0" y="87.0">주입 전 대조군</text>
<line class="node-detail-divider" x1="189.0" y1="108.0" x2="311.0" y2="108.0" />
<text class="node-detail" x="191.0" y="125.0">900건 중 오류 0</text>
</g>
<g id="node-observation">
<rect class="node-shape kind-process emphasis-normal role-control" data-evidence="607-618" x="188.5" y="227.0" width="150.0" height="64.0" rx="7" />
<text class="node-label" x="263.5" y="257.0">주입 중 관측</text>
<rect class="node-shape kind-process emphasis-normal role-control" data-evidence="607-618" x="175.0" y="227.0" width="150.0" height="64.0" rx="7" />
<text class="node-label" x="250.0" y="257.0">주입 중 관측</text>
</g>
<g id="node-attribution">
<rect class="node-shape kind-process emphasis-primary role-target" data-evidence="596-618" x="70.0" y="387.0" width="174.0" height="71.0" rx="7" />
<text class="node-label" x="157.0" y="414.0">귀속</text>
<line class="node-detail-divider" x1="84.0" y1="435.0" x2="230.0" y2="435.0" />
<text class="node-detail" x="86.0" y="452.0">대조군 0 이므로 한 번도 갱신 탓</text>
<rect class="node-shape kind-process emphasis-primary role-target" data-evidence="596-618" x="70.0" y="387.0" width="150.0" height="71.0" rx="7" />
<text class="node-label" x="145.0" y="414.0">귀속</text>
<line class="node-detail-divider" x1="84.0" y1="435.0" x2="206.0" y2="435.0" />
<text class="node-detail" x="86.0" y="452.0">대조군 0 → 귀속 성립</text>
</g>
<g id="node-misreport">
<rect class="node-shape kind-process emphasis-warning role-target" data-evidence="607-618" x="304.0" y="387.0" width="153.0" height="71.0" rx="7" />
<text class="node-label" x="380.5" y="414.0">오보</text>
<line class="node-detail-divider" x1="318.0" y1="435.0" x2="443.0" y2="435.0" />
<text class="node-detail" x="320.0" y="452.0">76건 실패는 로컬 아티팩트였다</text>
<rect class="node-shape kind-process emphasis-warning role-target" data-evidence="607-618" x="280.0" y="387.0" width="150.0" height="71.0" rx="7" />
<text class="node-label" x="355.0" y="414.0">오보</text>
<line class="node-detail-divider" x1="294.0" y1="435.0" x2="416.0" y2="435.0" />
<text class="node-detail" x="296.0" y="452.0">로컬 아티팩트 76건</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB