Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
fix: fit workflow text within nodes
tt-a1i907ca48ea275
diff --git a/archify.zip b/archify.zipindex 121269f4..2a18a6c7 100644Binary files a/archify.zip and b/archify.zip differdiff --git a/archify/examples/workflow-agent-tool-call-rendered.html b/archify/examples/workflow-agent-tool-call-rendered.htmlindex 08d9f501..fd8b483d 100644--- a/archify/examples/workflow-agent-tool-call-rendered.html+++ b/archify/examples/workflow-agent-tool-call-rendered.html@@ -4666,7 +4666,7 @@<g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(260 215) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>- <text data-detail-anchor x="300" y="230" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Agent Planner</text>+ <text data-detail-anchor x="300" y="230" class="t-primary" font-size="10.7" font-weight="600" text-anchor="middle">Agent Planner</text><text data-detail="context" x="300" y="247" class="t-muted" font-size="8" text-anchor="middle">plan next step</text><text data-detail="fine" x="300" y="265" class="t-backend" font-size="7" text-anchor="middle">context aware</text></g>@@ -4690,7 +4690,7 @@<path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/></g>- <text data-detail-anchor x="430" y="354" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Approval Gate</text>+ <text data-detail-anchor x="430" y="354" class="t-primary" font-size="10.7" font-weight="600" text-anchor="middle">Approval Gate</text><text data-detail="context" x="430" y="371" class="t-muted" font-size="8" text-anchor="middle">scope + consent</text><text data-detail="fine" x="430" y="389" class="t-security" font-size="7" text-anchor="middle">block risky ops</text></g>@@ -4732,7 +4732,7 @@<circle cx="7" cy="11.5" r="1" class="sigil-fill"/></g><text data-detail-anchor x="500" y="602" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Tool Call</text>- <text data-detail="context" x="500" y="619" class="t-muted" font-size="8" text-anchor="middle">shell / browser / MCP</text>+ <text data-detail="context" x="500" y="619" class="t-muted" font-size="6.6" text-anchor="middle">shell / browser / MCP</text><text data-detail="fine" x="500" y="637" class="t-messagebus" font-size="7" text-anchor="middle">structured result</text></g>@@ -4755,7 +4755,7 @@<ellipse cx="8" cy="4" rx="5" ry="2"/><path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/></g>- <text data-detail-anchor x="220" y="734" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Context Store</text>+ <text data-detail-anchor x="220" y="734" class="t-primary" font-size="10.7" font-weight="600" text-anchor="middle">Context Store</text><text data-detail="context" x="220" y="751" class="t-muted" font-size="8" text-anchor="middle">repo + memory</text></g>diff --git a/archify/renderers/workflow/render-workflow.mjs b/archify/renderers/workflow/render-workflow.mjsindex 1516fe5a..7bd90d5e 100644--- a/archify/renderers/workflow/render-workflow.mjs+++ b/archify/renderers/workflow/render-workflow.mjs@@ -97,6 +97,26 @@ function measureNode(node) {};}+const nodeTextFit = {+ widthFactor: 0.6,+ horizontalPadding: 8,+ labelPreferred: 11,+ labelMinimum: 9,+ sublabelPreferred: 8,+ sublabelMinimum: 6,+};++function fittedNodeFontSize(text, width, preferred, minimum) {+ const units = Math.max(1, textUnits(text));+ const available = Math.max(1, width - nodeTextFit.horizontalPadding);+ const fitted = Math.min(preferred, available / (units * nodeTextFit.widthFactor));+ return Math.max(minimum, Math.floor(fitted * 10) / 10);+}++function minimumNodeTextWidth(text, minimum) {+ return textUnits(text) * minimum * nodeTextFit.widthFactor;+}+const nodes = new Map(asArray(workflow.nodes).map((node) => [node.id, measureNode(node)]));function workflowCompositionFrames() {@@ -207,6 +227,13 @@ function validateWorkflow() {if (estLabelW > node.width + 6) {problems.push(`Label "${node.label}" (~${Math.round(estLabelW)}px) is wider than node "${node.id}" (${node.width}px) — shorten the label, move detail to sublabel, or increase node.width.`);}+ if (node.sublabel) {+ const minimumSublabelW = minimumNodeTextWidth(node.sublabel, nodeTextFit.sublabelMinimum);+ const availableSublabelW = node.width - nodeTextFit.horizontalPadding;+ if (minimumSublabelW > availableSublabelW) {+ problems.push(`Sublabel "${node.sublabel}" needs ~${Math.ceil(minimumSublabelW)}px at the ${nodeTextFit.sublabelMinimum}px legible minimum, but node "${node.id}" provides ${availableSublabelW}px — shorten the sublabel or increase node.width.`);+ }+ }const top = laneTop(node.lane);const contentTop = top + layout.laneTitleH;@@ -499,8 +526,12 @@ function renderNode(node) {const fill = componentFill[node.type] || 'c-external';const accent = componentText[node.type] || 't-muted';const hasSub = node.sublabel != null && node.sublabel !== '';+ const labelFontSize = fittedNodeFontSize(node.label, node.width, nodeTextFit.labelPreferred, nodeTextFit.labelMinimum);+ const sublabelFontSize = hasSub+ ? fittedNodeFontSize(node.sublabel, node.width, nodeTextFit.sublabelPreferred, nodeTextFit.sublabelMinimum)+ : nodeTextFit.sublabelPreferred;const sub = hasSub- ? `\n <text data-detail="context" x="${node.cx}" y="${node.y + 38}" class="t-muted" font-size="8" text-anchor="middle">${esc(node.sublabel)}</text>`+ ? `\n <text data-detail="context" x="${node.cx}" y="${node.y + 38}" class="t-muted" font-size="${sublabelFontSize}" text-anchor="middle">${esc(node.sublabel)}</text>`: '';const tag = node.tag? `\n <text data-detail="fine" x="${node.cx}" y="${node.y + node.height - 12}" class="${accent}" font-size="7" text-anchor="middle">${esc(node.tag)}</text>`@@ -511,7 +542,7 @@ function renderNode(node) {<rect x="${node.x}" y="${node.y}" width="${node.width}" height="${node.height}" rx="6" class="c-mask"/><rect x="${node.x}" y="${node.y}" width="${node.width}" height="${node.height}" rx="6" class="${fill}"${animateAttr(workflow.meta, 'node', nodeStep(node))} stroke-width="1.5"/>${renderSemanticSigil(node.type, { x: node.x + 6, y: node.y + 6 })}- <text${hasSub ? ' data-detail-anchor' : ''} x="${node.cx}" y="${node.y + 21}" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">${esc(node.label)}</text>${sub}${tag}+ <text${hasSub ? ' data-detail-anchor' : ''} x="${node.cx}" y="${node.y + 21}" class="t-primary" font-size="${labelFontSize}" font-weight="600" text-anchor="middle">${esc(node.label)}</text>${sub}${tag}</g>`;}diff --git a/archify/test/layout-rules.test.mjs b/archify/test/layout-rules.test.mjsindex 1cd90c6e..b5a80d33 100644--- a/archify/test/layout-rules.test.mjs+++ b/archify/test/layout-rules.test.mjs@@ -64,6 +64,8 @@ const CASES = [['workflow: unknown lane', 'workflow', (d) => { d.nodes[0].lane = 'ghost'; }, ['unknown lane "ghost"']],['workflow: node label wider than box', 'workflow',(d) => { d.nodes[0].label = 'An Extremely Long Node Label That Overflows'; }, ['wider than node', 'shorten the label']],+ ['workflow: node sublabel wider than its legible minimum', 'workflow',+ (d) => { d.nodes[0].sublabel = 'This supporting sentence is much too long for one workflow node'; }, ['Sublabel', 'legible', 'increase node.width']],['workflow: viewBox width below schema min', 'workflow',(d) => { d.meta.viewBox = [699, 900]; }, ['700']],['workflow: nodes too close in a lane', 'workflow',@@ -171,6 +173,15 @@ test('workflow: same-lane offset auto edge stays orthogonal', () => {assert.match(html, /M 236 105 L 260 105 L 260 133 L 284 133/);});+test('workflow: bounded font fitting keeps an ordinary long sublabel inside its node', () => {+ const d = load('workflow');+ d.nodes[0].sublabel = 'shell / browser / MCP';+ const { code, stderr, outPath } = render('workflow', d);+ assert.equal(code, 0, stderr);+ const html = fs.readFileSync(outPath, 'utf8');+ assert.match(html, /font-size="6\.6"[^>]*>shell \/ browser \/ MCP<\/text>/);+});+test('workflow: edge crossing a non-endpoint node is rejected', () => {const d = {schema_version: 1,diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gifindex 6272a085..b30b42ff 100644Binary files a/docs/assets/archify-live-proof.gif and b/docs/assets/archify-live-proof.gif differdiff --git a/docs/assets/archify-live-proof.json b/docs/assets/archify-live-proof.jsonindex 99899978..8f471630 100644--- a/docs/assets/archify-live-proof.json+++ b/docs/assets/archify-live-proof.json@@ -7,13 +7,13 @@"fps": 10,"frameCount": 54,"durationSeconds": 5.4,- "bytes": 1727313,- "sha256": "c4acb97a322cb70aab30106936738998c20e99917805102dae775f73eb9bcbcf",+ "bytes": 1528284,+ "sha256": "2724e367a0c1695a50964eaa8c704c97cc84dbe2452640803786d9fdf710dbe7","scenes": [{"id": "signal-flow","artifact": "docs/gallery/artifacts/agent-tool-call.workflow.html",- "artifactSha256": "1ef0a5d371122c038436ab07ef8c319ca683590222f48d45622f73c28fd24c86",+ "artifactSha256": "379d536b3a75589bed2a6b3a3c2f20947fffbef29376a7757f1aa45efc8197fc","view": "happy-path","eyebrow": "WORKFLOW · SIGNAL FLOW","title": "Agent Tool Call",diff --git a/docs/gallery.html b/docs/gallery.htmlindex 63d0ea6a..81f5c997 100644--- a/docs/gallery.html+++ b/docs/gallery.html@@ -327,7 +327,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 11E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="1ef0a5d371122c038436ab07ef8c319ca683590222f48d45622f73c28fd24c86">1ef0a5d37112</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="379d536b3a75589bed2a6b3a3c2f20947fffbef29376a7757f1aa45efc8197fc">379d536b3a75</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/agent-tool-call.workflow.html?present=1&play=1#view=happy-path" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -412,7 +412,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="1071371e458ce7e4a8373477f69004abe014976d40b79395d0e601a5b757e88f">1071371e458c</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="642e528f598b1ad8860a9c161fe9abde788232fe35fd58d5f81ac13388e8aad1">642e528f598b</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/release-delivery.workflow.html?present=1&play=1#view=approval-to-production" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -440,7 +440,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">11N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="f34b57900e70f73f089ba8cba5c8e3c057c97dbe0285f4576efbd1c9ad4274d1">f34b57900e70</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="243b59fe0bb895fa0ce2a6200597c85435b5374a6acc52a9bc8201a2542ee60f">243b59fe0bb8</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/incident-response.workflow.html?present=1&play=1#view=mitigate-and-verify" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -686,8 +686,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 12,"edgeCount": 11,- "artifactBytes": 619325,- "artifactSha256": "1ef0a5d371122c038436ab07ef8c319ca683590222f48d45622f73c28fd24c86",+ "artifactBytes": 619333,+ "artifactSha256": "379d536b3a75589bed2a6b3a3c2f20947fffbef29376a7757f1aa45efc8197fc","sourceBytes": 6470,"sourceSha256": "a3afc6b30044eb256aa15c6195ddfbbcd1a14880d99967ed5605bc621ffb7e5f","checks": [@@ -980,8 +980,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 615591,- "artifactSha256": "1071371e458ce7e4a8373477f69004abe014976d40b79395d0e601a5b757e88f",+ "artifactBytes": 615595,+ "artifactSha256": "642e528f598b1ad8860a9c161fe9abde788232fe35fd58d5f81ac13388e8aad1","sourceBytes": 5256,"sourceSha256": "44aa56ac6ca807937dfe84a6404e8b07d6394a38ae2ac53248a1985337dfd671","checks": [@@ -1078,8 +1078,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 11,"edgeCount": 10,- "artifactBytes": 615449,- "artifactSha256": "f34b57900e70f73f089ba8cba5c8e3c057c97dbe0285f4576efbd1c9ad4274d1",+ "artifactBytes": 615456,+ "artifactSha256": "243b59fe0bb895fa0ce2a6200597c85435b5374a6acc52a9bc8201a2542ee60f","sourceBytes": 5471,"sourceSha256": "9beb8698b275679a2fc92d4b51288cd5b5fc2115696d06b9168f3d7fef253a72","checks": [diff --git a/docs/gallery/artifacts/agent-tool-call.workflow.html b/docs/gallery/artifacts/agent-tool-call.workflow.htmlindex 08d9f501..fd8b483d 100644--- a/docs/gallery/artifacts/agent-tool-call.workflow.html+++ b/docs/gallery/artifacts/agent-tool-call.workflow.html@@ -4666,7 +4666,7 @@<g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(260 215) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>- <text data-detail-anchor x="300" y="230" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Agent Planner</text>+ <text data-detail-anchor x="300" y="230" class="t-primary" font-size="10.7" font-weight="600" text-anchor="middle">Agent Planner</text><text data-detail="context" x="300" y="247" class="t-muted" font-size="8" text-anchor="middle">plan next step</text><text data-detail="fine" x="300" y="265" class="t-backend" font-size="7" text-anchor="middle">context aware</text></g>@@ -4690,7 +4690,7 @@<path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/></g>- <text data-detail-anchor x="430" y="354" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Approval Gate</text>+ <text data-detail-anchor x="430" y="354" class="t-primary" font-size="10.7" font-weight="600" text-anchor="middle">Approval Gate</text><text data-detail="context" x="430" y="371" class="t-muted" font-size="8" text-anchor="middle">scope + consent</text><text data-detail="fine" x="430" y="389" class="t-security" font-size="7" text-anchor="middle">block risky ops</text></g>@@ -4732,7 +4732,7 @@<circle cx="7" cy="11.5" r="1" class="sigil-fill"/></g><text data-detail-anchor x="500" y="602" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Tool Call</text>- <text data-detail="context" x="500" y="619" class="t-muted" font-size="8" text-anchor="middle">shell / browser / MCP</text>+ <text data-detail="context" x="500" y="619" class="t-muted" font-size="6.6" text-anchor="middle">shell / browser / MCP</text><text data-detail="fine" x="500" y="637" class="t-messagebus" font-size="7" text-anchor="middle">structured result</text></g>@@ -4755,7 +4755,7 @@<ellipse cx="8" cy="4" rx="5" ry="2"/><path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/></g>- <text data-detail-anchor x="220" y="734" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Context Store</text>+ <text data-detail-anchor x="220" y="734" class="t-primary" font-size="10.7" font-weight="600" text-anchor="middle">Context Store</text><text data-detail="context" x="220" y="751" class="t-muted" font-size="8" text-anchor="middle">repo + memory</text></g>diff --git a/docs/gallery/artifacts/incident-response.workflow.html b/docs/gallery/artifacts/incident-response.workflow.htmlindex a17f60fb..f1867740 100644--- a/docs/gallery/artifacts/incident-response.workflow.html+++ b/docs/gallery/artifacts/incident-response.workflow.html@@ -4641,7 +4641,7 @@<rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/></g>- <text data-detail-anchor x="220" y="238" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Page On-call</text>+ <text data-detail-anchor x="220" y="238" class="t-primary" font-size="9.4" font-weight="600" text-anchor="middle">Page On-call</text><text data-detail="context" x="220" y="255" class="t-muted" font-size="8" text-anchor="middle">acknowledge</text></g>@@ -4653,7 +4653,7 @@<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g><text data-detail-anchor x="300" y="238" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Triage</text>- <text data-detail="context" x="300" y="255" class="t-muted" font-size="8" text-anchor="middle">scope impact</text>+ <text data-detail="context" x="300" y="255" class="t-muted" font-size="7.7" text-anchor="middle">scope impact</text></g><g id="node-declare" data-node-id="declare" data-node-label="Declare" tabindex="0" role="button" aria-label="Focus Declare, assign commander, Incident Command › Incident command › Triage + mitigate" aria-pressed="false" data-node-kind="security" data-node-sublabel="assign commander" data-node-tag="SEV-1/2" data-node-context="Incident Command › Incident command › Triage + mitigate">@@ -4687,7 +4687,7 @@<g aria-hidden="true" data-semantic-sigil="cloud" class="semantic-sigil s-cloud" transform="translate(480 347) scale(0.6875)"><path d="M4.3 12.5h7.3a2.4 2.4 0 0 0 .2-4.8 4 4 0 0 0-7.5-1.3A3.1 3.1 0 0 0 4.3 12.5Z"/></g>- <text data-detail-anchor x="500" y="362" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Recover</text>+ <text data-detail-anchor x="500" y="362" class="t-primary" font-size="10.4" font-weight="600" text-anchor="middle">Recover</text><text data-detail="context" x="500" y="379" class="t-muted" font-size="8" text-anchor="middle">restore</text></g>@@ -4726,7 +4726,7 @@<circle cx="4.1" cy="4.8" r=".7" class="sigil-fill"/><circle cx="6.3" cy="4.8" r=".7" class="sigil-fill"/></g>- <text data-detail-anchor x="430" y="610" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Status Update</text>+ <text data-detail-anchor x="430" y="610" class="t-primary" font-size="10.7" font-weight="600" text-anchor="middle">Status Update</text><text data-detail="context" x="430" y="627" class="t-muted" font-size="8" text-anchor="middle">impact + ETA</text></g>diff --git a/docs/gallery/artifacts/release-delivery.workflow.html b/docs/gallery/artifacts/release-delivery.workflow.htmlindex 304ed980..199ee310 100644--- a/docs/gallery/artifacts/release-delivery.workflow.html+++ b/docs/gallery/artifacts/release-delivery.workflow.html@@ -4667,7 +4667,7 @@<path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/></g>- <text data-detail-anchor x="430" y="230" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Quality Gates</text>+ <text data-detail-anchor x="430" y="230" class="t-primary" font-size="10.7" font-weight="600" text-anchor="middle">Quality Gates</text><text data-detail="context" x="430" y="247" class="t-muted" font-size="8" text-anchor="middle">test + scan</text><text data-detail="fine" x="430" y="265" class="t-security" font-size="7" text-anchor="middle">blocking</text></g>@@ -4743,7 +4743,7 @@<circle cx="7" cy="11.5" r="1" class="sigil-fill"/></g><text data-detail-anchor x="500" y="726" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Rollback</text>- <text data-detail="context" x="500" y="743" class="t-muted" font-size="8" text-anchor="middle">last good image</text>+ <text data-detail="context" x="500" y="743" class="t-muted" font-size="6.2" text-anchor="middle">last good image</text><text data-detail="fine" x="500" y="761" class="t-messagebus" font-size="7" text-anchor="middle">owner: on-call</text></g>diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.jsonindex 7cf6a40b..42b54a77 100644--- a/docs/gallery/manifest.json+++ b/docs/gallery/manifest.json@@ -27,8 +27,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 11,- "artifactBytes": 619325,- "artifactSha256": "1ef0a5d371122c038436ab07ef8c319ca683590222f48d45622f73c28fd24c86",+ "artifactBytes": 619333,+ "artifactSha256": "379d536b3a75589bed2a6b3a3c2f20947fffbef29376a7757f1aa45efc8197fc","sourceBytes": 6470,"sourceSha256": "a3afc6b30044eb256aa15c6195ddfbbcd1a14880d99967ed5605bc621ffb7e5f","checks": [@@ -321,8 +321,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 615591,- "artifactSha256": "1071371e458ce7e4a8373477f69004abe014976d40b79395d0e601a5b757e88f",+ "artifactBytes": 615595,+ "artifactSha256": "642e528f598b1ad8860a9c161fe9abde788232fe35fd58d5f81ac13388e8aad1","sourceBytes": 5256,"sourceSha256": "44aa56ac6ca807937dfe84a6404e8b07d6394a38ae2ac53248a1985337dfd671","checks": [@@ -419,8 +419,8 @@"engineeringProfile": null,"nodeCount": 11,"edgeCount": 10,- "artifactBytes": 615449,- "artifactSha256": "f34b57900e70f73f089ba8cba5c8e3c057c97dbe0285f4576efbd1c9ad4274d1",+ "artifactBytes": 615456,+ "artifactSha256": "243b59fe0bb895fa0ce2a6200597c85435b5374a6acc52a9bc8201a2542ee60f","sourceBytes": 5471,"sourceSha256": "9beb8698b275679a2fc92d4b51288cd5b5fc2115696d06b9168f3d7fef253a72","checks": [diff --git a/examples/workflow-agent-tool-call-rendered.html b/examples/workflow-agent-tool-call-rendered.htmlindex 08d9f501..fd8b483d 100644--- a/examples/workflow-agent-tool-call-rendered.html+++ b/examples/workflow-agent-tool-call-rendered.html@@ -4666,7 +4666,7 @@<g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(260 215) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>- <text data-detail-anchor x="300" y="230" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Agent Planner</text>+ <text data-detail-anchor x="300" y="230" class="t-primary" font-size="10.7" font-weight="600" text-anchor="middle">Agent Planner</text><text data-detail="context" x="300" y="247" class="t-muted" font-size="8" text-anchor="middle">plan next step</text><text data-detail="fine" x="300" y="265" class="t-backend" font-size="7" text-anchor="middle">context aware</text></g>@@ -4690,7 +4690,7 @@<path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/></g>- <text data-detail-anchor x="430" y="354" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Approval Gate</text>+ <text data-detail-anchor x="430" y="354" class="t-primary" font-size="10.7" font-weight="600" text-anchor="middle">Approval Gate</text><text data-detail="context" x="430" y="371" class="t-muted" font-size="8" text-anchor="middle">scope + consent</text><text data-detail="fine" x="430" y="389" class="t-security" font-size="7" text-anchor="middle">block risky ops</text></g>@@ -4732,7 +4732,7 @@<circle cx="7" cy="11.5" r="1" class="sigil-fill"/></g><text data-detail-anchor x="500" y="602" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Tool Call</text>- <text data-detail="context" x="500" y="619" class="t-muted" font-size="8" text-anchor="middle">shell / browser / MCP</text>+ <text data-detail="context" x="500" y="619" class="t-muted" font-size="6.6" text-anchor="middle">shell / browser / MCP</text><text data-detail="fine" x="500" y="637" class="t-messagebus" font-size="7" text-anchor="middle">structured result</text></g>@@ -4755,7 +4755,7 @@<ellipse cx="8" cy="4" rx="5" ry="2"/><path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/></g>- <text data-detail-anchor x="220" y="734" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Context Store</text>+ <text data-detail-anchor x="220" y="734" class="t-primary" font-size="10.7" font-weight="600" text-anchor="middle">Context Store</text><text data-detail="context" x="220" y="751" class="t-muted" font-size="8" text-anchor="middle">repo + memory</text></g>