{ "version": "1.1", "id": "application-core-c10", "title": "공개 계약과 비밀이 나뉘는 자리", "question": "공개 알림 계약은 무엇을 받고 무엇을 막는가?", "type": "sequence", "direction": "LR", "audience": [ "이 저장소의 구조를 읽는 사람" ], "summary": "sealed 변수 대수와 고정된 템플릿 판본과 유계 수신자 수만 공개 계약에 들어오고 임의 Object 변수와 연락처 원문은 막힌다.", "alt": "호출자가 공개 알림 계약에 sealed 변수를 넘기면 받아들여지고 임의 Object 변수는 거절되는 순서.", "long_description": "SSOT 는 public contract 가 arbitrary Object 나 Map 를 허용하지 않고 sealed NotificationVariable algebra 를 쓴다고 적는다. 과거 mutable/arbitrary variable 때문에 serialization·fingerprint drift 와 toString 충돌이 가능했던 것이 변경 근거다.", "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": 2767, "line": 2767 } }, "composition": { "profile": "sequence", "diagram_only": true, "reference_ids": [ "payment-approval-sequence" ], "rationale": "받아들이는 입력과 거절하는 입력이 순서 위에서 갈린다.", "focus_node": "contract" }, "groups": [], "nodes": [ { "id": "caller", "label": "알림 호출자", "kind": "service", "role": "participant", "evidence": [ { "start_line": 2765, "end_line": 2770 } ], "assumption": false }, { "id": "contract", "label": "공개 알림 계약", "kind": "service", "role": "participant", "evidence": [ { "start_line": 2765, "end_line": 2770 } ], "assumption": false, "emphasis": "primary", "details": [ "고정된 템플릿 판본", "유계 수신자 수" ] }, { "id": "guard", "label": "구조 테스트", "kind": "service", "role": "participant", "evidence": [ { "start_line": 2765, "end_line": 2772 } ], "assumption": false } ], "edges": [ { "id": "m1", "from": "caller", "to": "contract", "label": "sealed 변수 대수", "kind": "request", "evidence": [ { "start_line": 2765, "end_line": 2770 } ], "assumption": false, "order": 1 }, { "id": "m2", "from": "caller", "to": "contract", "label": "임의 Object 변수", "kind": "request", "evidence": [ { "start_line": 2765, "end_line": 2770 } ], "assumption": false, "order": 2, "style": "dashed" }, { "id": "m3", "from": "contract", "to": "guard", "label": "공개 API 검사", "kind": "request", "evidence": [ { "start_line": 2765, "end_line": 2772 } ], "assumption": false, "order": 3, "emphasis": "primary" } ], "legend": [], "metadata": {} }