이번 파이프라인 작업과 무관하게 작업 트리에 남아 있던 것을 그대로 올린다. 사용자가 「전부 커밋」으로 정했고, 이번 작업과 섞이지 않게 커밋만 나눴다. 대부분은 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>
166 lines
3.9 KiB
JSON
166 lines
3.9 KiB
JSON
{
|
|
"version": "1.1",
|
|
"id": "messaging-testkit-c04",
|
|
"title": "계약을 상속하면 일어나는 것",
|
|
"question": "어댑터는 계약 테스트를 어떻게 받는가?",
|
|
"type": "architecture",
|
|
"direction": "LR",
|
|
"audience": [
|
|
"이 저장소의 구조를 읽는 사람"
|
|
],
|
|
"summary": "어댑터에는 계약을 상속하는 것 말고 다른 진입 경로가 없어 테스트 하나를 빼려면 계약 파일 자체를 고쳐야 한다.",
|
|
"alt": "어댑터 중첩 클래스가 MessagingAdapterContract 를 상속해 계약 테스트 전체를 받는다.",
|
|
"long_description": "SSOT 는 어댑터에 계약을 상속하는 것 말고 다른 진입 경로가 없다고 적는다. 테스트 하나를 빼려면 계약 파일 자체를 고쳐야 한다.",
|
|
"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
|
|
}
|
|
},
|
|
"composition": {
|
|
"profile": "ports-adapters",
|
|
"diagram_only": true,
|
|
"reference_ids": [
|
|
"order-ports-adapters"
|
|
],
|
|
"rationale": "계약을 상속하는 경로 하나뿐이라는 것이 논지다.",
|
|
"focus_node": "contract"
|
|
},
|
|
"groups": [],
|
|
"nodes": [
|
|
{
|
|
"id": "nested",
|
|
"label": "어댑터 중첩 클래스",
|
|
"kind": "adapter",
|
|
"role": "inbound-adapter",
|
|
"evidence": [
|
|
{
|
|
"start_line": 39711,
|
|
"end_line": 39760
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "inport",
|
|
"label": "상속 진입점",
|
|
"kind": "interface",
|
|
"role": "port",
|
|
"evidence": [
|
|
{
|
|
"start_line": 39711,
|
|
"end_line": 39760
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "contract",
|
|
"label": "MessagingAdapterContract",
|
|
"kind": "domain",
|
|
"role": "core",
|
|
"evidence": [
|
|
{
|
|
"start_line": 39711,
|
|
"end_line": 39760
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"emphasis": "primary"
|
|
},
|
|
{
|
|
"id": "outport",
|
|
"label": "계약 테스트 목록",
|
|
"kind": "interface",
|
|
"role": "port",
|
|
"evidence": [
|
|
{
|
|
"start_line": 39711,
|
|
"end_line": 39768
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "tests",
|
|
"label": "계약 테스트 실행",
|
|
"kind": "adapter",
|
|
"role": "outbound-adapter",
|
|
"evidence": [
|
|
{
|
|
"start_line": 39711,
|
|
"end_line": 39768
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"details": [
|
|
"@Test 전체"
|
|
]
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "a",
|
|
"from": "nested",
|
|
"to": "inport",
|
|
"label": "상속",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 39711,
|
|
"end_line": 39760
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "b",
|
|
"from": "inport",
|
|
"to": "contract",
|
|
"label": "계약 편입",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 39711,
|
|
"end_line": 39760
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"emphasis": "primary"
|
|
},
|
|
{
|
|
"id": "c",
|
|
"from": "contract",
|
|
"to": "outport",
|
|
"label": "테스트 목록",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 39711,
|
|
"end_line": 39768
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "d",
|
|
"from": "tests",
|
|
"to": "outport",
|
|
"label": "전체 실행",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 39711,
|
|
"end_line": 39768
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"style": "dashed"
|
|
}
|
|
],
|
|
"legend": [],
|
|
"metadata": {}
|
|
} |