{ "version": "1.1", "id": "messaging-reliability-api-c06", "title": "타입이 강제하는 것과 규약으로 남는 것", "question": "트랜잭션 계약은 무엇이 강제하는가?", "type": "sequence", "direction": "LR", "audience": [ "이 저장소의 구조를 읽는 사람" ], "summary": "타입이 강제하는 것은 fencing token 하나뿐이고 트랜잭션 경계는 javadoc 규약으로 남는다.", "alt": "호출자가 계약을 쓸 때 fencing token 은 타입이 막고 트랜잭션 경계는 javadoc 만 말하는 순서.", "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": 33802, "line": 33802 } }, "composition": { "profile": "sequence", "diagram_only": true, "reference_ids": [ "payment-approval-sequence" ], "rationale": "강제되는 것과 규약으로만 남는 것이 순서 위에서 갈린다.", "focus_node": "api" }, "groups": [], "nodes": [ { "id": "caller", "label": "호출자", "kind": "service", "role": "participant", "evidence": [ { "start_line": 33802, "end_line": 34500 } ], "assumption": false }, { "id": "api", "label": "messaging-reliability-api", "kind": "service", "role": "participant", "evidence": [ { "start_line": 33802, "end_line": 34500 } ], "assumption": false, "emphasis": "primary" }, { "id": "doc", "label": "javadoc 규약", "kind": "service", "role": "participant", "evidence": [ { "start_line": 33802, "end_line": 34597 } ], "assumption": false } ], "edges": [ { "id": "m1", "from": "caller", "to": "api", "label": "fencing token 전달", "kind": "request", "evidence": [ { "start_line": 33802, "end_line": 34500 } ], "assumption": false, "order": 1 }, { "id": "m2", "from": "api", "to": "caller", "label": "타입이 강제", "kind": "response", "evidence": [ { "start_line": 33802, "end_line": 34500 } ], "assumption": false, "order": 2, "emphasis": "primary" }, { "id": "m3", "from": "caller", "to": "doc", "label": "트랜잭션 경계 확인", "kind": "request", "evidence": [ { "start_line": 33802, "end_line": 34597 } ], "assumption": false, "order": 3, "style": "dashed" }, { "id": "m4", "from": "doc", "to": "caller", "label": "규약으로만", "kind": "response", "evidence": [ { "start_line": 33802, "end_line": 34597 } ], "assumption": false, "order": 4, "style": "dashed" } ], "legend": [], "metadata": {} }