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:
co-authored by
Claude Opus 5
parent
75bed382c8
commit
95c0e680b5
+2
-2
@@ -16,5 +16,5 @@ kubectl get secret -o yaml 이 보여주는 base64 는 인코딩이지 암호화
|
||||
|
||||
## Relationships
|
||||
|
||||
- **k8s Secret → etcd:** 여기 저장된다. Evidence: L495–L501.
|
||||
- **k8s Secret → 파드 환경 변수:** 주입된다. Evidence: L495–L501.
|
||||
- **k8s Secret → etcd:** 저장. Evidence: L495–L501.
|
||||
- **k8s Secret → 파드 환경 변수:** 주입. Evidence: L495–L501.
|
||||
|
||||
@@ -10,5 +10,5 @@ n1: "etcd" {
|
||||
n2: "파드 환경 변수" {
|
||||
shape: rectangle
|
||||
}
|
||||
n0 -> n1: "여기 저장된다"
|
||||
n0 -> n2: "주입된다"
|
||||
n0 -> n1: "저장"
|
||||
n0 -> n2: "주입"
|
||||
|
||||
@@ -5,6 +5,6 @@ digraph techviz {
|
||||
n0 [label="k8s Secret", shape=cylinder, style="rounded,filled"];
|
||||
n1 [label="etcd", shape=cylinder, style="rounded,filled"];
|
||||
n2 [label="파드 환경 변수", shape=box, style="rounded,filled"];
|
||||
n0 -> n1 [label="여기 저장된다", style=solid];
|
||||
n0 -> n2 [label="주입된다", style=solid];
|
||||
n0 -> n1 [label="저장", style=solid];
|
||||
n0 -> n2 [label="주입", style=solid];
|
||||
}
|
||||
|
||||
+3
-3
@@ -5,7 +5,7 @@
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="n_secret" value="k8s Secret<br/>인코딩이지 암호화가 아니다" tooltip="base64 로 담긴다. | Evidence: L495-L501" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;strokeColor=#d97706;fillColor=#fffdf5;" vertex="1" parent="1">
|
||||
<mxCell id="n_secret" value="k8s Secret<br/>base64 인코딩" tooltip="base64 로 담긴다. | Evidence: L495-L501" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;strokeColor=#d97706;fillColor=#fffdf5;" vertex="1" parent="1">
|
||||
<mxGeometry x="187.0" y="60.0" width="150.0" height="97.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_etcd" value="etcd" tooltip="평문으로 있다. | Evidence: L495-L501" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;shape=cylinder3;boundedLbl=1;backgroundOutline=1;fillColor=#eef6fb;strokeColor=#d97706;fillColor=#fffdf5;" vertex="1" parent="1">
|
||||
@@ -14,12 +14,12 @@
|
||||
<mxCell id="n_pod" value="파드 환경 변수<br/>env | grep -i secret" tooltip="env 로 그대로 읽힌다. | Evidence: L495-L501" 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="262.5" width="174.0" height="71.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="e_s-e" value="여기 저장된다" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_secret" target="n_etcd">
|
||||
<mxCell id="e_s-e" value="저장" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_secret" target="n_etcd">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="199.0" y="177.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_s-p" value="주입된다" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_secret" target="n_pod">
|
||||
<mxCell id="e_s-p" value="주입" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_secret" target="n_pod">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="319.0" y="181.8" as="offset"/>
|
||||
</mxGeometry>
|
||||
|
||||
+6
-6
@@ -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
|
||||
},
|
||||
@@ -262,11 +262,11 @@
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "k8s Secret\n인코딩이지 암호화가 아니다",
|
||||
"text": "k8s Secret\nbase64 인코딩",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "k8s Secret\n인코딩이지 암호화가 아니다",
|
||||
"originalText": "k8s Secret\nbase64 인코딩",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
"harness_version": "0.2.0",
|
||||
"spec_id": "d3-secret-exposure",
|
||||
"spec_version": "1.1",
|
||||
"spec_sha256": "ed7488f2d1f9b5d6e17cf9e6ed697252b007d0504df014aeb9afab065da20cff",
|
||||
"spec_sha256": "b6167a15c39563b3cfa5ee200ba34a5cb23220b1c93428ad2bb399c48e3df240",
|
||||
"source_context": {
|
||||
"document": "docs/keycloak-session-store/final/document.md",
|
||||
"document_sha256": "1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe",
|
||||
|
||||
@@ -4,5 +4,5 @@ flowchart TB
|
||||
n0[("k8s Secret")]
|
||||
n1[("etcd")]
|
||||
n2["파드 환경 변수"]
|
||||
n0 -->|"여기 저장된다"| n1
|
||||
n0 -->|"주입된다"| n2
|
||||
n0 -->|"저장"| n1
|
||||
n0 -->|"주입"| n2
|
||||
|
||||
@@ -51,16 +51,16 @@
|
||||
</defs>
|
||||
<rect class="canvas" width="680" height="388" />
|
||||
<polyline class="edge kind-write style-solid emphasis-normal" points="253.0,157.0 253.0,205.0 145.0,205.0 145.0,253.0" data-evidence="495-501" />
|
||||
<rect class="edge-label-bg" x="166.6" y="163.0" width="64.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="199.0" y="178.0">여기 저장된다</text>
|
||||
<rect class="edge-label-bg" x="177.0" y="163.0" width="44.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="199.0" y="178.0">저장</text>
|
||||
<polyline class="edge kind-write style-solid emphasis-normal" points="271.0,157.0 271.0,209.8 367.0,209.8 367.0,262.5" data-evidence="495-501" />
|
||||
<rect class="edge-label-bg" x="296.6" y="167.8" width="44.8" height="22" rx="3" />
|
||||
<text class="edge-label" x="319.0" y="182.8">주입된다</text>
|
||||
<rect class="edge-label-bg" x="297.0" y="167.8" width="44.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="319.0" y="182.8">주입</text>
|
||||
<g id="node-secret">
|
||||
<rect class="node-shape kind-datastore emphasis-warning role-source" data-evidence="495-501" x="187.0" y="73.0" width="150.0" height="71.0" /><ellipse class="node-shape kind-datastore emphasis-warning role-source" cx="262.0" cy="73.0" rx="75.0" ry="13.0" /><path class="storage-bottom" d="M 187.0 144.0 A 75.0 13.0 0 0 0 337.0 144.0" />
|
||||
<text class="node-label" x="262.0" y="100.0">k8s Secret</text>
|
||||
<line class="node-detail-divider" x1="201.0" y1="121.0" x2="323.0" y2="121.0" />
|
||||
<text class="node-detail" x="203.0" y="138.0">인코딩이지 암호화가 아니다</text>
|
||||
<text class="node-detail" x="203.0" y="138.0">base64 인코딩</text>
|
||||
</g>
|
||||
<g id="node-etcd">
|
||||
<rect class="node-shape kind-datastore emphasis-warning role-target" data-evidence="495-501" x="70.0" y="266.0" width="150.0" height="64.0" /><ellipse class="node-shape kind-datastore emphasis-warning role-target" cx="145.0" cy="266.0" rx="75.0" ry="13.0" /><path class="storage-bottom" d="M 70.0 330.0 A 75.0 13.0 0 0 0 220.0 330.0" />
|
||||
|
||||
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.2 KiB |
Reference in New Issue
Block a user