Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
fix(viewer): preserve Route-owned print handling
tt-a1i9fe9939d99f4
diff --git a/archify.zip b/archify.zipindex 97966c5a..4de4295b 100644Binary files a/archify.zip and b/archify.zip differdiff --git a/archify/assets/template.html b/archify/assets/template.htmlindex 191b5fc8..5e07671c 100644--- a/archify/assets/template.html+++ b/archify/assets/template.html@@ -7358,8 +7358,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/class-payment-processors-rendered.html b/archify/examples/class-payment-processors-rendered.htmlindex 689b3051..488cec31 100644--- a/archify/examples/class-payment-processors-rendered.html+++ b/archify/examples/class-payment-processors-rendered.html@@ -7549,8 +7549,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/class-payments-rendered.html b/archify/examples/class-payments-rendered.htmlindex bedbfea3..7802891e 100644--- a/archify/examples/class-payments-rendered.html+++ b/archify/examples/class-payments-rendered.html@@ -7355,8 +7355,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/dataflow-product-analytics.html b/archify/examples/dataflow-product-analytics.htmlindex 0cd30b6b..437e87a7 100644--- a/archify/examples/dataflow-product-analytics.html+++ b/archify/examples/dataflow-product-analytics.html@@ -7469,8 +7469,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/erd-orders-rendered.html b/archify/examples/erd-orders-rendered.htmlindex 32cf291f..78c7990f 100644--- a/archify/examples/erd-orders-rendered.html+++ b/archify/examples/erd-orders-rendered.html@@ -7637,8 +7637,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/lifecycle-agent-run.html b/archify/examples/lifecycle-agent-run.htmlindex ef345a07..56abd288 100644--- a/archify/examples/lifecycle-agent-run.html+++ b/archify/examples/lifecycle-agent-run.html@@ -7481,8 +7481,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/sequence-cache-miss-request.html b/archify/examples/sequence-cache-miss-request.htmlindex 1b64379c..348b8c50 100644--- a/archify/examples/sequence-cache-miss-request.html+++ b/archify/examples/sequence-cache-miss-request.html@@ -7484,8 +7484,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/subscription-billing-rendered.html b/archify/examples/subscription-billing-rendered.htmlindex 79e00983..cff69324 100644--- a/archify/examples/subscription-billing-rendered.html+++ b/archify/examples/subscription-billing-rendered.html@@ -7861,8 +7861,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/timeline-archify-dev-activity-rendered.html b/archify/examples/timeline-archify-dev-activity-rendered.htmlindex 8c09ee6a..c666106b 100644--- a/archify/examples/timeline-archify-dev-activity-rendered.html+++ b/archify/examples/timeline-archify-dev-activity-rendered.html@@ -7561,8 +7561,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/timeline-payment-incident-rendered.html b/archify/examples/timeline-payment-incident-rendered.htmlindex 153c370e..3ff01ea0 100644--- a/archify/examples/timeline-payment-incident-rendered.html+++ b/archify/examples/timeline-payment-incident-rendered.html@@ -7346,8 +7346,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/tree-archify-repository-rendered.html b/archify/examples/tree-archify-repository-rendered.htmlindex 38968ab1..62ffcda4 100644--- a/archify/examples/tree-archify-repository-rendered.html+++ b/archify/examples/tree-archify-repository-rendered.html@@ -7580,8 +7580,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/tree-payment-platform-rendered.html b/archify/examples/tree-payment-platform-rendered.htmlindex 17d5fc78..44f06a4c 100644--- a/archify/examples/tree-payment-platform-rendered.html+++ b/archify/examples/tree-payment-platform-rendered.html@@ -7361,8 +7361,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/waterfall-checkout-request-rendered.html b/archify/examples/waterfall-checkout-request-rendered.htmlindex 905d06eb..6993c2c2 100644--- a/archify/examples/waterfall-checkout-request-rendered.html+++ b/archify/examples/waterfall-checkout-request-rendered.html@@ -7343,8 +7343,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/waterfall-example-rebuild-rendered.html b/archify/examples/waterfall-example-rebuild-rendered.htmlindex 164934c5..95fd0e39 100644--- a/archify/examples/waterfall-example-rebuild-rendered.html+++ b/archify/examples/waterfall-example-rebuild-rendered.html@@ -7529,8 +7529,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/web-app-rendered.html b/archify/examples/web-app-rendered.htmlindex 1cd2e96c..36109bfb 100644--- a/archify/examples/web-app-rendered.html+++ b/archify/examples/web-app-rendered.html@@ -7457,8 +7457,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/archify/examples/workflow-agent-tool-call-rendered.html b/archify/examples/workflow-agent-tool-call-rendered.htmlindex 387ea6cd..0726793e 100644--- a/archify/examples/workflow-agent-tool-call-rendered.html+++ b/archify/examples/workflow-agent-tool-call-rendered.html@@ -7475,8 +7475,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gifindex 6076bd31..a0c9720b 100644Binary files a/docs/assets/archify-live-proof.gif and b/docs/assets/archify-live-proof.gif differdiff --git a/docs/assets/archify-live-proof.json b/docs/assets/archify-live-proof.jsonindex dbd799e3..644ce7b0 100644--- a/docs/assets/archify-live-proof.json+++ b/docs/assets/archify-live-proof.json@@ -7,13 +7,13 @@"fps": 10,"frameCount": 54,"durationSeconds": 5.4,- "bytes": 856369,- "sha256": "144b3d914afba526d242f09bcd585070df289f0e7c0b86f98940776496232ba9",+ "bytes": 852437,+ "sha256": "70c5e7ffa3df7e5bb387c9dd08407722c630124f4c686dd0eee86eefa7721499","scenes": [{"id": "signal-flow","artifact": "docs/gallery/artifacts/agent-tool-call.workflow.html",- "artifactSha256": "04a86d3625cd5738ea8c1402ceb4d4d2658b07b868e04829aaf9a6cb4d6bed7d",+ "artifactSha256": "6190fddb3c799c96a9a6d0d23313856cc7158f477cd505aa36f96e9359c204dc","hash": "#focus=planner&reach=downstream","eyebrow": "WORKFLOW · SIGNAL FLOW","title": "Agent Tool Call",@@ -22,7 +22,7 @@{"id": "blueprint","artifact": "docs/gallery/artifacts/production-deployment.architecture.html",- "artifactSha256": "33da84c0ad90852a14aace4d174f935ab317b410e3f9a9faa648f7e89ea7198e",+ "artifactSha256": "f9b6df7f1da6f71a292ab88a7579fd7522fda80bce1bb0f756efe54e9b4acb52","hash": "#lens=backend~database","eyebrow": "ARCHITECTURE · BLUEPRINT","title": "Production Deployment",@@ -31,7 +31,7 @@{"id": "classic","artifact": "docs/gallery/artifacts/cache-miss.sequence.html",- "artifactSha256": "217463e118a17a39ede9de8bab7b4cf947576397f5259e5afc1d50803bf3d615",+ "artifactSha256": "80e93b231b50398c4c34b77fe7ad6494c6e9c46bb031b43ac1b4b40f21f98a1c","hash": "#route=web~db","eyebrow": "SEQUENCE · CLASSIC","title": "Cache Miss Request",diff --git a/docs/gallery.html b/docs/gallery.htmlindex 2708c3bc..ca7feb10 100644--- a/docs/gallery.html+++ b/docs/gallery.html@@ -302,7 +302,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 11E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="04a86d3625cd5738ea8c1402ceb4d4d2658b07b868e04829aaf9a6cb4d6bed7d">04a86d3625cd</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="6190fddb3c799c96a9a6d0d23313856cc7158f477cd505aa36f96e9359c204dc">6190fddb3c79</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/agent-tool-call.workflow.html#focus=planner" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -332,7 +332,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="33da84c0ad90852a14aace4d174f935ab317b410e3f9a9faa648f7e89ea7198e">33da84c0ad90</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="f9b6df7f1da6f71a292ab88a7579fd7522fda80bce1bb0f756efe54e9b4acb52">f9b6df7f1da6</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/production-deployment.architecture.html#focus=gateway" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -361,7 +361,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="217463e118a17a39ede9de8bab7b4cf947576397f5259e5afc1d50803bf3d615">217463e118a1</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="80e93b231b50398c4c34b77fe7ad6494c6e9c46bb031b43ac1b4b40f21f98a1c">80e93b231b50</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/cache-miss.sequence.html#focus=redis" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -390,7 +390,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="73aa4f0e3ddc14eed45096fc682f34ac2a449a88cc22e551a94f82ac101c0dd9">73aa4f0e3ddc</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="1a384f3fdfdc1110ab49ef64ec5a5f5c5e9d2cff046b0259e083d8f8b292f1e7">1a384f3fdfdc</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/release-delivery.workflow.html#focus=approval" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -419,7 +419,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">11N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="84151640d73390b830a45328142d34653238087b46a266c7cf76ca79a02d1392">84151640d733</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="3b48c070771a1f3a11df5cb44fe8a90c71b49ec85a1f324a4223c83395725d83">3b48c070771a</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/incident-response.workflow.html#focus=triage" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -448,7 +448,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="0a61bde3db1a6432ea3895a1063c467234b66642458c152402c1079c4c8e78a3">0a61bde3db1a</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="b34eb24c6efb95d30c553de3408d67bdaf701b5e29c8460d1743e65a524101c3">b34eb24c6efb</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/product-analytics.dataflow.html#focus=consent" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -477,7 +477,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">7N · 14E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="1410329ba311256b7dd42a9d64cc3eb8f6b93b8034af60eebf9bf22d375f58fb">1410329ba311</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="39a09a8bcc82a5481efce3bd8e7fc50b402f5094ae93fb98ea3e38c6bfb16c81">39a09a8bcc82</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/async-job-roundtrip.sequence.html#focus=queue" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -506,7 +506,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="9c34bfa60d4f19aaa2514c47ced4d67e9f2dd469dd40f3559ad64973a1e99b47">9c34bfa60d4f</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="75938cbb2e17c3cde8ed2e63b2e9ad8793dc8094420076a5bc927d6b37fc0332">75938cbb2e17</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/event-stream.dataflow.html#focus=orders" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -535,7 +535,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 · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="bb3400adf76d011e72c6ebf9fba799fa3679a561190f8b154453ba94cb81f181">bb3400adf76d</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="e363fdb54f2a6cb3ef3262b081515212524f4b24a0cb5103f3dd301fe8764c5d">e363fdb54f2a</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/agent-run.lifecycle.html#focus=approval" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -564,7 +564,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 15E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="81d3b9f27b4bcf57ed0a306750bb030481e4435ad88208fa5f16ea2ba351895b">81d3b9f27b4b</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="c3f8c43cf89164778bcb43412d9b8a6652248f6c7e76ddfe4691e429fea2d607">c3f8c43cf891</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/deployment-release.lifecycle.html#focus=live" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -593,7 +593,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 · 9E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="635f7ce07300a8da8b408475328e67ac605a255f9fcc994c00ef2b1f2f85858c">635f7ce07300</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="e81cb13231b857b941f439068ca0ca200e83d068135b2c6fd4bcbcf128ec4253">e81cb13231b8</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/web-app.architecture.html#focus=api" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -622,7 +622,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">6N · 5E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="680e3db2bd83d7b593c3b33171fbeb30da3a1fcb5b2beb139d660135fb926c57">680e3db2bd83</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="32fb3559c4457f19f6b36cdac4c835d96e7aaa5f457d2783c62b9c7013013585">32fb3559c445</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/orders.erd.html#focus=order" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -701,8 +701,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 12,"edgeCount": 11,- "artifactBytes": 784966,- "artifactSha256": "04a86d3625cd5738ea8c1402ceb4d4d2658b07b868e04829aaf9a6cb4d6bed7d",+ "artifactBytes": 784769,+ "artifactSha256": "6190fddb3c799c96a9a6d0d23313856cc7158f477cd505aa36f96e9359c204dc","sourceBytes": 4939,"sourceSha256": "d67965d50872c97e4ff3476271e645bf19fab6b3ab44e111bdb44b063e3aa36f","checks": [@@ -836,8 +836,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": "deployment-ownership","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 787684,- "artifactSha256": "33da84c0ad90852a14aace4d174f935ab317b410e3f9a9faa648f7e89ea7198e",+ "artifactBytes": 787487,+ "artifactSha256": "f9b6df7f1da6f71a292ab88a7579fd7522fda80bce1bb0f756efe54e9b4acb52","sourceBytes": 4734,"sourceSha256": "610a5614667e8f108bdcf1769c9d7af5c3ce0fb62be3ea50550b10eb752e4bda","checks": [@@ -969,8 +969,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 7,"edgeCount": 12,- "artifactBytes": 779497,- "artifactSha256": "217463e118a17a39ede9de8bab7b4cf947576397f5259e5afc1d50803bf3d615",+ "artifactBytes": 779300,+ "artifactSha256": "80e93b231b50398c4c34b77fe7ad6494c6e9c46bb031b43ac1b4b40f21f98a1c","sourceBytes": 3805,"sourceSha256": "f8486daa803fff6c295cecca4604c561fbbf9acb2e83326022b5a87639e8afe6","checks": [@@ -1103,8 +1103,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 780470,- "artifactSha256": "73aa4f0e3ddc14eed45096fc682f34ac2a449a88cc22e551a94f82ac101c0dd9",+ "artifactBytes": 780273,+ "artifactSha256": "1a384f3fdfdc1110ab49ef64ec5a5f5c5e9d2cff046b0259e083d8f8b292f1e7","sourceBytes": 4510,"sourceSha256": "dbd5c174af66296caec372e7214cf4df7158b50a563508e16826b95ab8d1cd6c","checks": [@@ -1243,8 +1243,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 11,"edgeCount": 10,- "artifactBytes": 777790,- "artifactSha256": "84151640d73390b830a45328142d34653238087b46a266c7cf76ca79a02d1392",+ "artifactBytes": 777593,+ "artifactSha256": "3b48c070771a1f3a11df5cb44fe8a90c71b49ec85a1f324a4223c83395725d83","sourceBytes": 4723,"sourceSha256": "630be98449925d2716ecb8439f404b2bff5fe65ba905b0ad0baea6d96890c526","checks": [@@ -1429,8 +1429,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 781792,- "artifactSha256": "0a61bde3db1a6432ea3895a1063c467234b66642458c152402c1079c4c8e78a3",+ "artifactBytes": 781595,+ "artifactSha256": "b34eb24c6efb95d30c553de3408d67bdaf701b5e29c8460d1743e65a524101c3","sourceBytes": 5035,"sourceSha256": "8a635db9e51a5b1a8d2955b9d66f5b9a450e0a298432ce8f2e2f0be11f372e05","checks": [@@ -1564,8 +1564,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 7,"edgeCount": 14,- "artifactBytes": 779843,- "artifactSha256": "1410329ba311256b7dd42a9d64cc3eb8f6b93b8034af60eebf9bf22d375f58fb",+ "artifactBytes": 779646,+ "artifactSha256": "39a09a8bcc82a5481efce3bd8e7fc50b402f5094ae93fb98ea3e38c6bfb16c81","sourceBytes": 3766,"sourceSha256": "b8c6c52f1763ede2933c77deb8da59b3e06917bc41d27e66df896136456b859a","checks": [@@ -1716,8 +1716,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 12,"edgeCount": 12,- "artifactBytes": 785712,- "artifactSha256": "9c34bfa60d4f19aaa2514c47ced4d67e9f2dd469dd40f3559ad64973a1e99b47",+ "artifactBytes": 785515,+ "artifactSha256": "75938cbb2e17c3cde8ed2e63b2e9ad8793dc8094420076a5bc927d6b37fc0332","sourceBytes": 4769,"sourceSha256": "3bdd77674282009c7c68d588cf8a3c495bc98a3be1b9c45327fd1801a6f83a23","checks": [@@ -1868,8 +1868,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 12,- "artifactBytes": 785879,- "artifactSha256": "bb3400adf76d011e72c6ebf9fba799fa3679a561190f8b154453ba94cb81f181",+ "artifactBytes": 785682,+ "artifactSha256": "e363fdb54f2a6cb3ef3262b081515212524f4b24a0cb5103f3dd301fe8764c5d","sourceBytes": 3260,"sourceSha256": "5ba36f5ce91ed428cb48b599e275424916d82b619b9a3231cbd1bbc3966fc54b","checks": [@@ -1990,8 +1990,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 12,"edgeCount": 15,- "artifactBytes": 792655,- "artifactSha256": "81d3b9f27b4bcf57ed0a306750bb030481e4435ad88208fa5f16ea2ba351895b",+ "artifactBytes": 792458,+ "artifactSha256": "c3f8c43cf89164778bcb43412d9b8a6652248f6c7e76ddfe4691e429fea2d607","sourceBytes": 4155,"sourceSha256": "e3dc105d03c1c9881160006cdace23cb5d8533803e337caf0ec287c64e775275","checks": [@@ -2112,8 +2112,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 9,- "artifactBytes": 780223,- "artifactSha256": "635f7ce07300a8da8b408475328e67ac605a255f9fcc994c00ef2b1f2f85858c",+ "artifactBytes": 780026,+ "artifactSha256": "e81cb13231b857b941f439068ca0ca200e83d068135b2c6fd4bcbcf128ec4253","sourceBytes": 3197,"sourceSha256": "95e051b27a9e4a3307e194c0f666fca4af51470be7e2228d400ff48aea5b353b","checks": [@@ -2258,8 +2258,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 6,"edgeCount": 5,- "artifactBytes": 794440,- "artifactSha256": "680e3db2bd83d7b593c3b33171fbeb30da3a1fcb5b2beb139d660135fb926c57",+ "artifactBytes": 794243,+ "artifactSha256": "32fb3559c4457f19f6b36cdac4c835d96e7aaa5f457d2783c62b9c7013013585","sourceBytes": 7321,"sourceSha256": "1777a374647084466f4d7ce3a968004be6ab70ac9cf82459b96bed7c556cdfdd","checks": [diff --git a/docs/gallery/artifacts/agent-run.lifecycle.html b/docs/gallery/artifacts/agent-run.lifecycle.htmlindex ef345a07..56abd288 100644--- a/docs/gallery/artifacts/agent-run.lifecycle.html+++ b/docs/gallery/artifacts/agent-run.lifecycle.html@@ -7481,8 +7481,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/artifacts/agent-tool-call.workflow.html b/docs/gallery/artifacts/agent-tool-call.workflow.htmlindex 387ea6cd..0726793e 100644--- a/docs/gallery/artifacts/agent-tool-call.workflow.html+++ b/docs/gallery/artifacts/agent-tool-call.workflow.html@@ -7475,8 +7475,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/artifacts/async-job-roundtrip.sequence.html b/docs/gallery/artifacts/async-job-roundtrip.sequence.htmlindex 5771a2db..21194391 100644--- a/docs/gallery/artifacts/async-job-roundtrip.sequence.html+++ b/docs/gallery/artifacts/async-job-roundtrip.sequence.html@@ -7496,8 +7496,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.htmlindex 1b64379c..348b8c50 100644--- a/docs/gallery/artifacts/cache-miss.sequence.html+++ b/docs/gallery/artifacts/cache-miss.sequence.html@@ -7484,8 +7484,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/artifacts/deployment-release.lifecycle.html b/docs/gallery/artifacts/deployment-release.lifecycle.htmlindex 2a20880b..e742095a 100644--- a/docs/gallery/artifacts/deployment-release.lifecycle.html+++ b/docs/gallery/artifacts/deployment-release.lifecycle.html@@ -7545,8 +7545,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/artifacts/event-stream.dataflow.html b/docs/gallery/artifacts/event-stream.dataflow.htmlindex 176c700f..6cf2c2a2 100644--- a/docs/gallery/artifacts/event-stream.dataflow.html+++ b/docs/gallery/artifacts/event-stream.dataflow.html@@ -7508,8 +7508,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/artifacts/incident-response.workflow.html b/docs/gallery/artifacts/incident-response.workflow.htmlindex 099518d3..aaace856 100644--- a/docs/gallery/artifacts/incident-response.workflow.html+++ b/docs/gallery/artifacts/incident-response.workflow.html@@ -7435,8 +7435,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/artifacts/orders.erd.html b/docs/gallery/artifacts/orders.erd.htmlindex 32cf291f..78c7990f 100644--- a/docs/gallery/artifacts/orders.erd.html+++ b/docs/gallery/artifacts/orders.erd.html@@ -7637,8 +7637,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/artifacts/product-analytics.dataflow.html b/docs/gallery/artifacts/product-analytics.dataflow.htmlindex 0cd30b6b..437e87a7 100644--- a/docs/gallery/artifacts/product-analytics.dataflow.html+++ b/docs/gallery/artifacts/product-analytics.dataflow.html@@ -7469,8 +7469,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/artifacts/production-deployment.architecture.html b/docs/gallery/artifacts/production-deployment.architecture.htmlindex 657fc975..aee0fdf7 100644--- a/docs/gallery/artifacts/production-deployment.architecture.html+++ b/docs/gallery/artifacts/production-deployment.architecture.html@@ -7512,8 +7512,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/artifacts/release-delivery.workflow.html b/docs/gallery/artifacts/release-delivery.workflow.htmlindex 85e38eb5..d894a680 100644--- a/docs/gallery/artifacts/release-delivery.workflow.html+++ b/docs/gallery/artifacts/release-delivery.workflow.html@@ -7461,8 +7461,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/artifacts/web-app.architecture.html b/docs/gallery/artifacts/web-app.architecture.htmlindex 1cd2e96c..36109bfb 100644--- a/docs/gallery/artifacts/web-app.architecture.html+++ b/docs/gallery/artifacts/web-app.architecture.html@@ -7457,8 +7457,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.jsonindex 3972b331..1379eb8e 100644--- a/docs/gallery/manifest.json+++ b/docs/gallery/manifest.json@@ -19,8 +19,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 11,- "artifactBytes": 784966,- "artifactSha256": "04a86d3625cd5738ea8c1402ceb4d4d2658b07b868e04829aaf9a6cb4d6bed7d",+ "artifactBytes": 784769,+ "artifactSha256": "6190fddb3c799c96a9a6d0d23313856cc7158f477cd505aa36f96e9359c204dc","sourceBytes": 4939,"sourceSha256": "d67965d50872c97e4ff3476271e645bf19fab6b3ab44e111bdb44b063e3aa36f","checks": [@@ -154,8 +154,8 @@"engineeringProfile": "deployment-ownership","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 787684,- "artifactSha256": "33da84c0ad90852a14aace4d174f935ab317b410e3f9a9faa648f7e89ea7198e",+ "artifactBytes": 787487,+ "artifactSha256": "f9b6df7f1da6f71a292ab88a7579fd7522fda80bce1bb0f756efe54e9b4acb52","sourceBytes": 4734,"sourceSha256": "610a5614667e8f108bdcf1769c9d7af5c3ce0fb62be3ea50550b10eb752e4bda","checks": [@@ -287,8 +287,8 @@"engineeringProfile": null,"nodeCount": 7,"edgeCount": 12,- "artifactBytes": 779497,- "artifactSha256": "217463e118a17a39ede9de8bab7b4cf947576397f5259e5afc1d50803bf3d615",+ "artifactBytes": 779300,+ "artifactSha256": "80e93b231b50398c4c34b77fe7ad6494c6e9c46bb031b43ac1b4b40f21f98a1c","sourceBytes": 3805,"sourceSha256": "f8486daa803fff6c295cecca4604c561fbbf9acb2e83326022b5a87639e8afe6","checks": [@@ -421,8 +421,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 780470,- "artifactSha256": "73aa4f0e3ddc14eed45096fc682f34ac2a449a88cc22e551a94f82ac101c0dd9",+ "artifactBytes": 780273,+ "artifactSha256": "1a384f3fdfdc1110ab49ef64ec5a5f5c5e9d2cff046b0259e083d8f8b292f1e7","sourceBytes": 4510,"sourceSha256": "dbd5c174af66296caec372e7214cf4df7158b50a563508e16826b95ab8d1cd6c","checks": [@@ -561,8 +561,8 @@"engineeringProfile": null,"nodeCount": 11,"edgeCount": 10,- "artifactBytes": 777790,- "artifactSha256": "84151640d73390b830a45328142d34653238087b46a266c7cf76ca79a02d1392",+ "artifactBytes": 777593,+ "artifactSha256": "3b48c070771a1f3a11df5cb44fe8a90c71b49ec85a1f324a4223c83395725d83","sourceBytes": 4723,"sourceSha256": "630be98449925d2716ecb8439f404b2bff5fe65ba905b0ad0baea6d96890c526","checks": [@@ -747,8 +747,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 781792,- "artifactSha256": "0a61bde3db1a6432ea3895a1063c467234b66642458c152402c1079c4c8e78a3",+ "artifactBytes": 781595,+ "artifactSha256": "b34eb24c6efb95d30c553de3408d67bdaf701b5e29c8460d1743e65a524101c3","sourceBytes": 5035,"sourceSha256": "8a635db9e51a5b1a8d2955b9d66f5b9a450e0a298432ce8f2e2f0be11f372e05","checks": [@@ -882,8 +882,8 @@"engineeringProfile": null,"nodeCount": 7,"edgeCount": 14,- "artifactBytes": 779843,- "artifactSha256": "1410329ba311256b7dd42a9d64cc3eb8f6b93b8034af60eebf9bf22d375f58fb",+ "artifactBytes": 779646,+ "artifactSha256": "39a09a8bcc82a5481efce3bd8e7fc50b402f5094ae93fb98ea3e38c6bfb16c81","sourceBytes": 3766,"sourceSha256": "b8c6c52f1763ede2933c77deb8da59b3e06917bc41d27e66df896136456b859a","checks": [@@ -1034,8 +1034,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 12,- "artifactBytes": 785712,- "artifactSha256": "9c34bfa60d4f19aaa2514c47ced4d67e9f2dd469dd40f3559ad64973a1e99b47",+ "artifactBytes": 785515,+ "artifactSha256": "75938cbb2e17c3cde8ed2e63b2e9ad8793dc8094420076a5bc927d6b37fc0332","sourceBytes": 4769,"sourceSha256": "3bdd77674282009c7c68d588cf8a3c495bc98a3be1b9c45327fd1801a6f83a23","checks": [@@ -1186,8 +1186,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 12,- "artifactBytes": 785879,- "artifactSha256": "bb3400adf76d011e72c6ebf9fba799fa3679a561190f8b154453ba94cb81f181",+ "artifactBytes": 785682,+ "artifactSha256": "e363fdb54f2a6cb3ef3262b081515212524f4b24a0cb5103f3dd301fe8764c5d","sourceBytes": 3260,"sourceSha256": "5ba36f5ce91ed428cb48b599e275424916d82b619b9a3231cbd1bbc3966fc54b","checks": [@@ -1308,8 +1308,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 15,- "artifactBytes": 792655,- "artifactSha256": "81d3b9f27b4bcf57ed0a306750bb030481e4435ad88208fa5f16ea2ba351895b",+ "artifactBytes": 792458,+ "artifactSha256": "c3f8c43cf89164778bcb43412d9b8a6652248f6c7e76ddfe4691e429fea2d607","sourceBytes": 4155,"sourceSha256": "e3dc105d03c1c9881160006cdace23cb5d8533803e337caf0ec287c64e775275","checks": [@@ -1430,8 +1430,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 9,- "artifactBytes": 780223,- "artifactSha256": "635f7ce07300a8da8b408475328e67ac605a255f9fcc994c00ef2b1f2f85858c",+ "artifactBytes": 780026,+ "artifactSha256": "e81cb13231b857b941f439068ca0ca200e83d068135b2c6fd4bcbcf128ec4253","sourceBytes": 3197,"sourceSha256": "95e051b27a9e4a3307e194c0f666fca4af51470be7e2228d400ff48aea5b353b","checks": [@@ -1576,8 +1576,8 @@"engineeringProfile": null,"nodeCount": 6,"edgeCount": 5,- "artifactBytes": 794440,- "artifactSha256": "680e3db2bd83d7b593c3b33171fbeb30da3a1fcb5b2beb139d660135fb926c57",+ "artifactBytes": 794243,+ "artifactSha256": "32fb3559c4457f19f6b36cdac4c835d96e7aaa5f457d2783c62b9c7013013585","sourceBytes": 7321,"sourceSha256": "1777a374647084466f4d7ce3a968004be6ab70ac9cf82459b96bed7c556cdfdd","checks": [diff --git a/examples/checkout-platform-delta.html b/examples/checkout-platform-delta.htmlindex a33e3ddb..e5ea3719 100644--- a/examples/checkout-platform-delta.html+++ b/examples/checkout-platform-delta.html@@ -12074,8 +12074,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });@@ -26427,8 +26425,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/checkout-platform-delta.receipt.json b/examples/checkout-platform-delta.receipt.jsonindex 1e3c9f65..eef1aa23 100644--- a/examples/checkout-platform-delta.receipt.json+++ b/examples/checkout-platform-delta.receipt.json@@ -219,8 +219,8 @@"Boundary identity is conservatively derived from kind + label."],"artifact": {- "sha256": "fe66ef9d3c3585aa14ef195207f2bc6f4afe6d7d198da1ff6607b21483c48060",- "bytes": 2158487+ "sha256": "ffe6ee291b392151959e253bdf1aca35d4cc71e7794cb93627742bc9e77982af",+ "bytes": 2158061},"validation": {"checksPassed": 28,diff --git a/examples/class-payment-processors-rendered.html b/examples/class-payment-processors-rendered.htmlindex 689b3051..488cec31 100644--- a/examples/class-payment-processors-rendered.html+++ b/examples/class-payment-processors-rendered.html@@ -7549,8 +7549,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/class-payments-rendered.html b/examples/class-payments-rendered.htmlindex bedbfea3..7802891e 100644--- a/examples/class-payments-rendered.html+++ b/examples/class-payments-rendered.html@@ -7355,8 +7355,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/dataflow-product-analytics.html b/examples/dataflow-product-analytics.htmlindex 0cd30b6b..437e87a7 100644--- a/examples/dataflow-product-analytics.html+++ b/examples/dataflow-product-analytics.html@@ -7469,8 +7469,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/erd-orders-rendered.html b/examples/erd-orders-rendered.htmlindex 32cf291f..78c7990f 100644--- a/examples/erd-orders-rendered.html+++ b/examples/erd-orders-rendered.html@@ -7637,8 +7637,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/lifecycle-agent-run.html b/examples/lifecycle-agent-run.htmlindex ef345a07..56abd288 100644--- a/examples/lifecycle-agent-run.html+++ b/examples/lifecycle-agent-run.html@@ -7481,8 +7481,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.htmlindex 1b64379c..348b8c50 100644--- a/examples/sequence-cache-miss-request.html+++ b/examples/sequence-cache-miss-request.html@@ -7484,8 +7484,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/subscription-billing-rendered.html b/examples/subscription-billing-rendered.htmlindex 79e00983..cff69324 100644--- a/examples/subscription-billing-rendered.html+++ b/examples/subscription-billing-rendered.html@@ -7861,8 +7861,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/timeline-archify-dev-activity-rendered.html b/examples/timeline-archify-dev-activity-rendered.htmlindex 8c09ee6a..c666106b 100644--- a/examples/timeline-archify-dev-activity-rendered.html+++ b/examples/timeline-archify-dev-activity-rendered.html@@ -7561,8 +7561,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/timeline-payment-incident-rendered.html b/examples/timeline-payment-incident-rendered.htmlindex 153c370e..3ff01ea0 100644--- a/examples/timeline-payment-incident-rendered.html+++ b/examples/timeline-payment-incident-rendered.html@@ -7346,8 +7346,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/tree-archify-repository-rendered.html b/examples/tree-archify-repository-rendered.htmlindex 38968ab1..62ffcda4 100644--- a/examples/tree-archify-repository-rendered.html+++ b/examples/tree-archify-repository-rendered.html@@ -7580,8 +7580,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/tree-payment-platform-rendered.html b/examples/tree-payment-platform-rendered.htmlindex 17d5fc78..44f06a4c 100644--- a/examples/tree-payment-platform-rendered.html+++ b/examples/tree-payment-platform-rendered.html@@ -7361,8 +7361,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/waterfall-checkout-request-rendered.html b/examples/waterfall-checkout-request-rendered.htmlindex 905d06eb..6993c2c2 100644--- a/examples/waterfall-checkout-request-rendered.html+++ b/examples/waterfall-checkout-request-rendered.html@@ -7343,8 +7343,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/waterfall-example-rebuild-rendered.html b/examples/waterfall-example-rebuild-rendered.htmlindex 164934c5..95fd0e39 100644--- a/examples/waterfall-example-rebuild-rendered.html+++ b/examples/waterfall-example-rebuild-rendered.html@@ -7529,8 +7529,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/web-app-rendered.html b/examples/web-app-rendered.htmlindex 1cd2e96c..36109bfb 100644--- a/examples/web-app-rendered.html+++ b/examples/web-app-rendered.html@@ -7457,8 +7457,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/web-app.html b/examples/web-app.htmlindex 2be5a3fa..336c63af 100644--- a/examples/web-app.html+++ b/examples/web-app.html@@ -7456,8 +7456,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/examples/workflow-agent-tool-call-rendered.html b/examples/workflow-agent-tool-call-rendered.htmlindex 387ea6cd..0726793e 100644--- a/examples/workflow-agent-tool-call-rendered.html+++ b/examples/workflow-agent-tool-call-rendered.html@@ -7475,8 +7475,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });diff --git a/test/motion-governor-browser.test.mjs b/test/motion-governor-browser.test.mjsindex d990c77f..9abb7b52 100644--- a/test/motion-governor-browser.test.mjs+++ b/test/motion-governor-browser.test.mjs@@ -397,8 +397,6 @@ test('Motion Governor preserves mode, ownership, continuous Live flow and real croot.removeAttribute(attr); await frame(); states.push(visible());}const token=m.claim('test'); states.push(hidden()); m.release(token); states.push(visible());- window.dispatchEvent(new Event('beforeprint')); states.push(hidden());- window.dispatchEvent(new Event('afterprint')); states.push(visible());Object.defineProperty(document,'hidden',{configurable:true,value:true}); document.dispatchEvent(new Event('visibilitychange')); states.push(hidden());Object.defineProperty(document,'hidden',{configurable:true,value:false}); document.dispatchEvent(new Event('visibilitychange')); states.push(visible()); delete document.hidden;return {states,count:document.querySelectorAll('.ambient-edge-flow').length,initial:count};@@ -408,8 +406,43 @@ test('Motion Governor preserves mode, ownership, continuous Live flow and real cassert.equal(await run(`document.querySelector('.ambient-edge-flow').getAnimations().length`), 0);await media(false); await run(`motionWait(()=>document.querySelector('.ambient-edge-flow').getAnimations().length>0)`);await send('Emulation.setEmulatedMedia', {media:'print'});- assert.equal(await run(`getComputedStyle(document.querySelector('.ambient-edge-flow')).display`), 'none');+ assert.equal(await run(`Array.from(document.querySelectorAll('.ambient-edge-flow')).every(e=>getComputedStyle(e).display==='none'&&e.getAnimations().length===0)`), true);+ assert.equal((await snapshot('print-css')).mode, 'live');await media(false);+ await run(`motionWait(()=>document.querySelector('.ambient-edge-flow').getAnimations().some(a=>a.playState==='running'))`);+ assert.equal((await snapshot('screen-css-return')).mode, 'live');+ assert.equal(await run(`document.querySelectorAll('.ambient-edge-flow').length`), guards.initial);+ });++ await t.test('printing keeps Governor Live and preserves the existing Route print policy', async () => {+ await load();+ assert.equal(await run(`(() => {+ Archify.routeProbe.begin({source:'users'}); Archify.routeProbe.choose('db');+ window.printPauses=[]; window.printPauseOriginal=Archify.routeProbe.pauseJourney;+ Archify.routeProbe.pauseJourney=function(options){printPauses.push(options);return printPauseOriginal(options);};+ return Archify.routeProbe.playJourney();+ })()`), true);+ await send('Emulation.setEmulatedMedia', {media:'print'});+ const printing=await run(`({playing:Archify.routeProbe.isJourneyPlaying(),mode:Archify.motionGovernor.mode(),owner:Archify.motionGovernor.owner(),+ pausedCalls:printPauses,flowHidden:Array.from(document.querySelectorAll('.ambient-edge-flow')).every(e=>getComputedStyle(e).display==='none'&&e.getAnimations().length===0)})`);+ assert.deepEqual(printing,{playing:true,mode:'live',owner:'route',pausedCalls:[],flowHidden:true});+ // Route already pauses itself for print through its private handler. The+ // Governor must neither add a hidden-page pause nor change reader intent.+ const beforePrint=await run(`(() => {+ window.dispatchEvent(new Event('beforeprint'));+ return {playing:Archify.routeProbe.isJourneyPlaying(),mode:Archify.motionGovernor.mode(),pausedCalls:printPauses};+ })()`);+ assert.deepEqual(beforePrint,{playing:false,mode:'live',pausedCalls:[]});+ await media(false);+ const returned=await run(`(() => {+ window.dispatchEvent(new Event('afterprint'));+ const state={playing:Archify.routeProbe.isJourneyPlaying(),mode:Archify.motionGovernor.mode(),owner:Archify.motionGovernor.owner(),pausedCalls:printPauses,+ yielding:Array.from(document.querySelectorAll('.ambient-edge-flow')).every(e=>e.getAnimations().length===0)};+ Archify.routeProbe.pauseJourney=printPauseOriginal; Archify.routeProbe.clear({updateUrl:false});+ return state;+ })()`);+ assert.deepEqual(returned,{playing:false,mode:'live',owner:'route',pausedCalls:[],yielding:true});+ await run(`motionWait(()=>document.querySelector('.ambient-edge-flow').getAnimations().some(a=>a.playState==='running'))`);});await t.test('canonical SVG and PNG bytes are identical in Live, Still and resumed Live', async () => {diff --git a/viewer/README.md b/viewer/README.mdindex 9a96d3ed..5feadaa8 100644--- a/viewer/README.md+++ b/viewer/README.md@@ -851,11 +851,11 @@ Stale/repeated releases return false. Claims are not a stack of resumable owners| State / dependency | Ownership and coordination || --- | --- |-| Reader pause, suspension table, previous effective-pause value | Governor owns these. Ordinary suspend keys count references; each returned release function succeeds once. Visibility and print directly set/delete their own table keys, so callers using either key do not have independent counting guarantees. |+| Reader pause, suspension table, previous effective-pause value | Governor owns these. Ordinary suspend keys count references; each returned release function succeeds once. Visibility directly sets/deletes the same table's `visibility` key, so a caller using that key does not have independent counting guarantees. || Explicit/derived owner, token and cleanup callback | Governor owns arbitration. Route provides cleanup; their decorations and transaction state remain caller-owned. || Root motion/owner/capable/document-hidden attributes and button hidden/disabled/ARIA/text/title | Governor writes them; CSS consumes them. System preference, suspension, reader pause and owner retain their existing label precedence. Only the system preference disables the button. || Flow overlays, node-entry started flag and pending node set | Governor creates one decorative path per authored connection. CSS repeats its flow while eligible. Node entrance runs at most once and finishes on its animation boundary or suppression. |-| Button/media/visibility/print/mutation/animation subscriptions | Page lifetime, no destroy method. Observers watch the explicit SVG owner attributes and root embed/share context. |+| Button/media/visibility/mutation/animation subscriptions | Page lifetime, no destroy method. Observers watch the explicit SVG owner attributes and root embed/share context. |Entering effective pause pauses Route Journeywith elapsed time preserved, using the existing reason priority and call order.@@ -865,8 +865,12 @@ does not imply a universal once-only guarantee under synchronous caller reentry.Connection flow uses adjacent runtime paths with the authored geometry andclipping, without graph identity or relationship attributes. Geometry queriesexclude these paths. The authored lines, dashes and arrowheads remain visible.-Pause, semantic ownership, reduced motion, embed/share mode, document hiding and-printing hide and stop flow; clearing those guards restores it. Folded tree edges+Pause, semantic ownership, reduced motion, embed/share mode and document hiding+hide and stop flow; clearing those guards restores it. Print CSS independently+hides and stops flow, leaving Route Journey's existing print policy in Route.+Route retains its own beforeprint pause with elapsed time preserved and manual+resume after printing.+Folded tree edgeshide their adjacent flow paths. No per-frame JavaScript or repeated DOM allocationis needed. Diagrams without connections retain bounded node entrance only.diff --git a/viewer/motion-governor.js b/viewer/motion-governor.jsindex e0881ae8..55248d29 100644--- a/viewer/motion-governor.js+++ b/viewer/motion-governor.js@@ -231,8 +231,6 @@else if (typeof motionQuery.addListener === 'function') motionQuery.addListener(render);}document.addEventListener('visibilitychange', syncVisibility);- window.addEventListener('beforeprint', function () { suspensions.print = true; render(); });- window.addEventListener('afterprint', function () { delete suspensions.print; render(); });if (typeof MutationObserver !== 'undefined') {var contextObserver = new MutationObserver(render);contextObserver.observe(html, { attributes: true, attributeFilter: ['data-embed', 'data-share-playback'] });