chore: 이전 세션이 남긴 변경을 커밋한다
이번 파이프라인 작업과 무관하게 작업 트리에 남아 있던 것을 그대로 올린다. 사용자가 「전부 커밋」으로 정했고, 이번 작업과 섞이지 않게 커밋만 나눴다. 대부분은 clean-architecture-backend-template 의 그림 정본 재배치다 — final/assets/diagrams/<이름>/ 에 있던 것이 CLAUDE.md 가 적은 배치인 final/assets/<이름>/ 로 옮겨졌고 .techviz/<이름>/ 이 함께 들어왔다. 삽입 줄의 대부분(3.15M)이 그 .techviz context.json 이다. 그 밖에 ca-tmpl·document-haness 의 정리, .claude/agents/ 열한 개, writing-practitioner-guides 스킬, .playwright-mcp 세션 산출물, scripts/check-ssot-facts.py 와 그 시험이 들어 있다. 이 커밋의 내용은 내가 만든 것이 아니라 이전 세션이 남긴 것이고 검증하지 않았다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
2109f726fe
commit
ab59130196
+24
@@ -0,0 +1,24 @@
|
||||
# 계약을 상속하면 일어나는 것
|
||||
|
||||
## Alternative text
|
||||
|
||||
어댑터 중첩 클래스가 MessagingAdapterContract 를 상속해 계약 테스트 전체를 받는다.
|
||||
|
||||
## Long description
|
||||
|
||||
SSOT 는 어댑터에 계약을 상속하는 것 말고 다른 진입 경로가 없다고 적는다. 테스트 하나를 빼려면 계약 파일 자체를 고쳐야 한다.
|
||||
|
||||
## Elements and evidence
|
||||
|
||||
- **어댑터 중첩 클래스** (adapter): No additional description. Evidence: L39711–L39760.
|
||||
- **상속 진입점** (interface): No additional description. Evidence: L39711–L39760.
|
||||
- **MessagingAdapterContract** (domain): No additional description. Evidence: L39711–L39760.
|
||||
- **계약 테스트 목록** (interface): No additional description. Evidence: L39711–L39768.
|
||||
- **계약 테스트 실행** (adapter): No additional description. Evidence: L39711–L39768.
|
||||
|
||||
## Relationships
|
||||
|
||||
- **어댑터 중첩 클래스 → 상속 진입점:** 상속. Evidence: L39711–L39760.
|
||||
- **상속 진입점 → MessagingAdapterContract:** 계약 편입. Evidence: L39711–L39760.
|
||||
- **MessagingAdapterContract → 계약 테스트 목록:** 테스트 목록. Evidence: L39711–L39768.
|
||||
- **계약 테스트 실행 → 계약 테스트 목록:** 전체 실행. Evidence: L39711–L39768.
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
# 계약을 상속하면 일어나는 것
|
||||
# Question: 어댑터는 계약 테스트를 어떻게 받는가?
|
||||
direction: right
|
||||
n0: "어댑터 중첩 클래스" {
|
||||
shape: rectangle
|
||||
}
|
||||
n1: "상속 진입점" {
|
||||
shape: rectangle
|
||||
}
|
||||
n2: "MessagingAdapterContract" {
|
||||
shape: rectangle
|
||||
}
|
||||
n3: "계약 테스트 목록" {
|
||||
shape: rectangle
|
||||
}
|
||||
n4: "계약 테스트 실행" {
|
||||
shape: rectangle
|
||||
}
|
||||
n0 -> n1: "상속"
|
||||
n1 -> n2: "계약 편입"
|
||||
n2 -> n3: "테스트 목록"
|
||||
n4 -> n3: "전체 실행"
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"harness_version": "0.2.0",
|
||||
"spec_id": "messaging-testkit-c04",
|
||||
"spec_version": "1.1",
|
||||
"spec_sha256": "8bf756f6e12d0cc899605562ef28caa13d1385fa6a51ef0368baf015c81d9cc3",
|
||||
"source_context": {
|
||||
"document": "/home/donghyeon/workspace/chat-gpt-container/document-haness/docs/clean-architecture-backend-template/final/document.md",
|
||||
"document_sha256": "8071fe71b3359d9cf60b95909c26c7b50653ce2f22bbc5fcf6988719bb91236d",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 39711,
|
||||
"line": 39711
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
"messaging-testkit-c04.svg",
|
||||
"messaging-testkit-c04.d2",
|
||||
"messaging-testkit-c04.alt.md"
|
||||
],
|
||||
"lint_issue_count": 0,
|
||||
"assumption_count": 0,
|
||||
"assumptions_allowed": false,
|
||||
"composition_profile": "ports-adapters",
|
||||
"reference_ids": [
|
||||
"order-ports-adapters"
|
||||
],
|
||||
"diagram_only": true
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1090" height="360" viewBox="0 0 1090 360" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">계약을 상속하면 일어나는 것</title>
|
||||
<desc id="diagram-description">SSOT 는 어댑터에 계약을 상속하는 것 말고 다른 진입 경로가 없다고 적는다. 테스트 하나를 빼려면 계약 파일 자체를 고쳐야 한다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"messaging-testkit-c04","profile":"ports-adapters"},"source_context":{"document":"/home/donghyeon/workspace/chat-gpt-container/document-haness/docs/clean-architecture-backend-template/final/document.md","document_sha256":"8071fe71b3359d9cf60b95909c26c7b50653ce2f22bbc5fcf6988719bb91236d","anchor":{"kind":"line","value":39711,"line":39711}},"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="1090" height="360" />
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="255.0,117.0 285.0,117.0 285.0,49.0 255.0,49.0 255.0,184.0 285.0,184.0" data-evidence="39711-39760" />
|
||||
<rect class="edge-label-bg" x="257.0" y="53.5" width="44.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="279.0" y="68.5">상속</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-primary" points="400.0,184.0 430.0,184.0 430.0,119.0 390.0,119.0 390.0,250.0 420.0,250.0" data-evidence="39711-39760" />
|
||||
<rect class="edge-label-bg" x="388.2" y="118.0" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="414.0" y="133.0">계약 편입</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="650.0,250.0 680.0,250.0 680.0,119.0 640.0,119.0 640.0,184.0 670.0,184.0" data-evidence="39711-39768" />
|
||||
<rect class="edge-label-bg" x="674.9" y="118.0" width="58.2" height="22" rx="3" />
|
||||
<text class="edge-label" x="704.0" y="133.0">테스트 목록</text>
|
||||
<polyline class="edge kind-request style-dashed emphasis-normal" points="935.0,179.0 935.0,259.0 732.5,259.0 732.5,213.0" data-evidence="39711-39768" />
|
||||
<rect class="edge-label-bg" x="825.0" y="217.0" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="850.8" y="232.0">전체 실행</text>
|
||||
<g id="node-contract">
|
||||
<polygon class="node-shape kind-domain emphasis-primary role-core" data-evidence="39711-39760" points="454.0,185.0 616.0,185.0 650.0,250.0 616.0,315.0 454.0,315.0 420.0,250.0" />
|
||||
<text class="node-role" x="535.0" y="204.0">«core»</text>
|
||||
<text class="node-label" x="535.0" y="248.0">MessagingAdapterContract</text>
|
||||
</g>
|
||||
<g id="node-nested">
|
||||
<rect class="node-shape kind-adapter emphasis-normal role-inbound-adapter" data-evidence="39711-39760" x="45.0" y="85.0" width="210.0" height="64.0" rx="7" />
|
||||
<text class="node-role" x="150.0" y="104.0">«inbound-adapter»</text>
|
||||
<text class="node-label" x="150.0" y="131.0">어댑터 중첩 클래스</text>
|
||||
</g>
|
||||
<g id="node-tests">
|
||||
<rect class="node-shape kind-adapter emphasis-normal role-outbound-adapter" data-evidence="39711-39768" x="825.0" y="85.0" width="220.0" height="94.0" rx="7" />
|
||||
<text class="node-role" x="935.0" y="104.0">«outbound-adapter»</text>
|
||||
<text class="node-label" x="935.0" y="131.0">계약 테스트 실행</text>
|
||||
<line class="node-detail-divider" x1="839.0" y1="152.0" x2="1031.0" y2="152.0" />
|
||||
<text class="node-detail" x="841.0" y="169.0">@Test 전체</text>
|
||||
</g>
|
||||
<g id="node-inport">
|
||||
<rect class="node-shape kind-interface emphasis-normal role-port" data-evidence="39711-39760" x="285.0" y="155.0" width="115.0" height="58.0" rx="22" />
|
||||
<text class="node-role" x="342.5" y="174.0">«port»</text>
|
||||
<text class="node-label" x="342.5" y="201.0">상속 진입점</text>
|
||||
</g>
|
||||
<g id="node-outport">
|
||||
<rect class="node-shape kind-interface emphasis-normal role-port" data-evidence="39711-39768" x="670.0" y="155.0" width="125.0" height="58.0" rx="22" />
|
||||
<text class="node-role" x="732.5" y="174.0">«port»</text>
|
||||
<text class="node-label" x="732.5" y="201.0">계약 테스트 목록</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.2 KiB |
Reference in New Issue
Block a user