docs(keycloak-session-store): rewrite the prose and the diagram labels out of AI register

Two things read as machine-written and both are now fixed with the
repository's own tooling.

The diagram labels counted abstractions instead of naming things —
"틀린 예측 5건", "조용한 실패 9건", "로컬 아티팩트 76건". Replaced with what
those actually were, which is also more useful in a drawing:

  틀린 예측 5건        -> A-1 · A-2 · A-6 · B-4 · B-6
  조용한 실패 9건      -> NetworkPolicy · tc · kill · iptables
  로컬 아티팩트 76건   -> 연결수 0 · 50µs
  A층 결론 3건 반전    -> A-1 · A-2 · A-8

The prose was staccato: 30.7 characters average against a 48-75 reference,
45% of sentences under 25 characters, and causal connectives at 4.9 per 100
against a floor of 6. check_prose reported an error for closing six
sentences with 「~것이 ~이다」.

Roughly ninety sentences were rewritten — joining pairs that carry a real
causal or contrastive relation, and varying the joins. The first pass
overcorrected into a new monotony (는데 at 47 occurrences, connectives up to
31.9, above the ceiling), so twenty-three of those were varied into 지만,
-고, em-dashes, or split back apart.

  check_prose      FAIL error 1  ->  OK error 0
  평균 문장 길이    30.7  ->  43.1
  25자 미만 비율    45.4% ->  23.4%
  이유 연결어미     4.9   ->  within range

Two style_profile numbers still read outside the band, and the reason is
worth writing down rather than editing around: the tool counts each image
caption as a sentence, and this document carries 28 diagrams. Excluding
captions and separators the prose is 46.4 characters average with 14.3%
short — inside the reference range. Padding sentences to move the remaining
gap is what CLAUDE.md forbids, so it stops here.

Protected values were checked against source and are unchanged: 153건/149건,
1,872 ms, 20,000 ms, 22.2 초, 2305초, 845361바이트, 8856건, 205.7ms, 106초.
All 28 diagrams still lint clean with no sentence left on any canvas.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
DongHyeonka
2026-09-05 12:05:52 +09:00
co-authored by Claude Opus 5
parent 95c0e680b5
commit 73026cada6
35 changed files with 328 additions and 323 deletions
@@ -1,4 +1,4 @@
# 같은 주입, 정반대 결과
# 설정에 따라 갈리는 세션의 거처
## Alternative text
@@ -1,4 +1,4 @@
# 같은 주입, 정반대 결과
# 설정에 따라 갈리는 세션의 거처
# Question: Keycloak 버전과 설정이 결론을 어떻게 뒤집는가
direction: right
n0: "persistent-user-sessions 켜짐" {
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="app.diagrams.net" modified="2026-07-23T00:00:00.000Z" agent="techviz-harness" version="24.7.17" type="device">
<diagram id="version-conditional-results" name="같은 주입, 정반대 결과">
<diagram id="version-conditional-results" name="설정에 따라 갈리는 세션의 거처">
<mxGraphModel dx="680" dy="359" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
@@ -2,7 +2,7 @@
"harness_version": "0.2.0",
"spec_id": "version-conditional-results",
"spec_version": "1.1",
"spec_sha256": "24fe5d934211da9916c42d3db966c04559e51956a550964296655cbced280750",
"spec_sha256": "1c5866f8f5aade8c554b19d5aa7e35b44129b5c7bdfbf41d2fc0be2940cb68fe",
"source_context": {
"document": "docs/keycloak-session-store/final/document.md",
"document_sha256": "1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe",
@@ -1,4 +1,4 @@
%% 같은 주입, 정반대 결과
%% 설정에 따라 갈리는 세션의 거처
%% question: Keycloak 버전과 설정이 결론을 어떻게 뒤집는가
flowchart LR
n0["persistent-user-sessions 켜짐"]
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="359" viewBox="0 0 680 359" role="img" aria-labelledby="diagram-title diagram-description">
<title id="diagram-title">같은 주입, 정반대 결과</title>
<title id="diagram-title">설정에 따라 갈리는 세션의 거처</title>
<desc id="diagram-description">Keycloak 26 은 persistent-user-sessions 가 기본값이라 세션을 PostgreSQL 에 쓴다. 24 이전은 메모리에 두고 Infinispan 으로 복제했다. 그래서 7800 을 끊었을 때, 롤링 재시작했을 때, DB 를 세웠을 때의 결과가 세 항목 모두 정반대로 나온다. 이 실험대의 A층 결론 전체가 이 설정 위에 서 있다.</desc>
<metadata>{&quot;techviz&quot;:{&quot;spec_version&quot;:&quot;1.1&quot;,&quot;id&quot;:&quot;version-conditional-results&quot;,&quot;profile&quot;:&quot;component-flow&quot;},&quot;source_context&quot;:{&quot;document&quot;:&quot;docs/keycloak-session-store/final/document.md&quot;,&quot;document_sha256&quot;:&quot;1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe&quot;,&quot;anchor&quot;:{&quot;kind&quot;:&quot;heading&quot;,&quot;value&quot;:&quot;그리고 이 결론에는 버전 조건이 붙어 있었다&quot;,&quot;line&quot;:64}},&quot;evidence_policy&quot;:&quot;Each factual element cites source lines or is marked assumption.&quot;,&quot;diagram_only&quot;:true}</metadata>
<defs>

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB