Skip to content

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

fix: keep packaged examples within desktop reader (#325)

zhouyuanxinand7ce87eff8e43
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 73a5e0d7..09b41142 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -45,7 +45,7 @@ jobs:
working-directory: archify
env:
ARCHIFY_CHROME: ${{ steps.setup-chrome.outputs.chrome-path }}
- - name: Verify the real 1440x900 adaptive reader remains readable
+ - name: Verify packaged examples and the adaptive reader in a real browser
run: node --test test/desktop-reader-browser.test.mjs
working-directory: archify
env:
diff --git a/archify.zip b/archify.zip
index c3c689e0..9d9d625d 100644
Binary files a/archify.zip and b/archify.zip differ
diff --git a/archify/examples/agent-run.lifecycle.json b/archify/examples/agent-run.lifecycle.json
index 329208b4..fc1deb87 100644
--- a/archify/examples/agent-run.lifecycle.json
+++ b/archify/examples/agent-run.lifecycle.json
@@ -4,7 +4,7 @@
"meta": {
"title": "Agent Run Lifecycle",
"output": "examples/lifecycle-agent-run.html",
- "viewBox": [980, 660],
+ "viewBox": [1030, 630],
"animation": "trace",
"quality_profile": "showcase",
"views": [
@@ -42,29 +42,18 @@
"cards": [
{
"dot": "emerald",
- "title": "Main Path",
+ "title": "Main Path + Waits",
"items": [
"The run has five ordered phases from queue to completion",
- "The primary lifecycle is carried by one horizontal rail",
- "Completion is a phase, not a detached side box"
- ]
- },
- {
- "dot": "amber",
- "title": "Human + Input Gates",
- "items": [
- "Approval pauses execution without ending the run",
- "Blocked waits for missing user input",
- "Wait states remain non-terminal until cancellation or expiry"
+ "Approval and missing input pause the run without ending it"
]
},
{
"dot": "rose",
- "title": "Terminal + Recovery",
+ "title": "Recovery + Terminal Exits",
"items": [
"Failed loops back while retry budget remains",
- "Cancelled and Expired are exits from the lifecycle",
- "Terminal exits do not point back into active execution"
+ "Cancelled and Expired are terminal exits with no return path"
]
}
]
diff --git a/archify/examples/cache-miss-request.sequence.json b/archify/examples/cache-miss-request.sequence.json
index 3a5d502f..f3247780 100644
--- a/archify/examples/cache-miss-request.sequence.json
+++ b/archify/examples/cache-miss-request.sequence.json
@@ -4,7 +4,8 @@
"meta": {
"title": "Cache Miss Request Sequence",
"output": "examples/sequence-cache-miss-request.html",
- "viewBox": [820, 760],
+ "viewBox": [1080, 560],
+ "column_fit": "spread",
"animation": "trace",
"quality_profile": "showcase",
"views": [
@@ -23,31 +24,31 @@
{ "id": "trace", "type": "messagebus", "label": "Trace", "sublabel": "async event" }
],
"segments": [
- { "from": 150, "to": 295, "label": "Request" },
- { "from": 315, "to": 505, "label": "Fallback" },
- { "from": 525, "to": 665, "label": "Response + trace" }
+ { "from": 150, "to": 250, "label": "Request" },
+ { "from": 260, "to": 370, "label": "Fallback" },
+ { "from": 380, "to": 480, "label": "Response + trace" }
],
"messages": [
- { "id": "open-page", "from": "user", "to": "web", "y": 185, "label": "open page", "variant": "default" },
- { "id": "dashboard-request", "from": "web", "to": "api", "y": 228, "label": "GET /dashboard", "variant": "emphasis" },
- { "id": "verify-jwt", "from": "api", "to": "auth", "y": 270, "label": "verify JWT", "variant": "security" },
- { "id": "auth-claims", "from": "auth", "to": "api", "y": 305, "label": "claims ok", "variant": "return" },
- { "id": "cache-read", "from": "api", "to": "redis", "y": 354, "label": "read cache", "variant": "default" },
- { "id": "cache-miss", "from": "redis", "to": "api", "y": 391, "label": "miss", "variant": "return" },
- { "id": "profile-query", "from": "api", "to": "db", "y": 443, "label": "query profile + metrics", "variant": "emphasis" },
- { "id": "profile-rows", "from": "db", "to": "api", "y": 489, "label": "rows", "variant": "return" },
- { "id": "cache-write", "from": "api", "to": "redis", "y": 536, "label": "set cache", "variant": "dashed" },
- { "id": "trace-emit", "from": "api", "to": "trace", "y": 580, "label": "emit trace", "variant": "dashed" },
- { "id": "dashboard-response", "from": "api", "to": "web", "y": 625, "label": "200 JSON", "variant": "return" },
- { "id": "page-render", "from": "web", "to": "user", "y": 662, "label": "render", "variant": "return" }
+ { "id": "open-page", "from": "user", "to": "web", "y": 160, "label": "open page", "variant": "default" },
+ { "id": "dashboard-request", "from": "web", "to": "api", "y": 185, "label": "GET /dashboard", "variant": "emphasis" },
+ { "id": "verify-jwt", "from": "api", "to": "auth", "y": 210, "label": "verify JWT", "variant": "security" },
+ { "id": "auth-claims", "from": "auth", "to": "api", "y": 238, "label": "claims ok", "variant": "return" },
+ { "id": "cache-read", "from": "api", "to": "redis", "y": 270, "label": "read cache", "variant": "default" },
+ { "id": "cache-miss", "from": "redis", "to": "api", "y": 298, "label": "miss", "variant": "return" },
+ { "id": "profile-query", "from": "api", "to": "db", "y": 330, "label": "query profile + metrics", "variant": "emphasis" },
+ { "id": "profile-rows", "from": "db", "to": "api", "y": 358, "label": "rows", "variant": "return" },
+ { "id": "cache-write", "from": "api", "to": "redis", "y": 390, "label": "set cache", "variant": "dashed" },
+ { "id": "trace-emit", "from": "api", "to": "trace", "y": 418, "label": "emit trace", "variant": "dashed" },
+ { "id": "dashboard-response", "from": "api", "to": "web", "y": 443, "label": "200 JSON", "variant": "return" },
+ { "id": "page-render", "from": "web", "to": "user", "y": 468, "label": "render", "variant": "return" }
],
"activations": [
- { "participant": "web", "from": 220, "to": 668, "type": "frontend" },
- { "participant": "api", "from": 228, "to": 632, "type": "backend" },
- { "participant": "auth", "from": 265, "to": 310, "type": "security" },
- { "participant": "redis", "from": 349, "to": 398, "type": "database" },
- { "participant": "db", "from": 438, "to": 496, "type": "database" },
- { "participant": "trace", "from": 575, "to": 630, "type": "messagebus" }
+ { "participant": "web", "from": 180, "to": 474, "type": "frontend" },
+ { "participant": "api", "from": 185, "to": 450, "type": "backend" },
+ { "participant": "auth", "from": 205, "to": 244, "type": "security" },
+ { "participant": "redis", "from": 265, "to": 304, "type": "database" },
+ { "participant": "db", "from": 325, "to": 364, "type": "database" },
+ { "participant": "trace", "from": 413, "to": 449, "type": "messagebus" }
],
"cards": [
{
diff --git a/archify/examples/dataflow-product-analytics.html b/archify/examples/dataflow-product-analytics.html
index e56dd1bb..aba746d0 100644
--- a/archify/examples/dataflow-product-analytics.html
+++ b/archify/examples/dataflow-product-analytics.html
@@ -5004,7 +5004,7 @@
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 1080 760" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
+ <svg viewBox="0 0 1080 520" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
<title id="archify-diagram-title">Product Analytics Data Flow</title>
<desc id="archify-diagram-description">A data-flow diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5030,19 +5030,19 @@
<rect width="100%" height="100%" fill="url(#grid)" />
<!-- Data Stages -->
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="0" x="16" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="0" x="16" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="100" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">01 / Sources</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="1" x="231" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="1" x="231" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="315" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">02 / Ingest</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="2" x="446" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="2" x="446" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="530" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">03 / Process</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="3" x="661" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="3" x="661" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="745" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">04 / Store</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="4" x="876" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="4" x="876" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="960" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">05 / Consume</text>
<!-- Flow paths -->
@@ -5051,11 +5051,11 @@
<path data-edge-from="edge" data-edge-to="consent" data-edge-label="identity + consent" data-edge-key="2" data-edge-id="consent-enrichment" data-composition-points="315,242;315,112;450,112;450,157;474,157" d="M 315 242 L 315 112 L 450 112 L 450 157 L 474 157" class="a-security" data-animate="edge" style="--step:2" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
<path data-edge-from="edge" data-edge-to="stream" data-edge-label="accepted events" data-edge-key="3" data-edge-id="accepted-events" data-composition-points="371,271;420,271;420,385;474,385" d="M 371 271 L 420 271 L 420 385 L 474 385" class="a-emphasis" data-animate="edge" style="--step:3" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
<path data-edge-from="consent" data-edge-to="pii" data-edge-label="identity map" data-edge-key="4" data-edge-id="identity-map" data-composition-points="586,157;689,157" d="M 586 157 L 689 157" class="a-security" data-animate="edge" style="--step:4" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
- <path data-edge-from="stream" data-edge-to="warehouse" data-edge-label="normalized facts" data-edge-key="5" data-edge-id="normalized-facts" data-composition-points="586,385;689,385" d="M 586 385 L 689 385" class="a-emphasis" data-animate="edge" style="--step:5" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <path data-edge-from="warehouse" data-edge-to="features" data-edge-label="daily aggregates" data-edge-key="6" data-edge-id="daily-aggregates" data-composition-points="745,414;745,584" d="M 745 414 L 745 584" class="a-dashed" data-animate="edge" style="--step:6" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="warehouse" data-edge-to="dashboard" data-edge-label="metrics SQL" data-edge-key="7" data-edge-id="metrics-query" data-composition-points="801,385;852,385;852,271;904,271" d="M 801 385 L 852 385 L 852 271 L 904 271" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" marker-end="url(#arrowhead)"/>
- <path data-edge-from="features" data-edge-to="model" data-edge-label="feature vectors" data-edge-key="8" data-edge-id="feature-vectors" data-composition-points="801,613;904,613" d="M 801 613 L 904 613" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="pii" data-edge-to="dashboard" data-edge-label="restricted join" data-edge-key="9" data-edge-id="restricted-join" data-composition-points="801,157;878,157;878,212;960,212;960,242" d="M 801 157 L 878 157 L 878 212 L 960 212 L 960 242" class="a-security" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <path data-edge-from="stream" data-edge-to="warehouse" data-edge-label="normalized facts" data-edge-key="5" data-edge-id="normalized-facts" data-composition-points="586,385;638,385;638,271;689,271" d="M 586 385 L 638 385 L 638 271 L 689 271" class="a-emphasis" data-animate="edge" style="--step:5" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <path data-edge-from="warehouse" data-edge-to="features" data-edge-label="daily aggregates" data-edge-key="6" data-edge-id="daily-aggregates" data-composition-points="745,300;745,356" d="M 745 300 L 745 356" class="a-dashed" data-animate="edge" style="--step:6" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-edge-from="warehouse" data-edge-to="dashboard" data-edge-label="metrics SQL" data-edge-key="7" data-edge-id="metrics-query" data-composition-points="801,271;852,271;960,271;960,186" d="M 801 271 L 852 271 L 960 271 L 960 186" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <path data-edge-from="features" data-edge-to="model" data-edge-label="feature vectors" data-edge-key="8" data-edge-id="feature-vectors" data-composition-points="801,385;904,385" d="M 801 385 L 904 385" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-edge-from="pii" data-edge-to="dashboard" data-edge-label="restricted join" data-edge-key="9" data-edge-id="restricted-join" data-composition-points="801,157;904,157" d="M 801 157 L 904 157" class="a-security" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
<!-- Nodes -->
<g id="node-web" data-node-id="web" data-node-label="Web App" tabindex="0" role="button" aria-label="Focus Web App, browser SDK, 01 / Sources" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="browser SDK" data-node-tag="events" data-node-context="01 / Sources">
@@ -5143,52 +5143,52 @@
<g id="node-warehouse" data-node-id="warehouse" data-node-label="Warehouse" tabindex="0" role="button" aria-label="Focus Warehouse, analytics tables, 04 / Store" aria-pressed="false" data-node-kind="database" data-node-sublabel="analytics tables" data-node-tag="curated" data-node-context="04 / Store">
<title>Warehouse · analytics tables · 04 / Store · curated</title>
- <rect x="689" y="356" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="689" y="356" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:6" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 362) scale(0.6875)">
+ <rect x="689" y="242" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="689" y="242" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:6" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 248) 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="745" y="377" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Warehouse</text>
- <text data-detail="context" x="745" y="393" class="t-muted" font-size="7" text-anchor="middle">analytics tables</text>
- <text data-detail="fine" x="745" y="403" class="t-database" font-size="7" text-anchor="middle">curated</text>
+ <text data-node-label="" data-detail-anchor="" x="745" y="263" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Warehouse</text>
+ <text data-detail="context" x="745" y="279" class="t-muted" font-size="7" text-anchor="middle">analytics tables</text>
+ <text data-detail="fine" x="745" y="289" class="t-database" font-size="7" text-anchor="middle">curated</text>
</g>
<g id="node-features" data-node-id="features" data-node-label="Feature Store" tabindex="0" role="button" aria-label="Focus Feature Store, daily batch, 04 / Store" aria-pressed="false" data-node-kind="database" data-node-sublabel="daily batch" data-node-tag="derived" data-node-context="04 / Store">
<title>Feature Store · daily batch · 04 / Store · derived</title>
- <rect x="689" y="584" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="689" y="584" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:7" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 590) scale(0.6875)">
+ <rect x="689" y="356" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="689" y="356" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:7" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 362) 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="745" y="605" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Feature Store</text>
- <text data-detail="context" x="745" y="621" class="t-muted" font-size="7" text-anchor="middle">daily batch</text>
- <text data-detail="fine" x="745" y="631" class="t-database" font-size="7" text-anchor="middle">derived</text>
+ <text data-node-label="" data-detail-anchor="" x="745" y="377" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Feature Store</text>
+ <text data-detail="context" x="745" y="393" class="t-muted" font-size="7" text-anchor="middle">daily batch</text>
+ <text data-detail="fine" x="745" y="403" class="t-database" font-size="7" text-anchor="middle">derived</text>
</g>
<g id="node-dashboard" data-node-id="dashboard" data-node-label="Dashboards" tabindex="0" role="button" aria-label="Focus Dashboards, product metrics, 05 / Consume" aria-pressed="false" data-node-kind="backend" data-node-sublabel="product metrics" data-node-tag="SQL" data-node-context="05 / Consume">
<title>Dashboards · product metrics · 05 / Consume · SQL</title>
- <rect x="904" y="242" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="904" y="242" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:8" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 248) scale(0.6875)">
+ <rect x="904" y="128" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="904" y="128" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:8" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 134) scale(0.6875)">
<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="960" y="263" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Dashboards</text>
- <text data-detail="context" x="960" y="279" class="t-muted" font-size="7" text-anchor="middle">product metrics</text>
- <text data-detail="fine" x="960" y="289" class="t-backend" font-size="7" text-anchor="middle">SQL</text>
+ <text data-node-label="" data-detail-anchor="" x="960" y="149" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Dashboards</text>
+ <text data-detail="context" x="960" y="165" class="t-muted" font-size="7" text-anchor="middle">product metrics</text>
+ <text data-detail="fine" x="960" y="175" class="t-backend" font-size="7" text-anchor="middle">SQL</text>
</g>
<g id="node-model" data-node-id="model" data-node-label="ML Model" tabindex="0" role="button" aria-label="Focus ML Model, ranking job, 05 / Consume" aria-pressed="false" data-node-kind="backend" data-node-sublabel="ranking job" data-node-tag="features" data-node-context="05 / Consume">
<title>ML Model · ranking job · 05 / Consume · features</title>
- <rect x="904" y="584" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="904" y="584" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:9" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 590) scale(0.6875)">
+ <rect x="904" y="356" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="904" y="356" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:9" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 362) scale(0.6875)">
<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="960" y="605" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">ML Model</text>
- <text data-detail="context" x="960" y="621" class="t-muted" font-size="7" text-anchor="middle">ranking job</text>
- <text data-detail="fine" x="960" y="631" class="t-backend" font-size="7" text-anchor="middle">features</text>
+ <text data-node-label="" data-detail-anchor="" x="960" y="377" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">ML Model</text>
+ <text data-detail="context" x="960" y="393" class="t-muted" font-size="7" text-anchor="middle">ranking job</text>
+ <text data-detail="fine" x="960" y="403" class="t-backend" font-size="7" text-anchor="middle">features</text>
</g>
<!-- Flow labels -->
@@ -5218,53 +5218,53 @@
<text data-detail="fine" x="638" y="155" class="t-dim" font-size="7" text-anchor="middle">encrypted PII</text>
</g>
<g data-detail="context" data-edge-from="stream" data-edge-to="warehouse" data-edge-label="normalized facts" data-edge-key="5" data-edge-id="normalized-facts">
- <rect x="592.8" y="361" width="90.4" height="27" rx="4" class="c-mask"/>
- <text x="638" y="372" class="t-backend" font-size="8" text-anchor="middle">normalized facts</text>
- <text data-detail="fine" x="638" y="383" class="t-dim" font-size="7" text-anchor="middle">non-PII</text>
+ <rect x="592.8" y="315" width="90.4" height="27" rx="4" class="c-mask"/>
+ <text x="638" y="326" class="t-backend" font-size="8" text-anchor="middle">normalized facts</text>
+ <text data-detail="fine" x="638" y="337" class="t-dim" font-size="7" text-anchor="middle">non-PII</text>
</g>
<g data-detail="context" data-edge-from="warehouse" data-edge-to="features" data-edge-label="daily aggregates" data-edge-key="6" data-edge-id="daily-aggregates">
- <rect x="699.8" y="485" width="90.4" height="27" rx="4" class="c-mask"/>
- <text x="745" y="496" class="t-messagebus" font-size="8" text-anchor="middle">daily aggregates</text>
- <text data-detail="fine" x="745" y="507" class="t-dim" font-size="7" text-anchor="middle">batch</text>
+ <rect x="699.8" y="315" width="90.4" height="27" rx="4" class="c-mask"/>
+ <text x="745" y="326" class="t-messagebus" font-size="8" text-anchor="middle">daily aggregates</text>
+ <text data-detail="fine" x="745" y="337" class="t-dim" font-size="7" text-anchor="middle">batch</text>
</g>
<g data-detail="context" data-edge-from="warehouse" data-edge-to="dashboard" data-edge-label="metrics SQL" data-edge-key="7" data-edge-id="metrics-query">
- <rect x="797.05" y="315" width="65.9" height="27" rx="4" class="c-mask"/>
- <text x="830" y="326" class="t-muted" font-size="8" text-anchor="middle">metrics SQL</text>
- <text data-detail="fine" x="830" y="337" class="t-dim" font-size="7" text-anchor="middle">read-only</text>
+ <rect x="843.05" y="247" width="65.9" height="27" rx="4" class="c-mask"/>
+ <text x="876" y="258" class="t-muted" font-size="8" text-anchor="middle">metrics SQL</text>
+ <text data-detail="fine" x="876" y="269" class="t-dim" font-size="7" text-anchor="middle">read-only</text>
</g>
<g data-detail="context" data-edge-from="features" data-edge-to="model" data-edge-label="feature vectors" data-edge-key="8" data-edge-id="feature-vectors">
- <rect x="809.25" y="587" width="85.5" height="27" rx="4" class="c-mask"/>
- <text x="852" y="598" class="t-messagebus" font-size="8" text-anchor="middle">feature vectors</text>
- <text data-detail="fine" x="852" y="609" class="t-dim" font-size="7" text-anchor="middle">derived</text>
+ <rect x="809.25" y="361" width="85.5" height="27" rx="4" class="c-mask"/>
+ <text x="852" y="372" class="t-messagebus" font-size="8" text-anchor="middle">feature vectors</text>
+ <text data-detail="fine" x="852" y="383" class="t-dim" font-size="7" text-anchor="middle">derived</text>
</g>
<g data-detail="context" data-edge-from="pii" data-edge-to="dashboard" data-edge-label="restricted join" data-edge-key="9" data-edge-id="restricted-join">
- <rect x="837.25" y="187" width="85.5" height="27" rx="4" class="c-mask"/>
- <text x="880" y="198" class="t-security" font-size="8" text-anchor="middle">restricted join</text>
- <text data-detail="fine" x="880" y="209" class="t-dim" font-size="7" text-anchor="middle">approved only</text>
+ <rect x="809.25" y="133" width="85.5" height="27" rx="4" class="c-mask"/>
+ <text x="852" y="144" class="t-security" font-size="8" text-anchor="middle">restricted join</text>
+ <text data-detail="fine" x="852" y="155" class="t-dim" font-size="7" text-anchor="middle">approved only</text>
</g>
<!-- Legend -->
<g data-legend="" data-legend-bridge="">
- <text x="40" y="704" class="t-primary" font-size="12" font-weight="650">Legend</text>
- <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="724" data-legend-width="103">
- <path d="M 40 721 L 74 721" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <text x="83" y="724" class="t-muted" font-size="10" font-weight="500">primary data</text>
+ <text x="40" y="464" class="t-primary" font-size="12" font-weight="650">Legend</text>
+ <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="484" data-legend-width="103">
+ <path d="M 40 481 L 74 481" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <text x="83" y="484" class="t-muted" font-size="10" font-weight="500">primary data</text>
</g>
- <g data-legend-semantic-kind="security" data-legend-x="165" data-legend-baseline="724" data-legend-width="103">
- <path d="M 165 721 L 199 721" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
- <text x="208" y="724" class="t-muted" font-size="10" font-weight="500">policy / PII</text>
+ <g data-legend-semantic-kind="security" data-legend-x="165" data-legend-baseline="484" data-legend-width="103">
+ <path d="M 165 481 L 199 481" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <text x="208" y="484" class="t-muted" font-size="10" font-weight="500">policy / PII</text>
</g>
- <g data-legend-semantic-kind="dashed" data-legend-x="290" data-legend-baseline="724" data-legend-width="98">
- <path d="M 290 721 L 324 721" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <text x="333" y="724" class="t-muted" font-size="10" font-weight="500">async batch</text>
+ <g data-legend-semantic-kind="dashed" data-legend-x="290" data-legend-baseline="484" data-legend-width="98">
+ <path d="M 290 481 L 324 481" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <text x="333" y="484" class="t-muted" font-size="10" font-weight="500">async batch</text>
</g>
- <g data-legend-semantic-kind="database" data-legend-kind="database" data-legend-label="data store" data-legend-x="410" data-legend-baseline="724" data-legend-width="93">
- <rect x="410" y="716" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
- <text x="432" y="724" class="t-muted" font-size="10" font-weight="500">data store</text>
+ <g data-legend-semantic-kind="database" data-legend-kind="database" data-legend-label="data store" data-legend-x="410" data-legend-baseline="484" data-legend-width="93">
+ <rect x="410" y="476" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
+ <text x="432" y="484" class="t-muted" font-size="10" font-weight="500">data store</text>
</g>
- <g data-legend-semantic-kind="default" data-legend-x="525" data-legend-baseline="724" data-legend-width="88">
- <path d="M 525 721 L 559 721" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
- <text x="568" y="724" class="t-muted" font-size="10" font-weight="500">data flow</text>
+ <g data-legend-semantic-kind="default" data-legend-x="525" data-legend-baseline="484" data-legend-width="88">
+ <path d="M 525 481 L 559 481" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <text x="568" y="484" class="t-muted" font-size="10" font-weight="500">data flow</text>
</g>
</g>
</svg>
diff --git a/archify/examples/lifecycle-agent-run.html b/archify/examples/lifecycle-agent-run.html
index 141719b5..8ac220e6 100644
--- a/archify/examples/lifecycle-agent-run.html
+++ b/archify/examples/lifecycle-agent-run.html
@@ -5004,7 +5004,7 @@
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 980 660" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
+ <svg viewBox="0 0 1030 630" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
<title id="archify-diagram-title">Agent Run Lifecycle</title>
<desc id="archify-diagram-description">A lifecycle diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5030,11 +5030,11 @@
<rect width="100%" height="100%" fill="url(#grid)" />
<!-- Lifecycle bands -->
- <path d="M 72 112 L 908 112" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
+ <path d="M 72 112 L 958 112" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
<text x="72" y="100" class="t-dim" font-size="10" font-weight="600">01 / Lifecycle phases</text>
- <path d="M 72 264 L 908 264" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
+ <path d="M 72 264 L 958 264" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
<text x="72" y="252" class="t-dim" font-size="10" font-weight="600">02 / Interruptions + Recovery loop</text>
- <path d="M 72 436 L 908 436" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
+ <path d="M 72 436 L 958 436" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
<text x="72" y="424" class="t-dim" font-size="10" font-weight="600">03 / Terminal exits</text>
<!-- Primary lifecycle rail -->
@@ -5190,30 +5190,30 @@
<!-- Legend -->
<g data-legend="" data-legend-bridge="">
- <text x="40" y="604" class="t-primary" font-size="12" font-weight="650">Legend</text>
- <g data-legend-semantic-kind="start" data-legend-kind="start" data-legend-label="start" data-legend-x="40" data-legend-baseline="624" data-legend-width="68">
- <rect x="40" y="616" width="14" height="9" rx="2" class="c-frontend" stroke-width="1"/>
- <text x="62" y="624" class="t-muted" font-size="10" font-weight="500">start</text>
+ <text x="40" y="574" class="t-primary" font-size="12" font-weight="650">Legend</text>
+ <g data-legend-semantic-kind="start" data-legend-kind="start" data-legend-label="start" data-legend-x="40" data-legend-baseline="594" data-legend-width="68">
+ <rect x="40" y="586" width="14" height="9" rx="2" class="c-frontend" stroke-width="1"/>
+ <text x="62" y="594" class="t-muted" font-size="10" font-weight="500">start</text>
</g>
- <g data-legend-semantic-kind="active" data-legend-kind="active" data-legend-label="active state" data-legend-x="130" data-legend-baseline="624" data-legend-width="103">
- <rect x="130" y="616" width="14" height="9" rx="2" class="c-backend" stroke-width="1"/>
- <text x="152" y="624" class="t-muted" font-size="10" font-weight="500">active state</text>
+ <g data-legend-semantic-kind="active" data-legend-kind="active" data-legend-label="active state" data-legend-x="130" data-legend-baseline="594" data-legend-width="103">
+ <rect x="130" y="586" width="14" height="9" rx="2" class="c-backend" stroke-width="1"/>
+ <text x="152" y="594" class="t-muted" font-size="10" font-weight="500">active state</text>
</g>
- <g data-legend-semantic-kind="waiting" data-legend-kind="waiting" data-legend-label="waiting" data-legend-x="255" data-legend-baseline="624" data-legend-width="78">
- <rect x="255" y="616" width="14" height="9" rx="2" class="c-cloud" stroke-width="1"/>
- <text x="277" y="624" class="t-muted" font-size="10" font-weight="500">waiting</text>
+ <g data-legend-semantic-kind="waiting" data-legend-kind="waiting" data-legend-label="waiting" data-legend-x="255" data-legend-baseline="594" data-legend-width="78">
+ <rect x="255" y="586" width="14" height="9" rx="2" class="c-cloud" stroke-width="1"/>
+ <text x="277" y="594" class="t-muted" font-size="10" font-weight="500">waiting</text>
</g>
- <g data-legend-semantic-kind="decision" data-legend-kind="decision" data-legend-label="decision" data-legend-x="355" data-legend-baseline="624" data-legend-width="83">
- <rect x="355" y="616" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
- <text x="377" y="624" class="t-muted" font-size="10" font-weight="500">decision</text>
+ <g data-legend-semantic-kind="decision" data-legend-kind="decision" data-legend-label="decision" data-legend-x="355" data-legend-baseline="594" data-legend-width="83">
+ <rect x="355" y="586" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
+ <text x="377" y="594" class="t-muted" font-size="10" font-weight="500">decision</text>
</g>
- <g data-legend-semantic-kind="success" data-legend-kind="success" data-legend-label="terminal success" data-legend-x="460" data-legend-baseline="624" data-legend-width="123">
- <rect x="460" y="616" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
- <text x="482" y="624" class="t-muted" font-size="10" font-weight="500">terminal success</text>
+ <g data-legend-semantic-kind="success" data-legend-kind="success" data-legend-label="terminal success" data-legend-x="460" data-legend-baseline="594" data-legend-width="123">
+ <rect x="460" y="586" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
+ <text x="482" y="594" class="t-muted" font-size="10" font-weight="500">terminal success</text>
</g>
- <g data-legend-semantic-kind="failure" data-legend-kind="failure" data-legend-label="failure / exit" data-legend-x="605" data-legend-baseline="624" data-legend-width="113">
- <rect x="605" y="616" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
- <text x="627" y="624" class="t-muted" font-size="10" font-weight="500">failure / exit</text>
+ <g data-legend-semantic-kind="failure" data-legend-kind="failure" data-legend-label="failure / exit" data-legend-x="605" data-legend-baseline="594" data-legend-width="113">
+ <rect x="605" y="586" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
+ <text x="627" y="594" class="t-muted" font-size="10" font-weight="500">failure / exit</text>
</g>
</g>
</svg>
@@ -5405,36 +5405,22 @@
<div class="card">
<div class="card-header">
<div class="card-dot emerald"></div>
- <h3>Main Path</h3>
+ <h3>Main Path + Waits</h3>
</div>
<ul>
<li>&bull; The run has five ordered phases from queue to completion</li>
- <li>&bull; The primary lifecycle is carried by one horizontal rail</li>
- <li>&bull; Completion is a phase, not a detached side box</li>
- </ul>
- </div>
-
- <div class="card">
- <div class="card-header">
- <div class="card-dot amber"></div>
- <h3>Human + Input Gates</h3>
- </div>
- <ul>
- <li>&bull; Approval pauses execution without ending the run</li>
- <li>&bull; Blocked waits for missing user input</li>
- <li>&bull; Wait states remain non-terminal until cancellation or expiry</li>
+ <li>&bull; Approval and missing input pause the run without ending it</li>
</ul>
</div>
<div class="card">
<div class="card-header">
<div class="card-dot rose"></div>
- <h3>Terminal + Recovery</h3>
+ <h3>Recovery + Terminal Exits</h3>
</div>
<ul>
<li>&bull; Failed loops back while retry budget remains</li>
- <li>&bull; Cancelled and Expired are exits from the lifecycle</li>
- <li>&bull; Terminal exits do not point back into active execution</li>
+ <li>&bull; Cancelled and Expired are terminal exits with no return path</li>
</ul>
</div>
</div>
diff --git a/archify/examples/product-analytics.dataflow.json b/archify/examples/product-analytics.dataflow.json
index 57270cf1..62a50d91 100644
--- a/archify/examples/product-analytics.dataflow.json
+++ b/archify/examples/product-analytics.dataflow.json
@@ -4,7 +4,7 @@
"meta": {
"title": "Product Analytics Data Flow",
"output": "examples/dataflow-product-analytics.html",
- "viewBox": [1080, 760],
+ "viewBox": [1080, 520],
"animation": "trace",
"quality_profile": "showcase",
"views": [
@@ -27,10 +27,10 @@
{ "id": "consent", "type": "security", "label": "Consent Gate", "sublabel": "policy filter", "stage": 2, "row": 0, "tag": "PII guard" },
{ "id": "stream", "type": "messagebus", "label": "Event Stream", "sublabel": "Kafka topic", "stage": 2, "row": 2, "tag": "ordered" },
{ "id": "pii", "type": "security", "label": "PII Vault", "sublabel": "encrypted", "stage": 3, "row": 0, "tag": "restricted" },
- { "id": "warehouse", "type": "database", "label": "Warehouse", "sublabel": "analytics tables", "stage": 3, "row": 2, "tag": "curated" },
- { "id": "features", "type": "database", "label": "Feature Store", "sublabel": "daily batch", "stage": 3, "row": 4, "tag": "derived" },
- { "id": "dashboard", "type": "backend", "label": "Dashboards", "sublabel": "product metrics", "stage": 4, "row": 1, "tag": "SQL" },
- { "id": "model", "type": "backend", "label": "ML Model", "sublabel": "ranking job", "stage": 4, "row": 4, "tag": "features" }
+ { "id": "warehouse", "type": "database", "label": "Warehouse", "sublabel": "analytics tables", "stage": 3, "row": 1, "tag": "curated" },
+ { "id": "features", "type": "database", "label": "Feature Store", "sublabel": "daily batch", "stage": 3, "row": 2, "tag": "derived" },
+ { "id": "dashboard", "type": "backend", "label": "Dashboards", "sublabel": "product metrics", "stage": 4, "row": 0, "tag": "SQL" },
+ { "id": "model", "type": "backend", "label": "ML Model", "sublabel": "ranking job", "stage": 4, "row": 2, "tag": "features" }
],
"flows": [
{ "id": "web-clickstream", "from": "web", "to": "edge", "label": "clickstream", "classification": "user events", "variant": "emphasis", "fromSide": "right", "toSide": "left", "via": [[205, 157], [205, 271]], "labelAt": [204, 190] },
@@ -38,11 +38,11 @@
{ "id": "consent-enrichment", "from": "edge", "to": "consent", "label": "identity + consent", "classification": "PII touch", "variant": "security", "fromSide": "top", "toSide": "left", "via": [[315, 112], [450, 112], [450, 157]], "labelAt": [382, 100] },
{ "id": "accepted-events", "from": "edge", "to": "stream", "label": "accepted events", "classification": "append-only", "variant": "emphasis", "fromSide": "right", "toSide": "left", "via": [[420, 271], [420, 385]], "labelAt": [438, 324] },
{ "id": "identity-map", "from": "consent", "to": "pii", "label": "identity map", "classification": "encrypted PII", "variant": "security", "route": "straight", "labelAt": [638, 144] },
- { "id": "normalized-facts", "from": "stream", "to": "warehouse", "label": "normalized facts", "classification": "non-PII", "variant": "emphasis", "route": "straight", "labelAt": [638, 372] },
- { "id": "daily-aggregates", "from": "warehouse", "to": "features", "label": "daily aggregates", "classification": "batch", "variant": "dashed", "fromSide": "bottom", "toSide": "top", "route": "straight", "labelAt": [745, 496] },
- { "id": "metrics-query", "from": "warehouse", "to": "dashboard", "label": "metrics SQL", "classification": "read-only", "variant": "default", "fromSide": "right", "toSide": "left", "via": [[852, 385], [852, 271]], "labelAt": [830, 326] },
- { "id": "feature-vectors", "from": "features", "to": "model", "label": "feature vectors", "classification": "derived", "variant": "dashed", "route": "straight", "labelAt": [852, 598] },
- { "id": "restricted-join", "from": "pii", "to": "dashboard", "label": "restricted join", "classification": "approved only", "variant": "security", "fromSide": "right", "toSide": "top", "via": [[878, 157], [878, 212], [960, 212]], "labelAt": [880, 198] }
+ { "id": "normalized-facts", "from": "stream", "to": "warehouse", "label": "normalized facts", "classification": "non-PII", "variant": "emphasis", "fromSide": "right", "toSide": "left", "via": [[638, 385], [638, 271]], "labelAt": [638, 326] },
+ { "id": "daily-aggregates", "from": "warehouse", "to": "features", "label": "daily aggregates", "classification": "batch", "variant": "dashed", "fromSide": "bottom", "toSide": "top", "route": "straight", "labelAt": [745, 326] },
+ { "id": "metrics-query", "from": "warehouse", "to": "dashboard", "label": "metrics SQL", "classification": "read-only", "variant": "default", "fromSide": "right", "toSide": "bottom", "via": [[852, 271], [960, 271]], "labelAt": [876, 258] },
+ { "id": "feature-vectors", "from": "features", "to": "model", "label": "feature vectors", "classification": "derived", "variant": "dashed", "route": "straight", "labelAt": [852, 372] },
+ { "id": "restricted-join", "from": "pii", "to": "dashboard", "label": "restricted join", "classification": "approved only", "variant": "security", "route": "straight", "labelAt": [852, 144] }
],
"cards": [
{
diff --git a/archify/examples/sequence-cache-miss-request.html b/archify/examples/sequence-cache-miss-request.html
index d3e2c1e3..da3405f6 100644
--- a/archify/examples/sequence-cache-miss-request.html
+++ b/archify/examples/sequence-cache-miss-request.html
@@ -5004,7 +5004,7 @@
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 820 760" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
+ <svg viewBox="0 0 1080 560" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
<title id="archify-diagram-title">Cache Miss Request Sequence</title>
<desc id="archify-diagram-description">A sequence diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5030,129 +5030,129 @@
<rect width="100%" height="100%" fill="url(#grid)" />
<!-- Time Segments -->
- <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="0" x="48" y="150" width="724" height="145" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="0" x="48" y="150" width="984" height="100" rx="10" class="c-lane" stroke-width="1"/>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="1" x="48" y="315" width="724" height="190" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="1" x="48" y="260" width="984" height="110" rx="10" class="c-lane" stroke-width="1"/>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="2" x="48" y="525" width="724" height="140" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="2" x="48" y="380" width="984" height="100" rx="10" class="c-lane" stroke-width="1"/>
<!-- Lifelines -->
- <path d="M 62 142 L 62 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 170 142 L 170 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 278 142 L 278 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 386 142 L 386 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 494 142 L 494 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 602 142 L 602 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 710 142 L 710 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 118.5 142 L 118.5 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 262.66666666666663 142 L 262.66666666666663 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 406.8333333333333 142 L 406.8333333333333 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 551 142 L 551 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 695.1666666666666 142 L 695.1666666666666 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 839.3333333333333 142 L 839.3333333333333 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 983.5 142 L 983.5 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
<!-- Activations -->
- <rect x="165" y="220" width="10" height="448" rx="3" class="c-mask"/>
- <rect x="165" y="220" width="10" height="448" rx="3" class="c-frontend" stroke-width="1"/>
- <rect x="273" y="228" width="10" height="404" rx="3" class="c-mask"/>
- <rect x="273" y="228" width="10" height="404" rx="3" class="c-backend" stroke-width="1"/>
- <rect x="381" y="265" width="10" height="45" rx="3" class="c-mask"/>
- <rect x="381" y="265" width="10" height="45" rx="3" class="c-security" stroke-width="1"/>
- <rect x="489" y="349" width="10" height="49" rx="3" class="c-mask"/>
- <rect x="489" y="349" width="10" height="49" rx="3" class="c-database" stroke-width="1"/>
- <rect x="597" y="438" width="10" height="58" rx="3" class="c-mask"/>
- <rect x="597" y="438" width="10" height="58" rx="3" class="c-database" stroke-width="1"/>
- <rect x="705" y="575" width="10" height="55" rx="3" class="c-mask"/>
- <rect x="705" y="575" width="10" height="55" rx="3" class="c-messagebus" stroke-width="1"/>
+ <rect x="257.66666666666663" y="180" width="10" height="294" rx="3" class="c-mask"/>
+ <rect x="257.66666666666663" y="180" width="10" height="294" rx="3" class="c-frontend" stroke-width="1"/>
+ <rect x="401.8333333333333" y="185" width="10" height="265" rx="3" class="c-mask"/>
+ <rect x="401.8333333333333" y="185" width="10" height="265" rx="3" class="c-backend" stroke-width="1"/>
+ <rect x="546" y="205" width="10" height="39" rx="3" class="c-mask"/>
+ <rect x="546" y="205" width="10" height="39" rx="3" class="c-security" stroke-width="1"/>
+ <rect x="690.1666666666666" y="265" width="10" height="39" rx="3" class="c-mask"/>
+ <rect x="690.1666666666666" y="265" width="10" height="39" rx="3" class="c-database" stroke-width="1"/>
+ <rect x="834.3333333333333" y="325" width="10" height="39" rx="3" class="c-mask"/>
+ <rect x="834.3333333333333" y="325" width="10" height="39" rx="3" class="c-database" stroke-width="1"/>
+ <rect x="978.5" y="413" width="10" height="36" rx="3" class="c-mask"/>
+ <rect x="978.5" y="413" width="10" height="36" rx="3" class="c-messagebus" stroke-width="1"/>
<!-- Messages -->
<g data-edge-from="user" data-edge-to="web" data-edge-label="open page" data-edge-key="0" data-edge-id="open-page">
- <path data-composition-edge-from="user" data-composition-edge-to="web" data-composition-edge-id="open-page" data-composition-points="69,185;163,185" d="M 69 185 L 163 185" class="a-default" data-animate="edge" style="--step:0" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="user" data-composition-edge-to="web" data-composition-edge-id="open-page" data-composition-points="125.5,160;255.66666666666663,160" d="M 125.5 160 L 255.66666666666663 160" class="a-default" data-animate="edge" style="--step:0" stroke-width="1.4" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="86.6" y="165" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
- <text x="116" y="175" class="t-backend" font-size="9" text-anchor="middle">open page</text>
+ <rect x="161.1833333333333" y="140" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
+ <text x="190.58333333333331" y="150" class="t-backend" font-size="9" text-anchor="middle">open page</text>
</g>
</g>
<g data-edge-from="web" data-edge-to="api" data-edge-label="GET /dashboard" data-edge-key="1" data-edge-id="dashboard-request">
- <path data-composition-edge-from="web" data-composition-edge-to="api" data-composition-edge-id="dashboard-request" data-composition-points="177,228;271,228" d="M 177 228 L 271 228" class="a-emphasis" data-animate="edge" style="--step:1" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <path data-composition-edge-from="web" data-composition-edge-to="api" data-composition-edge-id="dashboard-request" data-composition-points="269.66666666666663,185;399.8333333333333,185" d="M 269.66666666666663 185 L 399.8333333333333 185" class="a-emphasis" data-animate="edge" style="--step:1" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
<g data-detail="context">
- <rect x="181.6" y="208" width="84.8" height="16" rx="3" class="c-mask"/>
- <text x="224" y="218" class="t-backend" font-size="9" text-anchor="middle">GET /dashboard</text>
+ <rect x="292.35" y="165" width="84.8" height="16" rx="3" class="c-mask"/>
+ <text x="334.75" y="175" class="t-backend" font-size="9" text-anchor="middle">GET /dashboard</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="auth" data-edge-label="verify JWT" data-edge-key="2" data-edge-id="verify-jwt">
- <path data-composition-edge-from="api" data-composition-edge-to="auth" data-composition-edge-id="verify-jwt" data-composition-points="285,270;379,270" d="M 285 270 L 379 270" class="a-security" data-animate="edge" style="--step:2" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="auth" data-composition-edge-id="verify-jwt" data-composition-points="413.8333333333333,210;544,210" d="M 413.8333333333333 210 L 544 210" class="a-security" data-animate="edge" style="--step:2" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
<g data-detail="context">
- <rect x="300" y="250" width="64" height="16" rx="3" class="c-mask"/>
- <text x="332" y="260" class="t-security" font-size="9" text-anchor="middle">verify JWT</text>
+ <rect x="446.91666666666663" y="190" width="64" height="16" rx="3" class="c-mask"/>
+ <text x="478.91666666666663" y="200" class="t-security" font-size="9" text-anchor="middle">verify JWT</text>
</g>
</g>
<g data-edge-from="auth" data-edge-to="api" data-edge-label="claims ok" data-edge-key="3" data-edge-id="auth-claims">
- <path data-composition-edge-from="auth" data-composition-edge-to="api" data-composition-edge-id="auth-claims" data-composition-points="379,305;285,305" d="M 379 305 L 285 305" class="a-default" data-animate="edge" style="--step:3" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="auth" data-composition-edge-to="api" data-composition-edge-id="auth-claims" data-composition-points="544,238;413.8333333333333,238" d="M 544 238 L 413.8333333333333 238" class="a-default" data-animate="edge" style="--step:3" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="302.6" y="285" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
- <text x="332" y="295" class="t-muted" font-size="9" text-anchor="middle">claims ok</text>
+ <rect x="449.51666666666665" y="218" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
+ <text x="478.91666666666663" y="228" class="t-muted" font-size="9" text-anchor="middle">claims ok</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="redis" data-edge-label="read cache" data-edge-key="4" data-edge-id="cache-read">
- <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-read" data-composition-points="285,354;487,354" d="M 285 354 L 487 354" class="a-default" data-animate="edge" style="--step:4" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-read" data-composition-points="413.8333333333333,270;688.1666666666666,270" d="M 413.8333333333333 270 L 688.1666666666666 270" class="a-default" data-animate="edge" style="--step:4" stroke-width="1.4" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="354" y="334" width="64" height="16" rx="3" class="c-mask"/>
- <text x="386" y="344" class="t-backend" font-size="9" text-anchor="middle">read cache</text>
+ <rect x="519" y="250" width="64" height="16" rx="3" class="c-mask"/>
+ <text x="551" y="260" class="t-backend" font-size="9" text-anchor="middle">read cache</text>
</g>
</g>
<g data-edge-from="redis" data-edge-to="api" data-edge-label="miss" data-edge-key="5" data-edge-id="cache-miss">
- <path data-composition-edge-from="redis" data-composition-edge-to="api" data-composition-edge-id="cache-miss" data-composition-points="487,391;285,391" d="M 487 391 L 285 391" class="a-default" data-animate="edge" style="--step:5" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="redis" data-composition-edge-to="api" data-composition-edge-id="cache-miss" data-composition-points="688.1666666666666,298;413.8333333333333,298" d="M 688.1666666666666 298 L 413.8333333333333 298" class="a-default" data-animate="edge" style="--step:5" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="369" y="371" width="34" height="16" rx="3" class="c-mask"/>
- <text x="386" y="381" class="t-muted" font-size="9" text-anchor="middle">miss</text>
+ <rect x="534" y="278" width="34" height="16" rx="3" class="c-mask"/>
+ <text x="551" y="288" class="t-muted" font-size="9" text-anchor="middle">miss</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="db" data-edge-label="query profile + metrics" data-edge-key="6" data-edge-id="profile-query">
- <path data-composition-edge-from="api" data-composition-edge-to="db" data-composition-edge-id="profile-query" data-composition-points="285,443;595,443" d="M 285 443 L 595 443" class="a-emphasis" data-animate="edge" style="--step:6" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="db" data-composition-edge-id="profile-query" data-composition-points="413.8333333333333,330;832.3333333333333,330" d="M 413.8333333333333 330 L 832.3333333333333 330" class="a-emphasis" data-animate="edge" style="--step:6" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
<g data-detail="context">
- <rect x="374.2" y="423" width="131.60000000000002" height="16" rx="3" class="c-mask"/>
- <text x="440" y="433" class="t-backend" font-size="9" text-anchor="middle">query profile + metrics</text>
+ <rect x="557.2833333333333" y="310" width="131.60000000000002" height="16" rx="3" class="c-mask"/>
+ <text x="623.0833333333333" y="320" class="t-backend" font-size="9" text-anchor="middle">query profile + metrics</text>
</g>
</g>
<g data-edge-from="db" data-edge-to="api" data-edge-label="rows" data-edge-key="7" data-edge-id="profile-rows">
- <path data-composition-edge-from="db" data-composition-edge-to="api" data-composition-edge-id="profile-rows" data-composition-points="595,489;285,489" d="M 595 489 L 285 489" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="db" data-composition-edge-to="api" data-composition-edge-id="profile-rows" data-composition-points="832.3333333333333,358;413.8333333333333,358" d="M 832.3333333333333 358 L 413.8333333333333 358" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="423" y="469" width="34" height="16" rx="3" class="c-mask"/>
- <text x="440" y="479" class="t-muted" font-size="9" text-anchor="middle">rows</text>
+ <rect x="606.0833333333333" y="338" width="34" height="16" rx="3" class="c-mask"/>
+ <text x="623.0833333333333" y="348" class="t-muted" font-size="9" text-anchor="middle">rows</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="redis" data-edge-label="set cache" data-edge-key="8" data-edge-id="cache-write">
- <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-write" data-composition-points="285,536;487,536" d="M 285 536 L 487 536" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-write" data-composition-points="413.8333333333333,390;688.1666666666666,390" d="M 413.8333333333333 390 L 688.1666666666666 390" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
<g data-detail="context">
- <rect x="356.6" y="516" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
- <text x="386" y="526" class="t-messagebus" font-size="9" text-anchor="middle">set cache</text>
+ <rect x="521.6" y="370" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
+ <text x="551" y="380" class="t-messagebus" font-size="9" text-anchor="middle">set cache</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="trace" data-edge-label="emit trace" data-edge-key="9" data-edge-id="trace-emit">
- <path data-composition-edge-from="api" data-composition-edge-to="trace" data-composition-edge-id="trace-emit" data-composition-points="285,580;703,580" d="M 285 580 L 703 580" class="a-dashed" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="trace" data-composition-edge-id="trace-emit" data-composition-points="413.8333333333333,418;976.5,418" d="M 413.8333333333333 418 L 976.5 418" class="a-dashed" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
<g data-detail="context">
- <rect x="462" y="560" width="64" height="16" rx="3" class="c-mask"/>
- <text x="494" y="570" class="t-messagebus" font-size="9" text-anchor="middle">emit trace</text>
+ <rect x="663.1666666666666" y="398" width="64" height="16" rx="3" class="c-mask"/>
+ <text x="695.1666666666666" y="408" class="t-messagebus" font-size="9" text-anchor="middle">emit trace</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="web" data-edge-label="200 JSON" data-edge-key="10" data-edge-id="dashboard-response">
- <path data-composition-edge-from="api" data-composition-edge-to="web" data-composition-edge-id="dashboard-response" data-composition-points="271,625;177,625" d="M 271 625 L 177 625" class="a-default" data-animate="edge" style="--step:10" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="web" data-composition-edge-id="dashboard-response" data-composition-points="399.8333333333333,443;269.66666666666663,443" d="M 399.8333333333333 443 L 269.66666666666663 443" class="a-default" data-animate="edge" style="--step:10" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="197.2" y="605" width="53.6" height="16" rx="3" class="c-mask"/>
- <text x="224" y="615" class="t-muted" font-size="9" text-anchor="middle">200 JSON</text>
+ <rect x="307.95" y="423" width="53.6" height="16" rx="3" class="c-mask"/>
+ <text x="334.75" y="433" class="t-muted" font-size="9" text-anchor="middle">200 JSON</text>
</g>
</g>
<g data-edge-from="web" data-edge-to="user" data-edge-label="render" data-edge-key="11" data-edge-id="page-render">
- <path data-composition-edge-from="web" data-composition-edge-to="user" data-composition-edge-id="page-render" data-composition-points="163,662;69,662" d="M 163 662 L 69 662" class="a-default" data-animate="edge" style="--step:11" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="web" data-composition-edge-to="user" data-composition-edge-id="page-render" data-composition-points="255.66666666666663,468;125.5,468" d="M 255.66666666666663 468 L 125.5 468" class="a-default" data-animate="edge" style="--step:11" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="94.4" y="642" width="43.2" height="16" rx="3" class="c-mask"/>
- <text x="116" y="652" class="t-muted" font-size="9" text-anchor="middle">render</text>
+ <rect x="168.98333333333332" y="448" width="43.2" height="16" rx="3" class="c-mask"/>
+ <text x="190.58333333333331" y="458" class="t-muted" font-size="9" text-anchor="middle">render</text>
</g>
</g>
@@ -5162,124 +5162,124 @@
<text x="62" y="141" class="t-dim" font-size="9" font-weight="600">Request</text>
</g>
<g data-graph-role="segment-label" data-segment-id="1">
- <rect x="56" y="293" width="55.6" height="18" rx="3" class="c-mask"/>
- <text x="62" y="306" class="t-dim" font-size="9" font-weight="600">Fallback</text>
+ <rect x="56" y="238" width="55.6" height="18" rx="3" class="c-mask"/>
+ <text x="62" y="251" class="t-dim" font-size="9" font-weight="600">Fallback</text>
</g>
<g data-graph-role="segment-label" data-segment-id="2">
- <rect x="56" y="503" width="97.2" height="18" rx="3" class="c-mask"/>
- <text x="62" y="516" class="t-dim" font-size="9" font-weight="600">Response + trace</text>
+ <rect x="56" y="358" width="97.2" height="18" rx="3" class="c-mask"/>
+ <text x="62" y="371" class="t-dim" font-size="9" font-weight="600">Response + trace</text>
</g>
<!-- 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="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"/>
- <g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(25 78) scale(0.6875)">
+ <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"/>
+ <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="62" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">User</text>
- <text data-detail="context" x="62" 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="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>
</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="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-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(133 78) scale(0.6875)">
+ <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"/>
+ <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="170" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Web App</text>
- <text data-detail="context" x="170" 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="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>
</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="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-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(241 78) scale(0.6875)">
+ <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"/>
+ <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="278" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">API</text>
- <text data-detail="context" x="278" 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="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>
</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="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-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(349 78) scale(0.6875)">
+ <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"/>
+ <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="386" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Auth</text>
- <text data-detail="context" x="386" y="111" class="t-muted" font-size="7" text-anchor="middle">JWT verify</text>
+ <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>
</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="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-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(457 78) scale(0.6875)">
+ <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"/>
+ <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="494" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Redis</text>
- <text data-detail="context" x="494" y="111" class="t-muted" font-size="7" text-anchor="middle">cache</text>
+ <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>
</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="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"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(565 78) scale(0.6875)">
+ <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"/>
+ <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="602" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Postgres</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="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>
</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="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"/>
- <g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(673 78) scale(0.6875)">
+ <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"/>
+ <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="710" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Trace</text>
- <text data-detail="context" x="710" 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="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>
</g>
<!-- Legend -->
<g data-legend="">
- <text x="40" y="686" class="t-primary" font-size="12" font-weight="650">Legend</text>
- <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="706" data-legend-width="78">
- <path d="M 40 703 L 74 703" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <text x="83" y="706" class="t-muted" font-size="10" font-weight="500">request</text>
+ <text x="40" y="486" class="t-primary" font-size="12" font-weight="650">Legend</text>
+ <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="506" data-legend-width="78">
+ <path d="M 40 503 L 74 503" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <text x="83" y="506" class="t-muted" font-size="10" font-weight="500">request</text>
</g>
- <g data-legend-semantic-kind="return" data-legend-x="140" data-legend-baseline="706" data-legend-width="73">
- <path d="M 140 703 L 174 703" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
- <text x="183" y="706" class="t-muted" font-size="10" font-weight="500">return</text>
+ <g data-legend-semantic-kind="return" data-legend-x="140" data-legend-baseline="506" data-legend-width="73">
+ <path d="M 140 503 L 174 503" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <text x="183" y="506" class="t-muted" font-size="10" font-weight="500">return</text>
</g>
- <g data-legend-semantic-kind="security" data-legend-x="235" data-legend-baseline="706" data-legend-width="83">
- <path d="M 235 703 L 269 703" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
- <text x="278" y="706" class="t-muted" font-size="10" font-weight="500">security</text>
+ <g data-legend-semantic-kind="security" data-legend-x="235" data-legend-baseline="506" data-legend-width="83">
+ <path d="M 235 503 L 269 503" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <text x="278" y="506" class="t-muted" font-size="10" font-weight="500">security</text>
</g>
- <g data-legend-semantic-kind="dashed" data-legend-x="340" data-legend-baseline="706" data-legend-width="98">
- <path d="M 340 703 L 374 703" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <text x="383" y="706" class="t-muted" font-size="10" font-weight="500">async trace</text>
+ <g data-legend-semantic-kind="dashed" data-legend-x="340" data-legend-baseline="506" data-legend-width="98">
+ <path d="M 340 503 L 374 503" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <text x="383" y="506" class="t-muted" font-size="10" font-weight="500">async trace</text>
</g>
- <g data-legend-semantic-kind="default" data-legend-x="460" data-legend-baseline="706" data-legend-width="118">
- <path d="M 460 703 L 494 703" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
- <text x="503" y="706" class="t-muted" font-size="10" font-weight="500">default message</text>
+ <g data-legend-semantic-kind="default" data-legend-x="460" data-legend-baseline="506" data-legend-width="118">
+ <path d="M 460 503 L 494 503" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <text x="503" y="506" class="t-muted" font-size="10" font-weight="500">default message</text>
</g>
</g>
</svg>
diff --git a/archify/test/brand-marks.test.mjs b/archify/test/brand-marks.test.mjs
index 4cf4bf4f..5f5b41da 100644
--- a/archify/test/brand-marks.test.mjs
+++ b/archify/test/brand-marks.test.mjs
@@ -205,11 +205,12 @@ test('a branded node fails before its semantic sigil, label, and brand badge can
test('every renderer enforces the same collision-free brand top rail', () => {
for (const type of ['architecture', 'sequence', 'dataflow', 'lifecycle']) {
- const input = writeFixture(type, `narrow-brand-rail-${type}`, 'openai', (_diagram, node) => {
+ const input = writeFixture(type, `narrow-brand-rail-${type}`, 'openai', (diagram, node) => {
node.label = type === 'sequence' ? 'ABCDEFGHI' : 'A';
delete node.sublabel;
delete node.tag;
if (type === 'architecture') node.size = [32, 60];
+ if (type === 'sequence') diagram.meta.column_fit = 'fixed';
if (type === 'dataflow' || type === 'lifecycle') node.width = 48;
});
const { result, html } = renderSync(type, input, `narrow-brand-rail-${type}`);
diff --git a/archify/test/desktop-reader-browser.test.mjs b/archify/test/desktop-reader-browser.test.mjs
index 867a7cb4..07657947 100644
--- a/archify/test/desktop-reader-browser.test.mjs
+++ b/archify/test/desktop-reader-browser.test.mjs
@@ -12,6 +12,28 @@ import { DESKTOP_READABILITY_VIEWPORT, MIN_PROJECTED_NODE_TEXT_PX } from '../ren
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const skillRoot = path.resolve(__dirname, '..');
const chromePath = process.env.ARCHIFY_CHROME ? findChrome() : null;
+const packagedHtmlExamples = fs.readdirSync(path.join(skillRoot, 'examples'))
+ .filter((name) => name.endsWith('.html') && !name.endsWith('.visual-check.html'))
+ .sort();
+
+test('all packaged HTML examples pass the real visual-check desktop gate', {
+ skip: chromePath ? false : 'Set ARCHIFY_CHROME to run the real browser regression.',
+}, async () => {
+ const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'archify-packaged-examples-'));
+ try {
+ assert.ok(packagedHtmlExamples.length > 0, 'expected at least one packaged HTML example');
+ for (const name of packagedHtmlExamples) {
+ const artifact = path.join(tmp, name);
+ fs.copyFileSync(path.join(skillRoot, 'examples', name), artifact);
+ const result = await runVisualCheck({ artifactPath: artifact, chromePath });
+ assert.equal(result.exitCode, 0, `${name}: ${JSON.stringify(result.receipt, null, 2)}`);
+ assert.equal(result.receipt.containment.status, 'pass', name);
+ assert.equal(result.receipt.containment.viewports.every((viewport) => viewport.ok), true, name);
+ }
+ } finally {
+ fs.rmSync(tmp, { recursive: true, force: true });
+ }
+});
test('production showcase is readable in the real 1440 by 900 adaptive reader', {
skip: chromePath ? false : 'Set ARCHIFY_CHROME to run the real browser regression.',
diff --git a/archify/test/layout-rules.test.mjs b/archify/test/layout-rules.test.mjs
index 1182dc9c..433f3975 100644
--- a/archify/test/layout-rules.test.mjs
+++ b/archify/test/layout-rules.test.mjs
@@ -557,7 +557,10 @@ test('architecture: boundary title masks cannot obscure connection labels', () =
const SHRINK_CASES = [
// [mode, mutate(doc), preferredFontSize, selector for the sublabel <text>]
['architecture', (d) => { d.components[0].sublabel = 'Browser and mobile apps'; }, 9],
- ['sequence', (d) => { d.participants[0].sublabel = 'long browser session'; }, 7],
+ ['sequence', (d) => {
+ d.meta.column_fit = 'fixed';
+ d.participants[0].sublabel = 'long browser session';
+ }, 7],
['dataflow', (d) => { d.nodes[0].sublabel = 'browser SDK and mobile SDK'; }, 7],
['lifecycle', (d) => { d.states[0].sublabel = 'request accepted and queued'; }, 7],
];
@@ -1351,7 +1354,7 @@ test('dataflow: stage border run is blocking and the inter-stage gutter passes',
test('sequence: a message cannot masquerade as a time-segment border', () => {
const d = load('sequence');
- d.messages.find((message) => message.id === 'cache-read').y = 315;
+ d.messages.find((message) => message.id === 'cache-read').y = d.segments[1].from;
const { code, stderr } = render('sequence', d);
assert.notEqual(code, 0);
assert.match(stderr, /\[composition\/container-border-run\] sequence messages\[4\] id "cache-read"/);
@@ -1451,6 +1454,8 @@ test('sequence: segment title badge clears a nearby first message label', () =>
test('sequence: segment label exceeding segment frame available width fails layout validation with remediation', () => {
const d = load('sequence');
+ d.meta.viewBox[0] = 820;
+ d.meta.column_fit = 'fixed';
d.segments[0].label = 'Phase 1: Dual-Certificate mTLS Handshake & Distributed Token Verification Protocol Negotiation'.repeat(2);
const { code, stderr } = render('sequence', d);
@@ -1464,7 +1469,7 @@ test('sequence: segment label exceeding segment frame available width fails layo
});
test('sequence: segment label boundary containment within canvas vs segment frame and exact-fit', () => {
- // Available width in default sequence fixture (viewBox[0] = 820):
+ // Available width in this fixed-column boundary scenario (viewBox[0] = 820):
// frame right edge = 820 - 48 = 772
// labelBox.x = 56
// availableWidth = 772 - 56 = 716px
@@ -1474,6 +1479,8 @@ test('sequence: segment label boundary containment within canvas vs segment fram
// 1. Fits within canvas (777.2 <= 820) but exceeds segment frame (777.2 > 772)
const dExceed = load('sequence');
+ dExceed.meta.viewBox[0] = 820;
+ dExceed.meta.column_fit = 'fixed';
dExceed.segments[0].label = 'A'.repeat(136);
const resExceed = render('sequence', dExceed);
assert.equal(resExceed.code, 1, 'label exceeding segment frame must fail even if within canvas');
@@ -1481,6 +1488,8 @@ test('sequence: segment label boundary containment within canvas vs segment fram
// 2. Exact-fit case at the frame's right edge (56 + 716 = 772 === 820 - 48)
const dExact = load('sequence');
+ dExact.meta.viewBox[0] = 820;
+ dExact.meta.column_fit = 'fixed';
dExact.segments[0].label = 'A'.repeat(135);
const resExact = render('sequence', dExact);
assert.equal(resExact.code, 0, `exact-fit label at segment frame boundary must pass cleanly: ${resExact.stderr}`);
diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gif
index c4482fde..7516351c 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 9239205b..5518892c 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": 1542193,
- "sha256": "e0fe704e5d230c0478bc5a48b7668815b5790eed496da87ce7a5f8e5b2416c28",
+ "bytes": 1617927,
+ "sha256": "412804f7186a79629014394f4382cee5258d9d741a3b3f31b7a2ac2bce3aff3d",
"scenes": [
{
"id": "signal-flow",
@@ -31,7 +31,7 @@
{
"id": "classic",
"artifact": "docs/gallery/artifacts/cache-miss.sequence.html",
- "artifactSha256": "6bf688c8577049973ace979ac73292eda0cc8f349934c6ba4452720853ced84c",
+ "artifactSha256": "db36c4946277cf2ee01799e3d8b3bfb1ff3e2206dd7baabcfeb155e168ea821a",
"view": "cache-fallback",
"eyebrow": "SEQUENCE · CLASSIC",
"title": "Cache Miss Request",
diff --git a/docs/gallery.html b/docs/gallery.html
index 7c2e6aa3..c7000799 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="6bf688c8577049973ace979ac73292eda0cc8f349934c6ba4452720853ced84c">6bf688c85770</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="db36c4946277cf2ee01799e3d8b3bfb1ff3e2206dd7baabcfeb155e168ea821a">db36c4946277</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>
@@ -444,7 +444,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="d66d70595448044a92d032738e2437980d2160462f974a1de8cfa82c5e148d54">d66d70595448</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="0d64f0af16a83ff6b2ca6d58aac7b426b10ee884843d3d326953418805a7a511">0d64f0af16a8</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/product-analytics.dataflow.html?present=1&amp;play=1#view=consent-boundary" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -531,7 +531,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 · 6E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d15306112803fe6ac1050c6fd5d943545a5bc6a72a0407cd0751d0d8794f6429">d15306112803</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="80d777965b12406fa17ee80a8b3c20394621815159e481eacf229c8cd7f64cb7">80d777965b12</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/agent-run.lifecycle.html?present=1&amp;play=1#view=main-lifecycle" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>
@@ -875,10 +875,10 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 12,
- "artifactBytes": 716842,
- "artifactSha256": "6bf688c8577049973ace979ac73292eda0cc8f349934c6ba4452720853ced84c",
- "sourceBytes": 4345,
- "sourceSha256": "4bbaa6ca3cd4036002fd5d0f3a332eb922cec69d09bac3d7925f95beb4308389",
+ "artifactBytes": 718161,
+ "artifactSha256": "db36c4946277cf2ee01799e3d8b3bfb1ff3e2206dd7baabcfeb155e168ea821a",
+ "sourceBytes": 4374,
+ "sourceSha256": "9a799a3661c16cd6ab4f6373ff6a04da95a9ab70d93b0a349b668466f4912fd7",
"checks": [
{
"name": "single_svg",
@@ -930,14 +930,14 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
- "minLabelRouteClearance": 15,
+ "minLabelRouteClearance": 8,
"desktopReadabilityIssues": 0,
"minProjectedNodeTextPx": null,
"maxBends": 0,
"routesOverSuggestedBends": 0,
"maxStretch": 1,
"routesOverSuggestedStretch": 0,
- "minSegmentPx": 94,
+ "minSegmentPx": 130.2,
"minInteriorSegmentPx": null,
"shortSegmentCount": 0,
"shortEndpointSegmentCount": 0,
@@ -1175,10 +1175,10 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 10,
- "artifactBytes": 720496,
- "artifactSha256": "d66d70595448044a92d032738e2437980d2160462f974a1de8cfa82c5e148d54",
- "sourceBytes": 5627,
- "sourceSha256": "6fa38a7ccedf96da592d60b392783b846188eaa3ec9136c6dc06ca020e43a110",
+ "artifactBytes": 720478,
+ "artifactSha256": "0d64f0af16a83ff6b2ca6d58aac7b426b10ee884843d3d326953418805a7a511",
+ "sourceBytes": 5618,
+ "sourceSha256": "91411404fb4828a3b7ea358f3a7b9877781c9e9dc9c04b42b6eb4a757281b59f",
"checks": [
{
"name": "single_svg",
@@ -1230,11 +1230,11 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
- "minLabelRouteClearance": 57,
+ "minLabelRouteClearance": 44.3,
"desktopReadabilityIssues": 0,
"minProjectedNodeTextPx": null,
"maxBends": 3,
- "routesOverSuggestedBends": 2,
+ "routesOverSuggestedBends": 1,
"maxStretch": 1.369,
"routesOverSuggestedStretch": 1,
"minSegmentPx": 24,
@@ -1475,10 +1475,10 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 6,
- "artifactBytes": 714131,
- "artifactSha256": "d15306112803fe6ac1050c6fd5d943545a5bc6a72a0407cd0751d0d8794f6429",
- "sourceBytes": 4417,
- "sourceSha256": "af939579dcafc8b4c49f09594591577994398aee57a57369d4c791dfc0d85a42",
+ "artifactBytes": 713581,
+ "artifactSha256": "80d777965b12406fa17ee80a8b3c20394621815159e481eacf229c8cd7f64cb7",
+ "sourceBytes": 4044,
+ "sourceSha256": "7c0ad72ee7affbd6c6e4758b7520d61ddd4508c917acf36beabcad3ee7ca3ba7",
"checks": [
{
"name": "single_svg",
diff --git a/docs/gallery/artifacts/agent-run.lifecycle.html b/docs/gallery/artifacts/agent-run.lifecycle.html
index 141719b5..8ac220e6 100644
--- a/docs/gallery/artifacts/agent-run.lifecycle.html
+++ b/docs/gallery/artifacts/agent-run.lifecycle.html
@@ -5004,7 +5004,7 @@
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 980 660" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
+ <svg viewBox="0 0 1030 630" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
<title id="archify-diagram-title">Agent Run Lifecycle</title>
<desc id="archify-diagram-description">A lifecycle diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5030,11 +5030,11 @@
<rect width="100%" height="100%" fill="url(#grid)" />
<!-- Lifecycle bands -->
- <path d="M 72 112 L 908 112" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
+ <path d="M 72 112 L 958 112" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
<text x="72" y="100" class="t-dim" font-size="10" font-weight="600">01 / Lifecycle phases</text>
- <path d="M 72 264 L 908 264" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
+ <path d="M 72 264 L 958 264" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
<text x="72" y="252" class="t-dim" font-size="10" font-weight="600">02 / Interruptions + Recovery loop</text>
- <path d="M 72 436 L 908 436" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
+ <path d="M 72 436 L 958 436" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
<text x="72" y="424" class="t-dim" font-size="10" font-weight="600">03 / Terminal exits</text>
<!-- Primary lifecycle rail -->
@@ -5190,30 +5190,30 @@
<!-- Legend -->
<g data-legend="" data-legend-bridge="">
- <text x="40" y="604" class="t-primary" font-size="12" font-weight="650">Legend</text>
- <g data-legend-semantic-kind="start" data-legend-kind="start" data-legend-label="start" data-legend-x="40" data-legend-baseline="624" data-legend-width="68">
- <rect x="40" y="616" width="14" height="9" rx="2" class="c-frontend" stroke-width="1"/>
- <text x="62" y="624" class="t-muted" font-size="10" font-weight="500">start</text>
+ <text x="40" y="574" class="t-primary" font-size="12" font-weight="650">Legend</text>
+ <g data-legend-semantic-kind="start" data-legend-kind="start" data-legend-label="start" data-legend-x="40" data-legend-baseline="594" data-legend-width="68">
+ <rect x="40" y="586" width="14" height="9" rx="2" class="c-frontend" stroke-width="1"/>
+ <text x="62" y="594" class="t-muted" font-size="10" font-weight="500">start</text>
</g>
- <g data-legend-semantic-kind="active" data-legend-kind="active" data-legend-label="active state" data-legend-x="130" data-legend-baseline="624" data-legend-width="103">
- <rect x="130" y="616" width="14" height="9" rx="2" class="c-backend" stroke-width="1"/>
- <text x="152" y="624" class="t-muted" font-size="10" font-weight="500">active state</text>
+ <g data-legend-semantic-kind="active" data-legend-kind="active" data-legend-label="active state" data-legend-x="130" data-legend-baseline="594" data-legend-width="103">
+ <rect x="130" y="586" width="14" height="9" rx="2" class="c-backend" stroke-width="1"/>
+ <text x="152" y="594" class="t-muted" font-size="10" font-weight="500">active state</text>
</g>
- <g data-legend-semantic-kind="waiting" data-legend-kind="waiting" data-legend-label="waiting" data-legend-x="255" data-legend-baseline="624" data-legend-width="78">
- <rect x="255" y="616" width="14" height="9" rx="2" class="c-cloud" stroke-width="1"/>
- <text x="277" y="624" class="t-muted" font-size="10" font-weight="500">waiting</text>
+ <g data-legend-semantic-kind="waiting" data-legend-kind="waiting" data-legend-label="waiting" data-legend-x="255" data-legend-baseline="594" data-legend-width="78">
+ <rect x="255" y="586" width="14" height="9" rx="2" class="c-cloud" stroke-width="1"/>
+ <text x="277" y="594" class="t-muted" font-size="10" font-weight="500">waiting</text>
</g>
- <g data-legend-semantic-kind="decision" data-legend-kind="decision" data-legend-label="decision" data-legend-x="355" data-legend-baseline="624" data-legend-width="83">
- <rect x="355" y="616" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
- <text x="377" y="624" class="t-muted" font-size="10" font-weight="500">decision</text>
+ <g data-legend-semantic-kind="decision" data-legend-kind="decision" data-legend-label="decision" data-legend-x="355" data-legend-baseline="594" data-legend-width="83">
+ <rect x="355" y="586" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
+ <text x="377" y="594" class="t-muted" font-size="10" font-weight="500">decision</text>
</g>
- <g data-legend-semantic-kind="success" data-legend-kind="success" data-legend-label="terminal success" data-legend-x="460" data-legend-baseline="624" data-legend-width="123">
- <rect x="460" y="616" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
- <text x="482" y="624" class="t-muted" font-size="10" font-weight="500">terminal success</text>
+ <g data-legend-semantic-kind="success" data-legend-kind="success" data-legend-label="terminal success" data-legend-x="460" data-legend-baseline="594" data-legend-width="123">
+ <rect x="460" y="586" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
+ <text x="482" y="594" class="t-muted" font-size="10" font-weight="500">terminal success</text>
</g>
- <g data-legend-semantic-kind="failure" data-legend-kind="failure" data-legend-label="failure / exit" data-legend-x="605" data-legend-baseline="624" data-legend-width="113">
- <rect x="605" y="616" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
- <text x="627" y="624" class="t-muted" font-size="10" font-weight="500">failure / exit</text>
+ <g data-legend-semantic-kind="failure" data-legend-kind="failure" data-legend-label="failure / exit" data-legend-x="605" data-legend-baseline="594" data-legend-width="113">
+ <rect x="605" y="586" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
+ <text x="627" y="594" class="t-muted" font-size="10" font-weight="500">failure / exit</text>
</g>
</g>
</svg>
@@ -5405,36 +5405,22 @@
<div class="card">
<div class="card-header">
<div class="card-dot emerald"></div>
- <h3>Main Path</h3>
+ <h3>Main Path + Waits</h3>
</div>
<ul>
<li>&bull; The run has five ordered phases from queue to completion</li>
- <li>&bull; The primary lifecycle is carried by one horizontal rail</li>
- <li>&bull; Completion is a phase, not a detached side box</li>
- </ul>
- </div>
-
- <div class="card">
- <div class="card-header">
- <div class="card-dot amber"></div>
- <h3>Human + Input Gates</h3>
- </div>
- <ul>
- <li>&bull; Approval pauses execution without ending the run</li>
- <li>&bull; Blocked waits for missing user input</li>
- <li>&bull; Wait states remain non-terminal until cancellation or expiry</li>
+ <li>&bull; Approval and missing input pause the run without ending it</li>
</ul>
</div>
<div class="card">
<div class="card-header">
<div class="card-dot rose"></div>
- <h3>Terminal + Recovery</h3>
+ <h3>Recovery + Terminal Exits</h3>
</div>
<ul>
<li>&bull; Failed loops back while retry budget remains</li>
- <li>&bull; Cancelled and Expired are exits from the lifecycle</li>
- <li>&bull; Terminal exits do not point back into active execution</li>
+ <li>&bull; Cancelled and Expired are terminal exits with no return path</li>
</ul>
</div>
</div>
diff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.html
index d3e2c1e3..da3405f6 100644
--- a/docs/gallery/artifacts/cache-miss.sequence.html
+++ b/docs/gallery/artifacts/cache-miss.sequence.html
@@ -5004,7 +5004,7 @@
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 820 760" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
+ <svg viewBox="0 0 1080 560" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
<title id="archify-diagram-title">Cache Miss Request Sequence</title>
<desc id="archify-diagram-description">A sequence diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5030,129 +5030,129 @@
<rect width="100%" height="100%" fill="url(#grid)" />
<!-- Time Segments -->
- <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="0" x="48" y="150" width="724" height="145" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="0" x="48" y="150" width="984" height="100" rx="10" class="c-lane" stroke-width="1"/>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="1" x="48" y="315" width="724" height="190" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="1" x="48" y="260" width="984" height="110" rx="10" class="c-lane" stroke-width="1"/>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="2" x="48" y="525" width="724" height="140" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="2" x="48" y="380" width="984" height="100" rx="10" class="c-lane" stroke-width="1"/>
<!-- Lifelines -->
- <path d="M 62 142 L 62 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 170 142 L 170 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 278 142 L 278 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 386 142 L 386 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 494 142 L 494 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 602 142 L 602 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 710 142 L 710 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 118.5 142 L 118.5 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 262.66666666666663 142 L 262.66666666666663 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 406.8333333333333 142 L 406.8333333333333 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 551 142 L 551 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 695.1666666666666 142 L 695.1666666666666 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 839.3333333333333 142 L 839.3333333333333 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 983.5 142 L 983.5 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
<!-- Activations -->
- <rect x="165" y="220" width="10" height="448" rx="3" class="c-mask"/>
- <rect x="165" y="220" width="10" height="448" rx="3" class="c-frontend" stroke-width="1"/>
- <rect x="273" y="228" width="10" height="404" rx="3" class="c-mask"/>
- <rect x="273" y="228" width="10" height="404" rx="3" class="c-backend" stroke-width="1"/>
- <rect x="381" y="265" width="10" height="45" rx="3" class="c-mask"/>
- <rect x="381" y="265" width="10" height="45" rx="3" class="c-security" stroke-width="1"/>
- <rect x="489" y="349" width="10" height="49" rx="3" class="c-mask"/>
- <rect x="489" y="349" width="10" height="49" rx="3" class="c-database" stroke-width="1"/>
- <rect x="597" y="438" width="10" height="58" rx="3" class="c-mask"/>
- <rect x="597" y="438" width="10" height="58" rx="3" class="c-database" stroke-width="1"/>
- <rect x="705" y="575" width="10" height="55" rx="3" class="c-mask"/>
- <rect x="705" y="575" width="10" height="55" rx="3" class="c-messagebus" stroke-width="1"/>
+ <rect x="257.66666666666663" y="180" width="10" height="294" rx="3" class="c-mask"/>
+ <rect x="257.66666666666663" y="180" width="10" height="294" rx="3" class="c-frontend" stroke-width="1"/>
+ <rect x="401.8333333333333" y="185" width="10" height="265" rx="3" class="c-mask"/>
+ <rect x="401.8333333333333" y="185" width="10" height="265" rx="3" class="c-backend" stroke-width="1"/>
+ <rect x="546" y="205" width="10" height="39" rx="3" class="c-mask"/>
+ <rect x="546" y="205" width="10" height="39" rx="3" class="c-security" stroke-width="1"/>
+ <rect x="690.1666666666666" y="265" width="10" height="39" rx="3" class="c-mask"/>
+ <rect x="690.1666666666666" y="265" width="10" height="39" rx="3" class="c-database" stroke-width="1"/>
+ <rect x="834.3333333333333" y="325" width="10" height="39" rx="3" class="c-mask"/>
+ <rect x="834.3333333333333" y="325" width="10" height="39" rx="3" class="c-database" stroke-width="1"/>
+ <rect x="978.5" y="413" width="10" height="36" rx="3" class="c-mask"/>
+ <rect x="978.5" y="413" width="10" height="36" rx="3" class="c-messagebus" stroke-width="1"/>
<!-- Messages -->
<g data-edge-from="user" data-edge-to="web" data-edge-label="open page" data-edge-key="0" data-edge-id="open-page">
- <path data-composition-edge-from="user" data-composition-edge-to="web" data-composition-edge-id="open-page" data-composition-points="69,185;163,185" d="M 69 185 L 163 185" class="a-default" data-animate="edge" style="--step:0" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="user" data-composition-edge-to="web" data-composition-edge-id="open-page" data-composition-points="125.5,160;255.66666666666663,160" d="M 125.5 160 L 255.66666666666663 160" class="a-default" data-animate="edge" style="--step:0" stroke-width="1.4" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="86.6" y="165" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
- <text x="116" y="175" class="t-backend" font-size="9" text-anchor="middle">open page</text>
+ <rect x="161.1833333333333" y="140" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
+ <text x="190.58333333333331" y="150" class="t-backend" font-size="9" text-anchor="middle">open page</text>
</g>
</g>
<g data-edge-from="web" data-edge-to="api" data-edge-label="GET /dashboard" data-edge-key="1" data-edge-id="dashboard-request">
- <path data-composition-edge-from="web" data-composition-edge-to="api" data-composition-edge-id="dashboard-request" data-composition-points="177,228;271,228" d="M 177 228 L 271 228" class="a-emphasis" data-animate="edge" style="--step:1" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <path data-composition-edge-from="web" data-composition-edge-to="api" data-composition-edge-id="dashboard-request" data-composition-points="269.66666666666663,185;399.8333333333333,185" d="M 269.66666666666663 185 L 399.8333333333333 185" class="a-emphasis" data-animate="edge" style="--step:1" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
<g data-detail="context">
- <rect x="181.6" y="208" width="84.8" height="16" rx="3" class="c-mask"/>
- <text x="224" y="218" class="t-backend" font-size="9" text-anchor="middle">GET /dashboard</text>
+ <rect x="292.35" y="165" width="84.8" height="16" rx="3" class="c-mask"/>
+ <text x="334.75" y="175" class="t-backend" font-size="9" text-anchor="middle">GET /dashboard</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="auth" data-edge-label="verify JWT" data-edge-key="2" data-edge-id="verify-jwt">
- <path data-composition-edge-from="api" data-composition-edge-to="auth" data-composition-edge-id="verify-jwt" data-composition-points="285,270;379,270" d="M 285 270 L 379 270" class="a-security" data-animate="edge" style="--step:2" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="auth" data-composition-edge-id="verify-jwt" data-composition-points="413.8333333333333,210;544,210" d="M 413.8333333333333 210 L 544 210" class="a-security" data-animate="edge" style="--step:2" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
<g data-detail="context">
- <rect x="300" y="250" width="64" height="16" rx="3" class="c-mask"/>
- <text x="332" y="260" class="t-security" font-size="9" text-anchor="middle">verify JWT</text>
+ <rect x="446.91666666666663" y="190" width="64" height="16" rx="3" class="c-mask"/>
+ <text x="478.91666666666663" y="200" class="t-security" font-size="9" text-anchor="middle">verify JWT</text>
</g>
</g>
<g data-edge-from="auth" data-edge-to="api" data-edge-label="claims ok" data-edge-key="3" data-edge-id="auth-claims">
- <path data-composition-edge-from="auth" data-composition-edge-to="api" data-composition-edge-id="auth-claims" data-composition-points="379,305;285,305" d="M 379 305 L 285 305" class="a-default" data-animate="edge" style="--step:3" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="auth" data-composition-edge-to="api" data-composition-edge-id="auth-claims" data-composition-points="544,238;413.8333333333333,238" d="M 544 238 L 413.8333333333333 238" class="a-default" data-animate="edge" style="--step:3" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="302.6" y="285" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
- <text x="332" y="295" class="t-muted" font-size="9" text-anchor="middle">claims ok</text>
+ <rect x="449.51666666666665" y="218" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
+ <text x="478.91666666666663" y="228" class="t-muted" font-size="9" text-anchor="middle">claims ok</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="redis" data-edge-label="read cache" data-edge-key="4" data-edge-id="cache-read">
- <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-read" data-composition-points="285,354;487,354" d="M 285 354 L 487 354" class="a-default" data-animate="edge" style="--step:4" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-read" data-composition-points="413.8333333333333,270;688.1666666666666,270" d="M 413.8333333333333 270 L 688.1666666666666 270" class="a-default" data-animate="edge" style="--step:4" stroke-width="1.4" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="354" y="334" width="64" height="16" rx="3" class="c-mask"/>
- <text x="386" y="344" class="t-backend" font-size="9" text-anchor="middle">read cache</text>
+ <rect x="519" y="250" width="64" height="16" rx="3" class="c-mask"/>
+ <text x="551" y="260" class="t-backend" font-size="9" text-anchor="middle">read cache</text>
</g>
</g>
<g data-edge-from="redis" data-edge-to="api" data-edge-label="miss" data-edge-key="5" data-edge-id="cache-miss">
- <path data-composition-edge-from="redis" data-composition-edge-to="api" data-composition-edge-id="cache-miss" data-composition-points="487,391;285,391" d="M 487 391 L 285 391" class="a-default" data-animate="edge" style="--step:5" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="redis" data-composition-edge-to="api" data-composition-edge-id="cache-miss" data-composition-points="688.1666666666666,298;413.8333333333333,298" d="M 688.1666666666666 298 L 413.8333333333333 298" class="a-default" data-animate="edge" style="--step:5" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="369" y="371" width="34" height="16" rx="3" class="c-mask"/>
- <text x="386" y="381" class="t-muted" font-size="9" text-anchor="middle">miss</text>
+ <rect x="534" y="278" width="34" height="16" rx="3" class="c-mask"/>
+ <text x="551" y="288" class="t-muted" font-size="9" text-anchor="middle">miss</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="db" data-edge-label="query profile + metrics" data-edge-key="6" data-edge-id="profile-query">
- <path data-composition-edge-from="api" data-composition-edge-to="db" data-composition-edge-id="profile-query" data-composition-points="285,443;595,443" d="M 285 443 L 595 443" class="a-emphasis" data-animate="edge" style="--step:6" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="db" data-composition-edge-id="profile-query" data-composition-points="413.8333333333333,330;832.3333333333333,330" d="M 413.8333333333333 330 L 832.3333333333333 330" class="a-emphasis" data-animate="edge" style="--step:6" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
<g data-detail="context">
- <rect x="374.2" y="423" width="131.60000000000002" height="16" rx="3" class="c-mask"/>
- <text x="440" y="433" class="t-backend" font-size="9" text-anchor="middle">query profile + metrics</text>
+ <rect x="557.2833333333333" y="310" width="131.60000000000002" height="16" rx="3" class="c-mask"/>
+ <text x="623.0833333333333" y="320" class="t-backend" font-size="9" text-anchor="middle">query profile + metrics</text>
</g>
</g>
<g data-edge-from="db" data-edge-to="api" data-edge-label="rows" data-edge-key="7" data-edge-id="profile-rows">
- <path data-composition-edge-from="db" data-composition-edge-to="api" data-composition-edge-id="profile-rows" data-composition-points="595,489;285,489" d="M 595 489 L 285 489" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="db" data-composition-edge-to="api" data-composition-edge-id="profile-rows" data-composition-points="832.3333333333333,358;413.8333333333333,358" d="M 832.3333333333333 358 L 413.8333333333333 358" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="423" y="469" width="34" height="16" rx="3" class="c-mask"/>
- <text x="440" y="479" class="t-muted" font-size="9" text-anchor="middle">rows</text>
+ <rect x="606.0833333333333" y="338" width="34" height="16" rx="3" class="c-mask"/>
+ <text x="623.0833333333333" y="348" class="t-muted" font-size="9" text-anchor="middle">rows</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="redis" data-edge-label="set cache" data-edge-key="8" data-edge-id="cache-write">
- <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-write" data-composition-points="285,536;487,536" d="M 285 536 L 487 536" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-write" data-composition-points="413.8333333333333,390;688.1666666666666,390" d="M 413.8333333333333 390 L 688.1666666666666 390" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
<g data-detail="context">
- <rect x="356.6" y="516" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
- <text x="386" y="526" class="t-messagebus" font-size="9" text-anchor="middle">set cache</text>
+ <rect x="521.6" y="370" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
+ <text x="551" y="380" class="t-messagebus" font-size="9" text-anchor="middle">set cache</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="trace" data-edge-label="emit trace" data-edge-key="9" data-edge-id="trace-emit">
- <path data-composition-edge-from="api" data-composition-edge-to="trace" data-composition-edge-id="trace-emit" data-composition-points="285,580;703,580" d="M 285 580 L 703 580" class="a-dashed" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="trace" data-composition-edge-id="trace-emit" data-composition-points="413.8333333333333,418;976.5,418" d="M 413.8333333333333 418 L 976.5 418" class="a-dashed" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
<g data-detail="context">
- <rect x="462" y="560" width="64" height="16" rx="3" class="c-mask"/>
- <text x="494" y="570" class="t-messagebus" font-size="9" text-anchor="middle">emit trace</text>
+ <rect x="663.1666666666666" y="398" width="64" height="16" rx="3" class="c-mask"/>
+ <text x="695.1666666666666" y="408" class="t-messagebus" font-size="9" text-anchor="middle">emit trace</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="web" data-edge-label="200 JSON" data-edge-key="10" data-edge-id="dashboard-response">
- <path data-composition-edge-from="api" data-composition-edge-to="web" data-composition-edge-id="dashboard-response" data-composition-points="271,625;177,625" d="M 271 625 L 177 625" class="a-default" data-animate="edge" style="--step:10" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="web" data-composition-edge-id="dashboard-response" data-composition-points="399.8333333333333,443;269.66666666666663,443" d="M 399.8333333333333 443 L 269.66666666666663 443" class="a-default" data-animate="edge" style="--step:10" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="197.2" y="605" width="53.6" height="16" rx="3" class="c-mask"/>
- <text x="224" y="615" class="t-muted" font-size="9" text-anchor="middle">200 JSON</text>
+ <rect x="307.95" y="423" width="53.6" height="16" rx="3" class="c-mask"/>
+ <text x="334.75" y="433" class="t-muted" font-size="9" text-anchor="middle">200 JSON</text>
</g>
</g>
<g data-edge-from="web" data-edge-to="user" data-edge-label="render" data-edge-key="11" data-edge-id="page-render">
- <path data-composition-edge-from="web" data-composition-edge-to="user" data-composition-edge-id="page-render" data-composition-points="163,662;69,662" d="M 163 662 L 69 662" class="a-default" data-animate="edge" style="--step:11" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="web" data-composition-edge-to="user" data-composition-edge-id="page-render" data-composition-points="255.66666666666663,468;125.5,468" d="M 255.66666666666663 468 L 125.5 468" class="a-default" data-animate="edge" style="--step:11" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="94.4" y="642" width="43.2" height="16" rx="3" class="c-mask"/>
- <text x="116" y="652" class="t-muted" font-size="9" text-anchor="middle">render</text>
+ <rect x="168.98333333333332" y="448" width="43.2" height="16" rx="3" class="c-mask"/>
+ <text x="190.58333333333331" y="458" class="t-muted" font-size="9" text-anchor="middle">render</text>
</g>
</g>
@@ -5162,124 +5162,124 @@
<text x="62" y="141" class="t-dim" font-size="9" font-weight="600">Request</text>
</g>
<g data-graph-role="segment-label" data-segment-id="1">
- <rect x="56" y="293" width="55.6" height="18" rx="3" class="c-mask"/>
- <text x="62" y="306" class="t-dim" font-size="9" font-weight="600">Fallback</text>
+ <rect x="56" y="238" width="55.6" height="18" rx="3" class="c-mask"/>
+ <text x="62" y="251" class="t-dim" font-size="9" font-weight="600">Fallback</text>
</g>
<g data-graph-role="segment-label" data-segment-id="2">
- <rect x="56" y="503" width="97.2" height="18" rx="3" class="c-mask"/>
- <text x="62" y="516" class="t-dim" font-size="9" font-weight="600">Response + trace</text>
+ <rect x="56" y="358" width="97.2" height="18" rx="3" class="c-mask"/>
+ <text x="62" y="371" class="t-dim" font-size="9" font-weight="600">Response + trace</text>
</g>
<!-- 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="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"/>
- <g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(25 78) scale(0.6875)">
+ <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"/>
+ <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="62" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">User</text>
- <text data-detail="context" x="62" 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="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>
</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="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-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(133 78) scale(0.6875)">
+ <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"/>
+ <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="170" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Web App</text>
- <text data-detail="context" x="170" 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="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>
</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="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-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(241 78) scale(0.6875)">
+ <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"/>
+ <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="278" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">API</text>
- <text data-detail="context" x="278" 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="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>
</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="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-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(349 78) scale(0.6875)">
+ <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"/>
+ <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="386" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Auth</text>
- <text data-detail="context" x="386" y="111" class="t-muted" font-size="7" text-anchor="middle">JWT verify</text>
+ <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>
</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="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-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(457 78) scale(0.6875)">
+ <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"/>
+ <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="494" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Redis</text>
- <text data-detail="context" x="494" y="111" class="t-muted" font-size="7" text-anchor="middle">cache</text>
+ <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>
</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="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"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(565 78) scale(0.6875)">
+ <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"/>
+ <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="602" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Postgres</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="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>
</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="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"/>
- <g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(673 78) scale(0.6875)">
+ <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"/>
+ <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="710" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Trace</text>
- <text data-detail="context" x="710" 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="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>
</g>
<!-- Legend -->
<g data-legend="">
- <text x="40" y="686" class="t-primary" font-size="12" font-weight="650">Legend</text>
- <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="706" data-legend-width="78">
- <path d="M 40 703 L 74 703" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <text x="83" y="706" class="t-muted" font-size="10" font-weight="500">request</text>
+ <text x="40" y="486" class="t-primary" font-size="12" font-weight="650">Legend</text>
+ <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="506" data-legend-width="78">
+ <path d="M 40 503 L 74 503" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <text x="83" y="506" class="t-muted" font-size="10" font-weight="500">request</text>
</g>
- <g data-legend-semantic-kind="return" data-legend-x="140" data-legend-baseline="706" data-legend-width="73">
- <path d="M 140 703 L 174 703" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
- <text x="183" y="706" class="t-muted" font-size="10" font-weight="500">return</text>
+ <g data-legend-semantic-kind="return" data-legend-x="140" data-legend-baseline="506" data-legend-width="73">
+ <path d="M 140 503 L 174 503" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <text x="183" y="506" class="t-muted" font-size="10" font-weight="500">return</text>
</g>
- <g data-legend-semantic-kind="security" data-legend-x="235" data-legend-baseline="706" data-legend-width="83">
- <path d="M 235 703 L 269 703" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
- <text x="278" y="706" class="t-muted" font-size="10" font-weight="500">security</text>
+ <g data-legend-semantic-kind="security" data-legend-x="235" data-legend-baseline="506" data-legend-width="83">
+ <path d="M 235 503 L 269 503" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <text x="278" y="506" class="t-muted" font-size="10" font-weight="500">security</text>
</g>
- <g data-legend-semantic-kind="dashed" data-legend-x="340" data-legend-baseline="706" data-legend-width="98">
- <path d="M 340 703 L 374 703" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <text x="383" y="706" class="t-muted" font-size="10" font-weight="500">async trace</text>
+ <g data-legend-semantic-kind="dashed" data-legend-x="340" data-legend-baseline="506" data-legend-width="98">
+ <path d="M 340 503 L 374 503" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <text x="383" y="506" class="t-muted" font-size="10" font-weight="500">async trace</text>
</g>
- <g data-legend-semantic-kind="default" data-legend-x="460" data-legend-baseline="706" data-legend-width="118">
- <path d="M 460 703 L 494 703" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
- <text x="503" y="706" class="t-muted" font-size="10" font-weight="500">default message</text>
+ <g data-legend-semantic-kind="default" data-legend-x="460" data-legend-baseline="506" data-legend-width="118">
+ <path d="M 460 503 L 494 503" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <text x="503" y="506" class="t-muted" font-size="10" font-weight="500">default message</text>
</g>
</g>
</svg>
diff --git a/docs/gallery/artifacts/product-analytics.dataflow.html b/docs/gallery/artifacts/product-analytics.dataflow.html
index e56dd1bb..aba746d0 100644
--- a/docs/gallery/artifacts/product-analytics.dataflow.html
+++ b/docs/gallery/artifacts/product-analytics.dataflow.html
@@ -5004,7 +5004,7 @@
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 1080 760" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
+ <svg viewBox="0 0 1080 520" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
<title id="archify-diagram-title">Product Analytics Data Flow</title>
<desc id="archify-diagram-description">A data-flow diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5030,19 +5030,19 @@
<rect width="100%" height="100%" fill="url(#grid)" />
<!-- Data Stages -->
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="0" x="16" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="0" x="16" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="100" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">01 / Sources</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="1" x="231" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="1" x="231" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="315" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">02 / Ingest</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="2" x="446" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="2" x="446" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="530" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">03 / Process</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="3" x="661" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="3" x="661" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="745" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">04 / Store</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="4" x="876" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="4" x="876" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="960" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">05 / Consume</text>
<!-- Flow paths -->
@@ -5051,11 +5051,11 @@
<path data-edge-from="edge" data-edge-to="consent" data-edge-label="identity + consent" data-edge-key="2" data-edge-id="consent-enrichment" data-composition-points="315,242;315,112;450,112;450,157;474,157" d="M 315 242 L 315 112 L 450 112 L 450 157 L 474 157" class="a-security" data-animate="edge" style="--step:2" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
<path data-edge-from="edge" data-edge-to="stream" data-edge-label="accepted events" data-edge-key="3" data-edge-id="accepted-events" data-composition-points="371,271;420,271;420,385;474,385" d="M 371 271 L 420 271 L 420 385 L 474 385" class="a-emphasis" data-animate="edge" style="--step:3" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
<path data-edge-from="consent" data-edge-to="pii" data-edge-label="identity map" data-edge-key="4" data-edge-id="identity-map" data-composition-points="586,157;689,157" d="M 586 157 L 689 157" class="a-security" data-animate="edge" style="--step:4" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
- <path data-edge-from="stream" data-edge-to="warehouse" data-edge-label="normalized facts" data-edge-key="5" data-edge-id="normalized-facts" data-composition-points="586,385;689,385" d="M 586 385 L 689 385" class="a-emphasis" data-animate="edge" style="--step:5" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <path data-edge-from="warehouse" data-edge-to="features" data-edge-label="daily aggregates" data-edge-key="6" data-edge-id="daily-aggregates" data-composition-points="745,414;745,584" d="M 745 414 L 745 584" class="a-dashed" data-animate="edge" style="--step:6" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="warehouse" data-edge-to="dashboard" data-edge-label="metrics SQL" data-edge-key="7" data-edge-id="metrics-query" data-composition-points="801,385;852,385;852,271;904,271" d="M 801 385 L 852 385 L 852 271 L 904 271" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" marker-end="url(#arrowhead)"/>
- <path data-edge-from="features" data-edge-to="model" data-edge-label="feature vectors" data-edge-key="8" data-edge-id="feature-vectors" data-composition-points="801,613;904,613" d="M 801 613 L 904 613" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="pii" data-edge-to="dashboard" data-edge-label="restricted join" data-edge-key="9" data-edge-id="restricted-join" data-composition-points="801,157;878,157;878,212;960,212;960,242" d="M 801 157 L 878 157 L 878 212 L 960 212 L 960 242" class="a-security" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <path data-edge-from="stream" data-edge-to="warehouse" data-edge-label="normalized facts" data-edge-key="5" data-edge-id="normalized-facts" data-composition-points="586,385;638,385;638,271;689,271" d="M 586 385 L 638 385 L 638 271 L 689 271" class="a-emphasis" data-animate="edge" style="--step:5" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <path data-edge-from="warehouse" data-edge-to="features" data-edge-label="daily aggregates" data-edge-key="6" data-edge-id="daily-aggregates" data-composition-points="745,300;745,356" d="M 745 300 L 745 356" class="a-dashed" data-animate="edge" style="--step:6" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-edge-from="warehouse" data-edge-to="dashboard" data-edge-label="metrics SQL" data-edge-key="7" data-edge-id="metrics-query" data-composition-points="801,271;852,271;960,271;960,186" d="M 801 271 L 852 271 L 960 271 L 960 186" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <path data-edge-from="features" data-edge-to="model" data-edge-label="feature vectors" data-edge-key="8" data-edge-id="feature-vectors" data-composition-points="801,385;904,385" d="M 801 385 L 904 385" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-edge-from="pii" data-edge-to="dashboard" data-edge-label="restricted join" data-edge-key="9" data-edge-id="restricted-join" data-composition-points="801,157;904,157" d="M 801 157 L 904 157" class="a-security" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
<!-- Nodes -->
<g id="node-web" data-node-id="web" data-node-label="Web App" tabindex="0" role="button" aria-label="Focus Web App, browser SDK, 01 / Sources" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="browser SDK" data-node-tag="events" data-node-context="01 / Sources">
@@ -5143,52 +5143,52 @@
<g id="node-warehouse" data-node-id="warehouse" data-node-label="Warehouse" tabindex="0" role="button" aria-label="Focus Warehouse, analytics tables, 04 / Store" aria-pressed="false" data-node-kind="database" data-node-sublabel="analytics tables" data-node-tag="curated" data-node-context="04 / Store">
<title>Warehouse · analytics tables · 04 / Store · curated</title>
- <rect x="689" y="356" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="689" y="356" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:6" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 362) scale(0.6875)">
+ <rect x="689" y="242" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="689" y="242" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:6" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 248) 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="745" y="377" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Warehouse</text>
- <text data-detail="context" x="745" y="393" class="t-muted" font-size="7" text-anchor="middle">analytics tables</text>
- <text data-detail="fine" x="745" y="403" class="t-database" font-size="7" text-anchor="middle">curated</text>
+ <text data-node-label="" data-detail-anchor="" x="745" y="263" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Warehouse</text>
+ <text data-detail="context" x="745" y="279" class="t-muted" font-size="7" text-anchor="middle">analytics tables</text>
+ <text data-detail="fine" x="745" y="289" class="t-database" font-size="7" text-anchor="middle">curated</text>
</g>
<g id="node-features" data-node-id="features" data-node-label="Feature Store" tabindex="0" role="button" aria-label="Focus Feature Store, daily batch, 04 / Store" aria-pressed="false" data-node-kind="database" data-node-sublabel="daily batch" data-node-tag="derived" data-node-context="04 / Store">
<title>Feature Store · daily batch · 04 / Store · derived</title>
- <rect x="689" y="584" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="689" y="584" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:7" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 590) scale(0.6875)">
+ <rect x="689" y="356" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="689" y="356" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:7" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 362) 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="745" y="605" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Feature Store</text>
- <text data-detail="context" x="745" y="621" class="t-muted" font-size="7" text-anchor="middle">daily batch</text>
- <text data-detail="fine" x="745" y="631" class="t-database" font-size="7" text-anchor="middle">derived</text>
+ <text data-node-label="" data-detail-anchor="" x="745" y="377" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Feature Store</text>
+ <text data-detail="context" x="745" y="393" class="t-muted" font-size="7" text-anchor="middle">daily batch</text>
+ <text data-detail="fine" x="745" y="403" class="t-database" font-size="7" text-anchor="middle">derived</text>
</g>
<g id="node-dashboard" data-node-id="dashboard" data-node-label="Dashboards" tabindex="0" role="button" aria-label="Focus Dashboards, product metrics, 05 / Consume" aria-pressed="false" data-node-kind="backend" data-node-sublabel="product metrics" data-node-tag="SQL" data-node-context="05 / Consume">
<title>Dashboards · product metrics · 05 / Consume · SQL</title>
- <rect x="904" y="242" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="904" y="242" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:8" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 248) scale(0.6875)">
+ <rect x="904" y="128" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="904" y="128" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:8" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 134) scale(0.6875)">
<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="960" y="263" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Dashboards</text>
- <text data-detail="context" x="960" y="279" class="t-muted" font-size="7" text-anchor="middle">product metrics</text>
- <text data-detail="fine" x="960" y="289" class="t-backend" font-size="7" text-anchor="middle">SQL</text>
+ <text data-node-label="" data-detail-anchor="" x="960" y="149" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Dashboards</text>
+ <text data-detail="context" x="960" y="165" class="t-muted" font-size="7" text-anchor="middle">product metrics</text>
+ <text data-detail="fine" x="960" y="175" class="t-backend" font-size="7" text-anchor="middle">SQL</text>
</g>
<g id="node-model" data-node-id="model" data-node-label="ML Model" tabindex="0" role="button" aria-label="Focus ML Model, ranking job, 05 / Consume" aria-pressed="false" data-node-kind="backend" data-node-sublabel="ranking job" data-node-tag="features" data-node-context="05 / Consume">
<title>ML Model · ranking job · 05 / Consume · features</title>
- <rect x="904" y="584" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="904" y="584" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:9" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 590) scale(0.6875)">
+ <rect x="904" y="356" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="904" y="356" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:9" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 362) scale(0.6875)">
<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="960" y="605" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">ML Model</text>
- <text data-detail="context" x="960" y="621" class="t-muted" font-size="7" text-anchor="middle">ranking job</text>
- <text data-detail="fine" x="960" y="631" class="t-backend" font-size="7" text-anchor="middle">features</text>
+ <text data-node-label="" data-detail-anchor="" x="960" y="377" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">ML Model</text>
+ <text data-detail="context" x="960" y="393" class="t-muted" font-size="7" text-anchor="middle">ranking job</text>
+ <text data-detail="fine" x="960" y="403" class="t-backend" font-size="7" text-anchor="middle">features</text>
</g>
<!-- Flow labels -->
@@ -5218,53 +5218,53 @@
<text data-detail="fine" x="638" y="155" class="t-dim" font-size="7" text-anchor="middle">encrypted PII</text>
</g>
<g data-detail="context" data-edge-from="stream" data-edge-to="warehouse" data-edge-label="normalized facts" data-edge-key="5" data-edge-id="normalized-facts">
- <rect x="592.8" y="361" width="90.4" height="27" rx="4" class="c-mask"/>
- <text x="638" y="372" class="t-backend" font-size="8" text-anchor="middle">normalized facts</text>
- <text data-detail="fine" x="638" y="383" class="t-dim" font-size="7" text-anchor="middle">non-PII</text>
+ <rect x="592.8" y="315" width="90.4" height="27" rx="4" class="c-mask"/>
+ <text x="638" y="326" class="t-backend" font-size="8" text-anchor="middle">normalized facts</text>
+ <text data-detail="fine" x="638" y="337" class="t-dim" font-size="7" text-anchor="middle">non-PII</text>
</g>
<g data-detail="context" data-edge-from="warehouse" data-edge-to="features" data-edge-label="daily aggregates" data-edge-key="6" data-edge-id="daily-aggregates">
- <rect x="699.8" y="485" width="90.4" height="27" rx="4" class="c-mask"/>
- <text x="745" y="496" class="t-messagebus" font-size="8" text-anchor="middle">daily aggregates</text>
- <text data-detail="fine" x="745" y="507" class="t-dim" font-size="7" text-anchor="middle">batch</text>
+ <rect x="699.8" y="315" width="90.4" height="27" rx="4" class="c-mask"/>
+ <text x="745" y="326" class="t-messagebus" font-size="8" text-anchor="middle">daily aggregates</text>
+ <text data-detail="fine" x="745" y="337" class="t-dim" font-size="7" text-anchor="middle">batch</text>
</g>
<g data-detail="context" data-edge-from="warehouse" data-edge-to="dashboard" data-edge-label="metrics SQL" data-edge-key="7" data-edge-id="metrics-query">
- <rect x="797.05" y="315" width="65.9" height="27" rx="4" class="c-mask"/>
- <text x="830" y="326" class="t-muted" font-size="8" text-anchor="middle">metrics SQL</text>
- <text data-detail="fine" x="830" y="337" class="t-dim" font-size="7" text-anchor="middle">read-only</text>
+ <rect x="843.05" y="247" width="65.9" height="27" rx="4" class="c-mask"/>
+ <text x="876" y="258" class="t-muted" font-size="8" text-anchor="middle">metrics SQL</text>
+ <text data-detail="fine" x="876" y="269" class="t-dim" font-size="7" text-anchor="middle">read-only</text>
</g>
<g data-detail="context" data-edge-from="features" data-edge-to="model" data-edge-label="feature vectors" data-edge-key="8" data-edge-id="feature-vectors">
- <rect x="809.25" y="587" width="85.5" height="27" rx="4" class="c-mask"/>
- <text x="852" y="598" class="t-messagebus" font-size="8" text-anchor="middle">feature vectors</text>
- <text data-detail="fine" x="852" y="609" class="t-dim" font-size="7" text-anchor="middle">derived</text>
+ <rect x="809.25" y="361" width="85.5" height="27" rx="4" class="c-mask"/>
+ <text x="852" y="372" class="t-messagebus" font-size="8" text-anchor="middle">feature vectors</text>
+ <text data-detail="fine" x="852" y="383" class="t-dim" font-size="7" text-anchor="middle">derived</text>
</g>
<g data-detail="context" data-edge-from="pii" data-edge-to="dashboard" data-edge-label="restricted join" data-edge-key="9" data-edge-id="restricted-join">
- <rect x="837.25" y="187" width="85.5" height="27" rx="4" class="c-mask"/>
- <text x="880" y="198" class="t-security" font-size="8" text-anchor="middle">restricted join</text>
- <text data-detail="fine" x="880" y="209" class="t-dim" font-size="7" text-anchor="middle">approved only</text>
+ <rect x="809.25" y="133" width="85.5" height="27" rx="4" class="c-mask"/>
+ <text x="852" y="144" class="t-security" font-size="8" text-anchor="middle">restricted join</text>
+ <text data-detail="fine" x="852" y="155" class="t-dim" font-size="7" text-anchor="middle">approved only</text>
</g>
<!-- Legend -->
<g data-legend="" data-legend-bridge="">
- <text x="40" y="704" class="t-primary" font-size="12" font-weight="650">Legend</text>
- <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="724" data-legend-width="103">
- <path d="M 40 721 L 74 721" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <text x="83" y="724" class="t-muted" font-size="10" font-weight="500">primary data</text>
+ <text x="40" y="464" class="t-primary" font-size="12" font-weight="650">Legend</text>
+ <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="484" data-legend-width="103">
+ <path d="M 40 481 L 74 481" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <text x="83" y="484" class="t-muted" font-size="10" font-weight="500">primary data</text>
</g>
- <g data-legend-semantic-kind="security" data-legend-x="165" data-legend-baseline="724" data-legend-width="103">
- <path d="M 165 721 L 199 721" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
- <text x="208" y="724" class="t-muted" font-size="10" font-weight="500">policy / PII</text>
+ <g data-legend-semantic-kind="security" data-legend-x="165" data-legend-baseline="484" data-legend-width="103">
+ <path d="M 165 481 L 199 481" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <text x="208" y="484" class="t-muted" font-size="10" font-weight="500">policy / PII</text>
</g>
- <g data-legend-semantic-kind="dashed" data-legend-x="290" data-legend-baseline="724" data-legend-width="98">
- <path d="M 290 721 L 324 721" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <text x="333" y="724" class="t-muted" font-size="10" font-weight="500">async batch</text>
+ <g data-legend-semantic-kind="dashed" data-legend-x="290" data-legend-baseline="484" data-legend-width="98">
+ <path d="M 290 481 L 324 481" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <text x="333" y="484" class="t-muted" font-size="10" font-weight="500">async batch</text>
</g>
- <g data-legend-semantic-kind="database" data-legend-kind="database" data-legend-label="data store" data-legend-x="410" data-legend-baseline="724" data-legend-width="93">
- <rect x="410" y="716" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
- <text x="432" y="724" class="t-muted" font-size="10" font-weight="500">data store</text>
+ <g data-legend-semantic-kind="database" data-legend-kind="database" data-legend-label="data store" data-legend-x="410" data-legend-baseline="484" data-legend-width="93">
+ <rect x="410" y="476" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
+ <text x="432" y="484" class="t-muted" font-size="10" font-weight="500">data store</text>
</g>
- <g data-legend-semantic-kind="default" data-legend-x="525" data-legend-baseline="724" data-legend-width="88">
- <path d="M 525 721 L 559 721" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
- <text x="568" y="724" class="t-muted" font-size="10" font-weight="500">data flow</text>
+ <g data-legend-semantic-kind="default" data-legend-x="525" data-legend-baseline="484" data-legend-width="88">
+ <path d="M 525 481 L 559 481" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <text x="568" y="484" class="t-muted" font-size="10" font-weight="500">data flow</text>
</g>
</g>
</svg>
diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.json
index d75d682f..af89ca26 100644
--- a/docs/gallery/manifest.json
+++ b/docs/gallery/manifest.json
@@ -227,10 +227,10 @@
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 12,
- "artifactBytes": 716842,
- "artifactSha256": "6bf688c8577049973ace979ac73292eda0cc8f349934c6ba4452720853ced84c",
- "sourceBytes": 4345,
- "sourceSha256": "4bbaa6ca3cd4036002fd5d0f3a332eb922cec69d09bac3d7925f95beb4308389",
+ "artifactBytes": 718161,
+ "artifactSha256": "db36c4946277cf2ee01799e3d8b3bfb1ff3e2206dd7baabcfeb155e168ea821a",
+ "sourceBytes": 4374,
+ "sourceSha256": "9a799a3661c16cd6ab4f6373ff6a04da95a9ab70d93b0a349b668466f4912fd7",
"checks": [
{
"name": "single_svg",
@@ -282,14 +282,14 @@
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
- "minLabelRouteClearance": 15,
+ "minLabelRouteClearance": 8,
"desktopReadabilityIssues": 0,
"minProjectedNodeTextPx": null,
"maxBends": 0,
"routesOverSuggestedBends": 0,
"maxStretch": 1,
"routesOverSuggestedStretch": 0,
- "minSegmentPx": 94,
+ "minSegmentPx": 130.2,
"minInteriorSegmentPx": null,
"shortSegmentCount": 0,
"shortEndpointSegmentCount": 0,
@@ -527,10 +527,10 @@
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 10,
- "artifactBytes": 720496,
- "artifactSha256": "d66d70595448044a92d032738e2437980d2160462f974a1de8cfa82c5e148d54",
- "sourceBytes": 5627,
- "sourceSha256": "6fa38a7ccedf96da592d60b392783b846188eaa3ec9136c6dc06ca020e43a110",
+ "artifactBytes": 720478,
+ "artifactSha256": "0d64f0af16a83ff6b2ca6d58aac7b426b10ee884843d3d326953418805a7a511",
+ "sourceBytes": 5618,
+ "sourceSha256": "91411404fb4828a3b7ea358f3a7b9877781c9e9dc9c04b42b6eb4a757281b59f",
"checks": [
{
"name": "single_svg",
@@ -582,11 +582,11 @@
"ambiguousCorridors": 0,
"containerBorderRuns": 0,
"labelRouteClearanceIssues": 0,
- "minLabelRouteClearance": 57,
+ "minLabelRouteClearance": 44.3,
"desktopReadabilityIssues": 0,
"minProjectedNodeTextPx": null,
"maxBends": 3,
- "routesOverSuggestedBends": 2,
+ "routesOverSuggestedBends": 1,
"maxStretch": 1.369,
"routesOverSuggestedStretch": 1,
"minSegmentPx": 24,
@@ -827,10 +827,10 @@
"engineeringProfile": null,
"nodeCount": 10,
"edgeCount": 6,
- "artifactBytes": 714131,
- "artifactSha256": "d15306112803fe6ac1050c6fd5d943545a5bc6a72a0407cd0751d0d8794f6429",
- "sourceBytes": 4417,
- "sourceSha256": "af939579dcafc8b4c49f09594591577994398aee57a57369d4c791dfc0d85a42",
+ "artifactBytes": 713581,
+ "artifactSha256": "80d777965b12406fa17ee80a8b3c20394621815159e481eacf229c8cd7f64cb7",
+ "sourceBytes": 4044,
+ "sourceSha256": "7c0ad72ee7affbd6c6e4758b7520d61ddd4508c917acf36beabcad3ee7ca3ba7",
"checks": [
{
"name": "single_svg",
diff --git a/docs/gallery/sources/agent-run.lifecycle.json b/docs/gallery/sources/agent-run.lifecycle.json
index 329208b4..fc1deb87 100644
--- a/docs/gallery/sources/agent-run.lifecycle.json
+++ b/docs/gallery/sources/agent-run.lifecycle.json
@@ -4,7 +4,7 @@
"meta": {
"title": "Agent Run Lifecycle",
"output": "examples/lifecycle-agent-run.html",
- "viewBox": [980, 660],
+ "viewBox": [1030, 630],
"animation": "trace",
"quality_profile": "showcase",
"views": [
@@ -42,29 +42,18 @@
"cards": [
{
"dot": "emerald",
- "title": "Main Path",
+ "title": "Main Path + Waits",
"items": [
"The run has five ordered phases from queue to completion",
- "The primary lifecycle is carried by one horizontal rail",
- "Completion is a phase, not a detached side box"
- ]
- },
- {
- "dot": "amber",
- "title": "Human + Input Gates",
- "items": [
- "Approval pauses execution without ending the run",
- "Blocked waits for missing user input",
- "Wait states remain non-terminal until cancellation or expiry"
+ "Approval and missing input pause the run without ending it"
]
},
{
"dot": "rose",
- "title": "Terminal + Recovery",
+ "title": "Recovery + Terminal Exits",
"items": [
"Failed loops back while retry budget remains",
- "Cancelled and Expired are exits from the lifecycle",
- "Terminal exits do not point back into active execution"
+ "Cancelled and Expired are terminal exits with no return path"
]
}
]
diff --git a/docs/gallery/sources/cache-miss-request.sequence.json b/docs/gallery/sources/cache-miss-request.sequence.json
index 3a5d502f..f3247780 100644
--- a/docs/gallery/sources/cache-miss-request.sequence.json
+++ b/docs/gallery/sources/cache-miss-request.sequence.json
@@ -4,7 +4,8 @@
"meta": {
"title": "Cache Miss Request Sequence",
"output": "examples/sequence-cache-miss-request.html",
- "viewBox": [820, 760],
+ "viewBox": [1080, 560],
+ "column_fit": "spread",
"animation": "trace",
"quality_profile": "showcase",
"views": [
@@ -23,31 +24,31 @@
{ "id": "trace", "type": "messagebus", "label": "Trace", "sublabel": "async event" }
],
"segments": [
- { "from": 150, "to": 295, "label": "Request" },
- { "from": 315, "to": 505, "label": "Fallback" },
- { "from": 525, "to": 665, "label": "Response + trace" }
+ { "from": 150, "to": 250, "label": "Request" },
+ { "from": 260, "to": 370, "label": "Fallback" },
+ { "from": 380, "to": 480, "label": "Response + trace" }
],
"messages": [
- { "id": "open-page", "from": "user", "to": "web", "y": 185, "label": "open page", "variant": "default" },
- { "id": "dashboard-request", "from": "web", "to": "api", "y": 228, "label": "GET /dashboard", "variant": "emphasis" },
- { "id": "verify-jwt", "from": "api", "to": "auth", "y": 270, "label": "verify JWT", "variant": "security" },
- { "id": "auth-claims", "from": "auth", "to": "api", "y": 305, "label": "claims ok", "variant": "return" },
- { "id": "cache-read", "from": "api", "to": "redis", "y": 354, "label": "read cache", "variant": "default" },
- { "id": "cache-miss", "from": "redis", "to": "api", "y": 391, "label": "miss", "variant": "return" },
- { "id": "profile-query", "from": "api", "to": "db", "y": 443, "label": "query profile + metrics", "variant": "emphasis" },
- { "id": "profile-rows", "from": "db", "to": "api", "y": 489, "label": "rows", "variant": "return" },
- { "id": "cache-write", "from": "api", "to": "redis", "y": 536, "label": "set cache", "variant": "dashed" },
- { "id": "trace-emit", "from": "api", "to": "trace", "y": 580, "label": "emit trace", "variant": "dashed" },
- { "id": "dashboard-response", "from": "api", "to": "web", "y": 625, "label": "200 JSON", "variant": "return" },
- { "id": "page-render", "from": "web", "to": "user", "y": 662, "label": "render", "variant": "return" }
+ { "id": "open-page", "from": "user", "to": "web", "y": 160, "label": "open page", "variant": "default" },
+ { "id": "dashboard-request", "from": "web", "to": "api", "y": 185, "label": "GET /dashboard", "variant": "emphasis" },
+ { "id": "verify-jwt", "from": "api", "to": "auth", "y": 210, "label": "verify JWT", "variant": "security" },
+ { "id": "auth-claims", "from": "auth", "to": "api", "y": 238, "label": "claims ok", "variant": "return" },
+ { "id": "cache-read", "from": "api", "to": "redis", "y": 270, "label": "read cache", "variant": "default" },
+ { "id": "cache-miss", "from": "redis", "to": "api", "y": 298, "label": "miss", "variant": "return" },
+ { "id": "profile-query", "from": "api", "to": "db", "y": 330, "label": "query profile + metrics", "variant": "emphasis" },
+ { "id": "profile-rows", "from": "db", "to": "api", "y": 358, "label": "rows", "variant": "return" },
+ { "id": "cache-write", "from": "api", "to": "redis", "y": 390, "label": "set cache", "variant": "dashed" },
+ { "id": "trace-emit", "from": "api", "to": "trace", "y": 418, "label": "emit trace", "variant": "dashed" },
+ { "id": "dashboard-response", "from": "api", "to": "web", "y": 443, "label": "200 JSON", "variant": "return" },
+ { "id": "page-render", "from": "web", "to": "user", "y": 468, "label": "render", "variant": "return" }
],
"activations": [
- { "participant": "web", "from": 220, "to": 668, "type": "frontend" },
- { "participant": "api", "from": 228, "to": 632, "type": "backend" },
- { "participant": "auth", "from": 265, "to": 310, "type": "security" },
- { "participant": "redis", "from": 349, "to": 398, "type": "database" },
- { "participant": "db", "from": 438, "to": 496, "type": "database" },
- { "participant": "trace", "from": 575, "to": 630, "type": "messagebus" }
+ { "participant": "web", "from": 180, "to": 474, "type": "frontend" },
+ { "participant": "api", "from": 185, "to": 450, "type": "backend" },
+ { "participant": "auth", "from": 205, "to": 244, "type": "security" },
+ { "participant": "redis", "from": 265, "to": 304, "type": "database" },
+ { "participant": "db", "from": 325, "to": 364, "type": "database" },
+ { "participant": "trace", "from": 413, "to": 449, "type": "messagebus" }
],
"cards": [
{
diff --git a/docs/gallery/sources/product-analytics.dataflow.json b/docs/gallery/sources/product-analytics.dataflow.json
index 57270cf1..62a50d91 100644
--- a/docs/gallery/sources/product-analytics.dataflow.json
+++ b/docs/gallery/sources/product-analytics.dataflow.json
@@ -4,7 +4,7 @@
"meta": {
"title": "Product Analytics Data Flow",
"output": "examples/dataflow-product-analytics.html",
- "viewBox": [1080, 760],
+ "viewBox": [1080, 520],
"animation": "trace",
"quality_profile": "showcase",
"views": [
@@ -27,10 +27,10 @@
{ "id": "consent", "type": "security", "label": "Consent Gate", "sublabel": "policy filter", "stage": 2, "row": 0, "tag": "PII guard" },
{ "id": "stream", "type": "messagebus", "label": "Event Stream", "sublabel": "Kafka topic", "stage": 2, "row": 2, "tag": "ordered" },
{ "id": "pii", "type": "security", "label": "PII Vault", "sublabel": "encrypted", "stage": 3, "row": 0, "tag": "restricted" },
- { "id": "warehouse", "type": "database", "label": "Warehouse", "sublabel": "analytics tables", "stage": 3, "row": 2, "tag": "curated" },
- { "id": "features", "type": "database", "label": "Feature Store", "sublabel": "daily batch", "stage": 3, "row": 4, "tag": "derived" },
- { "id": "dashboard", "type": "backend", "label": "Dashboards", "sublabel": "product metrics", "stage": 4, "row": 1, "tag": "SQL" },
- { "id": "model", "type": "backend", "label": "ML Model", "sublabel": "ranking job", "stage": 4, "row": 4, "tag": "features" }
+ { "id": "warehouse", "type": "database", "label": "Warehouse", "sublabel": "analytics tables", "stage": 3, "row": 1, "tag": "curated" },
+ { "id": "features", "type": "database", "label": "Feature Store", "sublabel": "daily batch", "stage": 3, "row": 2, "tag": "derived" },
+ { "id": "dashboard", "type": "backend", "label": "Dashboards", "sublabel": "product metrics", "stage": 4, "row": 0, "tag": "SQL" },
+ { "id": "model", "type": "backend", "label": "ML Model", "sublabel": "ranking job", "stage": 4, "row": 2, "tag": "features" }
],
"flows": [
{ "id": "web-clickstream", "from": "web", "to": "edge", "label": "clickstream", "classification": "user events", "variant": "emphasis", "fromSide": "right", "toSide": "left", "via": [[205, 157], [205, 271]], "labelAt": [204, 190] },
@@ -38,11 +38,11 @@
{ "id": "consent-enrichment", "from": "edge", "to": "consent", "label": "identity + consent", "classification": "PII touch", "variant": "security", "fromSide": "top", "toSide": "left", "via": [[315, 112], [450, 112], [450, 157]], "labelAt": [382, 100] },
{ "id": "accepted-events", "from": "edge", "to": "stream", "label": "accepted events", "classification": "append-only", "variant": "emphasis", "fromSide": "right", "toSide": "left", "via": [[420, 271], [420, 385]], "labelAt": [438, 324] },
{ "id": "identity-map", "from": "consent", "to": "pii", "label": "identity map", "classification": "encrypted PII", "variant": "security", "route": "straight", "labelAt": [638, 144] },
- { "id": "normalized-facts", "from": "stream", "to": "warehouse", "label": "normalized facts", "classification": "non-PII", "variant": "emphasis", "route": "straight", "labelAt": [638, 372] },
- { "id": "daily-aggregates", "from": "warehouse", "to": "features", "label": "daily aggregates", "classification": "batch", "variant": "dashed", "fromSide": "bottom", "toSide": "top", "route": "straight", "labelAt": [745, 496] },
- { "id": "metrics-query", "from": "warehouse", "to": "dashboard", "label": "metrics SQL", "classification": "read-only", "variant": "default", "fromSide": "right", "toSide": "left", "via": [[852, 385], [852, 271]], "labelAt": [830, 326] },
- { "id": "feature-vectors", "from": "features", "to": "model", "label": "feature vectors", "classification": "derived", "variant": "dashed", "route": "straight", "labelAt": [852, 598] },
- { "id": "restricted-join", "from": "pii", "to": "dashboard", "label": "restricted join", "classification": "approved only", "variant": "security", "fromSide": "right", "toSide": "top", "via": [[878, 157], [878, 212], [960, 212]], "labelAt": [880, 198] }
+ { "id": "normalized-facts", "from": "stream", "to": "warehouse", "label": "normalized facts", "classification": "non-PII", "variant": "emphasis", "fromSide": "right", "toSide": "left", "via": [[638, 385], [638, 271]], "labelAt": [638, 326] },
+ { "id": "daily-aggregates", "from": "warehouse", "to": "features", "label": "daily aggregates", "classification": "batch", "variant": "dashed", "fromSide": "bottom", "toSide": "top", "route": "straight", "labelAt": [745, 326] },
+ { "id": "metrics-query", "from": "warehouse", "to": "dashboard", "label": "metrics SQL", "classification": "read-only", "variant": "default", "fromSide": "right", "toSide": "bottom", "via": [[852, 271], [960, 271]], "labelAt": [876, 258] },
+ { "id": "feature-vectors", "from": "features", "to": "model", "label": "feature vectors", "classification": "derived", "variant": "dashed", "route": "straight", "labelAt": [852, 372] },
+ { "id": "restricted-join", "from": "pii", "to": "dashboard", "label": "restricted join", "classification": "approved only", "variant": "security", "route": "straight", "labelAt": [852, 144] }
],
"cards": [
{
diff --git a/examples/dataflow-product-analytics.html b/examples/dataflow-product-analytics.html
index e56dd1bb..aba746d0 100644
--- a/examples/dataflow-product-analytics.html
+++ b/examples/dataflow-product-analytics.html
@@ -5004,7 +5004,7 @@
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 1080 760" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
+ <svg viewBox="0 0 1080 520" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
<title id="archify-diagram-title">Product Analytics Data Flow</title>
<desc id="archify-diagram-description">A data-flow diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5030,19 +5030,19 @@
<rect width="100%" height="100%" fill="url(#grid)" />
<!-- Data Stages -->
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="0" x="16" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="0" x="16" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="100" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">01 / Sources</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="1" x="231" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="1" x="231" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="315" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">02 / Ingest</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="2" x="446" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="2" x="446" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="530" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">03 / Process</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="3" x="661" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="3" x="661" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="745" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">04 / Store</text>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="4" x="876" y="46" width="168" height="640" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="stage" data-composition-frame-id="4" x="876" y="46" width="168" height="400" rx="10" class="c-lane" stroke-width="1"/>
<text x="960" y="68" class="t-dim" font-size="9" font-weight="600" text-anchor="middle">05 / Consume</text>
<!-- Flow paths -->
@@ -5051,11 +5051,11 @@
<path data-edge-from="edge" data-edge-to="consent" data-edge-label="identity + consent" data-edge-key="2" data-edge-id="consent-enrichment" data-composition-points="315,242;315,112;450,112;450,157;474,157" d="M 315 242 L 315 112 L 450 112 L 450 157 L 474 157" class="a-security" data-animate="edge" style="--step:2" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
<path data-edge-from="edge" data-edge-to="stream" data-edge-label="accepted events" data-edge-key="3" data-edge-id="accepted-events" data-composition-points="371,271;420,271;420,385;474,385" d="M 371 271 L 420 271 L 420 385 L 474 385" class="a-emphasis" data-animate="edge" style="--step:3" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
<path data-edge-from="consent" data-edge-to="pii" data-edge-label="identity map" data-edge-key="4" data-edge-id="identity-map" data-composition-points="586,157;689,157" d="M 586 157 L 689 157" class="a-security" data-animate="edge" style="--step:4" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
- <path data-edge-from="stream" data-edge-to="warehouse" data-edge-label="normalized facts" data-edge-key="5" data-edge-id="normalized-facts" data-composition-points="586,385;689,385" d="M 586 385 L 689 385" class="a-emphasis" data-animate="edge" style="--step:5" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <path data-edge-from="warehouse" data-edge-to="features" data-edge-label="daily aggregates" data-edge-key="6" data-edge-id="daily-aggregates" data-composition-points="745,414;745,584" d="M 745 414 L 745 584" class="a-dashed" data-animate="edge" style="--step:6" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="warehouse" data-edge-to="dashboard" data-edge-label="metrics SQL" data-edge-key="7" data-edge-id="metrics-query" data-composition-points="801,385;852,385;852,271;904,271" d="M 801 385 L 852 385 L 852 271 L 904 271" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" marker-end="url(#arrowhead)"/>
- <path data-edge-from="features" data-edge-to="model" data-edge-label="feature vectors" data-edge-key="8" data-edge-id="feature-vectors" data-composition-points="801,613;904,613" d="M 801 613 L 904 613" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <path data-edge-from="pii" data-edge-to="dashboard" data-edge-label="restricted join" data-edge-key="9" data-edge-id="restricted-join" data-composition-points="801,157;878,157;878,212;960,212;960,242" d="M 801 157 L 878 157 L 878 212 L 960 212 L 960 242" class="a-security" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <path data-edge-from="stream" data-edge-to="warehouse" data-edge-label="normalized facts" data-edge-key="5" data-edge-id="normalized-facts" data-composition-points="586,385;638,385;638,271;689,271" d="M 586 385 L 638 385 L 638 271 L 689 271" class="a-emphasis" data-animate="edge" style="--step:5" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <path data-edge-from="warehouse" data-edge-to="features" data-edge-label="daily aggregates" data-edge-key="6" data-edge-id="daily-aggregates" data-composition-points="745,300;745,356" d="M 745 300 L 745 356" class="a-dashed" data-animate="edge" style="--step:6" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-edge-from="warehouse" data-edge-to="dashboard" data-edge-label="metrics SQL" data-edge-key="7" data-edge-id="metrics-query" data-composition-points="801,271;852,271;960,271;960,186" d="M 801 271 L 852 271 L 960 271 L 960 186" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <path data-edge-from="features" data-edge-to="model" data-edge-label="feature vectors" data-edge-key="8" data-edge-id="feature-vectors" data-composition-points="801,385;904,385" d="M 801 385 L 904 385" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-edge-from="pii" data-edge-to="dashboard" data-edge-label="restricted join" data-edge-key="9" data-edge-id="restricted-join" data-composition-points="801,157;904,157" d="M 801 157 L 904 157" class="a-security" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
<!-- Nodes -->
<g id="node-web" data-node-id="web" data-node-label="Web App" tabindex="0" role="button" aria-label="Focus Web App, browser SDK, 01 / Sources" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="browser SDK" data-node-tag="events" data-node-context="01 / Sources">
@@ -5143,52 +5143,52 @@
<g id="node-warehouse" data-node-id="warehouse" data-node-label="Warehouse" tabindex="0" role="button" aria-label="Focus Warehouse, analytics tables, 04 / Store" aria-pressed="false" data-node-kind="database" data-node-sublabel="analytics tables" data-node-tag="curated" data-node-context="04 / Store">
<title>Warehouse · analytics tables · 04 / Store · curated</title>
- <rect x="689" y="356" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="689" y="356" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:6" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 362) scale(0.6875)">
+ <rect x="689" y="242" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="689" y="242" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:6" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 248) 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="745" y="377" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Warehouse</text>
- <text data-detail="context" x="745" y="393" class="t-muted" font-size="7" text-anchor="middle">analytics tables</text>
- <text data-detail="fine" x="745" y="403" class="t-database" font-size="7" text-anchor="middle">curated</text>
+ <text data-node-label="" data-detail-anchor="" x="745" y="263" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Warehouse</text>
+ <text data-detail="context" x="745" y="279" class="t-muted" font-size="7" text-anchor="middle">analytics tables</text>
+ <text data-detail="fine" x="745" y="289" class="t-database" font-size="7" text-anchor="middle">curated</text>
</g>
<g id="node-features" data-node-id="features" data-node-label="Feature Store" tabindex="0" role="button" aria-label="Focus Feature Store, daily batch, 04 / Store" aria-pressed="false" data-node-kind="database" data-node-sublabel="daily batch" data-node-tag="derived" data-node-context="04 / Store">
<title>Feature Store · daily batch · 04 / Store · derived</title>
- <rect x="689" y="584" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="689" y="584" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:7" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 590) scale(0.6875)">
+ <rect x="689" y="356" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="689" y="356" width="112" height="58" rx="6" class="c-database" data-animate="node" style="--step:7" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(695 362) 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="745" y="605" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Feature Store</text>
- <text data-detail="context" x="745" y="621" class="t-muted" font-size="7" text-anchor="middle">daily batch</text>
- <text data-detail="fine" x="745" y="631" class="t-database" font-size="7" text-anchor="middle">derived</text>
+ <text data-node-label="" data-detail-anchor="" x="745" y="377" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Feature Store</text>
+ <text data-detail="context" x="745" y="393" class="t-muted" font-size="7" text-anchor="middle">daily batch</text>
+ <text data-detail="fine" x="745" y="403" class="t-database" font-size="7" text-anchor="middle">derived</text>
</g>
<g id="node-dashboard" data-node-id="dashboard" data-node-label="Dashboards" tabindex="0" role="button" aria-label="Focus Dashboards, product metrics, 05 / Consume" aria-pressed="false" data-node-kind="backend" data-node-sublabel="product metrics" data-node-tag="SQL" data-node-context="05 / Consume">
<title>Dashboards · product metrics · 05 / Consume · SQL</title>
- <rect x="904" y="242" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="904" y="242" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:8" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 248) scale(0.6875)">
+ <rect x="904" y="128" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="904" y="128" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:8" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 134) scale(0.6875)">
<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="960" y="263" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Dashboards</text>
- <text data-detail="context" x="960" y="279" class="t-muted" font-size="7" text-anchor="middle">product metrics</text>
- <text data-detail="fine" x="960" y="289" class="t-backend" font-size="7" text-anchor="middle">SQL</text>
+ <text data-node-label="" data-detail-anchor="" x="960" y="149" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">Dashboards</text>
+ <text data-detail="context" x="960" y="165" class="t-muted" font-size="7" text-anchor="middle">product metrics</text>
+ <text data-detail="fine" x="960" y="175" class="t-backend" font-size="7" text-anchor="middle">SQL</text>
</g>
<g id="node-model" data-node-id="model" data-node-label="ML Model" tabindex="0" role="button" aria-label="Focus ML Model, ranking job, 05 / Consume" aria-pressed="false" data-node-kind="backend" data-node-sublabel="ranking job" data-node-tag="features" data-node-context="05 / Consume">
<title>ML Model · ranking job · 05 / Consume · features</title>
- <rect x="904" y="584" width="112" height="58" rx="6" class="c-mask"/>
- <rect x="904" y="584" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:9" stroke-width="1.5"/>
- <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 590) scale(0.6875)">
+ <rect x="904" y="356" width="112" height="58" rx="6" class="c-mask"/>
+ <rect x="904" y="356" width="112" height="58" rx="6" class="c-backend" data-animate="node" style="--step:9" stroke-width="1.5"/>
+ <g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(910 362) scale(0.6875)">
<path d="M6 3 3 8l3 5M10 3l3 5-3 5"/>
</g>
- <text data-node-label="" data-detail-anchor="" x="960" y="605" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">ML Model</text>
- <text data-detail="context" x="960" y="621" class="t-muted" font-size="7" text-anchor="middle">ranking job</text>
- <text data-detail="fine" x="960" y="631" class="t-backend" font-size="7" text-anchor="middle">features</text>
+ <text data-node-label="" data-detail-anchor="" x="960" y="377" class="t-primary" font-size="10" font-weight="600" text-anchor="middle">ML Model</text>
+ <text data-detail="context" x="960" y="393" class="t-muted" font-size="7" text-anchor="middle">ranking job</text>
+ <text data-detail="fine" x="960" y="403" class="t-backend" font-size="7" text-anchor="middle">features</text>
</g>
<!-- Flow labels -->
@@ -5218,53 +5218,53 @@
<text data-detail="fine" x="638" y="155" class="t-dim" font-size="7" text-anchor="middle">encrypted PII</text>
</g>
<g data-detail="context" data-edge-from="stream" data-edge-to="warehouse" data-edge-label="normalized facts" data-edge-key="5" data-edge-id="normalized-facts">
- <rect x="592.8" y="361" width="90.4" height="27" rx="4" class="c-mask"/>
- <text x="638" y="372" class="t-backend" font-size="8" text-anchor="middle">normalized facts</text>
- <text data-detail="fine" x="638" y="383" class="t-dim" font-size="7" text-anchor="middle">non-PII</text>
+ <rect x="592.8" y="315" width="90.4" height="27" rx="4" class="c-mask"/>
+ <text x="638" y="326" class="t-backend" font-size="8" text-anchor="middle">normalized facts</text>
+ <text data-detail="fine" x="638" y="337" class="t-dim" font-size="7" text-anchor="middle">non-PII</text>
</g>
<g data-detail="context" data-edge-from="warehouse" data-edge-to="features" data-edge-label="daily aggregates" data-edge-key="6" data-edge-id="daily-aggregates">
- <rect x="699.8" y="485" width="90.4" height="27" rx="4" class="c-mask"/>
- <text x="745" y="496" class="t-messagebus" font-size="8" text-anchor="middle">daily aggregates</text>
- <text data-detail="fine" x="745" y="507" class="t-dim" font-size="7" text-anchor="middle">batch</text>
+ <rect x="699.8" y="315" width="90.4" height="27" rx="4" class="c-mask"/>
+ <text x="745" y="326" class="t-messagebus" font-size="8" text-anchor="middle">daily aggregates</text>
+ <text data-detail="fine" x="745" y="337" class="t-dim" font-size="7" text-anchor="middle">batch</text>
</g>
<g data-detail="context" data-edge-from="warehouse" data-edge-to="dashboard" data-edge-label="metrics SQL" data-edge-key="7" data-edge-id="metrics-query">
- <rect x="797.05" y="315" width="65.9" height="27" rx="4" class="c-mask"/>
- <text x="830" y="326" class="t-muted" font-size="8" text-anchor="middle">metrics SQL</text>
- <text data-detail="fine" x="830" y="337" class="t-dim" font-size="7" text-anchor="middle">read-only</text>
+ <rect x="843.05" y="247" width="65.9" height="27" rx="4" class="c-mask"/>
+ <text x="876" y="258" class="t-muted" font-size="8" text-anchor="middle">metrics SQL</text>
+ <text data-detail="fine" x="876" y="269" class="t-dim" font-size="7" text-anchor="middle">read-only</text>
</g>
<g data-detail="context" data-edge-from="features" data-edge-to="model" data-edge-label="feature vectors" data-edge-key="8" data-edge-id="feature-vectors">
- <rect x="809.25" y="587" width="85.5" height="27" rx="4" class="c-mask"/>
- <text x="852" y="598" class="t-messagebus" font-size="8" text-anchor="middle">feature vectors</text>
- <text data-detail="fine" x="852" y="609" class="t-dim" font-size="7" text-anchor="middle">derived</text>
+ <rect x="809.25" y="361" width="85.5" height="27" rx="4" class="c-mask"/>
+ <text x="852" y="372" class="t-messagebus" font-size="8" text-anchor="middle">feature vectors</text>
+ <text data-detail="fine" x="852" y="383" class="t-dim" font-size="7" text-anchor="middle">derived</text>
</g>
<g data-detail="context" data-edge-from="pii" data-edge-to="dashboard" data-edge-label="restricted join" data-edge-key="9" data-edge-id="restricted-join">
- <rect x="837.25" y="187" width="85.5" height="27" rx="4" class="c-mask"/>
- <text x="880" y="198" class="t-security" font-size="8" text-anchor="middle">restricted join</text>
- <text data-detail="fine" x="880" y="209" class="t-dim" font-size="7" text-anchor="middle">approved only</text>
+ <rect x="809.25" y="133" width="85.5" height="27" rx="4" class="c-mask"/>
+ <text x="852" y="144" class="t-security" font-size="8" text-anchor="middle">restricted join</text>
+ <text data-detail="fine" x="852" y="155" class="t-dim" font-size="7" text-anchor="middle">approved only</text>
</g>
<!-- Legend -->
<g data-legend="" data-legend-bridge="">
- <text x="40" y="704" class="t-primary" font-size="12" font-weight="650">Legend</text>
- <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="724" data-legend-width="103">
- <path d="M 40 721 L 74 721" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <text x="83" y="724" class="t-muted" font-size="10" font-weight="500">primary data</text>
+ <text x="40" y="464" class="t-primary" font-size="12" font-weight="650">Legend</text>
+ <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="484" data-legend-width="103">
+ <path d="M 40 481 L 74 481" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <text x="83" y="484" class="t-muted" font-size="10" font-weight="500">primary data</text>
</g>
- <g data-legend-semantic-kind="security" data-legend-x="165" data-legend-baseline="724" data-legend-width="103">
- <path d="M 165 721 L 199 721" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
- <text x="208" y="724" class="t-muted" font-size="10" font-weight="500">policy / PII</text>
+ <g data-legend-semantic-kind="security" data-legend-x="165" data-legend-baseline="484" data-legend-width="103">
+ <path d="M 165 481 L 199 481" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <text x="208" y="484" class="t-muted" font-size="10" font-weight="500">policy / PII</text>
</g>
- <g data-legend-semantic-kind="dashed" data-legend-x="290" data-legend-baseline="724" data-legend-width="98">
- <path d="M 290 721 L 324 721" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <text x="333" y="724" class="t-muted" font-size="10" font-weight="500">async batch</text>
+ <g data-legend-semantic-kind="dashed" data-legend-x="290" data-legend-baseline="484" data-legend-width="98">
+ <path d="M 290 481 L 324 481" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <text x="333" y="484" class="t-muted" font-size="10" font-weight="500">async batch</text>
</g>
- <g data-legend-semantic-kind="database" data-legend-kind="database" data-legend-label="data store" data-legend-x="410" data-legend-baseline="724" data-legend-width="93">
- <rect x="410" y="716" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
- <text x="432" y="724" class="t-muted" font-size="10" font-weight="500">data store</text>
+ <g data-legend-semantic-kind="database" data-legend-kind="database" data-legend-label="data store" data-legend-x="410" data-legend-baseline="484" data-legend-width="93">
+ <rect x="410" y="476" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
+ <text x="432" y="484" class="t-muted" font-size="10" font-weight="500">data store</text>
</g>
- <g data-legend-semantic-kind="default" data-legend-x="525" data-legend-baseline="724" data-legend-width="88">
- <path d="M 525 721 L 559 721" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
- <text x="568" y="724" class="t-muted" font-size="10" font-weight="500">data flow</text>
+ <g data-legend-semantic-kind="default" data-legend-x="525" data-legend-baseline="484" data-legend-width="88">
+ <path d="M 525 481 L 559 481" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <text x="568" y="484" class="t-muted" font-size="10" font-weight="500">data flow</text>
</g>
</g>
</svg>
diff --git a/examples/lifecycle-agent-run.html b/examples/lifecycle-agent-run.html
index 141719b5..8ac220e6 100644
--- a/examples/lifecycle-agent-run.html
+++ b/examples/lifecycle-agent-run.html
@@ -5004,7 +5004,7 @@
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 980 660" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
+ <svg viewBox="0 0 1030 630" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
<title id="archify-diagram-title">Agent Run Lifecycle</title>
<desc id="archify-diagram-description">A lifecycle diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5030,11 +5030,11 @@
<rect width="100%" height="100%" fill="url(#grid)" />
<!-- Lifecycle bands -->
- <path d="M 72 112 L 908 112" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
+ <path d="M 72 112 L 958 112" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
<text x="72" y="100" class="t-dim" font-size="10" font-weight="600">01 / Lifecycle phases</text>
- <path d="M 72 264 L 908 264" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
+ <path d="M 72 264 L 958 264" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
<text x="72" y="252" class="t-dim" font-size="10" font-weight="600">02 / Interruptions + Recovery loop</text>
- <path d="M 72 436 L 908 436" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
+ <path d="M 72 436 L 958 436" class="a-default" stroke-width="0.8" stroke-dasharray="3,8"/>
<text x="72" y="424" class="t-dim" font-size="10" font-weight="600">03 / Terminal exits</text>
<!-- Primary lifecycle rail -->
@@ -5190,30 +5190,30 @@
<!-- Legend -->
<g data-legend="" data-legend-bridge="">
- <text x="40" y="604" class="t-primary" font-size="12" font-weight="650">Legend</text>
- <g data-legend-semantic-kind="start" data-legend-kind="start" data-legend-label="start" data-legend-x="40" data-legend-baseline="624" data-legend-width="68">
- <rect x="40" y="616" width="14" height="9" rx="2" class="c-frontend" stroke-width="1"/>
- <text x="62" y="624" class="t-muted" font-size="10" font-weight="500">start</text>
+ <text x="40" y="574" class="t-primary" font-size="12" font-weight="650">Legend</text>
+ <g data-legend-semantic-kind="start" data-legend-kind="start" data-legend-label="start" data-legend-x="40" data-legend-baseline="594" data-legend-width="68">
+ <rect x="40" y="586" width="14" height="9" rx="2" class="c-frontend" stroke-width="1"/>
+ <text x="62" y="594" class="t-muted" font-size="10" font-weight="500">start</text>
</g>
- <g data-legend-semantic-kind="active" data-legend-kind="active" data-legend-label="active state" data-legend-x="130" data-legend-baseline="624" data-legend-width="103">
- <rect x="130" y="616" width="14" height="9" rx="2" class="c-backend" stroke-width="1"/>
- <text x="152" y="624" class="t-muted" font-size="10" font-weight="500">active state</text>
+ <g data-legend-semantic-kind="active" data-legend-kind="active" data-legend-label="active state" data-legend-x="130" data-legend-baseline="594" data-legend-width="103">
+ <rect x="130" y="586" width="14" height="9" rx="2" class="c-backend" stroke-width="1"/>
+ <text x="152" y="594" class="t-muted" font-size="10" font-weight="500">active state</text>
</g>
- <g data-legend-semantic-kind="waiting" data-legend-kind="waiting" data-legend-label="waiting" data-legend-x="255" data-legend-baseline="624" data-legend-width="78">
- <rect x="255" y="616" width="14" height="9" rx="2" class="c-cloud" stroke-width="1"/>
- <text x="277" y="624" class="t-muted" font-size="10" font-weight="500">waiting</text>
+ <g data-legend-semantic-kind="waiting" data-legend-kind="waiting" data-legend-label="waiting" data-legend-x="255" data-legend-baseline="594" data-legend-width="78">
+ <rect x="255" y="586" width="14" height="9" rx="2" class="c-cloud" stroke-width="1"/>
+ <text x="277" y="594" class="t-muted" font-size="10" font-weight="500">waiting</text>
</g>
- <g data-legend-semantic-kind="decision" data-legend-kind="decision" data-legend-label="decision" data-legend-x="355" data-legend-baseline="624" data-legend-width="83">
- <rect x="355" y="616" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
- <text x="377" y="624" class="t-muted" font-size="10" font-weight="500">decision</text>
+ <g data-legend-semantic-kind="decision" data-legend-kind="decision" data-legend-label="decision" data-legend-x="355" data-legend-baseline="594" data-legend-width="83">
+ <rect x="355" y="586" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
+ <text x="377" y="594" class="t-muted" font-size="10" font-weight="500">decision</text>
</g>
- <g data-legend-semantic-kind="success" data-legend-kind="success" data-legend-label="terminal success" data-legend-x="460" data-legend-baseline="624" data-legend-width="123">
- <rect x="460" y="616" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
- <text x="482" y="624" class="t-muted" font-size="10" font-weight="500">terminal success</text>
+ <g data-legend-semantic-kind="success" data-legend-kind="success" data-legend-label="terminal success" data-legend-x="460" data-legend-baseline="594" data-legend-width="123">
+ <rect x="460" y="586" width="14" height="9" rx="2" class="c-database" stroke-width="1"/>
+ <text x="482" y="594" class="t-muted" font-size="10" font-weight="500">terminal success</text>
</g>
- <g data-legend-semantic-kind="failure" data-legend-kind="failure" data-legend-label="failure / exit" data-legend-x="605" data-legend-baseline="624" data-legend-width="113">
- <rect x="605" y="616" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
- <text x="627" y="624" class="t-muted" font-size="10" font-weight="500">failure / exit</text>
+ <g data-legend-semantic-kind="failure" data-legend-kind="failure" data-legend-label="failure / exit" data-legend-x="605" data-legend-baseline="594" data-legend-width="113">
+ <rect x="605" y="586" width="14" height="9" rx="2" class="c-security" stroke-width="1"/>
+ <text x="627" y="594" class="t-muted" font-size="10" font-weight="500">failure / exit</text>
</g>
</g>
</svg>
@@ -5405,36 +5405,22 @@
<div class="card">
<div class="card-header">
<div class="card-dot emerald"></div>
- <h3>Main Path</h3>
+ <h3>Main Path + Waits</h3>
</div>
<ul>
<li>&bull; The run has five ordered phases from queue to completion</li>
- <li>&bull; The primary lifecycle is carried by one horizontal rail</li>
- <li>&bull; Completion is a phase, not a detached side box</li>
- </ul>
- </div>
-
- <div class="card">
- <div class="card-header">
- <div class="card-dot amber"></div>
- <h3>Human + Input Gates</h3>
- </div>
- <ul>
- <li>&bull; Approval pauses execution without ending the run</li>
- <li>&bull; Blocked waits for missing user input</li>
- <li>&bull; Wait states remain non-terminal until cancellation or expiry</li>
+ <li>&bull; Approval and missing input pause the run without ending it</li>
</ul>
</div>
<div class="card">
<div class="card-header">
<div class="card-dot rose"></div>
- <h3>Terminal + Recovery</h3>
+ <h3>Recovery + Terminal Exits</h3>
</div>
<ul>
<li>&bull; Failed loops back while retry budget remains</li>
- <li>&bull; Cancelled and Expired are exits from the lifecycle</li>
- <li>&bull; Terminal exits do not point back into active execution</li>
+ <li>&bull; Cancelled and Expired are terminal exits with no return path</li>
</ul>
</div>
</div>
diff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.html
index d3e2c1e3..da3405f6 100644
--- a/examples/sequence-cache-miss-request.html
+++ b/examples/sequence-cache-miss-request.html
@@ -5004,7 +5004,7 @@
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 820 760" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
+ <svg viewBox="0 0 1080 560" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">
<title id="archify-diagram-title">Cache Miss Request Sequence</title>
<desc id="archify-diagram-description">A sequence diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5030,129 +5030,129 @@
<rect width="100%" height="100%" fill="url(#grid)" />
<!-- Time Segments -->
- <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="0" x="48" y="150" width="724" height="145" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="0" x="48" y="150" width="984" height="100" rx="10" class="c-lane" stroke-width="1"/>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="1" x="48" y="315" width="724" height="190" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="1" x="48" y="260" width="984" height="110" rx="10" class="c-lane" stroke-width="1"/>
- <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="2" x="48" y="525" width="724" height="140" rx="10" class="c-lane" stroke-width="1"/>
+ <rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="2" x="48" y="380" width="984" height="100" rx="10" class="c-lane" stroke-width="1"/>
<!-- Lifelines -->
- <path d="M 62 142 L 62 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 170 142 L 170 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 278 142 L 278 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 386 142 L 386 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 494 142 L 494 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 602 142 L 602 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
- <path d="M 710 142 L 710 695" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 118.5 142 L 118.5 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 262.66666666666663 142 L 262.66666666666663 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 406.8333333333333 142 L 406.8333333333333 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 551 142 L 551 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 695.1666666666666 142 L 695.1666666666666 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 839.3333333333333 142 L 839.3333333333333 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
+ <path d="M 983.5 142 L 983.5 495" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>
<!-- Activations -->
- <rect x="165" y="220" width="10" height="448" rx="3" class="c-mask"/>
- <rect x="165" y="220" width="10" height="448" rx="3" class="c-frontend" stroke-width="1"/>
- <rect x="273" y="228" width="10" height="404" rx="3" class="c-mask"/>
- <rect x="273" y="228" width="10" height="404" rx="3" class="c-backend" stroke-width="1"/>
- <rect x="381" y="265" width="10" height="45" rx="3" class="c-mask"/>
- <rect x="381" y="265" width="10" height="45" rx="3" class="c-security" stroke-width="1"/>
- <rect x="489" y="349" width="10" height="49" rx="3" class="c-mask"/>
- <rect x="489" y="349" width="10" height="49" rx="3" class="c-database" stroke-width="1"/>
- <rect x="597" y="438" width="10" height="58" rx="3" class="c-mask"/>
- <rect x="597" y="438" width="10" height="58" rx="3" class="c-database" stroke-width="1"/>
- <rect x="705" y="575" width="10" height="55" rx="3" class="c-mask"/>
- <rect x="705" y="575" width="10" height="55" rx="3" class="c-messagebus" stroke-width="1"/>
+ <rect x="257.66666666666663" y="180" width="10" height="294" rx="3" class="c-mask"/>
+ <rect x="257.66666666666663" y="180" width="10" height="294" rx="3" class="c-frontend" stroke-width="1"/>
+ <rect x="401.8333333333333" y="185" width="10" height="265" rx="3" class="c-mask"/>
+ <rect x="401.8333333333333" y="185" width="10" height="265" rx="3" class="c-backend" stroke-width="1"/>
+ <rect x="546" y="205" width="10" height="39" rx="3" class="c-mask"/>
+ <rect x="546" y="205" width="10" height="39" rx="3" class="c-security" stroke-width="1"/>
+ <rect x="690.1666666666666" y="265" width="10" height="39" rx="3" class="c-mask"/>
+ <rect x="690.1666666666666" y="265" width="10" height="39" rx="3" class="c-database" stroke-width="1"/>
+ <rect x="834.3333333333333" y="325" width="10" height="39" rx="3" class="c-mask"/>
+ <rect x="834.3333333333333" y="325" width="10" height="39" rx="3" class="c-database" stroke-width="1"/>
+ <rect x="978.5" y="413" width="10" height="36" rx="3" class="c-mask"/>
+ <rect x="978.5" y="413" width="10" height="36" rx="3" class="c-messagebus" stroke-width="1"/>
<!-- Messages -->
<g data-edge-from="user" data-edge-to="web" data-edge-label="open page" data-edge-key="0" data-edge-id="open-page">
- <path data-composition-edge-from="user" data-composition-edge-to="web" data-composition-edge-id="open-page" data-composition-points="69,185;163,185" d="M 69 185 L 163 185" class="a-default" data-animate="edge" style="--step:0" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="user" data-composition-edge-to="web" data-composition-edge-id="open-page" data-composition-points="125.5,160;255.66666666666663,160" d="M 125.5 160 L 255.66666666666663 160" class="a-default" data-animate="edge" style="--step:0" stroke-width="1.4" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="86.6" y="165" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
- <text x="116" y="175" class="t-backend" font-size="9" text-anchor="middle">open page</text>
+ <rect x="161.1833333333333" y="140" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
+ <text x="190.58333333333331" y="150" class="t-backend" font-size="9" text-anchor="middle">open page</text>
</g>
</g>
<g data-edge-from="web" data-edge-to="api" data-edge-label="GET /dashboard" data-edge-key="1" data-edge-id="dashboard-request">
- <path data-composition-edge-from="web" data-composition-edge-to="api" data-composition-edge-id="dashboard-request" data-composition-points="177,228;271,228" d="M 177 228 L 271 228" class="a-emphasis" data-animate="edge" style="--step:1" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <path data-composition-edge-from="web" data-composition-edge-to="api" data-composition-edge-id="dashboard-request" data-composition-points="269.66666666666663,185;399.8333333333333,185" d="M 269.66666666666663 185 L 399.8333333333333 185" class="a-emphasis" data-animate="edge" style="--step:1" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
<g data-detail="context">
- <rect x="181.6" y="208" width="84.8" height="16" rx="3" class="c-mask"/>
- <text x="224" y="218" class="t-backend" font-size="9" text-anchor="middle">GET /dashboard</text>
+ <rect x="292.35" y="165" width="84.8" height="16" rx="3" class="c-mask"/>
+ <text x="334.75" y="175" class="t-backend" font-size="9" text-anchor="middle">GET /dashboard</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="auth" data-edge-label="verify JWT" data-edge-key="2" data-edge-id="verify-jwt">
- <path data-composition-edge-from="api" data-composition-edge-to="auth" data-composition-edge-id="verify-jwt" data-composition-points="285,270;379,270" d="M 285 270 L 379 270" class="a-security" data-animate="edge" style="--step:2" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="auth" data-composition-edge-id="verify-jwt" data-composition-points="413.8333333333333,210;544,210" d="M 413.8333333333333 210 L 544 210" class="a-security" data-animate="edge" style="--step:2" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
<g data-detail="context">
- <rect x="300" y="250" width="64" height="16" rx="3" class="c-mask"/>
- <text x="332" y="260" class="t-security" font-size="9" text-anchor="middle">verify JWT</text>
+ <rect x="446.91666666666663" y="190" width="64" height="16" rx="3" class="c-mask"/>
+ <text x="478.91666666666663" y="200" class="t-security" font-size="9" text-anchor="middle">verify JWT</text>
</g>
</g>
<g data-edge-from="auth" data-edge-to="api" data-edge-label="claims ok" data-edge-key="3" data-edge-id="auth-claims">
- <path data-composition-edge-from="auth" data-composition-edge-to="api" data-composition-edge-id="auth-claims" data-composition-points="379,305;285,305" d="M 379 305 L 285 305" class="a-default" data-animate="edge" style="--step:3" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="auth" data-composition-edge-to="api" data-composition-edge-id="auth-claims" data-composition-points="544,238;413.8333333333333,238" d="M 544 238 L 413.8333333333333 238" class="a-default" data-animate="edge" style="--step:3" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="302.6" y="285" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
- <text x="332" y="295" class="t-muted" font-size="9" text-anchor="middle">claims ok</text>
+ <rect x="449.51666666666665" y="218" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
+ <text x="478.91666666666663" y="228" class="t-muted" font-size="9" text-anchor="middle">claims ok</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="redis" data-edge-label="read cache" data-edge-key="4" data-edge-id="cache-read">
- <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-read" data-composition-points="285,354;487,354" d="M 285 354 L 487 354" class="a-default" data-animate="edge" style="--step:4" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-read" data-composition-points="413.8333333333333,270;688.1666666666666,270" d="M 413.8333333333333 270 L 688.1666666666666 270" class="a-default" data-animate="edge" style="--step:4" stroke-width="1.4" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="354" y="334" width="64" height="16" rx="3" class="c-mask"/>
- <text x="386" y="344" class="t-backend" font-size="9" text-anchor="middle">read cache</text>
+ <rect x="519" y="250" width="64" height="16" rx="3" class="c-mask"/>
+ <text x="551" y="260" class="t-backend" font-size="9" text-anchor="middle">read cache</text>
</g>
</g>
<g data-edge-from="redis" data-edge-to="api" data-edge-label="miss" data-edge-key="5" data-edge-id="cache-miss">
- <path data-composition-edge-from="redis" data-composition-edge-to="api" data-composition-edge-id="cache-miss" data-composition-points="487,391;285,391" d="M 487 391 L 285 391" class="a-default" data-animate="edge" style="--step:5" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="redis" data-composition-edge-to="api" data-composition-edge-id="cache-miss" data-composition-points="688.1666666666666,298;413.8333333333333,298" d="M 688.1666666666666 298 L 413.8333333333333 298" class="a-default" data-animate="edge" style="--step:5" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="369" y="371" width="34" height="16" rx="3" class="c-mask"/>
- <text x="386" y="381" class="t-muted" font-size="9" text-anchor="middle">miss</text>
+ <rect x="534" y="278" width="34" height="16" rx="3" class="c-mask"/>
+ <text x="551" y="288" class="t-muted" font-size="9" text-anchor="middle">miss</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="db" data-edge-label="query profile + metrics" data-edge-key="6" data-edge-id="profile-query">
- <path data-composition-edge-from="api" data-composition-edge-to="db" data-composition-edge-id="profile-query" data-composition-points="285,443;595,443" d="M 285 443 L 595 443" class="a-emphasis" data-animate="edge" style="--step:6" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="db" data-composition-edge-id="profile-query" data-composition-points="413.8333333333333,330;832.3333333333333,330" d="M 413.8333333333333 330 L 832.3333333333333 330" class="a-emphasis" data-animate="edge" style="--step:6" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
<g data-detail="context">
- <rect x="374.2" y="423" width="131.60000000000002" height="16" rx="3" class="c-mask"/>
- <text x="440" y="433" class="t-backend" font-size="9" text-anchor="middle">query profile + metrics</text>
+ <rect x="557.2833333333333" y="310" width="131.60000000000002" height="16" rx="3" class="c-mask"/>
+ <text x="623.0833333333333" y="320" class="t-backend" font-size="9" text-anchor="middle">query profile + metrics</text>
</g>
</g>
<g data-edge-from="db" data-edge-to="api" data-edge-label="rows" data-edge-key="7" data-edge-id="profile-rows">
- <path data-composition-edge-from="db" data-composition-edge-to="api" data-composition-edge-id="profile-rows" data-composition-points="595,489;285,489" d="M 595 489 L 285 489" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="db" data-composition-edge-to="api" data-composition-edge-id="profile-rows" data-composition-points="832.3333333333333,358;413.8333333333333,358" d="M 832.3333333333333 358 L 413.8333333333333 358" class="a-default" data-animate="edge" style="--step:7" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="423" y="469" width="34" height="16" rx="3" class="c-mask"/>
- <text x="440" y="479" class="t-muted" font-size="9" text-anchor="middle">rows</text>
+ <rect x="606.0833333333333" y="338" width="34" height="16" rx="3" class="c-mask"/>
+ <text x="623.0833333333333" y="348" class="t-muted" font-size="9" text-anchor="middle">rows</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="redis" data-edge-label="set cache" data-edge-key="8" data-edge-id="cache-write">
- <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-write" data-composition-points="285,536;487,536" d="M 285 536 L 487 536" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="redis" data-composition-edge-id="cache-write" data-composition-points="413.8333333333333,390;688.1666666666666,390" d="M 413.8333333333333 390 L 688.1666666666666 390" class="a-dashed" data-animate="edge" style="--step:8" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
<g data-detail="context">
- <rect x="356.6" y="516" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
- <text x="386" y="526" class="t-messagebus" font-size="9" text-anchor="middle">set cache</text>
+ <rect x="521.6" y="370" width="58.800000000000004" height="16" rx="3" class="c-mask"/>
+ <text x="551" y="380" class="t-messagebus" font-size="9" text-anchor="middle">set cache</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="trace" data-edge-label="emit trace" data-edge-key="9" data-edge-id="trace-emit">
- <path data-composition-edge-from="api" data-composition-edge-to="trace" data-composition-edge-id="trace-emit" data-composition-points="285,580;703,580" d="M 285 580 L 703 580" class="a-dashed" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="trace" data-composition-edge-id="trace-emit" data-composition-points="413.8333333333333,418;976.5,418" d="M 413.8333333333333 418 L 976.5 418" class="a-dashed" data-animate="edge" style="--step:9" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
<g data-detail="context">
- <rect x="462" y="560" width="64" height="16" rx="3" class="c-mask"/>
- <text x="494" y="570" class="t-messagebus" font-size="9" text-anchor="middle">emit trace</text>
+ <rect x="663.1666666666666" y="398" width="64" height="16" rx="3" class="c-mask"/>
+ <text x="695.1666666666666" y="408" class="t-messagebus" font-size="9" text-anchor="middle">emit trace</text>
</g>
</g>
<g data-edge-from="api" data-edge-to="web" data-edge-label="200 JSON" data-edge-key="10" data-edge-id="dashboard-response">
- <path data-composition-edge-from="api" data-composition-edge-to="web" data-composition-edge-id="dashboard-response" data-composition-points="271,625;177,625" d="M 271 625 L 177 625" class="a-default" data-animate="edge" style="--step:10" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="api" data-composition-edge-to="web" data-composition-edge-id="dashboard-response" data-composition-points="399.8333333333333,443;269.66666666666663,443" d="M 399.8333333333333 443 L 269.66666666666663 443" class="a-default" data-animate="edge" style="--step:10" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="197.2" y="605" width="53.6" height="16" rx="3" class="c-mask"/>
- <text x="224" y="615" class="t-muted" font-size="9" text-anchor="middle">200 JSON</text>
+ <rect x="307.95" y="423" width="53.6" height="16" rx="3" class="c-mask"/>
+ <text x="334.75" y="433" class="t-muted" font-size="9" text-anchor="middle">200 JSON</text>
</g>
</g>
<g data-edge-from="web" data-edge-to="user" data-edge-label="render" data-edge-key="11" data-edge-id="page-render">
- <path data-composition-edge-from="web" data-composition-edge-to="user" data-composition-edge-id="page-render" data-composition-points="163,662;69,662" d="M 163 662 L 69 662" class="a-default" data-animate="edge" style="--step:11" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <path data-composition-edge-from="web" data-composition-edge-to="user" data-composition-edge-id="page-render" data-composition-points="255.66666666666663,468;125.5,468" d="M 255.66666666666663 468 L 125.5 468" class="a-default" data-animate="edge" style="--step:11" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
<g data-detail="context">
- <rect x="94.4" y="642" width="43.2" height="16" rx="3" class="c-mask"/>
- <text x="116" y="652" class="t-muted" font-size="9" text-anchor="middle">render</text>
+ <rect x="168.98333333333332" y="448" width="43.2" height="16" rx="3" class="c-mask"/>
+ <text x="190.58333333333331" y="458" class="t-muted" font-size="9" text-anchor="middle">render</text>
</g>
</g>
@@ -5162,124 +5162,124 @@
<text x="62" y="141" class="t-dim" font-size="9" font-weight="600">Request</text>
</g>
<g data-graph-role="segment-label" data-segment-id="1">
- <rect x="56" y="293" width="55.6" height="18" rx="3" class="c-mask"/>
- <text x="62" y="306" class="t-dim" font-size="9" font-weight="600">Fallback</text>
+ <rect x="56" y="238" width="55.6" height="18" rx="3" class="c-mask"/>
+ <text x="62" y="251" class="t-dim" font-size="9" font-weight="600">Fallback</text>
</g>
<g data-graph-role="segment-label" data-segment-id="2">
- <rect x="56" y="503" width="97.2" height="18" rx="3" class="c-mask"/>
- <text x="62" y="516" class="t-dim" font-size="9" font-weight="600">Response + trace</text>
+ <rect x="56" y="358" width="97.2" height="18" rx="3" class="c-mask"/>
+ <text x="62" y="371" class="t-dim" font-size="9" font-weight="600">Response + trace</text>
</g>
<!-- 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="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"/>
- <g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(25 78) scale(0.6875)">
+ <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"/>
+ <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="62" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">User</text>
- <text data-detail="context" x="62" 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="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>
</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="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-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(133 78) scale(0.6875)">
+ <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"/>
+ <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="170" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Web App</text>
- <text data-detail="context" x="170" 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="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>
</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="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-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(241 78) scale(0.6875)">
+ <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"/>
+ <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="278" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">API</text>
- <text data-detail="context" x="278" 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="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>
</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="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-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(349 78) scale(0.6875)">
+ <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"/>
+ <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="386" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Auth</text>
- <text data-detail="context" x="386" y="111" class="t-muted" font-size="7" text-anchor="middle">JWT verify</text>
+ <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>
</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="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-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(457 78) scale(0.6875)">
+ <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"/>
+ <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="494" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Redis</text>
- <text data-detail="context" x="494" y="111" class="t-muted" font-size="7" text-anchor="middle">cache</text>
+ <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>
</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="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"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(565 78) scale(0.6875)">
+ <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"/>
+ <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="602" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Postgres</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="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>
</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="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"/>
- <g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(673 78) scale(0.6875)">
+ <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"/>
+ <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="710" y="94" class="t-primary" font-size="11" font-weight="600" text-anchor="middle">Trace</text>
- <text data-detail="context" x="710" 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="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>
</g>
<!-- Legend -->
<g data-legend="">
- <text x="40" y="686" class="t-primary" font-size="12" font-weight="650">Legend</text>
- <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="706" data-legend-width="78">
- <path d="M 40 703 L 74 703" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
- <text x="83" y="706" class="t-muted" font-size="10" font-weight="500">request</text>
+ <text x="40" y="486" class="t-primary" font-size="12" font-weight="650">Legend</text>
+ <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="506" data-legend-width="78">
+ <path d="M 40 503 L 74 503" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>
+ <text x="83" y="506" class="t-muted" font-size="10" font-weight="500">request</text>
</g>
- <g data-legend-semantic-kind="return" data-legend-x="140" data-legend-baseline="706" data-legend-width="73">
- <path d="M 140 703 L 174 703" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
- <text x="183" y="706" class="t-muted" font-size="10" font-weight="500">return</text>
+ <g data-legend-semantic-kind="return" data-legend-x="140" data-legend-baseline="506" data-legend-width="73">
+ <path d="M 140 503 L 174 503" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>
+ <text x="183" y="506" class="t-muted" font-size="10" font-weight="500">return</text>
</g>
- <g data-legend-semantic-kind="security" data-legend-x="235" data-legend-baseline="706" data-legend-width="83">
- <path d="M 235 703 L 269 703" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
- <text x="278" y="706" class="t-muted" font-size="10" font-weight="500">security</text>
+ <g data-legend-semantic-kind="security" data-legend-x="235" data-legend-baseline="506" data-legend-width="83">
+ <path d="M 235 503 L 269 503" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>
+ <text x="278" y="506" class="t-muted" font-size="10" font-weight="500">security</text>
</g>
- <g data-legend-semantic-kind="dashed" data-legend-x="340" data-legend-baseline="706" data-legend-width="98">
- <path d="M 340 703 L 374 703" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
- <text x="383" y="706" class="t-muted" font-size="10" font-weight="500">async trace</text>
+ <g data-legend-semantic-kind="dashed" data-legend-x="340" data-legend-baseline="506" data-legend-width="98">
+ <path d="M 340 503 L 374 503" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>
+ <text x="383" y="506" class="t-muted" font-size="10" font-weight="500">async trace</text>
</g>
- <g data-legend-semantic-kind="default" data-legend-x="460" data-legend-baseline="706" data-legend-width="118">
- <path d="M 460 703 L 494 703" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
- <text x="503" y="706" class="t-muted" font-size="10" font-weight="500">default message</text>
+ <g data-legend-semantic-kind="default" data-legend-x="460" data-legend-baseline="506" data-legend-width="118">
+ <path d="M 460 503 L 494 503" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>
+ <text x="503" y="506" class="t-muted" font-size="10" font-weight="500">default message</text>
</g>
</g>
</svg>