chore: 문서를 작성할 때 한국어의 표현 작성 스킬 추가 및 1인칭 관점의 글 작성 검증 테스트 추가
This commit is contained in:
Executable
+108
@@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="978" height="673" viewBox="0 0 978 673" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">전송 타입은 inbound adapter에서 Command·Query로 수렴한다</title>
|
||||
<desc id="diagram-description">왼쪽에서 오른쪽으로 읽는다. web은 HTTP DTO, grpc는 protobuf message, graphql은 GraphQL request, websocket은 WebSocket message를 각 어댑터 경계에서 처리한다. 네 어댑터는 전송 기술 타입을 application-core로 넘기지 않고 Command 또는 Query로 변환한다. 변환된 입력만 Application use case를 호출한다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"inbound-transport-boundary","profile":"component-flow"},"source_context":{"document":"/home/donghyeon/workspace/ai-tool/topic-arrange/executable-clean-architecture/claridoc-rewrite/document.md","document_sha256":"04fbab095d33d301746c34f7cca305730919bad3c341bcf63b8ad3ee3b396d31","anchor":{"kind":"marker","value":"inbound-transport-boundary","line":336}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":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="978" height="673" />
|
||||
<polyline class="edge kind-request style-solid emphasis-primary" points="599.0,344.0 679.0,344.0 679.0,344.0 759.0,344.0" data-evidence="322-328" />
|
||||
<rect class="edge-label-bg" x="643.2" y="302.0" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="679.0" y="317.0">유스케이스 호출</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="253.0,424.0 349.5,424.0 349.5,351.3 446.0,351.3" data-evidence="322-327" />
|
||||
<rect class="edge-label-bg" x="341.1" y="373.7" width="64.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="373.5" y="388.7">GraphQL</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="253.0,264.0 349.5,264.0 349.5,336.7 446.0,336.7" data-evidence="322-327" />
|
||||
<rect class="edge-label-bg" x="337.7" y="286.3" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="373.5" y="301.3">Protobuf</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="286.0,104.0 366.0,104.0 366.0,322.0 446.0,322.0" data-evidence="322-327" />
|
||||
<rect class="edge-label-bg" x="354.2" y="199.0" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="390.0" y="214.0">HTTP DTO</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="254.5,584.0 350.2,584.0 350.2,366.0 446.0,366.0" data-evidence="322-328" />
|
||||
<rect class="edge-label-bg" x="335.1" y="461.0" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="374.2" y="476.0">WebSocket</text>
|
||||
<g id="node-web">
|
||||
<rect class="node-shape kind-adapter emphasis-normal role-source" data-evidence="315-317" x="70.0" y="60.0" width="216.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="178.0" y="87.0">web</text>
|
||||
<line class="node-detail-divider" x1="84.0" y1="108.0" x2="272.0" y2="108.0" />
|
||||
<text class="node-detail" x="86.0" y="125.0">HTTP · JSON DTO</text>
|
||||
<text class="node-detail" x="86.0" y="141.0">validation · auth · errors</text>
|
||||
</g>
|
||||
<g id="node-grpc">
|
||||
<rect class="node-shape kind-adapter emphasis-normal role-source" data-evidence="315-318" x="103.0" y="220.0" width="150.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="178.0" y="247.0">grpc</text>
|
||||
<line class="node-detail-divider" x1="117.0" y1="268.0" x2="239.0" y2="268.0" />
|
||||
<text class="node-detail" x="119.0" y="285.0">Protobuf message</text>
|
||||
<text class="node-detail" x="119.0" y="301.0">server lifecycle</text>
|
||||
</g>
|
||||
<g id="node-graphql">
|
||||
<rect class="node-shape kind-adapter emphasis-normal role-source" data-evidence="315-319" x="103.0" y="380.0" width="150.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="178.0" y="407.0">graphql</text>
|
||||
<line class="node-detail-divider" x1="117.0" y1="428.0" x2="239.0" y2="428.0" />
|
||||
<text class="node-detail" x="119.0" y="445.0">GraphQL request</text>
|
||||
<text class="node-detail" x="119.0" y="461.0">query · mutation</text>
|
||||
</g>
|
||||
<g id="node-websocket">
|
||||
<rect class="node-shape kind-adapter emphasis-normal role-source" data-evidence="315-320" x="101.5" y="540.0" width="153.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="178.0" y="567.0">websocket</text>
|
||||
<line class="node-detail-divider" x1="115.5" y1="588.0" x2="240.5" y2="588.0" />
|
||||
<text class="node-detail" x="117.5" y="605.0">WebSocket message</text>
|
||||
<text class="node-detail" x="117.5" y="621.0">STOMP · realtime</text>
|
||||
</g>
|
||||
<g id="node-command-query">
|
||||
<rect class="node-shape kind-interface emphasis-primary role-service" data-evidence="322-328" x="446.0" y="308.5" width="153.0" height="71.0" rx="22" />
|
||||
<text class="node-label" x="522.5" y="335.5">Command / Query</text>
|
||||
<line class="node-detail-divider" x1="460.0" y1="356.5" x2="585.0" y2="356.5" />
|
||||
<text class="node-detail" x="462.0" y="373.5">application input</text>
|
||||
</g>
|
||||
<g id="node-use-case">
|
||||
<rect class="node-shape kind-service emphasis-normal role-sink" data-evidence="322-328" x="759.0" y="308.5" width="174.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="846.0" y="335.5">Application use case</text>
|
||||
<line class="node-detail-divider" x1="773.0" y1="356.5" x2="919.0" y2="356.5" />
|
||||
<text class="node-detail" x="775.0" y="373.5">transport type 없음</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.5 KiB |
Reference in New Issue
Block a user