Files
document-haness/docs/keycloak-session-store/final/.techviz/wrong-predictions/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

150 lines
4.2 KiB
JSON

{
"version": "1.1",
"id": "wrong-predictions",
"title": "틀린 예측이 남긴 것",
"question": "예측을 지우지 않고 남기면 무엇이 달라지는가",
"type": "architecture",
"direction": "TB",
"audience": [
"실험 기록을 쓰는 엔지니어"
],
"summary": "예측을 먼저 적고 주입이 걸렸는지 따로 확인하고 대조군 없이 귀속하지 않는다. 세 번째가 가장 자주 어겨졌다.",
"alt": "예측 기록에서 주입 검증과 대조군 확보를 거쳐 결론에 이르는 경로. 각 단계가 빠지면 다른 방식으로 틀린다.",
"long_description": "이 실험대에서 예측 다섯 개가 틀렸고 주입이 아홉 번 조용히 실패했다. A-1 이 틀리지 않았다면 A-0 의 인과 설명이 잘못된 채로 남았을 것이고 A-7 의 가설이 확정되지 않았다면 volatile 이면 이렇다는 표가 조건 없이 유통됐을 것이다. 그래서 규칙이 셋이다. 예측을 먼저 적고, 주입이 걸렸는지를 결과와 따로 확인하고, 대조군 없이 귀속하지 않는다.",
"source_context": {
"document": "docs/keycloak-session-store/final/document.md",
"document_sha256": "1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe",
"anchor": {
"kind": "heading",
"value": "결국 지키려던 것은 무엇이었나",
"line": 706
}
},
"composition": {
"profile": "component-flow",
"diagram_only": true,
"reference_ids": [
"payment-event-flow"
],
"rationale": "기록의 신뢰가 어느 단계에서 만들어지는가가 지배적 질문이다. 절차의 사슬이므로 component-flow 를 골랐다."
},
"groups": [],
"nodes": [
{
"id": "predict",
"label": "예측 선기록",
"kind": "process",
"role": "source",
"emphasis": "primary",
"description": "결과를 보고 나면 정직하게 쓸 수 없다.",
"details": [
"A-1 · A-2 · A-6 · B-4 · B-6"
],
"evidence": [
{
"start_line": 744,
"end_line": 752
}
],
"assumption": false
},
{
"id": "verify",
"label": "주입 검증",
"kind": "process",
"role": "control",
"emphasis": "primary",
"description": "아무 일도 없었다와 영향이 없다를 가른다.",
"details": [
"conntrack · PID 1 · kube-router"
],
"evidence": [
{
"start_line": 744,
"end_line": 752
}
],
"assumption": false
},
{
"id": "control",
"label": "대조군 확보",
"kind": "process",
"role": "control",
"emphasis": "warning",
"description": "가장 자주 어겨졌고 가장 비쌌다.",
"details": [],
"evidence": [
{
"start_line": 744,
"end_line": 753
}
],
"assumption": false
},
{
"id": "conclusion",
"label": "결론",
"kind": "component",
"role": "target",
"emphasis": "primary",
"description": "세 단계를 거친 것만 남긴다.",
"details": [],
"evidence": [
{
"start_line": 744,
"end_line": 753
}
],
"assumption": false
}
],
"edges": [
{
"id": "p-v",
"from": "predict",
"to": "verify",
"label": "주입 뒤",
"kind": "request",
"evidence": [
{
"start_line": 744,
"end_line": 752
}
],
"assumption": false
},
{
"id": "v-c",
"from": "verify",
"to": "control",
"label": "관측 전",
"kind": "request",
"evidence": [
{
"start_line": 744,
"end_line": 752
}
],
"assumption": false
},
{
"id": "c-cn",
"from": "control",
"to": "conclusion",
"label": "귀속",
"kind": "request",
"evidence": [
{
"start_line": 744,
"end_line": 753
}
],
"assumption": false
}
],
"legend": [],
"metadata": {
"rationale": "세 규칙을 순서로 놓았다. 각 단계가 빠졌을 때 어떤 방식으로 틀리는지가 이 실험대의 실제 이력이다."
}
}