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
|
||||
|
||||
호출자가 compute 에 진입해 provider 를 resolve 하고 교체본을 설치한 뒤 이전 세대를 소거하는 순서.
|
||||
|
||||
## Long description
|
||||
|
||||
SSOT §4.1 이 인용한 주석은 get → fetch → put → clear 에 동기화가 없던 시절 두 호출자가 같은 옛 런타임을 읽고 각자 교체본을 가져와, 한 교체본이 clear 도 없이 맵에서 사라지고 진 쪽이 이긴 쪽이 쓰던 material 을 지울 수 있었다고 적는다. 지금은 compute 가 이 키의 bin 락을 잡으므로 정확히 한 fetch 가 공개되고 이전 세대는 같은 호출자가 회수한다.
|
||||
|
||||
## Elements and evidence
|
||||
|
||||
- **호출자** (service): No additional description. Evidence: L37836–L37845.
|
||||
- **CredentialRuntimeRegistry** (service): No additional description. Evidence: L37836–L37845.
|
||||
- **자격증명 provider** (service): No additional description. Evidence: L37838–L37845.
|
||||
- **resolved 맵** (store): No additional description. Evidence: L37843–L37845.
|
||||
|
||||
## Relationships
|
||||
|
||||
- **호출자 → CredentialRuntimeRegistry:** compute 진입. Evidence: L37843–L37845.
|
||||
- **CredentialRuntimeRegistry → 자격증명 provider:** resolve. Evidence: L37838–L37845.
|
||||
- **자격증명 provider → CredentialRuntimeRegistry:** 교체 자재. Evidence: L37838–L37845.
|
||||
- **CredentialRuntimeRegistry → resolved 맵:** 교체본 설치. Evidence: L37843–L37845.
|
||||
- **CredentialRuntimeRegistry → resolved 맵:** 이전 세대 소거. Evidence: L37843–L37845.
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
# 교체와 소거의 순서
|
||||
# Question: 자격증명 회전은 어떤 순서로 일어나는가?
|
||||
direction: right
|
||||
n0: "호출자" {
|
||||
shape: rectangle
|
||||
}
|
||||
n1: "CredentialRuntimeRegistry" {
|
||||
shape: rectangle
|
||||
}
|
||||
n2: "자격증명 provider" {
|
||||
shape: rectangle
|
||||
}
|
||||
n3: "resolved 맵" {
|
||||
shape: rectangle
|
||||
}
|
||||
n0 -> n1: "compute 진입"
|
||||
n1 -> n2: "resolve"
|
||||
n2 -> n1: "교체 자재"
|
||||
n1 -> n3: "교체본 설치"
|
||||
n1 -> n3: "이전 세대 소거"
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"harness_version": "0.2.0",
|
||||
"spec_id": "messaging-security-c03",
|
||||
"spec_version": "1.1",
|
||||
"spec_sha256": "0c24b672a9f1ebfb5a2af050e8a0739c58af2b6c56a9994b5426c62aee305e6d",
|
||||
"source_context": {
|
||||
"document": "docs/clean-architecture-backend-template/final/document.md",
|
||||
"document_sha256": "8071fe71b3359d9cf60b95909c26c7b50653ce2f22bbc5fcf6988719bb91236d",
|
||||
"anchor": {
|
||||
"kind": "line",
|
||||
"value": 37830,
|
||||
"line": 37830
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
"messaging-security-c03.svg",
|
||||
"messaging-security-c03.d2",
|
||||
"messaging-security-c03.alt.md"
|
||||
],
|
||||
"lint_issue_count": 0,
|
||||
"assumption_count": 0,
|
||||
"assumptions_allowed": false,
|
||||
"composition_profile": "sequence",
|
||||
"reference_ids": [
|
||||
"payment-approval-sequence"
|
||||
],
|
||||
"diagram_only": true
|
||||
}
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="870" height="480" viewBox="0 0 870 480" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">교체와 소거의 순서</title>
|
||||
<desc id="diagram-description">SSOT §4.1 이 인용한 주석은 get → fetch → put → clear 에 동기화가 없던 시절 두 호출자가 같은 옛 런타임을 읽고 각자 교체본을 가져와, 한 교체본이 clear 도 없이 맵에서 사라지고 진 쪽이 이긴 쪽이 쓰던 material 을 지울 수 있었다고 적는다. 지금은 compute 가 이 키의 bin 락을 잡으므로 정확히 한 fetch 가 공개되고 이전 세대는 같은 호출자가 회수한다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"messaging-security-c03","profile":"sequence"},"source_context":{"document":"docs/clean-architecture-backend-template/final/document.md","document_sha256":"8071fe71b3359d9cf60b95909c26c7b50653ce2f22bbc5fcf6988719bb91236d","anchor":{"kind":"line","value":37830,"line":37830}},"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="870" height="480" />
|
||||
<rect class="node-shape kind-service emphasis-normal role-participant" data-evidence="37836-37845" x="45.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="120.0" y="65.0">호출자</text>
|
||||
<line class="lifeline" x1="120.0" y1="99.0" x2="120.0" y2="450.0" />
|
||||
<rect class="node-shape kind-service emphasis-primary role-participant" data-evidence="37836-37845" x="255.0" y="35.0" width="190.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="350.0" y="65.0">CredentialRuntimeRegistry</text>
|
||||
<line class="lifeline" x1="350.0" y1="99.0" x2="350.0" y2="450.0" />
|
||||
<rect class="node-shape kind-service emphasis-normal role-participant" data-evidence="37838-37845" x="465.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="540.0" y="65.0">자격증명 provider</text>
|
||||
<line class="lifeline" x1="540.0" y1="99.0" x2="540.0" y2="450.0" />
|
||||
<rect class="node-shape kind-store emphasis-normal role-participant" data-evidence="37843-37845" x="675.0" y="35.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="750.0" y="65.0">resolved 맵</text>
|
||||
<line class="lifeline" x1="750.0" y1="99.0" x2="750.0" y2="450.0" />
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="120.0,140.0 350.0,140.0" data-evidence="37843-37845" />
|
||||
<rect class="edge-label-bg" x="182.4" y="114.0" width="105.1" height="22" rx="3" />
|
||||
<text class="edge-label" x="235.0" y="129.0">1. compute 진입</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="350.0,202.0 540.0,202.0" data-evidence="37838-37845" />
|
||||
<rect class="edge-label-bg" x="402.5" y="176.0" width="85.0" height="22" rx="3" />
|
||||
<text class="edge-label" x="445.0" y="191.0">2. resolve</text>
|
||||
<polyline class="edge kind-response style-dashed emphasis-normal semantic-dashed" points="540.0,264.0 350.0,264.0" data-evidence="37838-37845" />
|
||||
<rect class="edge-label-bg" x="409.2" y="238.0" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="445.0" y="253.0">3. 교체 자재</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-primary" points="350.0,326.0 750.0,326.0" data-evidence="37843-37845" />
|
||||
<rect class="edge-label-bg" x="510.9" y="300.0" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="550.0" y="315.0">4. 교체본 설치</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="350.0,388.0 750.0,388.0" data-evidence="37843-37845" />
|
||||
<rect class="edge-label-bg" x="504.1" y="362.0" width="91.7" height="22" rx="3" />
|
||||
<text class="edge-label" x="550.0" y="377.0">5. 이전 세대 소거</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.0 KiB |
Reference in New Issue
Block a user