Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

fix(sequence): keep participant labels clear of header icons

Oleksandr Mekhovov40001aee12a1
diff --git a/archify.zip b/archify.zip
index f7fdf0f8..df8dd462 100644
Binary files a/archify.zip and b/archify.zip differ
diff --git a/archify/examples/sequence-cache-miss-request.html b/archify/examples/sequence-cache-miss-request.html
index 7de50a1c..1e44a28c 100644
--- a/archify/examples/sequence-cache-miss-request.html
+++ b/archify/examples/sequence-cache-miss-request.html
@@ -5299,89 +5299,89 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Participants -->
<g id="node-user" data-node-id="user" data-node-label="User" tabindex="0" role="button" aria-label="Focus User, browser session, Sequence participant" aria-pressed="false" data-node-kind="external" data-node-sublabel="browser session" data-node-context="Sequence participant">
<title>User · browser session · Sequence participant</title>
- <rect x="62" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="62" y="72" width="113" height="54" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>
+ <rect x="62" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="62" y="72" width="113" height="60" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(68 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="118.5" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">User</text>
- <text data-detail="context" x="118.5" y="111" class="t-muted" font-size="7" text-anchor="middle">browser session</text>
+ <text data-node-label="" data-detail-anchor="" x="118.5" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">User</text>
+ <text data-detail="context" x="118.5" y="122" class="t-muted" font-size="7" text-anchor="middle">browser session</text>
</g>
<g id="node-web" data-node-id="web" data-node-label="Web App" tabindex="0" role="button" aria-label="Focus Web App, React UI, Sequence participant" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="React UI" data-node-context="Sequence participant">
<title>Web App · React UI · Sequence participant</title>
- <rect x="206.16666666666663" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="206.16666666666663" y="72" width="113" height="54" rx="6" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/>
+ <rect x="206.16666666666663" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="206.16666666666663" y="72" width="113" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(212.16666666666663 78) scale(0.6875)">
<rect x="2" y="3" width="12" height="10" rx="2"/>
<path d="M2 6.5h12"/>
<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-node-label="" data-detail-anchor="" x="262.66666666666663" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Web App</text>
- <text data-detail="context" x="262.66666666666663" y="111" class="t-muted" font-size="7" text-anchor="middle">React UI</text>
+ <text data-node-label="" data-detail-anchor="" x="262.66666666666663" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Web App</text>
+ <text data-detail="context" x="262.66666666666663" y="122" class="t-muted" font-size="7" text-anchor="middle">React UI</text>
</g>
<g id="node-api" data-node-id="api" data-node-label="API" tabindex="0" role="button" aria-label="Focus API, request handler, Sequence participant" aria-pressed="false" data-node-kind="backend" data-node-sublabel="request handler" data-node-context="Sequence participant">
<title>API · request handler · Sequence participant</title>
- <rect x="350.3333333333333" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="350.3333333333333" y="72" width="113" height="54" rx="6" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/>
+ <rect x="350.3333333333333" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="350.3333333333333" y="72" width="113" height="60" rx="6" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(356.3333333333333 78) scale(0.6875)">
<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="406.8333333333333" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">API</text>
- <text data-detail="context" x="406.8333333333333" y="111" class="t-muted" font-size="7" text-anchor="middle">request handler</text>
+ <text data-node-label="" data-detail-anchor="" x="406.8333333333333" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">API</text>
+ <text data-detail="context" x="406.8333333333333" y="122" class="t-muted" font-size="7" text-anchor="middle">request handler</text>
</g>
<g id="node-auth" data-node-id="auth" data-node-label="Auth" tabindex="0" role="button" aria-label="Focus Auth, JWT verify, Sequence participant" aria-pressed="false" data-node-kind="security" data-node-sublabel="JWT verify" data-node-context="Sequence participant">
<title>Auth · JWT verify · Sequence participant</title>
- <rect x="494.5" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="494.5" y="72" width="113" height="54" rx="6" class="c-security" data-animate="node" style="--step:3" stroke-width="1.5"/>
+ <rect x="494.5" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="494.5" y="72" width="113" height="60" rx="6" class="c-security" data-animate="node" style="--step:3" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="security" class="semantic-sigil s-security" transform="translate(500.5 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="551" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Auth</text>
- <text data-detail="context" x="551" y="111" class="t-muted" font-size="7" text-anchor="middle">JWT verify</text>
+ <text data-node-label="" data-detail-anchor="" x="551" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Auth</text>
+ <text data-detail="context" x="551" y="122" class="t-muted" font-size="7" text-anchor="middle">JWT verify</text>
</g>
<g id="node-redis" data-node-id="redis" data-node-label="Redis" tabindex="0" role="button" aria-label="Focus Redis, cache, Sequence participant" aria-pressed="false" data-node-kind="database" data-node-sublabel="cache" data-node-context="Sequence participant">
<title>Redis · cache · Sequence participant</title>
- <rect x="638.6666666666666" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="638.6666666666666" y="72" width="113" height="54" rx="6" class="c-database" data-animate="node" style="--step:4" stroke-width="1.5"/>
+ <rect x="638.6666666666666" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="638.6666666666666" y="72" width="113" height="60" rx="6" class="c-database" data-animate="node" style="--step:4" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(644.6666666666666 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="695.1666666666666" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Redis</text>
- <text data-detail="context" x="695.1666666666666" y="111" class="t-muted" font-size="7" text-anchor="middle">cache</text>
+ <text data-node-label="" data-detail-anchor="" x="695.1666666666666" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Redis</text>
+ <text data-detail="context" x="695.1666666666666" y="122" class="t-muted" font-size="7" text-anchor="middle">cache</text>
</g>
<g id="node-db" data-node-id="db" data-node-label="Postgres" tabindex="0" role="button" aria-label="Focus Postgres, source of truth, Sequence participant" aria-pressed="false" data-node-kind="database" data-node-sublabel="source of truth" data-node-context="Sequence participant">
<title>Postgres · source of truth · Sequence participant</title>
- <rect x="782.8333333333333" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="782.8333333333333" y="72" width="113" height="54" rx="6" class="c-database" data-animate="node" style="--step:5" stroke-width="1.5"/>
+ <rect x="782.8333333333333" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="782.8333333333333" y="72" width="113" height="60" rx="6" class="c-database" data-animate="node" style="--step:5" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(788.8333333333333 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="839.3333333333333" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Postgres</text>
- <text data-detail="context" x="839.3333333333333" y="111" class="t-muted" font-size="7" text-anchor="middle">source of truth</text>
+ <text data-node-label="" data-detail-anchor="" x="839.3333333333333" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Postgres</text>
+ <text data-detail="context" x="839.3333333333333" y="122" class="t-muted" font-size="7" text-anchor="middle">source of truth</text>
</g>
<g id="node-trace" data-node-id="trace" data-node-label="Trace" tabindex="0" role="button" aria-label="Focus Trace, async event, Sequence participant" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="async event" data-node-context="Sequence participant">
<title>Trace · async event · Sequence participant</title>
- <rect x="927" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="927" y="72" width="113" height="54" rx="6" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/>
+ <rect x="927" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="927" y="72" width="113" height="60" rx="6" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(933 78) scale(0.6875)">
<path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/>
<circle cx="5" cy="4.5" r="1" class="sigil-fill"/>
<circle cx="10.5" cy="8" r="1" class="sigil-fill"/>
<circle cx="7" cy="11.5" r="1" class="sigil-fill"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="983.5" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Trace</text>
- <text data-detail="context" x="983.5" y="111" class="t-muted" font-size="7" text-anchor="middle">async event</text>
+ <text data-node-label="" data-detail-anchor="" x="983.5" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Trace</text>
+ <text data-detail="context" x="983.5" y="122" class="t-muted" font-size="7" text-anchor="middle">async event</text>
</g>
<!-- Legend -->
diff --git a/archify/renderers/sequence/render-sequence.mjs b/archify/renderers/sequence/render-sequence.mjs
index 1cfc032a..e6cceffe 100644
--- a/archify/renderers/sequence/render-sequence.mjs
+++ b/archify/renderers/sequence/render-sequence.mjs
@@ -41,7 +41,11 @@ const colGap = columnFit === 'spread' && participantCount > 1
const layout = {
topY: 72,
participantW,
- participantH: 54,
+ // Keep a separate top rail for the 11px semantic sigil and 16px brand mark.
+ // Literal labels retain their fitted font size and full authored wording.
+ participantH: 60,
+ participantLabelY: 36,
+ participantSublabelY: 50,
lifelineTop: 142,
lifelineBottom: viewBox[1] - 65,
legendY: viewBox[1] - 54,
@@ -313,7 +317,7 @@ function renderParticipant(participant) {
const fill = componentFill[participant.type] || 'c-external';
const hasSub = participant.sublabel != null && participant.sublabel !== '';
const sub = hasSub
- ? `\n <text data-detail="context" x="${participant.cx}" y="${layout.topY + 39}" class="t-muted" font-size="${fittedNodeFontSize(participant.sublabel, layout.participantW, participantTextFit.sublabelPreferred, participantTextFit.sublabelMinimum)}" text-anchor="middle">${esc(participant.sublabel)}</text>`
+ ? `\n <text data-detail="context" x="${participant.cx}" y="${layout.topY + layout.participantSublabelY}" class="t-muted" font-size="${fittedNodeFontSize(participant.sublabel, layout.participantW, participantTextFit.sublabelPreferred, participantTextFit.sublabelMinimum)}" text-anchor="middle">${esc(participant.sublabel)}</text>`
: '';
const brand = renderBrandMark(participant, { x: participant.x + layout.participantW - 22, y: layout.topY + 6 });
const labelFontSize = fittedNodeFontSize(participant.label, brandLabelFitWidth(participant, layout.participantW), 11, 8);
@@ -328,7 +332,7 @@ function renderParticipant(participant) {
<rect x="${participant.x}" y="${layout.topY}" width="${layout.participantW}" height="${layout.participantH}" rx="6" class="c-mask"/>
<rect x="${participant.x}" y="${layout.topY}" width="${layout.participantW}" height="${layout.participantH}" rx="6" class="${fill}"${animateAttr(sequence.meta, 'node', participant.index)} stroke-width="1.5"/>
${renderSemanticSigil(participant.type, { x: participant.x + 6, y: layout.topY + 6 })}${brand ? `\n ${brand}` : ''}
- <text data-node-label=""${hasSub ? ' data-detail-anchor=""' : ''} x="${participant.cx}" y="${layout.topY + 22}" class="t-primary" font-size="${labelFontSize}" font-weight="600" text-anchor="middle">${esc(participant.label)}</text>${sub}
+ <text data-node-label=""${hasSub ? ' data-detail-anchor=""' : ''} x="${participant.cx}" y="${layout.topY + layout.participantLabelY}" class="t-primary" font-size="${labelFontSize}" font-weight="600" text-anchor="middle">${esc(participant.label)}</text>${sub}
</g>`;
}
diff --git a/archify/test/sequence-column-fit.test.mjs b/archify/test/sequence-column-fit.test.mjs
index e8917d87..bee4d9e1 100644
--- a/archify/test/sequence-column-fit.test.mjs
+++ b/archify/test/sequence-column-fit.test.mjs
@@ -36,7 +36,7 @@ function render(doc) {
}
function participantBoxes(html) {
- return [...html.matchAll(/<rect x="([\d.]+)" y="72" width="([\d.]+)" height="54"/g)]
+ return [...html.matchAll(/<rect x="([\d.]+)" y="72" width="([\d.]+)" height="60"/g)]
.map(([, x, width]) => ({ x: Number(x), width: Number(width) }))
.filter((box, index, all) => all.findIndex((other) => other.x === box.x) === index)
.sort((left, right) => left.x - right.x);
diff --git a/archify/test/sequence-header-clearance.test.mjs b/archify/test/sequence-header-clearance.test.mjs
new file mode 100644
index 00000000..f1ee6f2a
--- /dev/null
+++ b/archify/test/sequence-header-clearance.test.mjs
@@ -0,0 +1,50 @@
+import {test} from 'node:test';
+import assert from 'node:assert/strict';
+import fs from 'node:fs';
+import os from 'node:os';
+import path from 'node:path';
+import {spawnSync} from 'node:child_process';
+import {pathToFileURL} from 'node:url';
+import {ChromeVisualBrowser,findChrome} from '../bin/visual-check.mjs';
+import {fittedNodeFontSize} from '../renderers/shared/text-fit.mjs';
+
+// Public synthetic labels deliberately exercise a maximum-width participant.
+// This fixture carries no application-specific source or private repository.
+test('sequence headers reserve an icon/brand rail without shrinking or changing literal labels', async t=>{
+ const chrome=findChrome();
+ if(!chrome){t.skip('Chrome is unavailable; this is not a browser pass');return;}
+ const dir=fs.mkdtempSync(path.join(os.tmpdir(),'archify-sequence-header-'));
+ const spec={schema_version:1,diagram_type:'sequence',meta:{title:'Sequence header clearance regression',quality_profile:'standard',column_fit:'spread',viewBox:[1700,600]},participants:[
+ {id:'transfer',type:'backend',label:'Cloud File Transfer (CFTS)',sublabel:'Transfer participant'},
+ {id:'without-context',type:'external',label:'Cloud File Transfer (CFTS)'},
+ {id:'branded',type:'database',label:'Redis',sublabel:'Cache participant',brand:'redis'},
+ ],messages:[{id:'request',from:'transfer',to:'without-context',y:200,label:'Exact request'},{id:'reply',from:'without-context',to:'transfer',y:250,label:'Exact reply',variant:'return'}]};
+ const input=path.join(dir,'input.json'),output=path.join(dir,'output.html');
+ fs.writeFileSync(input,JSON.stringify(spec));
+ const rendered=spawnSync(process.execPath,[path.resolve(import.meta.dirname,'../bin/archify.mjs'),'deliver','sequence',input,output,'--quality','standard','--json'],{encoding:'utf8',maxBuffer:16*1024*1024});
+ assert.equal(rendered.status,0,rendered.stderr||rendered.stdout);
+ const browser=new ChromeVisualBrowser(chrome);
+ try{
+ const session=await browser.sessionPromise,send=(method,params={})=>browser.cdp.send(method,params,session,30000);
+ const evaluate=async expression=>{const r=await send('Runtime.evaluate',{expression,awaitPromise:true,returnByValue:true});assert(!r.exceptionDetails,r.exceptionDetails?.exception?.description);return r.result?.value;};
+ for(const [width,height]of [[1440,900],[2048,1320]]){
+ await send('Emulation.setDeviceMetricsOverride',{width,height,deviceScaleFactor:1,mobile:false});
+ await send('Page.navigate',{url:pathToFileURL(output).href});
+ let ready=false;for(let i=0;i<300;i++){if(await evaluate('!!window.Archify?.view')){ready=true;break;}await new Promise(r=>setTimeout(r,25));}assert(ready,'Viewer did not initialize');
+ for(const theme of ['light','dark'])for(const scale of [.75,1,3]){
+ await evaluate(`(async()=>{await document.fonts.ready;if(document.documentElement.dataset.theme!==${JSON.stringify(theme)})document.getElementById('btn-theme').click();if(Archify.motionGovernor.mode()!=='still')document.getElementById('btn-motion').click();Archify.view.centerAt(850,110,{scale:${scale},instant:true});await Archify.readerLayout.whenStable();await Archify.viewerChromeLayout.whenStable();await new Promise(r=>requestAnimationFrame(()=>requestAnimationFrame(r)));})()`);
+ const rows=await evaluate(`(()=>{const box=e=>{const r=e.getBoundingClientRect();return{x:r.x,y:r.y,right:r.right,bottom:r.bottom,width:r.width,height:r.height};};return [...document.querySelectorAll('g[data-node-id]')].map(n=>({id:n.dataset.nodeId,label:n.dataset.nodeLabel,box:box(n.querySelector('rect')),text:box(n.querySelector('text[data-node-label]')),sigil:box(n.querySelector('[data-semantic-sigil]')),brand:n.querySelector('.brand-mark')?box(n.querySelector('.brand-mark')):null,context:[...n.querySelectorAll('text')].filter(e=>!e.hasAttribute('data-node-label')).map(box),font:Number(n.querySelector('text[data-node-label]').getAttribute('font-size'))}));})()`);
+ assert.deepEqual(rows.map(r=>r.label),spec.participants.map(p=>p.label));
+ assert(rows.find(r=>r.id==='branded').brand,'Brand fixture must actually render its mark');
+ for(const row of rows){
+ const where=`${width}x${height}/${theme}/${scale}/${row.id}`,overlap=(a,b)=>Math.min(a.right,b.right)>Math.max(a.x,b.x)+.01&&Math.min(a.bottom,b.bottom)>Math.max(a.y,b.y)+.01;
+ assert(!overlap(row.text,row.sigil),where+': semantic sigil overlaps label');
+ if(row.brand)assert(!overlap(row.text,row.brand),where+': brand mark overlaps label');
+ assert(row.text.x>=row.box.x-.1&&row.text.right<=row.box.right+.1&&row.text.y>=row.box.y-.1&&row.text.bottom<=row.box.bottom+.1,where+': label escapes header');
+ assert.equal(row.font,fittedNodeFontSize(row.label,row.brand?142:190,11,8),where+': original fitted label font must be unchanged');
+ for(const context of row.context)assert(context.bottom<=row.box.bottom+.1,where+': context escapes header');
+ }
+ }
+ }
+ }finally{await browser.close();fs.rmSync(dir,{recursive:true,force:true});}
+});
diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gif
index 9db6cc79..d11d1892 100644
Binary files a/docs/assets/archify-live-proof.gif and b/docs/assets/archify-live-proof.gif differ
diff --git a/docs/assets/archify-live-proof.json b/docs/assets/archify-live-proof.json
index b4b0a2cc..51cf9939 100644
--- a/docs/assets/archify-live-proof.json
+++ b/docs/assets/archify-live-proof.json
@@ -7,8 +7,8 @@
"fps": 10,
"frameCount": 54,
"durationSeconds": 5.4,
- "bytes": 1681740,
- "sha256": "58a57dc5e1e8fa377d67fd0501ed35b868f22c2778c2563c78fc272f077842cb",
+ "bytes": 1562411,
+ "sha256": "c933b06d3d917efb05b66149d193e5952c50535775cb25ee38c5d5a193618e77",
"scenes": [
{
"id": "signal-flow",
@@ -31,7 +31,7 @@
{
"id": "classic",
"artifact": "docs/gallery/artifacts/cache-miss.sequence.html",
- "artifactSha256": "1a38f34911db256a86962512fbd744ed6ec894750b91256a0ca41ca543921d0b",
+ "artifactSha256": "3c3b2b908ff2ce205a52c258eee183d444e85eba191a6fde5dba3664cb08d8b1",
"view": "cache-fallback",
"eyebrow": "SEQUENCE · CLASSIC",
"title": "Cache Miss Request",
diff --git a/docs/gallery.html b/docs/gallery.html
index 9e375c5f..80c577d4 100644
--- a/docs/gallery.html
+++ b/docs/gallery.html
@@ -357,7 +357,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">7N · 12E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="1a38f34911db256a86962512fbd744ed6ec894750b91256a0ca41ca543921d0b">1a38f34911db</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="3c3b2b908ff2ce205a52c258eee183d444e85eba191a6fde5dba3664cb08d8b1">3c3b2b908ff2</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/cache-miss.sequence.html?present=1&amp;play=1#view=cache-fallback" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -473,7 +473,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">7N · 14E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="33bf7ef66adc0a3e9bb40d4269c6cb3976445c44b3284e2763a68035ccfb9013">33bf7ef66adc</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="3ad04964129eea603f94dbade6020f9399088993755f915c2d8ca506fff297e3">3ad04964129e</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/async-job-roundtrip.sequence.html?present=1&amp;play=1#view=work-and-retry" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -875,8 +875,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 12,
- "artifactBytes": 814102,
- "artifactSha256": "1a38f34911db256a86962512fbd744ed6ec894750b91256a0ca41ca543921d0b",
+ "artifactBytes": 814109,
+ "artifactSha256": "3c3b2b908ff2ce205a52c258eee183d444e85eba191a6fde5dba3664cb08d8b1",
"sourceBytes": 4374,
"sourceSha256": "9a799a3661c16cd6ab4f6373ff6a04da95a9ab70d93b0a349b668466f4912fd7",
"checks": [
@@ -1275,8 +1275,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 14,
- "artifactBytes": 813193,
- "artifactSha256": "33bf7ef66adc0a3e9bb40d4269c6cb3976445c44b3284e2763a68035ccfb9013",
+ "artifactBytes": 813200,
+ "artifactSha256": "3ad04964129eea603f94dbade6020f9399088993755f915c2d8ca506fff297e3",
"sourceBytes": 4370,
"sourceSha256": "545f20920c89b69c2bb1f15508d5543fddbeb15cffba61e102206e04bd5a5cd9",
"checks": [
diff --git a/docs/gallery/artifacts/async-job-roundtrip.sequence.html b/docs/gallery/artifacts/async-job-roundtrip.sequence.html
index 217eaf06..4e358d40 100644
--- a/docs/gallery/artifacts/async-job-roundtrip.sequence.html
+++ b/docs/gallery/artifacts/async-job-roundtrip.sequence.html
@@ -5317,87 +5317,87 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Participants -->
<g id="node-client" data-node-id="client" data-node-label="Client" tabindex="0" role="button" aria-label="Focus Client, mobile app, Sequence participant" aria-pressed="false" data-node-kind="external" data-node-sublabel="mobile app" data-node-context="Sequence participant">
<title>Client · mobile app · Sequence participant</title>
- <rect x="19" y="72" width="86" height="54" rx="6" class="c-mask"/>
- <rect x="19" y="72" width="86" height="54" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>
+ <rect x="19" y="72" width="86" height="60" rx="6" class="c-mask"/>
+ <rect x="19" y="72" width="86" height="60" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(25 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="62" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Client</text>
- <text data-detail="context" x="62" y="111" class="t-muted" font-size="7" text-anchor="middle">mobile app</text>
+ <text data-node-label="" data-detail-anchor="" x="62" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Client</text>
+ <text data-detail="context" x="62" y="122" class="t-muted" font-size="7" text-anchor="middle">mobile app</text>
</g>
<g id="node-api" data-node-id="api" data-node-label="Jobs API" tabindex="0" role="button" aria-label="Focus Jobs API, request edge, Sequence participant" aria-pressed="false" data-node-kind="backend" data-node-sublabel="request edge" data-node-context="Sequence participant">
<title>Jobs API · request edge · Sequence participant</title>
- <rect x="127" y="72" width="86" height="54" rx="6" class="c-mask"/>
- <rect x="127" y="72" width="86" height="54" rx="6" class="c-backend" data-animate="node" style="--step:1" stroke-width="1.5"/>
+ <rect x="127" y="72" width="86" height="60" rx="6" class="c-mask"/>
+ <rect x="127" y="72" width="86" height="60" rx="6" class="c-backend" data-animate="node" style="--step:1" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(133 78) scale(0.6875)">
<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="170" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Jobs API</text>
- <text data-detail="context" x="170" y="111" class="t-muted" font-size="7" text-anchor="middle">request edge</text>
+ <text data-node-label="" data-detail-anchor="" x="170" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Jobs API</text>
+ <text data-detail="context" x="170" y="122" class="t-muted" font-size="7" text-anchor="middle">request edge</text>
</g>
<g id="node-queue" data-node-id="queue" data-node-label="Queue" tabindex="0" role="button" aria-label="Focus Queue, durable work, Sequence participant" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="durable work" data-node-context="Sequence participant">
<title>Queue · durable work · Sequence participant</title>
- <rect x="235" y="72" width="86" height="54" rx="6" class="c-mask"/>
- <rect x="235" y="72" width="86" height="54" rx="6" class="c-messagebus" data-animate="node" style="--step:2" stroke-width="1.5"/>
+ <rect x="235" y="72" width="86" height="60" rx="6" class="c-mask"/>
+ <rect x="235" y="72" width="86" height="60" rx="6" class="c-messagebus" data-animate="node" style="--step:2" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(241 78) scale(0.6875)">
<path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/>
<circle cx="5" cy="4.5" r="1" class="sigil-fill"/>
<circle cx="10.5" cy="8" r="1" class="sigil-fill"/>
<circle cx="7" cy="11.5" r="1" class="sigil-fill"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="278" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Queue</text>
- <text data-detail="context" x="278" y="111" class="t-muted" font-size="7" text-anchor="middle">durable work</text>
+ <text data-node-label="" data-detail-anchor="" x="278" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Queue</text>
+ <text data-detail="context" x="278" y="122" class="t-muted" font-size="7" text-anchor="middle">durable work</text>
</g>
<g id="node-worker" data-node-id="worker" data-node-label="Worker" tabindex="0" role="button" aria-label="Focus Worker, background, Sequence participant" aria-pressed="false" data-node-kind="backend" data-node-sublabel="background" data-node-context="Sequence participant">
<title>Worker · background · Sequence participant</title>
- <rect x="343" y="72" width="86" height="54" rx="6" class="c-mask"/>
- <rect x="343" y="72" width="86" height="54" rx="6" class="c-backend" data-animate="node" style="--step:3" stroke-width="1.5"/>
+ <rect x="343" y="72" width="86" height="60" rx="6" class="c-mask"/>
+ <rect x="343" y="72" width="86" height="60" rx="6" class="c-backend" data-animate="node" style="--step:3" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(349 78) scale(0.6875)">
<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="386" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Worker</text>
- <text data-detail="context" x="386" y="111" class="t-muted" font-size="7" text-anchor="middle">background</text>
+ <text data-node-label="" data-detail-anchor="" x="386" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Worker</text>
+ <text data-detail="context" x="386" y="122" class="t-muted" font-size="7" text-anchor="middle">background</text>
</g>
<g id="node-provider" data-node-id="provider" data-node-label="Provider" tabindex="0" role="button" aria-label="Focus Provider, external API, Sequence participant" aria-pressed="false" data-node-kind="cloud" data-node-sublabel="external API" data-node-context="Sequence participant">
<title>Provider · external API · Sequence participant</title>
- <rect x="451" y="72" width="86" height="54" rx="6" class="c-mask"/>
- <rect x="451" y="72" width="86" height="54" rx="6" class="c-cloud" data-animate="node" style="--step:4" stroke-width="1.5"/>
+ <rect x="451" y="72" width="86" height="60" rx="6" class="c-mask"/>
+ <rect x="451" y="72" width="86" height="60" rx="6" class="c-cloud" data-animate="node" style="--step:4" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="cloud" class="semantic-sigil s-cloud" transform="translate(457 78) 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-node-label="" data-detail-anchor="" x="494" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Provider</text>
- <text data-detail="context" x="494" y="111" class="t-muted" font-size="7" text-anchor="middle">external API</text>
+ <text data-node-label="" data-detail-anchor="" x="494" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Provider</text>
+ <text data-detail="context" x="494" y="122" class="t-muted" font-size="7" text-anchor="middle">external API</text>
</g>
<g id="node-store" data-node-id="store" data-node-label="Job Store" tabindex="0" role="button" aria-label="Focus Job Store, source of truth, Sequence participant" aria-pressed="false" data-node-kind="database" data-node-sublabel="source of truth" data-node-context="Sequence participant">
<title>Job Store · source of truth · Sequence participant</title>
- <rect x="559" y="72" width="86" height="54" rx="6" class="c-mask"/>
- <rect x="559" y="72" width="86" height="54" rx="6" class="c-database" data-animate="node" style="--step:5" stroke-width="1.5"/>
+ <rect x="559" y="72" width="86" height="60" rx="6" class="c-mask"/>
+ <rect x="559" y="72" width="86" height="60" rx="6" class="c-database" data-animate="node" style="--step:5" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(565 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="602" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Job Store</text>
- <text data-detail="context" x="602" y="111" class="t-muted" font-size="7" text-anchor="middle">source of truth</text>
+ <text data-node-label="" data-detail-anchor="" x="602" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Job Store</text>
+ <text data-detail="context" x="602" y="122" class="t-muted" font-size="7" text-anchor="middle">source of truth</text>
</g>
<g id="node-notify" data-node-id="notify" data-node-label="Notifier" tabindex="0" role="button" aria-label="Focus Notifier, webhook, Sequence participant" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="webhook" data-node-context="Sequence participant">
<title>Notifier · webhook · Sequence participant</title>
- <rect x="667" y="72" width="86" height="54" rx="6" class="c-mask"/>
- <rect x="667" y="72" width="86" height="54" rx="6" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/>
+ <rect x="667" y="72" width="86" height="60" rx="6" class="c-mask"/>
+ <rect x="667" y="72" width="86" height="60" rx="6" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(673 78) scale(0.6875)">
<path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/>
<circle cx="5" cy="4.5" r="1" class="sigil-fill"/>
<circle cx="10.5" cy="8" r="1" class="sigil-fill"/>
<circle cx="7" cy="11.5" r="1" class="sigil-fill"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="710" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Notifier</text>
- <text data-detail="context" x="710" y="111" class="t-muted" font-size="7" text-anchor="middle">webhook</text>
+ <text data-node-label="" data-detail-anchor="" x="710" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Notifier</text>
+ <text data-detail="context" x="710" y="122" class="t-muted" font-size="7" text-anchor="middle">webhook</text>
</g>
<!-- Legend -->
diff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.html
index 7de50a1c..1e44a28c 100644
--- a/docs/gallery/artifacts/cache-miss.sequence.html
+++ b/docs/gallery/artifacts/cache-miss.sequence.html
@@ -5299,89 +5299,89 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Participants -->
<g id="node-user" data-node-id="user" data-node-label="User" tabindex="0" role="button" aria-label="Focus User, browser session, Sequence participant" aria-pressed="false" data-node-kind="external" data-node-sublabel="browser session" data-node-context="Sequence participant">
<title>User · browser session · Sequence participant</title>
- <rect x="62" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="62" y="72" width="113" height="54" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>
+ <rect x="62" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="62" y="72" width="113" height="60" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(68 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="118.5" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">User</text>
- <text data-detail="context" x="118.5" y="111" class="t-muted" font-size="7" text-anchor="middle">browser session</text>
+ <text data-node-label="" data-detail-anchor="" x="118.5" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">User</text>
+ <text data-detail="context" x="118.5" y="122" class="t-muted" font-size="7" text-anchor="middle">browser session</text>
</g>
<g id="node-web" data-node-id="web" data-node-label="Web App" tabindex="0" role="button" aria-label="Focus Web App, React UI, Sequence participant" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="React UI" data-node-context="Sequence participant">
<title>Web App · React UI · Sequence participant</title>
- <rect x="206.16666666666663" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="206.16666666666663" y="72" width="113" height="54" rx="6" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/>
+ <rect x="206.16666666666663" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="206.16666666666663" y="72" width="113" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(212.16666666666663 78) scale(0.6875)">
<rect x="2" y="3" width="12" height="10" rx="2"/>
<path d="M2 6.5h12"/>
<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-node-label="" data-detail-anchor="" x="262.66666666666663" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Web App</text>
- <text data-detail="context" x="262.66666666666663" y="111" class="t-muted" font-size="7" text-anchor="middle">React UI</text>
+ <text data-node-label="" data-detail-anchor="" x="262.66666666666663" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Web App</text>
+ <text data-detail="context" x="262.66666666666663" y="122" class="t-muted" font-size="7" text-anchor="middle">React UI</text>
</g>
<g id="node-api" data-node-id="api" data-node-label="API" tabindex="0" role="button" aria-label="Focus API, request handler, Sequence participant" aria-pressed="false" data-node-kind="backend" data-node-sublabel="request handler" data-node-context="Sequence participant">
<title>API · request handler · Sequence participant</title>
- <rect x="350.3333333333333" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="350.3333333333333" y="72" width="113" height="54" rx="6" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/>
+ <rect x="350.3333333333333" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="350.3333333333333" y="72" width="113" height="60" rx="6" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(356.3333333333333 78) scale(0.6875)">
<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="406.8333333333333" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">API</text>
- <text data-detail="context" x="406.8333333333333" y="111" class="t-muted" font-size="7" text-anchor="middle">request handler</text>
+ <text data-node-label="" data-detail-anchor="" x="406.8333333333333" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">API</text>
+ <text data-detail="context" x="406.8333333333333" y="122" class="t-muted" font-size="7" text-anchor="middle">request handler</text>
</g>
<g id="node-auth" data-node-id="auth" data-node-label="Auth" tabindex="0" role="button" aria-label="Focus Auth, JWT verify, Sequence participant" aria-pressed="false" data-node-kind="security" data-node-sublabel="JWT verify" data-node-context="Sequence participant">
<title>Auth · JWT verify · Sequence participant</title>
- <rect x="494.5" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="494.5" y="72" width="113" height="54" rx="6" class="c-security" data-animate="node" style="--step:3" stroke-width="1.5"/>
+ <rect x="494.5" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="494.5" y="72" width="113" height="60" rx="6" class="c-security" data-animate="node" style="--step:3" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="security" class="semantic-sigil s-security" transform="translate(500.5 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="551" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Auth</text>
- <text data-detail="context" x="551" y="111" class="t-muted" font-size="7" text-anchor="middle">JWT verify</text>
+ <text data-node-label="" data-detail-anchor="" x="551" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Auth</text>
+ <text data-detail="context" x="551" y="122" class="t-muted" font-size="7" text-anchor="middle">JWT verify</text>
</g>
<g id="node-redis" data-node-id="redis" data-node-label="Redis" tabindex="0" role="button" aria-label="Focus Redis, cache, Sequence participant" aria-pressed="false" data-node-kind="database" data-node-sublabel="cache" data-node-context="Sequence participant">
<title>Redis · cache · Sequence participant</title>
- <rect x="638.6666666666666" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="638.6666666666666" y="72" width="113" height="54" rx="6" class="c-database" data-animate="node" style="--step:4" stroke-width="1.5"/>
+ <rect x="638.6666666666666" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="638.6666666666666" y="72" width="113" height="60" rx="6" class="c-database" data-animate="node" style="--step:4" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(644.6666666666666 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="695.1666666666666" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Redis</text>
- <text data-detail="context" x="695.1666666666666" y="111" class="t-muted" font-size="7" text-anchor="middle">cache</text>
+ <text data-node-label="" data-detail-anchor="" x="695.1666666666666" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Redis</text>
+ <text data-detail="context" x="695.1666666666666" y="122" class="t-muted" font-size="7" text-anchor="middle">cache</text>
</g>
<g id="node-db" data-node-id="db" data-node-label="Postgres" tabindex="0" role="button" aria-label="Focus Postgres, source of truth, Sequence participant" aria-pressed="false" data-node-kind="database" data-node-sublabel="source of truth" data-node-context="Sequence participant">
<title>Postgres · source of truth · Sequence participant</title>
- <rect x="782.8333333333333" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="782.8333333333333" y="72" width="113" height="54" rx="6" class="c-database" data-animate="node" style="--step:5" stroke-width="1.5"/>
+ <rect x="782.8333333333333" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="782.8333333333333" y="72" width="113" height="60" rx="6" class="c-database" data-animate="node" style="--step:5" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(788.8333333333333 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="839.3333333333333" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Postgres</text>
- <text data-detail="context" x="839.3333333333333" y="111" class="t-muted" font-size="7" text-anchor="middle">source of truth</text>
+ <text data-node-label="" data-detail-anchor="" x="839.3333333333333" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Postgres</text>
+ <text data-detail="context" x="839.3333333333333" y="122" class="t-muted" font-size="7" text-anchor="middle">source of truth</text>
</g>
<g id="node-trace" data-node-id="trace" data-node-label="Trace" tabindex="0" role="button" aria-label="Focus Trace, async event, Sequence participant" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="async event" data-node-context="Sequence participant">
<title>Trace · async event · Sequence participant</title>
- <rect x="927" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="927" y="72" width="113" height="54" rx="6" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/>
+ <rect x="927" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="927" y="72" width="113" height="60" rx="6" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(933 78) scale(0.6875)">
<path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/>
<circle cx="5" cy="4.5" r="1" class="sigil-fill"/>
<circle cx="10.5" cy="8" r="1" class="sigil-fill"/>
<circle cx="7" cy="11.5" r="1" class="sigil-fill"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="983.5" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Trace</text>
- <text data-detail="context" x="983.5" y="111" class="t-muted" font-size="7" text-anchor="middle">async event</text>
+ <text data-node-label="" data-detail-anchor="" x="983.5" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Trace</text>
+ <text data-detail="context" x="983.5" y="122" class="t-muted" font-size="7" text-anchor="middle">async event</text>
</g>
<!-- Legend -->
diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.json
index 94c4a3e7..a7ec1a99 100644
--- a/docs/gallery/manifest.json
+++ b/docs/gallery/manifest.json
@@ -227,8 +227,8 @@
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 12,
- "artifactBytes": 814102,
- "artifactSha256": "1a38f34911db256a86962512fbd744ed6ec894750b91256a0ca41ca543921d0b",
+ "artifactBytes": 814109,
+ "artifactSha256": "3c3b2b908ff2ce205a52c258eee183d444e85eba191a6fde5dba3664cb08d8b1",
"sourceBytes": 4374,
"sourceSha256": "9a799a3661c16cd6ab4f6373ff6a04da95a9ab70d93b0a349b668466f4912fd7",
"checks": [
@@ -627,8 +627,8 @@
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 14,
- "artifactBytes": 813193,
- "artifactSha256": "33bf7ef66adc0a3e9bb40d4269c6cb3976445c44b3284e2763a68035ccfb9013",
+ "artifactBytes": 813200,
+ "artifactSha256": "3ad04964129eea603f94dbade6020f9399088993755f915c2d8ca506fff297e3",
"sourceBytes": 4370,
"sourceSha256": "545f20920c89b69c2bb1f15508d5543fddbeb15cffba61e102206e04bd5a5cd9",
"checks": [
diff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.html
index 7de50a1c..1e44a28c 100644
--- a/examples/sequence-cache-miss-request.html
+++ b/examples/sequence-cache-miss-request.html
@@ -5299,89 +5299,89 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Participants -->
<g id="node-user" data-node-id="user" data-node-label="User" tabindex="0" role="button" aria-label="Focus User, browser session, Sequence participant" aria-pressed="false" data-node-kind="external" data-node-sublabel="browser session" data-node-context="Sequence participant">
<title>User · browser session · Sequence participant</title>
- <rect x="62" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="62" y="72" width="113" height="54" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>
+ <rect x="62" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="62" y="72" width="113" height="60" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(68 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="118.5" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">User</text>
- <text data-detail="context" x="118.5" y="111" class="t-muted" font-size="7" text-anchor="middle">browser session</text>
+ <text data-node-label="" data-detail-anchor="" x="118.5" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">User</text>
+ <text data-detail="context" x="118.5" y="122" class="t-muted" font-size="7" text-anchor="middle">browser session</text>
</g>
<g id="node-web" data-node-id="web" data-node-label="Web App" tabindex="0" role="button" aria-label="Focus Web App, React UI, Sequence participant" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="React UI" data-node-context="Sequence participant">
<title>Web App · React UI · Sequence participant</title>
- <rect x="206.16666666666663" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="206.16666666666663" y="72" width="113" height="54" rx="6" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/>
+ <rect x="206.16666666666663" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="206.16666666666663" y="72" width="113" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(212.16666666666663 78) scale(0.6875)">
<rect x="2" y="3" width="12" height="10" rx="2"/>
<path d="M2 6.5h12"/>
<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-node-label="" data-detail-anchor="" x="262.66666666666663" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Web App</text>
- <text data-detail="context" x="262.66666666666663" y="111" class="t-muted" font-size="7" text-anchor="middle">React UI</text>
+ <text data-node-label="" data-detail-anchor="" x="262.66666666666663" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Web App</text>
+ <text data-detail="context" x="262.66666666666663" y="122" class="t-muted" font-size="7" text-anchor="middle">React UI</text>
</g>
<g id="node-api" data-node-id="api" data-node-label="API" tabindex="0" role="button" aria-label="Focus API, request handler, Sequence participant" aria-pressed="false" data-node-kind="backend" data-node-sublabel="request handler" data-node-context="Sequence participant">
<title>API · request handler · Sequence participant</title>
- <rect x="350.3333333333333" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="350.3333333333333" y="72" width="113" height="54" rx="6" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/>
+ <rect x="350.3333333333333" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="350.3333333333333" y="72" width="113" height="60" rx="6" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(356.3333333333333 78) scale(0.6875)">
<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="406.8333333333333" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">API</text>
- <text data-detail="context" x="406.8333333333333" y="111" class="t-muted" font-size="7" text-anchor="middle">request handler</text>
+ <text data-node-label="" data-detail-anchor="" x="406.8333333333333" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">API</text>
+ <text data-detail="context" x="406.8333333333333" y="122" class="t-muted" font-size="7" text-anchor="middle">request handler</text>
</g>
<g id="node-auth" data-node-id="auth" data-node-label="Auth" tabindex="0" role="button" aria-label="Focus Auth, JWT verify, Sequence participant" aria-pressed="false" data-node-kind="security" data-node-sublabel="JWT verify" data-node-context="Sequence participant">
<title>Auth · JWT verify · Sequence participant</title>
- <rect x="494.5" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="494.5" y="72" width="113" height="54" rx="6" class="c-security" data-animate="node" style="--step:3" stroke-width="1.5"/>
+ <rect x="494.5" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="494.5" y="72" width="113" height="60" rx="6" class="c-security" data-animate="node" style="--step:3" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="security" class="semantic-sigil s-security" transform="translate(500.5 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="551" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Auth</text>
- <text data-detail="context" x="551" y="111" class="t-muted" font-size="7" text-anchor="middle">JWT verify</text>
+ <text data-node-label="" data-detail-anchor="" x="551" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Auth</text>
+ <text data-detail="context" x="551" y="122" class="t-muted" font-size="7" text-anchor="middle">JWT verify</text>
</g>
<g id="node-redis" data-node-id="redis" data-node-label="Redis" tabindex="0" role="button" aria-label="Focus Redis, cache, Sequence participant" aria-pressed="false" data-node-kind="database" data-node-sublabel="cache" data-node-context="Sequence participant">
<title>Redis · cache · Sequence participant</title>
- <rect x="638.6666666666666" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="638.6666666666666" y="72" width="113" height="54" rx="6" class="c-database" data-animate="node" style="--step:4" stroke-width="1.5"/>
+ <rect x="638.6666666666666" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="638.6666666666666" y="72" width="113" height="60" rx="6" class="c-database" data-animate="node" style="--step:4" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(644.6666666666666 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="695.1666666666666" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Redis</text>
- <text data-detail="context" x="695.1666666666666" y="111" class="t-muted" font-size="7" text-anchor="middle">cache</text>
+ <text data-node-label="" data-detail-anchor="" x="695.1666666666666" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Redis</text>
+ <text data-detail="context" x="695.1666666666666" y="122" class="t-muted" font-size="7" text-anchor="middle">cache</text>
</g>
<g id="node-db" data-node-id="db" data-node-label="Postgres" tabindex="0" role="button" aria-label="Focus Postgres, source of truth, Sequence participant" aria-pressed="false" data-node-kind="database" data-node-sublabel="source of truth" data-node-context="Sequence participant">
<title>Postgres · source of truth · Sequence participant</title>
- <rect x="782.8333333333333" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="782.8333333333333" y="72" width="113" height="54" rx="6" class="c-database" data-animate="node" style="--step:5" stroke-width="1.5"/>
+ <rect x="782.8333333333333" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="782.8333333333333" y="72" width="113" height="60" rx="6" class="c-database" data-animate="node" style="--step:5" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(788.8333333333333 78) scale(0.6875)">
<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-node-label="" data-detail-anchor="" x="839.3333333333333" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Postgres</text>
- <text data-detail="context" x="839.3333333333333" y="111" class="t-muted" font-size="7" text-anchor="middle">source of truth</text>
+ <text data-node-label="" data-detail-anchor="" x="839.3333333333333" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Postgres</text>
+ <text data-detail="context" x="839.3333333333333" y="122" class="t-muted" font-size="7" text-anchor="middle">source of truth</text>
</g>
<g id="node-trace" data-node-id="trace" data-node-label="Trace" tabindex="0" role="button" aria-label="Focus Trace, async event, Sequence participant" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="async event" data-node-context="Sequence participant">
<title>Trace · async event · Sequence participant</title>
- <rect x="927" y="72" width="113" height="54" rx="6" class="c-mask"/>
- <rect x="927" y="72" width="113" height="54" rx="6" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/>
+ <rect x="927" y="72" width="113" height="60" rx="6" class="c-mask"/>
+ <rect x="927" y="72" width="113" height="60" rx="6" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/>
<g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(933 78) scale(0.6875)">
<path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/>
<circle cx="5" cy="4.5" r="1" class="sigil-fill"/>
<circle cx="10.5" cy="8" r="1" class="sigil-fill"/>
<circle cx="7" cy="11.5" r="1" class="sigil-fill"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="983.5" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Trace</text>
- <text data-detail="context" x="983.5" y="111" class="t-muted" font-size="7" text-anchor="middle">async event</text>
+ <text data-node-label="" data-detail-anchor="" x="983.5" y="108" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Trace</text>
+ <text data-detail="context" x="983.5" y="122" class="t-muted" font-size="7" text-anchor="middle">async event</text>
</g>
<!-- Legend -->