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
+20
@@ -0,0 +1,20 @@
|
||||
# 커서 검증의 순서
|
||||
|
||||
## Alternative text
|
||||
|
||||
길이 검사에서 상수 시간 MAC 비교로 할당 전이 건너가고 거기서 payload 파싱으로 검증 통과가 건너간다.
|
||||
|
||||
## Long description
|
||||
|
||||
SSOT 는 길이 검사가 substring·decode·MAC 이전 첫 줄에 오고 서명 검증 후에야 payload 를 파싱한다고 적는다.
|
||||
|
||||
## Elements and evidence
|
||||
|
||||
- **길이 검사** (service): No additional description. Evidence: L10799–L10818.
|
||||
- **상수 시간 MAC 비교** (service): No additional description. Evidence: L10799–L10818.
|
||||
- **payload 파싱** (service): No additional description. Evidence: L10799–L10822.
|
||||
|
||||
## Relationships
|
||||
|
||||
- **길이 검사 → 상수 시간 MAC 비교:** 할당 전. Evidence: L10799–L10818.
|
||||
- **상수 시간 MAC 비교 → payload 파싱:** 검증 통과. Evidence: L10799–L10822.
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
# 커서 검증의 순서
|
||||
# Question: 커서는 어떤 순서로 검증되는가?
|
||||
direction: right
|
||||
n0: "길이 검사" {
|
||||
shape: rectangle
|
||||
}
|
||||
n1: "상수 시간 MAC 비교" {
|
||||
shape: rectangle
|
||||
}
|
||||
n2: "payload 파싱" {
|
||||
shape: rectangle
|
||||
}
|
||||
n0 -> n1: "할당 전"
|
||||
n1 -> n2: "검증 통과"
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"harness_version": "0.2.0",
|
||||
"spec_id": "signed-cursor-structure",
|
||||
"spec_version": "1.1",
|
||||
"spec_sha256": "88458b37e56d84479baf485a9f695f0e6999cfcc4df4cd5a8ad5fc033b7cda23",
|
||||
"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": 10799,
|
||||
"line": 10799
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
"signed-cursor-structure.svg",
|
||||
"signed-cursor-structure.d2",
|
||||
"signed-cursor-structure.alt.md"
|
||||
],
|
||||
"lint_issue_count": 0,
|
||||
"assumption_count": 0,
|
||||
"assumptions_allowed": false,
|
||||
"composition_profile": "component-flow",
|
||||
"reference_ids": [
|
||||
"payment-event-flow"
|
||||
],
|
||||
"diagram_only": true
|
||||
}
|
||||
+75
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="885" height="300" viewBox="0 0 885 300" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">커서 검증의 순서</title>
|
||||
<desc id="diagram-description">SSOT 는 길이 검사가 substring·decode·MAC 이전 첫 줄에 오고 서명 검증 후에야 payload 를 파싱한다고 적는다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"signed-cursor-structure","profile":"component-flow"},"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":10799,"line":10799}},"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="885" height="300" />
|
||||
<polyline class="edge kind-request style-solid emphasis-primary" points="220.0,95.5 300.0,95.5 300.0,95.5 380.0,95.5" data-evidence="10799-10818" />
|
||||
<rect class="edge-label-bg" x="277.6" y="53.5" width="44.8" height="22" rx="3" />
|
||||
<text class="edge-label" x="300.0" y="68.5">할당 전</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="530.0,95.5 610.0,95.5 610.0,95.5 690.0,95.5" data-evidence="10799-10822" />
|
||||
<rect class="edge-label-bg" x="584.2" y="53.5" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="610.0" y="68.5">검증 통과</text>
|
||||
<g id="node-len">
|
||||
<rect class="node-shape kind-service emphasis-normal role-source" data-evidence="10799-10818" x="70.0" y="60.0" width="150.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="145.0" y="87.0">길이 검사</text>
|
||||
<line class="node-detail-divider" x1="84.0" y1="108.0" x2="206.0" y2="108.0" />
|
||||
<text class="node-detail" x="86.0" y="125.0">할당 전</text>
|
||||
</g>
|
||||
<g id="node-mac">
|
||||
<rect class="node-shape kind-service emphasis-primary role-service" data-evidence="10799-10818" x="380.0" y="63.5" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="455.0" y="93.5">상수 시간 MAC 비교</text>
|
||||
</g>
|
||||
<g id="node-parse">
|
||||
<rect class="node-shape kind-service emphasis-normal role-sink" data-evidence="10799-10822" x="690.0" y="60.0" width="150.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="765.0" y="87.0">payload 파싱</text>
|
||||
<line class="node-detail-divider" x1="704.0" y1="108.0" x2="826.0" y2="108.0" />
|
||||
<text class="node-detail" x="706.0" y="125.0">검증 통과</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.8 KiB |
Reference in New Issue
Block a user