설계 개편

This commit is contained in:
DongHyeonka
2026-07-24 16:31:12 +09:00
parent f43e909162
commit 8daa568746
70 changed files with 6554 additions and 956 deletions
@@ -0,0 +1,317 @@
{
"version": "1.1",
"id": "two-zone-pipeline",
"title": "two-zone-pipeline runtime fixture",
"question": "Does the two-zone-pipeline logical composition render correctly?",
"type": "data-flow",
"direction": "LR",
"audience": [
"renderer maintainer"
],
"summary": "Executable two-zone-pipeline fixture.",
"alt": "Executable technical diagram fixture for the two-zone-pipeline composition profile.",
"long_description": "This fixture validates the node roles, edges, and layout rules of the two-zone-pipeline profile.",
"source_context": {
"document": "examples/runtime-profiles/fixture.md",
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"anchor": {
"kind": "line",
"value": 1,
"line": 1
}
},
"composition": {
"profile": "two-zone-pipeline",
"diagram_only": true,
"reference_ids": [
"localization-pipeline"
],
"rationale": "Runtime regression fixture for two-zone-pipeline.",
"focus_node": "fdh"
},
"groups": [
{
"id": "request-zone",
"label": "사용자 요청 및 서비스 레이어",
"kind": "system",
"role": "zone",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false
},
{
"id": "translation-zone",
"label": "데이터 번역 및 적재 레이어",
"kind": "system",
"role": "zone",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false
}
],
"nodes": [
{
"id": "mobile",
"label": "배민 앱",
"kind": "actor",
"role": "source",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false,
"group": "request-zone",
"shape": "actor"
},
{
"id": "list",
"label": "목록/상세 BFF",
"kind": "service",
"role": "service",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false,
"group": "request-zone",
"details": [
"lang param"
]
},
{
"id": "cart",
"label": "장바구니/주문 BFF",
"kind": "service",
"role": "service",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false,
"group": "request-zone",
"details": [
"lang param"
]
},
{
"id": "fdh",
"label": "FDH",
"kind": "service",
"role": "service",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false,
"group": "request-zone",
"emphasis": "primary"
},
{
"id": "source-data",
"label": "가게/메뉴",
"kind": "database",
"role": "store",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false,
"group": "translation-zone",
"shape": "database"
},
{
"id": "worker",
"label": "FDH Worker",
"kind": "service",
"role": "service",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false,
"group": "translation-zone"
},
{
"id": "queue",
"label": "Queue",
"kind": "queue",
"role": "queue",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false,
"group": "translation-zone",
"shape": "queue"
},
{
"id": "translator",
"label": "LLM Translator",
"kind": "service",
"role": "service",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false,
"group": "translation-zone"
}
],
"edges": [
{
"id": "app-list",
"from": "mobile",
"to": "list",
"label": "목록/상세 요청",
"kind": "request",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false
},
{
"id": "app-cart",
"from": "mobile",
"to": "cart",
"label": "주문 요청",
"kind": "request",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false
},
{
"id": "list-fdh",
"from": "list",
"to": "fdh",
"label": "다국어 조회",
"kind": "request",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false
},
{
"id": "cart-fdh",
"from": "cart",
"to": "fdh",
"label": "다국어 조회",
"kind": "request",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false
},
{
"id": "data-worker",
"from": "source-data",
"to": "worker",
"label": "이벤트",
"kind": "request",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false
},
{
"id": "worker-queue",
"from": "worker",
"to": "queue",
"label": "적재 작업",
"kind": "request",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false
},
{
"id": "queue-translator",
"from": "queue",
"to": "translator",
"label": "번역 요청",
"kind": "request",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false
},
{
"id": "translator-worker",
"from": "translator",
"to": "worker",
"label": "번역 결과",
"kind": "response",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false,
"style": "dashed"
},
{
"id": "worker-fdh",
"from": "worker",
"to": "fdh",
"label": "다국어 적재",
"kind": "data",
"evidence": [
{
"start_line": 1,
"end_line": 1
}
],
"assumption": false
}
],
"legend": [],
"metadata": {
"fixture": true
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

@@ -0,0 +1,122 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="395" viewBox="0 0 1080 395" role="img" aria-labelledby="diagram-title diagram-description">
<title id="diagram-title">two-zone-pipeline runtime fixture</title>
<desc id="diagram-description">This fixture validates the node roles, edges, and layout rules of the two-zone-pipeline profile.</desc>
<metadata>{&quot;techviz&quot;:{&quot;spec_version&quot;:&quot;1.1&quot;,&quot;id&quot;:&quot;two-zone-pipeline&quot;,&quot;profile&quot;:&quot;two-zone-pipeline&quot;},&quot;source_context&quot;:{&quot;document&quot;:&quot;examples/runtime-profiles/fixture.md&quot;,&quot;document_sha256&quot;:&quot;0000000000000000000000000000000000000000000000000000000000000000&quot;,&quot;anchor&quot;:{&quot;kind&quot;:&quot;line&quot;,&quot;value&quot;:1,&quot;line&quot;:1}},&quot;evidence_policy&quot;:&quot;Each factual element cites source lines or is marked assumption.&quot;,&quot;diagram_only&quot;:true}</metadata>
<defs>
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
<path d="M 0 0 L 10 5 L 0 10 z" />
</marker>
<style>
:root { color-scheme: light; }
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
.canvas { fill: #ffffff; }
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
.group-label-bg { fill: #ffffff; }
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
.edge.style-dotted { stroke-dasharray: 2 5; }
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
.edge.emphasis-muted { stroke: #9ca3af; }
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
.edge-label-bg { fill: #ffffff; }
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
.node-shape.assumption { stroke-dasharray: 4 4; }
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
.controller-led { fill: #4b5563; }
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
.node-detail { font-size: 11px; fill: #374151; }
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
</style>
</defs>
<rect class="canvas" width="1080" height="395" />
<rect class="group-box" x="45.0" y="49.0" width="470.0" height="288.0" rx="8" />
<rect class="group-label-bg" x="59.0" y="39.0" width="134.0" height="22" />
<text class="group-label" x="69.0" y="54.0">사용자 요청 및 서비스 레이어</text>
<rect class="group-box" x="565.0" y="49.0" width="470.0" height="281.0" rx="8" />
<rect class="group-label-bg" x="579.0" y="39.0" width="127.0" height="22" />
<text class="group-label" x="589.0" y="54.0">데이터 번역 및 적재 레이어</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="265.0,146.0 170.0,146.0 170.0,275.5 75.0,275.5" data-evidence="1-1" />
<rect class="edge-label-bg" x="168.2" y="196.8" width="51.5" height="22" rx="3" />
<text class="edge-label" x="194.0" y="211.8">주문 요청</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="265.0,128.0 295.0,128.0 295.0,59.0 265.0,59.0 265.0,130.5 295.0,130.5" data-evidence="1-1" />
<rect class="edge-label-bg" x="242.9" y="17.0" width="71.6" height="22" rx="3" />
<text class="edge-label" x="278.8" y="32.0">목록/상세 요청</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="265.0,275.5 295.0,275.5 295.0,204.0 265.0,204.0 265.0,281.0 295.0,281.0" data-evidence="1-1" />
<rect class="edge-label-bg" x="248.2" y="162.0" width="58.2" height="22" rx="3" />
<text class="edge-label" x="277.2" y="177.0">다국어 조회</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="785.0,127.0 815.0,127.0 815.0,59.0 785.0,59.0 785.0,107.2 815.0,107.2" data-evidence="1-1" />
<rect class="edge-label-bg" x="787.9" y="17.0" width="44.0" height="22" rx="3" />
<text class="edge-label" x="809.9" y="32.0">이벤트</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="485.0,130.5 390.0,130.5 390.0,263.0 295.0,263.0" data-evidence="1-1" />
<rect class="edge-label-bg" x="384.9" y="182.8" width="58.2" height="22" rx="3" />
<text class="edge-label" x="414.0" y="197.8">다국어 조회</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="785.0,281.0 815.0,281.0 815.0,204.0 785.0,204.0 785.0,272.0 815.0,272.0" data-evidence="1-1" />
<rect class="edge-label-bg" x="778.8" y="162.0" width="51.5" height="22" rx="3" />
<text class="edge-label" x="804.5" y="177.0">번역 요청</text>
<polyline class="edge kind-response style-dashed emphasis-normal semantic-dashed" points="1005.0,272.0 910.0,272.0 910.0,120.4 815.0,120.4" data-evidence="1-1" />
<rect class="edge-label-bg" x="908.2" y="182.2" width="51.5" height="22" rx="3" />
<text class="edge-label" x="934.0" y="197.2">번역 결과</text>
<polyline class="edge kind-data style-solid emphasis-normal" points="910.0,159.0 910.0,350.0 390.0,350.0 390.0,304.0" data-evidence="1-1" />
<rect class="edge-label-bg" x="693.4" y="308.0" width="58.2" height="22" rx="3" />
<text class="edge-label" x="722.5" y="323.0">다국어 적재</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="910.0,159.0 910.0,350.0 690.0,350.0 690.0,304.0" data-evidence="1-1" />
<rect class="edge-label-bg" x="846.8" y="308.0" width="51.5" height="22" rx="3" />
<text class="edge-label" x="872.5" y="323.0">적재 작업</text>
<g id="node-mobile">
<g class="actor-symbol emphasis-normal" data-evidence="1-1"><circle cx="170.0" cy="115.0" r="11.0" /><line x1="170.0" y1="131.0" x2="170.0" y2="150.0" /><line x1="152.0" y1="141.0" x2="188.0" y2="141.0" /><line x1="170.0" y1="150.0" x2="155.0" y2="167.0" /><line x1="170.0" y1="150.0" x2="185.0" y2="167.0" /></g>
<text class="node-label" x="170.0" y="172.0">배민 앱</text>
</g>
<g id="node-list">
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="1-1" x="295.0" y="95.0" width="190.0" height="71.0" rx="7" />
<text class="node-label" x="390.0" y="122.0">목록/상세 BFF</text>
<line class="node-detail-divider" x1="309.0" y1="143.0" x2="471.0" y2="143.0" />
<text class="node-detail" x="311.0" y="160.0">lang param</text>
</g>
<g id="node-cart">
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="1-1" x="75.0" y="240.0" width="190.0" height="71.0" rx="7" />
<text class="node-label" x="170.0" y="267.0">장바구니/주문 BFF</text>
<line class="node-detail-divider" x1="89.0" y1="288.0" x2="251.0" y2="288.0" />
<text class="node-detail" x="91.0" y="305.0">lang param</text>
</g>
<g id="node-fdh">
<rect class="node-shape kind-service emphasis-primary role-service" data-evidence="1-1" x="295.0" y="240.0" width="190.0" height="64.0" rx="7" />
<text class="node-label" x="390.0" y="270.0">FDH</text>
</g>
<g id="node-source-data">
<rect class="node-shape kind-database emphasis-normal role-store" data-evidence="1-1" x="595.0" y="105.7" width="190.0" height="42.7" /><ellipse class="node-shape kind-database emphasis-normal role-store" cx="690.0" cy="105.7" rx="95.0" ry="10.7" /><path class="storage-bottom" d="M 595.0 148.3 A 95.0 10.7 0 0 0 785.0 148.3" />
<text class="node-label" x="690.0" y="125.0">가게/메뉴</text>
</g>
<g id="node-worker">
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="1-1" x="815.0" y="95.0" width="190.0" height="64.0" rx="7" />
<text class="node-label" x="910.0" y="125.0">FDH Worker</text>
</g>
<g id="node-queue">
<rect class="node-shape kind-queue emphasis-normal role-queue" data-evidence="1-1" x="595.0" y="240.0" width="190.0" height="64.0" rx="22" />
<text class="node-label" x="690.0" y="270.0">Queue</text>
</g>
<g id="node-translator">
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="1-1" x="815.0" y="240.0" width="190.0" height="64.0" rx="7" />
<text class="node-label" x="910.0" y="270.0">LLM Translator</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.7 KiB