Files
document-haness/docs/keycloak-session-store/final/.techviz/not-applicable-conditions/spec.json
T
DongHyeonkaandClaude Opus 5 73026cada6 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>
2026-09-05 12:05:52 +09:00

152 lines
4.1 KiB
JSON

{
"version": "1.1",
"id": "not-applicable-conditions",
"title": "이 기록이 적용되지 않는 조건",
"question": "이 결론들을 언제 그대로 쓰면 안 되는가",
"type": "architecture",
"direction": "TB",
"audience": [
"이 기록을 자기 환경에 옮기려는 엔지니어"
],
"summary": "버전, 캐시 온도, 인스턴스 수, 프록시 설정, 시계 동기 다섯 가지가 결론을 바꾼다.",
"alt": "다섯 가지 전제가 각각 어떤 결론을 무효로 만드는지 이어진 구성.",
"long_description": "Keycloak 26 미만이면 persistent-user-sessions 가 기본이 아니라 A층 결론 중 셋이 뒤집힌다. volatile 에서는 캐시가 더운지 찬지가 DB 정지 시의 동작을 가른다. 인스턴스가 하나면 B층 질문 자체가 생기지 않는다. oauth2-proxy 에서 cookie-refresh 를 켜면 TTL 역산 정리 규칙이 무너진다. 그리고 이 실험대는 106초 시계 왜곡이 있었고 여기 적힌 수치는 그것을 보정한 값이다.",
"source_context": {
"document": "docs/keycloak-session-store/final/document.md",
"document_sha256": "1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe",
"anchor": {
"kind": "heading",
"value": "이 기록이 적용되지 않는 조건",
"line": 689
}
},
"composition": {
"profile": "component-flow",
"diagram_only": true,
"reference_ids": [
"payment-event-flow"
],
"rationale": "어떤 전제가 어떤 결론을 무효로 만드는가가 지배적 질문이다. 조건의 사슬이므로 component-flow 를 골랐다."
},
"groups": [],
"nodes": [
{
"id": "version",
"label": "Keycloak 버전",
"kind": "component",
"role": "source",
"emphasis": "warning",
"description": "26 미만이면 세션의 거처가 다르다.",
"details": [
"A-1 · A-2 · A-8"
],
"evidence": [
{
"start_line": 684,
"end_line": 690
}
],
"assumption": false
},
{
"id": "cache",
"label": "캐시 온도",
"kind": "component",
"role": "control",
"emphasis": "warning",
"description": "volatile 에서 DB 정지 시의 동작을 가른다.",
"details": [
"400 · 500 · 200"
],
"evidence": [
{
"start_line": 684,
"end_line": 692
}
],
"assumption": false
},
{
"id": "instances",
"label": "인스턴스 수",
"kind": "component",
"role": "control",
"emphasis": "normal",
"description": "하나면 B층 질문이 생기지 않는다.",
"details": [],
"evidence": [
{
"start_line": 684,
"end_line": 694
}
],
"assumption": false
},
{
"id": "clock",
"label": "시계 동기",
"kind": "component",
"role": "target",
"emphasis": "warning",
"description": "이 수치들은 106초 보정을 거친 값이다.",
"details": [
"NTP 미동기 환경"
],
"evidence": [
{
"start_line": 684,
"end_line": 696
}
],
"assumption": false
}
],
"edges": [
{
"id": "v-c",
"from": "version",
"to": "cache",
"label": "선행 조건",
"kind": "request",
"evidence": [
{
"start_line": 684,
"end_line": 690
}
],
"assumption": false
},
{
"id": "c-i",
"from": "cache",
"to": "instances",
"label": "다음 조건",
"kind": "request",
"evidence": [
{
"start_line": 684,
"end_line": 694
}
],
"assumption": false
},
{
"id": "i-cl",
"from": "instances",
"to": "clock",
"label": "수치 해석",
"kind": "request",
"evidence": [
{
"start_line": 684,
"end_line": 696
}
],
"assumption": false
}
],
"legend": [],
"metadata": {
"rationale": "적용 조건을 목록이 아니라 무엇을 무효로 만드는가로 이었다."
}
}