이번 파이프라인 작업과 무관하게 작업 트리에 남아 있던 것을 그대로 올린다. 사용자가 「전부 커밋」으로 정했고, 이번 작업과 섞이지 않게 커밋만 나눴다. 대부분은 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-schema-api-c01",
|
|
"title": "계약과 포맷 구현의 소재",
|
|
"question": "codec 규칙과 포맷 구현은 어디에 있는가?",
|
|
"type": "architecture",
|
|
"direction": "LR",
|
|
"audience": [
|
|
"이 저장소의 구조를 읽는 사람"
|
|
],
|
|
"summary": "codec 이 닫힌 registry 에 대해서만 동작한다는 규칙은 이 리프가 소유하고 포맷별 벤더는 각자 리프가 갖는다.",
|
|
"alt": "포맷 리프들이 codec 계약을 구현하고 그 계약을 messaging-schema-api 가 닫힌 registry 와 함께 소유한다.",
|
|
"long_description": "SSOT 는 codec 이 닫힌 registry 에 대해서만 동작한다는 규칙만 이 리프가 소유하고 jackson·avro·protobuf 벤더는 각자 리프가 갖는다고 적는다.",
|
|
"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": 35416,
|
|
"line": 35416
|
|
}
|
|
},
|
|
"composition": {
|
|
"profile": "ports-adapters",
|
|
"diagram_only": true,
|
|
"reference_ids": [
|
|
"order-ports-adapters"
|
|
],
|
|
"rationale": "규칙을 소유하는 자리와 구현이 사는 자리가 갈리는 것이 논지다.",
|
|
"focus_node": "api"
|
|
},
|
|
"groups": [],
|
|
"nodes": [
|
|
{
|
|
"id": "caller",
|
|
"label": "codec 호출자",
|
|
"kind": "adapter",
|
|
"role": "inbound-adapter",
|
|
"evidence": [
|
|
{
|
|
"start_line": 35416,
|
|
"end_line": 35900
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "contract",
|
|
"label": "codec 계약",
|
|
"kind": "interface",
|
|
"role": "port",
|
|
"evidence": [
|
|
{
|
|
"start_line": 35416,
|
|
"end_line": 35900
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "api",
|
|
"label": "messaging-schema-api",
|
|
"kind": "domain",
|
|
"role": "core",
|
|
"evidence": [
|
|
{
|
|
"start_line": 35416,
|
|
"end_line": 35900
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"emphasis": "primary",
|
|
"details": [
|
|
"닫힌 registry"
|
|
]
|
|
},
|
|
{
|
|
"id": "fmt",
|
|
"label": "포맷 구현 계약",
|
|
"kind": "interface",
|
|
"role": "port",
|
|
"evidence": [
|
|
{
|
|
"start_line": 35416,
|
|
"end_line": 35965
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "vendors",
|
|
"label": "jackson · avro · protobuf",
|
|
"kind": "adapter",
|
|
"role": "outbound-adapter",
|
|
"evidence": [
|
|
{
|
|
"start_line": 35416,
|
|
"end_line": 35965
|
|
}
|
|
],
|
|
"assumption": false
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "a",
|
|
"from": "caller",
|
|
"to": "contract",
|
|
"label": "인코딩 요청",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 35416,
|
|
"end_line": 35900
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "b",
|
|
"from": "contract",
|
|
"to": "api",
|
|
"label": "규칙 적용",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 35416,
|
|
"end_line": 35900
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"emphasis": "primary"
|
|
},
|
|
{
|
|
"id": "c",
|
|
"from": "api",
|
|
"to": "fmt",
|
|
"label": "포맷 요구",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 35416,
|
|
"end_line": 35965
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "d",
|
|
"from": "vendors",
|
|
"to": "fmt",
|
|
"label": "벤더로 구현",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 35416,
|
|
"end_line": 35965
|
|
}
|
|
],
|
|
"assumption": false,
|
|
"style": "dashed"
|
|
}
|
|
],
|
|
"legend": [],
|
|
"metadata": {}
|
|
} |