@hcflabs/pi-herdr-tools 0.0.0-stage → 1.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +161 -2
- package/docs/btw-merge-sequence.html +156 -0
- package/docs/btw-merge-sequence.svg +138 -0
- package/docs/clone-flow.html +171 -0
- package/docs/clone-flow.svg +146 -0
- package/docs/done-flow.html +213 -0
- package/docs/done-flow.svg +196 -0
- package/extensions/index.ts +40 -0
- package/internal/btw.ts +770 -0
- package/internal/clone-tab.ts +228 -0
- package/internal/config.ts +67 -0
- package/internal/context-store.ts +282 -0
- package/internal/core.ts +386 -0
- package/internal/done.ts +99 -0
- package/internal/handoff.ts +108 -0
- package/internal/merge.ts +306 -0
- package/internal/recap.ts +159 -0
- package/internal/rename.ts +408 -0
- package/internal/router.ts +42 -0
- package/internal/task-models.ts +51 -0
- package/internal/worktree.ts +243 -0
- package/package.json +37 -4
- package/prompts/handoff-worktree.md +13 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Pi Herdr clone flow</title>
|
|
7
|
+
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;600&family=Noto+Serif+KR:wght@400&display=swap" rel="stylesheet">
|
|
8
|
+
<style>
|
|
9
|
+
*, *::before, *::after { box-sizing: border-box; }
|
|
10
|
+
html, body { margin: 0; min-height: 100%; }
|
|
11
|
+
body {
|
|
12
|
+
display: grid;
|
|
13
|
+
place-items: center;
|
|
14
|
+
padding: 32px;
|
|
15
|
+
background: #f0eee9;
|
|
16
|
+
color: #101828;
|
|
17
|
+
font-family: 'Geist', system-ui, sans-serif;
|
|
18
|
+
}
|
|
19
|
+
main { width: min(1280px, 100%); min-width: 0; }
|
|
20
|
+
header { margin-bottom: 24px; }
|
|
21
|
+
header p {
|
|
22
|
+
margin: 0 0 8px;
|
|
23
|
+
color: #4c5665;
|
|
24
|
+
font: 500 8px 'Geist Mono', ui-monospace, monospace;
|
|
25
|
+
letter-spacing: .16em;
|
|
26
|
+
text-transform: uppercase;
|
|
27
|
+
}
|
|
28
|
+
h1 { margin: 0; font: 400 28px/1.2 'Instrument Serif', serif; }
|
|
29
|
+
.diagram-container { overflow-x: auto; }
|
|
30
|
+
svg { display: block; width: 100%; min-width: 1280px; height: auto; }
|
|
31
|
+
</style>
|
|
32
|
+
</head>
|
|
33
|
+
<body>
|
|
34
|
+
<main>
|
|
35
|
+
<header>
|
|
36
|
+
<p>Swimlane · active-path clone</p>
|
|
37
|
+
<h1>How Pi Herdr clone creates and recovers a target</h1>
|
|
38
|
+
</header>
|
|
39
|
+
|
|
40
|
+
<div class="diagram-container" tabindex="0" role="region" aria-label="Scrollable diagram">
|
|
41
|
+
<svg width="1280" height="720" viewBox="0 0 1280 720" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="clone-flow-title clone-flow-desc">
|
|
42
|
+
<title id="clone-flow-title">Pi Herdr clone flow</title>
|
|
43
|
+
<desc id="clone-flow-desc">The tab route saves its clone session before creating a tab; the worktree route creates its workspace and selects a pane before saving its clone session, and both routes start Pi before focusing the tab with separate recovery rules.</desc>
|
|
44
|
+
<defs>
|
|
45
|
+
<style>
|
|
46
|
+
.lane-rule { stroke: rgba(16,24,40,.141); stroke-width: 1; }
|
|
47
|
+
.lane-rule-strong { stroke: #d5d8db; stroke-width: 1; }
|
|
48
|
+
.eyebrow { fill: #4c5665; font: 500 8px 'Geist Mono', monospace; letter-spacing: .16em; }
|
|
49
|
+
.meta { fill: #6a7282; font: 400 8px 'Geist Mono', monospace; letter-spacing: .08em; }
|
|
50
|
+
.node { fill: #fff; stroke: #101828; stroke-width: 1; }
|
|
51
|
+
.node-focal { fill: rgba(29,78,216,.08); stroke: #1d4ed8; stroke-width: 1.2; }
|
|
52
|
+
.decision { fill: #fff; stroke: #101828; stroke-width: 1; }
|
|
53
|
+
.recovery { fill: rgba(16,24,40,.05); stroke: #4c5665; stroke-width: 1; }
|
|
54
|
+
.name { fill: #101828; font: 600 12px 'Geist', sans-serif; text-anchor: middle; }
|
|
55
|
+
.name-left { fill: #101828; font: 600 12px 'Geist', sans-serif; }
|
|
56
|
+
.sub { fill: #4c5665; font: 400 9px 'Geist Mono', monospace; text-anchor: middle; letter-spacing: .02em; }
|
|
57
|
+
.sub-left { fill: #4c5665; font: 500 9px 'Geist Mono', monospace; letter-spacing: .08em; }
|
|
58
|
+
.edge { fill: none; stroke: #4c5665; stroke-width: 1.2; marker-end: url(#clone-flow-arrow); }
|
|
59
|
+
.edge-focal { fill: none; stroke: #1d4ed8; stroke-width: 1.4; marker-end: url(#clone-flow-arrow-accent); }
|
|
60
|
+
.edge-failure { fill: none; stroke: #6a7282; stroke-width: 1.2; stroke-dasharray: 5 4; marker-end: url(#clone-flow-arrow); }
|
|
61
|
+
.legend { fill: #4c5665; font: 400 8px 'Geist', sans-serif; }
|
|
62
|
+
</style>
|
|
63
|
+
<marker id="clone-flow-arrow" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto">
|
|
64
|
+
<polygon points="0 0,8 3,0 6" fill="#4c5665"/>
|
|
65
|
+
</marker>
|
|
66
|
+
<marker id="clone-flow-arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto">
|
|
67
|
+
<polygon points="0 0,8 3,0 6" fill="#1d4ed8"/>
|
|
68
|
+
</marker>
|
|
69
|
+
<marker id="clone-flow-arrow-link" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto">
|
|
70
|
+
<polygon points="0 0,8 3,0 6" fill="#1d4ed8"/>
|
|
71
|
+
</marker>
|
|
72
|
+
</defs>
|
|
73
|
+
|
|
74
|
+
<rect width="1280" height="720" fill="#f0eee9"/>
|
|
75
|
+
|
|
76
|
+
<text class="eyebrow" x="40" y="56">ACTIVE-PATH CLONE</text>
|
|
77
|
+
<text class="meta" x="1240" y="56" text-anchor="end">STATIC · TWO TARGETS · SEPARATE SAVE ORDER</text>
|
|
78
|
+
|
|
79
|
+
<!-- Swimlanes -->
|
|
80
|
+
<line class="lane-rule-strong" x1="40" y1="80" x2="1240" y2="80"/>
|
|
81
|
+
<line class="lane-rule" x1="40" y1="192" x2="1240" y2="192"/>
|
|
82
|
+
<line class="lane-rule" x1="40" y1="320" x2="1240" y2="320"/>
|
|
83
|
+
<line class="lane-rule" x1="40" y1="516" x2="1240" y2="516"/>
|
|
84
|
+
<line class="lane-rule-strong" x1="40" y1="620" x2="1240" y2="620"/>
|
|
85
|
+
<line class="lane-rule-strong" x1="176" y1="80" x2="176" y2="620"/>
|
|
86
|
+
|
|
87
|
+
<text class="eyebrow" x="56" y="140">CURRENT PI</text>
|
|
88
|
+
<text class="eyebrow" x="56" y="260">CLONE COMMAND</text>
|
|
89
|
+
<text class="eyebrow" x="56" y="420">HERDR TARGET</text>
|
|
90
|
+
<text class="eyebrow" x="56" y="572">RECOVERY</text>
|
|
91
|
+
|
|
92
|
+
<!-- Worktree route comes first so the tab-route bridge masks its crossing. -->
|
|
93
|
+
<path class="edge" d="M264 172 V456 Q264 464 272 464 H400"/>
|
|
94
|
+
<path class="edge" d="M624 464 H776 Q784 464 784 456 V264 Q784 256 792 256 H800"/>
|
|
95
|
+
<path class="edge" d="M984 256 H1136 Q1144 256 1144 264 V336"/>
|
|
96
|
+
|
|
97
|
+
<!-- Tab route saves the session before creating the tab. -->
|
|
98
|
+
<path class="edge" d="M344 140 H360 Q368 140 368 148 V248 Q368 256 376 256 H400"/>
|
|
99
|
+
<path class="edge" d="M480 288 V360 Q480 368 488 368 H592"/>
|
|
100
|
+
<path d="M776 368 Q776 360 784 360 Q792 360 792 368" fill="none" stroke="#f0eee9" stroke-width="6"/>
|
|
101
|
+
<path class="edge-focal" d="M752 368 H776 Q776 360 784 360 Q792 360 792 368 H1040"/>
|
|
102
|
+
<path class="edge" d="M1144 400 V440"/>
|
|
103
|
+
|
|
104
|
+
<!-- Process nodes -->
|
|
105
|
+
<rect class="node" x="184" y="108" width="160" height="64" rx="6"/>
|
|
106
|
+
<text class="name" x="264" y="132">Validate source</text>
|
|
107
|
+
<text class="sub" x="264" y="148">PANE · SESSION · ACTIVE LEAF</text>
|
|
108
|
+
<text class="sub" x="264" y="160">LIVE STATE IF NOT ON DISK</text>
|
|
109
|
+
<text class="meta" x="400" y="128">ACTIVE PATH: ROOT → CURRENT LEAF</text>
|
|
110
|
+
<text class="meta" x="400" y="148">NO SIBLINGS · NO STILL-STREAMING OUTPUT</text>
|
|
111
|
+
|
|
112
|
+
<rect class="node" x="400" y="224" width="160" height="64" rx="6"/>
|
|
113
|
+
<text class="name" x="480" y="248">Save tab clone session</text>
|
|
114
|
+
<text class="sub" x="480" y="264">ACTIVE PATH ONLY</text>
|
|
115
|
+
<text class="sub" x="480" y="276">CURRENT CWD</text>
|
|
116
|
+
|
|
117
|
+
<rect class="node" x="592" y="336" width="160" height="64" rx="6"/>
|
|
118
|
+
<text class="name" x="672" y="360">Create clone tab</text>
|
|
119
|
+
<text class="sub" x="672" y="376">CURRENT WORKSPACE + CWD</text>
|
|
120
|
+
<text class="sub" x="672" y="388">NO FOCUS</text>
|
|
121
|
+
|
|
122
|
+
<rect class="node" x="400" y="424" width="224" height="80" rx="6"/>
|
|
123
|
+
<text class="name" x="512" y="444">Create worktree workspace</text>
|
|
124
|
+
<text class="sub" x="512" y="460">FRESH CHECKOUT · NO FOCUS</text>
|
|
125
|
+
<text class="sub" x="512" y="476">WAIT FOR LAYOUT AGENT</text>
|
|
126
|
+
<text class="sub" x="512" y="492">ROOT PANE OR EXTRA TAB IF BUSY</text>
|
|
127
|
+
|
|
128
|
+
<rect class="node" x="800" y="224" width="184" height="64" rx="6"/>
|
|
129
|
+
<text class="name" x="892" y="248">Save worktree clone session</text>
|
|
130
|
+
<text class="sub" x="892" y="264">ACTIVE PATH ONLY</text>
|
|
131
|
+
<text class="sub" x="892" y="276">FRESH CHECKOUT CWD</text>
|
|
132
|
+
|
|
133
|
+
<rect class="node-focal" x="1040" y="336" width="200" height="64" rx="6"/>
|
|
134
|
+
<text class="name" x="1140" y="356">Start Pi</text>
|
|
135
|
+
<text class="sub" x="1140" y="372">--session <absolute-clone-file></text>
|
|
136
|
+
<text class="sub" x="1140" y="388">WORKTREE ROOT BUSY → EXTRA TAB</text>
|
|
137
|
+
|
|
138
|
+
<rect class="node" x="1040" y="440" width="200" height="56" rx="6"/>
|
|
139
|
+
<text class="name" x="1140" y="464">Focus clone tab</text>
|
|
140
|
+
<text class="sub" x="1140" y="480">ONLY AFTER PI STARTS</text>
|
|
141
|
+
|
|
142
|
+
<!-- Recovery details are grouped by the operation that failed. -->
|
|
143
|
+
<rect class="recovery" x="184" y="528" width="1056" height="88" rx="8"/>
|
|
144
|
+
<line class="lane-rule" x1="800" y1="528" x2="800" y2="616"/>
|
|
145
|
+
<line class="lane-rule" x1="1024" y1="528" x2="1024" y2="616"/>
|
|
146
|
+
<text class="sub-left" x="200" y="544">BEFORE START</text>
|
|
147
|
+
<text class="legend" x="200" y="560">Tab creation fails: delete the clone; if cleanup fails, report the file. Incomplete reply: retain clone + known IDs.</text>
|
|
148
|
+
<text class="legend" x="200" y="576">Worktree creation or early extra-tab failure: no clone yet. Partial worktree: inspect herdr workspace list.</text>
|
|
149
|
+
<text class="legend" x="200" y="592">Worktree clone save fails: retain the worktree. Inspect known target IDs before manual cleanup.</text>
|
|
150
|
+
<text class="legend" x="200" y="608">A worktree layout agent stays in its pane; the clone uses an extra tab when needed.</text>
|
|
151
|
+
<text class="sub-left" x="816" y="544">START ATTEMPTED</text>
|
|
152
|
+
<text class="name-left" x="816" y="568">Retain target + session file</text>
|
|
153
|
+
<text class="legend" x="816" y="588">Launch may be unconfirmed.</text>
|
|
154
|
+
<text class="legend" x="816" y="604">The error reports known IDs.</text>
|
|
155
|
+
<text class="sub-left" x="1040" y="544">FOCUS FAILS</text>
|
|
156
|
+
<text class="name-left" x="1040" y="568">Warn; clone keeps running</text>
|
|
157
|
+
<text class="legend" x="1040" y="588">Focus the clone tab in Herdr.</text>
|
|
158
|
+
|
|
159
|
+
<!-- Legend -->
|
|
160
|
+
<line class="lane-rule" x1="40" y1="640" x2="1240" y2="640"/>
|
|
161
|
+
<text class="eyebrow" x="40" y="668">KEY</text>
|
|
162
|
+
<line x1="104" y1="664" x2="140" y2="664" stroke="#4c5665" stroke-width="1.2" marker-end="url(#clone-flow-arrow)"/>
|
|
163
|
+
<text class="legend" x="152" y="668">Main flow</text>
|
|
164
|
+
<rect x="464" y="656" width="24" height="16" rx="4" fill="rgba(29,78,216,.08)" stroke="#1d4ed8" stroke-width="1.2"/>
|
|
165
|
+
<text class="legend" x="500" y="668">Launch boundary</text>
|
|
166
|
+
<text class="meta" x="1240" y="668" text-anchor="end">ORIGINAL SESSION STAYS ACTIVE</text>
|
|
167
|
+
</svg>
|
|
168
|
+
</div>
|
|
169
|
+
</main>
|
|
170
|
+
</body>
|
|
171
|
+
</html>
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="1280" height="720" viewBox="0 0 1280 720" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="clone-flow-title clone-flow-desc" id="clone-flow-root">
|
|
3
|
+
<title id="clone-flow-title">Pi Herdr clone flow</title>
|
|
4
|
+
<desc id="clone-flow-desc">The tab route saves its clone session before creating a tab; the worktree route creates its workspace and selects a pane before saving its clone session, and both routes start Pi before focusing the tab with separate recovery rules.</desc>
|
|
5
|
+
<defs>
|
|
6
|
+
<style>@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500;600&family=Noto+Serif:ital@0;1&family=Noto+Sans+KR:wght@400;500;600&family=Noto+Serif+KR:wght@400&family=Noto+Sans+TC:wght@400;500;600&family=Noto+Serif+TC:wght@400&display=swap');
|
|
7
|
+
#clone-flow-root { color: #101828; font-family: 'Geist', system-ui, sans-serif; }
|
|
8
|
+
#clone-flow-root .diagram-container { overflow-x: auto; }
|
|
9
|
+
#clone-flow-root .lane-rule { stroke: rgba(16,24,40,.141); stroke-width: 1; }
|
|
10
|
+
#clone-flow-root .lane-rule-strong { stroke: #d5d8db; stroke-width: 1; }
|
|
11
|
+
#clone-flow-root .meta { fill: #6a7282; font: 400 8px 'Geist Mono', monospace; letter-spacing: .08em; }
|
|
12
|
+
#clone-flow-root .node { fill: #fff; stroke: #101828; stroke-width: 1; }
|
|
13
|
+
#clone-flow-root .node-focal { fill: rgba(29,78,216,.08); stroke: #1d4ed8; stroke-width: 1.2; }
|
|
14
|
+
#clone-flow-root .decision { fill: #fff; stroke: #101828; stroke-width: 1; }
|
|
15
|
+
#clone-flow-root .recovery { fill: rgba(16,24,40,.05); stroke: #4c5665; stroke-width: 1; }
|
|
16
|
+
#clone-flow-root .name { fill: #101828; font: 600 12px 'Geist', sans-serif; text-anchor: middle; }
|
|
17
|
+
#clone-flow-root .name-left { fill: #101828; font: 600 12px 'Geist', sans-serif; }
|
|
18
|
+
#clone-flow-root .sub { fill: #4c5665; font: 400 9px 'Geist Mono', monospace; text-anchor: middle; letter-spacing: .02em; }
|
|
19
|
+
#clone-flow-root .sub-left { fill: #4c5665; font: 500 9px 'Geist Mono', monospace; letter-spacing: .08em; }
|
|
20
|
+
#clone-flow-root .edge { fill: none; stroke: #4c5665; stroke-width: 1.2; marker-end: url(#clone-flow-clone-flow-arrow); }
|
|
21
|
+
#clone-flow-root .edge-focal { fill: none; stroke: #1d4ed8; stroke-width: 1.4; marker-end: url(#clone-flow-clone-flow-arrow-accent); }
|
|
22
|
+
#clone-flow-root .edge-failure { fill: none; stroke: #6a7282; stroke-width: 1.2; stroke-dasharray: 5 4; marker-end: url(#clone-flow-clone-flow-arrow); }
|
|
23
|
+
#clone-flow-root .legend { fill: #4c5665; font: 400 8px 'Geist', sans-serif; }</style>
|
|
24
|
+
<style>
|
|
25
|
+
.lane-rule { stroke: rgba(16,24,40,.141); stroke-width: 1; }
|
|
26
|
+
.lane-rule-strong { stroke: #d5d8db; stroke-width: 1; }
|
|
27
|
+
.eyebrow { fill: #4c5665; font: 500 8px 'Geist Mono', monospace; letter-spacing: .16em; }
|
|
28
|
+
.meta { fill: #6a7282; font: 400 8px 'Geist Mono', monospace; letter-spacing: .08em; }
|
|
29
|
+
.node { fill: #fff; stroke: #101828; stroke-width: 1; }
|
|
30
|
+
.node-focal { fill: rgba(29,78,216,.08); stroke: #1d4ed8; stroke-width: 1.2; }
|
|
31
|
+
.decision { fill: #fff; stroke: #101828; stroke-width: 1; }
|
|
32
|
+
.recovery { fill: rgba(16,24,40,.05); stroke: #4c5665; stroke-width: 1; }
|
|
33
|
+
.name { fill: #101828; font: 600 12px 'Geist', sans-serif; text-anchor: middle; }
|
|
34
|
+
.name-left { fill: #101828; font: 600 12px 'Geist', sans-serif; }
|
|
35
|
+
.sub { fill: #4c5665; font: 400 9px 'Geist Mono', monospace; text-anchor: middle; letter-spacing: .02em; }
|
|
36
|
+
.sub-left { fill: #4c5665; font: 500 9px 'Geist Mono', monospace; letter-spacing: .08em; }
|
|
37
|
+
.edge { fill: none; stroke: #4c5665; stroke-width: 1.2; marker-end: url(#clone-flow-clone-flow-arrow); }
|
|
38
|
+
.edge-focal { fill: none; stroke: #1d4ed8; stroke-width: 1.4; marker-end: url(#clone-flow-clone-flow-arrow-accent); }
|
|
39
|
+
.edge-failure { fill: none; stroke: #6a7282; stroke-width: 1.2; stroke-dasharray: 5 4; marker-end: url(#clone-flow-clone-flow-arrow); }
|
|
40
|
+
.legend { fill: #4c5665; font: 400 8px 'Geist', sans-serif; }
|
|
41
|
+
</style>
|
|
42
|
+
<marker id="clone-flow-clone-flow-arrow" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto">
|
|
43
|
+
<polygon points="0 0,8 3,0 6" fill="#4c5665"/>
|
|
44
|
+
</marker>
|
|
45
|
+
<marker id="clone-flow-clone-flow-arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto">
|
|
46
|
+
<polygon points="0 0,8 3,0 6" fill="#1d4ed8"/>
|
|
47
|
+
</marker>
|
|
48
|
+
<marker id="clone-flow-clone-flow-arrow-link" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto">
|
|
49
|
+
<polygon points="0 0,8 3,0 6" fill="#1d4ed8"/>
|
|
50
|
+
</marker>
|
|
51
|
+
</defs>
|
|
52
|
+
|
|
53
|
+
<rect width="1280" height="720" fill="#f0eee9"/>
|
|
54
|
+
|
|
55
|
+
<text class="eyebrow" x="40" y="56">ACTIVE-PATH CLONE</text>
|
|
56
|
+
<text class="meta" x="1240" y="56" text-anchor="end">STATIC · TWO TARGETS · SEPARATE SAVE ORDER</text>
|
|
57
|
+
|
|
58
|
+
<!-- Swimlanes -->
|
|
59
|
+
<line class="lane-rule-strong" x1="40" y1="80" x2="1240" y2="80"/>
|
|
60
|
+
<line class="lane-rule" x1="40" y1="192" x2="1240" y2="192"/>
|
|
61
|
+
<line class="lane-rule" x1="40" y1="320" x2="1240" y2="320"/>
|
|
62
|
+
<line class="lane-rule" x1="40" y1="516" x2="1240" y2="516"/>
|
|
63
|
+
<line class="lane-rule-strong" x1="40" y1="620" x2="1240" y2="620"/>
|
|
64
|
+
<line class="lane-rule-strong" x1="176" y1="80" x2="176" y2="620"/>
|
|
65
|
+
|
|
66
|
+
<text class="eyebrow" x="56" y="140">CURRENT PI</text>
|
|
67
|
+
<text class="eyebrow" x="56" y="260">CLONE COMMAND</text>
|
|
68
|
+
<text class="eyebrow" x="56" y="420">HERDR TARGET</text>
|
|
69
|
+
<text class="eyebrow" x="56" y="572">RECOVERY</text>
|
|
70
|
+
|
|
71
|
+
<!-- Worktree route comes first so the tab-route bridge masks its crossing. -->
|
|
72
|
+
<path class="edge" d="M264 172 V456 Q264 464 272 464 H400"/>
|
|
73
|
+
<path class="edge" d="M624 464 H776 Q784 464 784 456 V264 Q784 256 792 256 H800"/>
|
|
74
|
+
<path class="edge" d="M984 256 H1136 Q1144 256 1144 264 V336"/>
|
|
75
|
+
|
|
76
|
+
<!-- Tab route saves the session before creating the tab. -->
|
|
77
|
+
<path class="edge" d="M344 140 H360 Q368 140 368 148 V248 Q368 256 376 256 H400"/>
|
|
78
|
+
<path class="edge" d="M480 288 V360 Q480 368 488 368 H592"/>
|
|
79
|
+
<path d="M776 368 Q776 360 784 360 Q792 360 792 368" fill="none" stroke="#f0eee9" stroke-width="6"/>
|
|
80
|
+
<path class="edge-focal" d="M752 368 H776 Q776 360 784 360 Q792 360 792 368 H1040"/>
|
|
81
|
+
<path class="edge" d="M1144 400 V440"/>
|
|
82
|
+
|
|
83
|
+
<!-- Process nodes -->
|
|
84
|
+
<rect class="node" x="184" y="108" width="160" height="64" rx="6"/>
|
|
85
|
+
<text class="name" x="264" y="132">Validate source</text>
|
|
86
|
+
<text class="sub" x="264" y="148">PANE · SESSION · ACTIVE LEAF</text>
|
|
87
|
+
<text class="sub" x="264" y="160">LIVE STATE IF NOT ON DISK</text>
|
|
88
|
+
<text class="meta" x="400" y="128">ACTIVE PATH: ROOT → CURRENT LEAF</text>
|
|
89
|
+
<text class="meta" x="400" y="148">NO SIBLINGS · NO STILL-STREAMING OUTPUT</text>
|
|
90
|
+
|
|
91
|
+
<rect class="node" x="400" y="224" width="160" height="64" rx="6"/>
|
|
92
|
+
<text class="name" x="480" y="248">Save tab clone session</text>
|
|
93
|
+
<text class="sub" x="480" y="264">ACTIVE PATH ONLY</text>
|
|
94
|
+
<text class="sub" x="480" y="276">CURRENT CWD</text>
|
|
95
|
+
|
|
96
|
+
<rect class="node" x="592" y="336" width="160" height="64" rx="6"/>
|
|
97
|
+
<text class="name" x="672" y="360">Create clone tab</text>
|
|
98
|
+
<text class="sub" x="672" y="376">CURRENT WORKSPACE + CWD</text>
|
|
99
|
+
<text class="sub" x="672" y="388">NO FOCUS</text>
|
|
100
|
+
|
|
101
|
+
<rect class="node" x="400" y="424" width="224" height="80" rx="6"/>
|
|
102
|
+
<text class="name" x="512" y="444">Create worktree workspace</text>
|
|
103
|
+
<text class="sub" x="512" y="460">FRESH CHECKOUT · NO FOCUS</text>
|
|
104
|
+
<text class="sub" x="512" y="476">WAIT FOR LAYOUT AGENT</text>
|
|
105
|
+
<text class="sub" x="512" y="492">ROOT PANE OR EXTRA TAB IF BUSY</text>
|
|
106
|
+
|
|
107
|
+
<rect class="node" x="800" y="224" width="184" height="64" rx="6"/>
|
|
108
|
+
<text class="name" x="892" y="248">Save worktree clone session</text>
|
|
109
|
+
<text class="sub" x="892" y="264">ACTIVE PATH ONLY</text>
|
|
110
|
+
<text class="sub" x="892" y="276">FRESH CHECKOUT CWD</text>
|
|
111
|
+
|
|
112
|
+
<rect class="node-focal" x="1040" y="336" width="200" height="64" rx="6"/>
|
|
113
|
+
<text class="name" x="1140" y="356">Start Pi</text>
|
|
114
|
+
<text class="sub" x="1140" y="372">--session <absolute-clone-file></text>
|
|
115
|
+
<text class="sub" x="1140" y="388">WORKTREE ROOT BUSY → EXTRA TAB</text>
|
|
116
|
+
|
|
117
|
+
<rect class="node" x="1040" y="440" width="200" height="56" rx="6"/>
|
|
118
|
+
<text class="name" x="1140" y="464">Focus clone tab</text>
|
|
119
|
+
<text class="sub" x="1140" y="480">ONLY AFTER PI STARTS</text>
|
|
120
|
+
|
|
121
|
+
<!-- Recovery details are grouped by the operation that failed. -->
|
|
122
|
+
<rect class="recovery" x="184" y="528" width="1056" height="88" rx="8"/>
|
|
123
|
+
<line class="lane-rule" x1="800" y1="528" x2="800" y2="616"/>
|
|
124
|
+
<line class="lane-rule" x1="1024" y1="528" x2="1024" y2="616"/>
|
|
125
|
+
<text class="sub-left" x="200" y="544">BEFORE START</text>
|
|
126
|
+
<text class="legend" x="200" y="560">Tab creation fails: delete the clone; if cleanup fails, report the file. Incomplete reply: retain clone + known IDs.</text>
|
|
127
|
+
<text class="legend" x="200" y="576">Worktree creation or early extra-tab failure: no clone yet. Partial worktree: inspect herdr workspace list.</text>
|
|
128
|
+
<text class="legend" x="200" y="592">Worktree clone save fails: retain the worktree. Inspect known target IDs before manual cleanup.</text>
|
|
129
|
+
<text class="legend" x="200" y="608">A worktree layout agent stays in its pane; the clone uses an extra tab when needed.</text>
|
|
130
|
+
<text class="sub-left" x="816" y="544">START ATTEMPTED</text>
|
|
131
|
+
<text class="name-left" x="816" y="568">Retain target + session file</text>
|
|
132
|
+
<text class="legend" x="816" y="588">Launch may be unconfirmed.</text>
|
|
133
|
+
<text class="legend" x="816" y="604">The error reports known IDs.</text>
|
|
134
|
+
<text class="sub-left" x="1040" y="544">FOCUS FAILS</text>
|
|
135
|
+
<text class="name-left" x="1040" y="568">Warn; clone keeps running</text>
|
|
136
|
+
<text class="legend" x="1040" y="588">Focus the clone tab in Herdr.</text>
|
|
137
|
+
|
|
138
|
+
<!-- Legend -->
|
|
139
|
+
<line class="lane-rule" x1="40" y1="640" x2="1240" y2="640"/>
|
|
140
|
+
<text class="eyebrow" x="40" y="668">KEY</text>
|
|
141
|
+
<line x1="104" y1="664" x2="140" y2="664" stroke="#4c5665" stroke-width="1.2" marker-end="url(#clone-flow-clone-flow-arrow)"/>
|
|
142
|
+
<text class="legend" x="152" y="668">Main flow</text>
|
|
143
|
+
<rect x="464" y="656" width="24" height="16" rx="4" fill="#1d4ed8" fill-opacity=".08" stroke="#1d4ed8" stroke-width="1.2"/>
|
|
144
|
+
<text class="legend" x="500" y="668">Launch boundary</text>
|
|
145
|
+
<text class="meta" x="1240" y="668" text-anchor="end">ORIGINAL SESSION STAYS ACTIVE</text>
|
|
146
|
+
</svg>
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Safe worktree completion · Sequence</title>
|
|
7
|
+
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;600&family=Noto+Serif+KR:wght@400&display=swap" rel="stylesheet">
|
|
8
|
+
<style>
|
|
9
|
+
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
10
|
+
:root {
|
|
11
|
+
--paper: #f0eee9;
|
|
12
|
+
--ink: #101828;
|
|
13
|
+
--muted: #4c5665;
|
|
14
|
+
--accent: #1d4ed8;
|
|
15
|
+
--sans: 'Geist', system-ui, sans-serif;
|
|
16
|
+
--serif: 'Instrument Serif', serif;
|
|
17
|
+
--mono: 'Geist Mono', ui-monospace, monospace;
|
|
18
|
+
}
|
|
19
|
+
body {
|
|
20
|
+
min-height: 100vh;
|
|
21
|
+
padding: 32px;
|
|
22
|
+
background: var(--paper);
|
|
23
|
+
color: var(--ink);
|
|
24
|
+
font-family: var(--sans);
|
|
25
|
+
}
|
|
26
|
+
main { width: min(1280px, 100%); min-width: 0; margin: 0 auto; }
|
|
27
|
+
.eyebrow {
|
|
28
|
+
margin-bottom: 8px;
|
|
29
|
+
color: var(--muted);
|
|
30
|
+
font: 500 8px var(--mono);
|
|
31
|
+
letter-spacing: .16em;
|
|
32
|
+
text-transform: uppercase;
|
|
33
|
+
}
|
|
34
|
+
h1 {
|
|
35
|
+
margin-bottom: 24px;
|
|
36
|
+
font: 400 28px/1.2 var(--serif);
|
|
37
|
+
}
|
|
38
|
+
.diagram-container { overflow-x: auto; }
|
|
39
|
+
svg { display: block; width: 100%; min-width: 1280px; height: auto; }
|
|
40
|
+
</style>
|
|
41
|
+
</head>
|
|
42
|
+
<body>
|
|
43
|
+
<main>
|
|
44
|
+
<p class="eyebrow">Sequence · /done safety and cleanup</p>
|
|
45
|
+
<h1>Safe worktree completion</h1>
|
|
46
|
+
|
|
47
|
+
<div class="diagram-container" tabindex="0" role="region" aria-label="Scrollable diagram">
|
|
48
|
+
<svg width="1280" height="720" viewBox="0 0 1280 720" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="done-flow-title done-flow-desc">
|
|
49
|
+
<title id="done-flow-title">Safe worktree completion</title>
|
|
50
|
+
<desc id="done-flow-desc">Normal /done asks for confirmation before waiting for Pi to become idle, then checks cross-workspace checkout use and removes the worktree before tab cleanup and a conditional parent update; explicit force skips confirmation and the cross-workspace checkout-use check, but still validates this tab's workspace and closes sibling tabs.</desc>
|
|
51
|
+
<defs>
|
|
52
|
+
<style>
|
|
53
|
+
.lifeline { stroke: rgba(16,24,40,.20); stroke-width: 1; stroke-dasharray: 4 4; }
|
|
54
|
+
.activation { fill: rgba(16,24,40,.06); stroke: #4c5665; stroke-width: .8; }
|
|
55
|
+
.fragment { fill: rgba(16,24,40,.02); stroke: rgba(16,24,40,.24); stroke-width: 1; }
|
|
56
|
+
.fragment-tab { fill: #f0eee9; stroke: rgba(16,24,40,.24); stroke-width: 1; }
|
|
57
|
+
.fragment-label { fill: #4c5665; font: 500 8px 'Geist Mono', monospace; text-anchor: middle; letter-spacing: .12em; }
|
|
58
|
+
.guard { fill: #4c5665; font: 400 8px 'Geist Mono', monospace; letter-spacing: .04em; }
|
|
59
|
+
.gate-badge { fill: rgba(29,78,216,.08); stroke: #1d4ed8; stroke-width: 1; }
|
|
60
|
+
.gate-label { fill: #1d4ed8; font: 500 8px 'Geist Mono', monospace; text-anchor: middle; letter-spacing: .08em; }
|
|
61
|
+
.message { fill: none; stroke: #4c5665; stroke-width: 1.2; marker-end: url(#done-flow-arrow); }
|
|
62
|
+
.message-return { fill: none; stroke: #4c5665; stroke-width: 1.2; stroke-dasharray: 4 4; marker-end: url(#done-flow-arrow); }
|
|
63
|
+
.message-accent { fill: none; stroke: #1d4ed8; stroke-width: 1.4; marker-end: url(#done-flow-arrow-accent); }
|
|
64
|
+
.label-mask { fill: #f0eee9; }
|
|
65
|
+
.message-label { fill: #4c5665; font: 400 8px 'Geist Mono', monospace; text-anchor: middle; letter-spacing: .04em; }
|
|
66
|
+
.message-label-accent { fill: #1d4ed8; font: 500 8px 'Geist Mono', monospace; text-anchor: middle; letter-spacing: .04em; }
|
|
67
|
+
.actor { fill: #fff; stroke: #101828; stroke-width: 1; }
|
|
68
|
+
.actor-input { fill: rgba(76,86,101,.10); stroke: #6a7282; stroke-width: 1; }
|
|
69
|
+
.actor-state { fill: rgba(16,24,40,.05); stroke: #4c5665; stroke-width: 1; }
|
|
70
|
+
.actor-name { fill: #101828; font: 600 12px 'Geist', sans-serif; text-anchor: middle; }
|
|
71
|
+
.actor-sub { fill: #4c5665; font: 400 9px 'Geist Mono', monospace; text-anchor: middle; letter-spacing: .04em; }
|
|
72
|
+
.boundary { stroke: rgba(16,24,40,.24); stroke-width: 1; stroke-dasharray: 4 4; }
|
|
73
|
+
.boundary-label { fill: #4c5665; font: 500 8px 'Geist Mono', monospace; text-anchor: middle; letter-spacing: .08em; }
|
|
74
|
+
.legend-label { fill: #4c5665; font: 400 8px 'Geist', sans-serif; }
|
|
75
|
+
.legend-title { fill: #6a7282; font: 500 8px 'Geist Mono', monospace; letter-spacing: .16em; }
|
|
76
|
+
</style>
|
|
77
|
+
<marker id="done-flow-arrow" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto">
|
|
78
|
+
<polygon points="0 0,8 3,0 6" fill="#4c5665"/>
|
|
79
|
+
</marker>
|
|
80
|
+
<marker id="done-flow-arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto">
|
|
81
|
+
<polygon points="0 0,8 3,0 6" fill="#1d4ed8"/>
|
|
82
|
+
</marker>
|
|
83
|
+
<marker id="done-flow-arrow-link" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto">
|
|
84
|
+
<polygon points="0 0,8 3,0 6" fill="#1d4ed8"/>
|
|
85
|
+
</marker>
|
|
86
|
+
</defs>
|
|
87
|
+
|
|
88
|
+
<rect width="1280" height="720" fill="#f0eee9"/>
|
|
89
|
+
|
|
90
|
+
<!-- Optional normal-mode gates; both modes wait before cleanup. -->
|
|
91
|
+
<rect class="fragment" x="120" y="144" width="364" height="144" rx="4"/>
|
|
92
|
+
<rect class="fragment" x="388" y="352" width="292" height="92" rx="4"/>
|
|
93
|
+
|
|
94
|
+
<!-- Lifelines and activation bars -->
|
|
95
|
+
<line class="lifeline" x1="136" y1="96" x2="136" y2="624"/>
|
|
96
|
+
<line class="lifeline" x1="404" y1="96" x2="404" y2="624"/>
|
|
97
|
+
<line class="lifeline" x1="652" y1="96" x2="652" y2="624"/>
|
|
98
|
+
<line class="lifeline" x1="1124" y1="96" x2="1124" y2="624"/>
|
|
99
|
+
<rect class="activation" x="400" y="124" width="8" height="476"/>
|
|
100
|
+
<rect class="activation" x="648" y="396" width="8" height="28"/>
|
|
101
|
+
<rect class="activation" x="648" y="456" width="8" height="16"/>
|
|
102
|
+
<rect class="activation" x="1120" y="544" width="8" height="24"/>
|
|
103
|
+
|
|
104
|
+
<rect class="fragment-tab" x="120" y="144" width="40" height="16" rx="4"/>
|
|
105
|
+
<text class="fragment-label" x="140" y="156">OPT</text>
|
|
106
|
+
<rect class="label-mask" x="128" y="164" width="344" height="16"/>
|
|
107
|
+
<text class="guard" x="132" y="176">[normal /done; --force skips confirmation]</text>
|
|
108
|
+
<rect class="fragment-tab" x="388" y="352" width="40" height="16" rx="4"/>
|
|
109
|
+
<text class="fragment-label" x="408" y="364">OPT</text>
|
|
110
|
+
<text class="guard" x="440" y="364">[normal /done]</text>
|
|
111
|
+
|
|
112
|
+
<!-- Messages: time flows downward -->
|
|
113
|
+
<line class="message" x1="136" y1="124" x2="400" y2="124"/>
|
|
114
|
+
<rect class="label-mask" x="224" y="104" width="88" height="12" rx="4"/>
|
|
115
|
+
<text class="message-label" x="268" y="112">RUN /DONE</text>
|
|
116
|
+
|
|
117
|
+
<line class="message" x1="400" y1="208" x2="136" y2="208"/>
|
|
118
|
+
<rect class="label-mask" x="224" y="188" width="88" height="12" rx="4"/>
|
|
119
|
+
<text class="message-label" x="268" y="196">CONFIRM?</text>
|
|
120
|
+
<line class="message-return" x1="136" y1="244" x2="400" y2="244"/>
|
|
121
|
+
<rect class="label-mask" x="224" y="224" width="88" height="12" rx="4"/>
|
|
122
|
+
<text class="message-label" x="268" y="232">YES / STOP</text>
|
|
123
|
+
|
|
124
|
+
<path class="message" d="M408 308 H452 Q460 308 460 316 V332 Q460 340 452 340 H412"/>
|
|
125
|
+
<rect class="label-mask" x="468" y="316" width="112" height="12" rx="4"/>
|
|
126
|
+
<text class="message-label" x="524" y="324">WAIT FOR IDLE</text>
|
|
127
|
+
|
|
128
|
+
<line class="message" x1="408" y1="396" x2="648" y2="396"/>
|
|
129
|
+
<rect class="label-mask" x="432" y="376" width="192" height="12" rx="4"/>
|
|
130
|
+
<text class="message-label" x="528" y="384">CHECK CROSS-WORKSPACE CHECKOUT USE</text>
|
|
131
|
+
<line class="message-return" x1="648" y1="424" x2="408" y2="424"/>
|
|
132
|
+
<rect class="label-mask" x="484" y="404" width="88" height="12" rx="4"/>
|
|
133
|
+
<text class="message-label" x="528" y="412">CLEAR / REFUSE</text>
|
|
134
|
+
|
|
135
|
+
<!-- Safety details apply to the current flow, not a proposed flow. -->
|
|
136
|
+
<text class="guard" x="744" y="180">Decline: stop without waiting or changing the checkout.</text>
|
|
137
|
+
<text class="guard" x="744" y="204">Both modes wait for Pi to become idle before cleanup.</text>
|
|
138
|
+
<text class="guard" x="744" y="372">Normal: another workspace using this checkout blocks removal.</text>
|
|
139
|
+
<text class="guard" x="744" y="396">Git refuses dirty worktrees unless --force is set.</text>
|
|
140
|
+
<text class="guard" x="744" y="420">--force skips the cross-workspace checkout-use check; data loss is irreversible.</text>
|
|
141
|
+
<text class="guard" x="744" y="444">Locks serialize worktree removal and primary-checkout updates.</text>
|
|
142
|
+
|
|
143
|
+
<line class="message-accent" x1="408" y1="464" x2="648" y2="464"/>
|
|
144
|
+
<rect class="label-mask" x="448" y="436" width="160" height="20" rx="4"/>
|
|
145
|
+
<text class="message-label-accent" x="528" y="444">CLEAN / FORCE</text>
|
|
146
|
+
<text class="message-label-accent" x="528" y="452">REMOVE WORKTREE</text>
|
|
147
|
+
|
|
148
|
+
<!-- Successful removal is the partial-success boundary -->
|
|
149
|
+
<line class="boundary" x1="40" y1="488" x2="392" y2="488"/>
|
|
150
|
+
<line class="boundary" x1="888" y1="488" x2="1240" y2="488"/>
|
|
151
|
+
<text class="boundary-label" x="640" y="492">PARTIAL-SUCCESS BOUNDARY · WORKTREE REMOVED</text>
|
|
152
|
+
|
|
153
|
+
<line class="message" x1="400" y1="516" x2="136" y2="516"/>
|
|
154
|
+
<rect class="label-mask" x="180" y="496" width="176" height="12" rx="4"/>
|
|
155
|
+
<text class="message-label" x="268" y="504">CLOSE SIBLINGS</text>
|
|
156
|
+
|
|
157
|
+
<line class="message" x1="408" y1="544" x2="1120" y2="544"/>
|
|
158
|
+
<rect class="label-mask" x="684" y="516" width="160" height="20" rx="4"/>
|
|
159
|
+
<text class="message-label" x="764" y="524">LINKED PRIMARY</text>
|
|
160
|
+
<text class="message-label" x="764" y="532">PULL --FF-ONLY</text>
|
|
161
|
+
|
|
162
|
+
<line class="message-return" x1="1120" y1="568" x2="408" y2="568"/>
|
|
163
|
+
<rect class="label-mask" x="696" y="548" width="136" height="12" rx="4"/>
|
|
164
|
+
<text class="message-label" x="764" y="556">DONE / FAILED</text>
|
|
165
|
+
|
|
166
|
+
<line class="message" x1="400" y1="600" x2="136" y2="600"/>
|
|
167
|
+
<rect class="label-mask" x="184" y="580" width="168" height="12" rx="4"/>
|
|
168
|
+
<text class="message-label" x="268" y="588">CLOSE THIS TAB</text>
|
|
169
|
+
|
|
170
|
+
<!-- Actors are drawn after messages -->
|
|
171
|
+
<rect x="56" y="40" width="160" height="56" rx="6" fill="#f0eee9"/>
|
|
172
|
+
<rect class="actor-input" x="56" y="40" width="160" height="56" rx="6"/>
|
|
173
|
+
<text class="actor-name" x="136" y="68">Herdr workspace</text>
|
|
174
|
+
<text class="actor-sub" x="136" y="84">THIS WORKSPACE</text>
|
|
175
|
+
|
|
176
|
+
<rect x="324" y="40" width="160" height="56" rx="6" fill="#f0eee9"/>
|
|
177
|
+
<rect class="actor" x="324" y="40" width="160" height="56" rx="6"/>
|
|
178
|
+
<text class="actor-name" x="404" y="68">Pi /done</text>
|
|
179
|
+
<text class="actor-sub" x="404" y="84">IDLE BEFORE CLEANUP</text>
|
|
180
|
+
|
|
181
|
+
<rect x="572" y="40" width="160" height="56" rx="6" fill="#f0eee9"/>
|
|
182
|
+
<rect class="actor-state" x="572" y="40" width="160" height="56" rx="6"/>
|
|
183
|
+
<text class="actor-name" x="652" y="68">Removal gate</text>
|
|
184
|
+
<text class="actor-sub" x="652" y="84">WORKTREE + TAB USE</text>
|
|
185
|
+
|
|
186
|
+
<rect x="1044" y="40" width="160" height="56" rx="6" fill="#f0eee9"/>
|
|
187
|
+
<rect class="actor" x="1044" y="40" width="160" height="56" rx="6"/>
|
|
188
|
+
<text class="actor-name" x="1124" y="68">Parent checkout</text>
|
|
189
|
+
<text class="actor-sub" x="1124" y="84">LINKED + NON-BARE</text>
|
|
190
|
+
|
|
191
|
+
<text class="guard" x="744" y="604">Close this tab last, even if sibling cleanup or pull fails.</text>
|
|
192
|
+
|
|
193
|
+
<!-- Legend strip -->
|
|
194
|
+
<line x1="40" y1="640" x2="1240" y2="640" stroke="rgba(16,24,40,.141)" stroke-width=".8"/>
|
|
195
|
+
<text class="legend-title" x="40" y="668">LEGEND</text>
|
|
196
|
+
|
|
197
|
+
<line class="message" x1="128" y1="664" x2="164" y2="664"/>
|
|
198
|
+
<text class="legend-label" x="176" y="668">Action</text>
|
|
199
|
+
|
|
200
|
+
<line class="message-return" x1="264" y1="664" x2="300" y2="664"/>
|
|
201
|
+
<text class="legend-label" x="312" y="668">Return or result</text>
|
|
202
|
+
|
|
203
|
+
<rect class="fragment" x="448" y="656" width="32" height="16" rx="4"/>
|
|
204
|
+
<text class="fragment-label" x="464" y="668">OPT</text>
|
|
205
|
+
<text class="legend-label" x="492" y="668">Normal-mode gate</text>
|
|
206
|
+
|
|
207
|
+
<line class="message-accent" x1="624" y1="664" x2="660" y2="664"/>
|
|
208
|
+
<text class="legend-label" x="672" y="668">Successful removal</text>
|
|
209
|
+
</svg>
|
|
210
|
+
</div>
|
|
211
|
+
</main>
|
|
212
|
+
</body>
|
|
213
|
+
</html>
|