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
Verify manual guide interaction and regenerate the Live motion artifacts
tt-a1i2be24d596f2d
diff --git a/archify.zip b/archify.zipindex 045cd6cc..190f06ae 100644Binary files a/archify.zip and b/archify.zip differdiff --git a/archify/examples/class-payment-processors-rendered.html b/archify/examples/class-payment-processors-rendered.htmlindex 262dd6b2..bf7e2795 100644--- a/archify/examples/class-payment-processors-rendered.html+++ b/archify/examples/class-payment-processors-rendered.html@@ -7641,7 +7641,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7744,8 +7745,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7895,7 +7896,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14465,22 +14466,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/class-payments-rendered.html b/archify/examples/class-payments-rendered.htmlindex 519b5f64..3100c1b2 100644--- a/archify/examples/class-payments-rendered.html+++ b/archify/examples/class-payments-rendered.html@@ -7447,7 +7447,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7550,8 +7551,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7701,7 +7702,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14271,22 +14272,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/dataflow-product-analytics.html b/archify/examples/dataflow-product-analytics.htmlindex d4a93c3d..b22f8efc 100644--- a/archify/examples/dataflow-product-analytics.html+++ b/archify/examples/dataflow-product-analytics.html@@ -7561,7 +7561,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7664,8 +7665,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7815,7 +7816,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14385,22 +14386,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/erd-orders-rendered.html b/archify/examples/erd-orders-rendered.htmlindex a96b1e86..ba72f26b 100644--- a/archify/examples/erd-orders-rendered.html+++ b/archify/examples/erd-orders-rendered.html@@ -7729,7 +7729,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7832,8 +7833,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7983,7 +7984,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14553,22 +14554,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/lifecycle-agent-run.html b/archify/examples/lifecycle-agent-run.htmlindex e240ae0c..d9fd0f4c 100644--- a/archify/examples/lifecycle-agent-run.html+++ b/archify/examples/lifecycle-agent-run.html@@ -7573,7 +7573,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7676,8 +7677,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7827,7 +7828,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14397,22 +14398,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/sequence-cache-miss-request.html b/archify/examples/sequence-cache-miss-request.htmlindex ab1b1781..913e39c1 100644--- a/archify/examples/sequence-cache-miss-request.html+++ b/archify/examples/sequence-cache-miss-request.html@@ -7576,7 +7576,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7679,8 +7680,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7830,7 +7831,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14400,22 +14401,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/subscription-billing-rendered.html b/archify/examples/subscription-billing-rendered.htmlindex 8df49a15..81885508 100644--- a/archify/examples/subscription-billing-rendered.html+++ b/archify/examples/subscription-billing-rendered.html@@ -7953,7 +7953,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -8056,8 +8057,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -8207,7 +8208,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14777,22 +14778,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/timeline-archify-dev-activity-rendered.html b/archify/examples/timeline-archify-dev-activity-rendered.htmlindex 3099b7ec..c4b1bbc8 100644--- a/archify/examples/timeline-archify-dev-activity-rendered.html+++ b/archify/examples/timeline-archify-dev-activity-rendered.html@@ -7653,7 +7653,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7756,8 +7757,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7907,7 +7908,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14477,22 +14478,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/timeline-payment-incident-rendered.html b/archify/examples/timeline-payment-incident-rendered.htmlindex ead22307..103b35df 100644--- a/archify/examples/timeline-payment-incident-rendered.html+++ b/archify/examples/timeline-payment-incident-rendered.html@@ -7438,7 +7438,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7541,8 +7542,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7692,7 +7693,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14262,22 +14263,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/tree-archify-repository-rendered.html b/archify/examples/tree-archify-repository-rendered.htmlindex 9b175a99..ad9ae009 100644--- a/archify/examples/tree-archify-repository-rendered.html+++ b/archify/examples/tree-archify-repository-rendered.html@@ -7672,7 +7672,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7775,8 +7776,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7926,7 +7927,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14496,22 +14497,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/tree-payment-platform-rendered.html b/archify/examples/tree-payment-platform-rendered.htmlindex 3673f157..d2124b1a 100644--- a/archify/examples/tree-payment-platform-rendered.html+++ b/archify/examples/tree-payment-platform-rendered.html@@ -7453,7 +7453,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7556,8 +7557,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7707,7 +7708,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14277,22 +14278,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/waterfall-checkout-request-rendered.html b/archify/examples/waterfall-checkout-request-rendered.htmlindex da9c4d8a..051be2da 100644--- a/archify/examples/waterfall-checkout-request-rendered.html+++ b/archify/examples/waterfall-checkout-request-rendered.html@@ -7435,7 +7435,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7538,8 +7539,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7689,7 +7690,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14259,22 +14260,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/waterfall-example-rebuild-rendered.html b/archify/examples/waterfall-example-rebuild-rendered.htmlindex b8275aac..1e7d390d 100644--- a/archify/examples/waterfall-example-rebuild-rendered.html+++ b/archify/examples/waterfall-example-rebuild-rendered.html@@ -7621,7 +7621,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7724,8 +7725,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7875,7 +7876,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14445,22 +14446,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/web-app-rendered.html b/archify/examples/web-app-rendered.htmlindex 1edb37a2..ed2e5075 100644--- a/archify/examples/web-app-rendered.html+++ b/archify/examples/web-app-rendered.html@@ -7549,7 +7549,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7652,8 +7653,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7803,7 +7804,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14373,22 +14374,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/archify/examples/workflow-agent-tool-call-rendered.html b/archify/examples/workflow-agent-tool-call-rendered.htmlindex 49d4dbd0..b6ee0675 100644--- a/archify/examples/workflow-agent-tool-call-rendered.html+++ b/archify/examples/workflow-agent-tool-call-rendered.html@@ -7567,7 +7567,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7670,8 +7671,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7821,7 +7822,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14391,22 +14392,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gifindex ce8c03ba..af313168 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 4d0d4e54..5e3c32e8 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": 815471,- "sha256": "b2c9eaa7bbe4c064900196d7c6fa47907b86b2127610d9c92f26a5308ea28781",+ "bytes": 802500,+ "sha256": "66a5b89e8951b30f9c16b74c75cce6fb462e77d604e3a2a8f66714cde45d2e48","scenes": [{"id": "signal-flow","artifact": "docs/gallery/artifacts/agent-tool-call.workflow.html",- "artifactSha256": "12c132efe58ad2399469ef1453c668e9b51c68387410928fc9d6eb11bef50f95",+ "artifactSha256": "59d83d6da891ec9c88fd630d4cd3c482b7ddc00d4f4eb533873ec0fbc734d76d","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": "9c927c18e557d32520600287048395044295d53000d9918946244ca109102a9b",+ "artifactSha256": "d4f3ea9432cd33cb97d1b856e73d9cb8ad127b003149cc5a421b257efd2815f2","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": "798e98852b8bb747c59e16040abaf21b1e04c2f1dbd1e7bf6b0d15f2b7711cc3",+ "artifactSha256": "4b9c01cf814cef9e327902e70673d8851a90d9f8069b104b607442b77f23f0e5","hash": "#route=web~db","eyebrow": "SEQUENCE · CLASSIC","title": "Cache Miss Request",diff --git a/docs/cases/mco-runtime.architecture.html b/docs/cases/mco-runtime.architecture.htmlindex b6a37ff2..2f152cc3 100644--- a/docs/cases/mco-runtime.architecture.html+++ b/docs/cases/mco-runtime.architecture.html@@ -4726,26 +4726,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE..c-lane { fill: var(--lane-fill); stroke: var(--lane-stroke); stroke-dasharray: 6,6; }/* Live turns each edge into a small light show on one shared cycle: a comet- (halo, tail, head — plus a dimmer echo, half a travel window behind on long- edges and half a cycle behind on short ones) cascades downstream, leaves a- soft wake, and lands as a ripple on the target node. Short edges carry a- proportionally larger comet with a brightness boost so compact diagrams read- as alive as sprawling ones. Original line language and markers remain- static. Each edge's phase follows the authored step order — source-node- rank, or chronological order in sequence diagrams — so the whole diagram- ripples downstream instead of marching uniformly. Node entry is bounded to- one pass per document, then a soft node glow follows the authored step- order. */+ (halo, tail, head — plus a dimmer echo on long edges) cascades downstream,+ leaves a soft wake, and lands as a ripple on the target node. Original line+ language and markers remain static. Each edge's phase follows the authored+ step order — source-node rank, or chronological order in sequence+ diagrams — so the whole diagram ripples downstream instead of marching+ uniformly. Node entry is bounded to one pass per document, then a soft+ node glow follows the authored step order. */svg[data-animation="trace"] {--flow-cycle: 6.4s;--flow-step-delay: 0.2s;- --flow-halo-peak: 0.17;- --flow-glow-peak: 0.5;- --flow-tail-peak: 0.42;+ --flow-halo-peak: 0.13;+ --flow-tail-peak: 0.34;--flow-head-peak: 0.95;- --flow-wake-peak: 0.1;- --flow-ripple-peak: 0.65;- --flow-ripple-echo-peak: 0.26;+ --flow-wake-peak: 0.08;+ --flow-ripple-peak: 0.55;+ --flow-ripple-echo-peak: 0.22;}.ambient-edge-flow {fill: none;@@ -4760,26 +4756,18 @@ OTHER DEALINGS IN THE FONT SOFTWARE.animation-name: archify-flow-wake;}.ambient-flow-halo {- stroke-width: 6;+ stroke-width: 5;stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));animation-name: archify-cascade-halo;}- /* A wide blurred streak centered on the head: this is the bloom that makes- the comet read as a traveling orb of light rather than a bright dash. */- .ambient-flow-glow {- stroke-width: 9;- stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));- filter: blur(2.5px);- animation-name: archify-cascade-glow;- }.ambient-flow-tail {stroke-width: 2.4;stroke-dasharray: var(--flow-dasharray, var(--flow-dash, 20px) calc(var(--flow-len, 0px) - var(--flow-dash, 20px)));animation-name: archify-cascade-tail;}.ambient-flow-head {- stroke: color-mix(in srgb, var(--arrow-emphasis) 40%, white);- stroke-width: 2.6;+ stroke: color-mix(in srgb, var(--arrow-emphasis) 45%, white);+ stroke-width: 2.2;stroke-dasharray: var(--flow-dash, 6px) calc(var(--flow-len, 0px) - var(--flow-dash, 6px));animation-name: archify-cascade-head;}@@ -4808,20 +4796,19 @@ OTHER DEALINGS IN THE FONT SOFTWARE..ambient-edge-flow[data-tree-hidden] { display: none !important; animation: none !important; }svg[data-preset="signal-flow"] { --flow-cycle: 5.2s; --flow-step-delay: 0.18s; }svg[data-preset="blueprint"] .ambient-edge-flow { stroke-linecap: square; }- svg[data-preset="editorial"] { --flow-halo-peak: 0.07; --flow-glow-peak: 0.28; --flow-tail-peak: 0.2; --flow-head-peak: 0.7; --flow-wake-peak: 0.05; --flow-ripple-peak: 0.3; --flow-ripple-echo-peak: 0.12; }+ svg[data-preset="editorial"] { --flow-halo-peak: 0.07; --flow-tail-peak: 0.2; --flow-head-peak: 0.7; --flow-wake-peak: 0.05; --flow-ripple-peak: 0.3; --flow-ripple-echo-peak: 0.12; }/* On light canvases the cascade reads by saturation instead of bloom: thehead and inner ripple mix toward ink instead of white, and every layer'speak rises so the wave survives the bright background. */html[data-theme="light"] svg[data-animation="trace"] {--flow-halo-peak: 0.22;- --flow-glow-peak: 0.4;--flow-tail-peak: 0.5;--flow-wake-peak: 0.13;--flow-ripple-echo-peak: 0.3;}html[data-theme="light"] .ambient-flow-head {stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, black);- stroke-width: 2.8;+ stroke-width: 2.4;}html[data-theme="light"] .ambient-flow-ripple {stroke: color-mix(in srgb, var(--arrow-emphasis) 65%, black);@@ -4873,51 +4860,43 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}@keyframes archify-flow-wake {0% { opacity: 0; }- 24% { opacity: calc(var(--flow-wake-peak, 0.1) * var(--flow-boost, 1)); }- 62% { opacity: calc(var(--flow-wake-peak, 0.1) * var(--flow-boost, 1)); }+ 24% { opacity: var(--flow-wake-peak, 0.08); }+ 62% { opacity: var(--flow-wake-peak, 0.08); }82%, 100% { opacity: 0; }}@keyframes archify-cascade-halo {0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 3px)); opacity: 0; }- 4% { opacity: calc(var(--flow-halo-peak, 0.17) * var(--flow-boost, 1)); }- 15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.88); }- 48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: calc(var(--flow-halo-peak, 0.17) * var(--flow-boost, 1)); }- 68%, 100% { stroke-dashoffset: var(--flow-shift, 3px); opacity: 0; }- }- @keyframes archify-cascade-glow {- 0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 3px)); opacity: 0; }- 4% { opacity: calc(var(--flow-glow-peak, 0.5) * var(--flow-boost, 1)); }+ 4% { opacity: var(--flow-halo-peak, 0.13); }15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.88); }48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: calc(var(--flow-glow-peak, 0.5) * var(--flow-boost, 1)); }+ 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: var(--flow-halo-peak, 0.13); }68%, 100% { stroke-dashoffset: var(--flow-shift, 3px); opacity: 0; }}@keyframes archify-cascade-tail {0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 20px)); opacity: 0; }- 4% { opacity: calc(var(--flow-tail-peak, 0.42) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }+ 4% { opacity: calc(var(--flow-tail-peak, 0.34) * var(--flow-echo-scale, 1)); }15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 20px)) * 0.88); }48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 20px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 20px); opacity: calc(var(--flow-tail-peak, 0.42) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }+ 62% { stroke-dashoffset: var(--flow-shift, 20px); opacity: calc(var(--flow-tail-peak, 0.34) * var(--flow-echo-scale, 1)); }68%, 100% { stroke-dashoffset: var(--flow-shift, 20px); opacity: 0; }}@keyframes archify-cascade-head {0% { stroke-dashoffset: var(--flow-len, 0px); opacity: 0; }- 4% { opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }+ 4% { opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1)); }15% { stroke-dashoffset: calc(var(--flow-len, 0px) * 0.88); }48% { stroke-dashoffset: calc(var(--flow-len, 0px) * 0.22); }- 62% { stroke-dashoffset: 0; opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }+ 62% { stroke-dashoffset: 0; opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1)); }68%, 100% { stroke-dashoffset: 0; opacity: 0; }}@keyframes archify-flow-ripple {0%, 60% { r: 2px; opacity: 0; }- 63% { r: 2px; opacity: calc(var(--flow-ripple-peak, 0.65) * var(--flow-boost, 1)); }- 78%, 100% { r: 20px; opacity: 0; }+ 63% { r: 2px; opacity: var(--flow-ripple-peak, 0.55); }+ 78%, 100% { r: 17px; opacity: 0; }}@keyframes archify-flow-ripple-echo {0%, 63% { r: 2px; opacity: 0; }- 66% { r: 2px; opacity: calc(var(--flow-ripple-echo-peak, 0.26) * var(--flow-boost, 1)); }- 84%, 100% { r: 30px; opacity: 0; }+ 66% { r: 2px; opacity: var(--flow-ripple-echo-peak, 0.22); }+ 84%, 100% { r: 26px; opacity: 0; }}@keyframes archify-node-receive {0%, 100% { filter: var(--ambient-node-base-filter, none); }@@ -5634,7 +5613,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<button id="btn-overview-map" type="button" aria-label="Open semantic radar" aria-expanded="false" aria-controls="overview-map" title="Semantic radar (M)">MAP</button><button id="btn-semantic-lens" type="button" aria-label="Open semantic lens" aria-haspopup="dialog" aria-expanded="false" aria-pressed="false" aria-controls="semantic-lens" title="Semantic lens (L)">LENS</button><button id="btn-node-finder" type="button" aria-label="Find a node" aria-haspopup="dialog" aria-expanded="false" aria-controls="node-finder" title="Find a node (/)" data-node-finder-trigger><span class="diagram-nav-icon find" aria-hidden="true"></span></button>- <button id="btn-diagram-guide" type="button" aria-label="Open diagram guide" aria-haspopup="dialog" aria-expanded="false" aria-controls="diagram-guide" title="Diagram guide (?)"><span class="diagram-nav-icon guide" aria-hidden="true"></span></button>+ <button id="btn-diagram-guide" type="button" hidden aria-label="Open diagram guide" aria-haspopup="dialog" aria-expanded="false" aria-controls="diagram-guide" title="Diagram guide (?)"><span class="diagram-nav-icon guide" aria-hidden="true"></span></button><button data-view="out" type="button" aria-label="Zoom out" title="Zoom out (-)"><span class="diagram-nav-icon minus" aria-hidden="true"></span></button><button data-view="reset" type="button" aria-label="Reset diagram view" title="Reset view (0)"><span class="diagram-nav-detail" data-view-detail hidden>READ</span><span class="diagram-nav-percent" data-view-percent>100%</span></button><button data-view="in" type="button" aria-label="Zoom in" title="Zoom in (+)"><span class="diagram-nav-icon plus" aria-hidden="true"></span></button>@@ -7581,10 +7560,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.wake.remove();return;}- var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7597,12 +7576,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// Absolute caps keep the comet a slim streak on long edges instead// of growing into a bright slab; the tail disintegrates into a// sparkle of fragments behind the head, and --flow-shift trails- // each layer behind the head tip by its own length. Short edges get- // a proportionally larger comet and a brightness boost so a compact- // diagram reads as alive as a sprawling one.- var headLen = Math.min(12, Math.max(5, len * 0.02));- var haloLen = Math.min(18, Math.max(10, len * 0.06));- var boost = len < 260 ? Math.min(1.7, 260 / Math.max(len, 90)) : 1;+ // each layer behind the head tip by its own length.+ var headLen = Math.min(10, Math.max(4, len * 0.016));+ var haloLen = Math.min(14, Math.max(8, len * 0.045));var trail = len >= 120? { pattern: '2.5 2 4 3 5.5 4.5 8 ' + (len - 30).toFixed(1), length: 30 }: (len >= 60@@ -7611,24 +7587,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var phase = edgePhase(shape, index) * stepDelay;var configs = [{ flow: wake, dash: len, shift: 0, delay: phase },- { flow: glow, dash: haloLen, shift: (haloLen - headLen) / 2, delay: phase },{ flow: halo, dash: haloLen, shift: (haloLen - headLen) / 2, delay: phase },{ flow: tail, dash: trail.length, shift: trail.length - headLen, delay: phase, dasharray: trail.pattern },{ flow: head, dash: headLen, shift: 0, delay: phase },];- // Every edge earns a dimmer echo comet: half a travel window behind- // on long edges, half a cycle behind on short ones so compact- // diagrams never sit in a silent gap between passes.- var echoShift = len > 340 ? cycle * 0.31 : cycle * 0.5;- configs.push({ flow: addPath('tail echo'), dash: trail.length, shift: trail.length - headLen, delay: phase + echoShift, dasharray: trail.pattern, echo: true });- configs.push({ flow: addPath('head echo'), dash: headLen, shift: 0, delay: phase + echoShift, echo: true });+ // Long edges earn a dimmer echo comet half a travel window behind.+ if (len > 340) {+ configs.push({ flow: addPath('tail echo'), dash: trail.length, shift: trail.length - headLen, delay: phase + cycle * 0.31, dasharray: trail.pattern });+ configs.push({ flow: addPath('head echo'), dash: headLen, shift: 0, delay: phase + cycle * 0.31 });+ }configs.forEach(function (cfg) {cfg.flow.style.setProperty('--flow-len', len.toFixed(1) + 'px');cfg.flow.style.setProperty('--flow-delay', cfg.delay.toFixed(3) + 's');cfg.flow.style.setProperty('--flow-dash', cfg.dash.toFixed(1) + 'px');cfg.flow.style.setProperty('--flow-shift', cfg.shift.toFixed(1) + 'px');- // Echoes stay background texture: they never inherit the boost.- if (!cfg.echo) cfg.flow.style.setProperty('--flow-boost', boost.toFixed(2));if (cfg.dasharray) cfg.flow.style.setProperty('--flow-dasharray', cfg.dasharray);});// The sonar pair lands where the comet does; keep it out of the@@ -7643,7 +7615,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-' + kind);tagOverlay(ripple);ripple.style.setProperty('--flow-delay', phase.toFixed(3) + 's');- ripple.style.setProperty('--flow-boost', boost.toFixed(2));shape.parentNode.insertBefore(ripple, anchor.nextSibling);anchor = ripple;});@@ -7666,7 +7637,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.if (!entryPending.size) settleEntry();}function renderAmbient(suppressed) {- html.setAttribute('data-ambient-motion', flowCount ? (suppressed ? 'paused' : 'running') : 'empty');+ html.setAttribute('data-ambient-motion', suppressed ? 'paused' : (flowCount ? 'running' : 'empty'));if (suppressed) {entryStarted = true;settleEntry();@@ -7687,8 +7658,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7838,7 +7809,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14282,9 +14253,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.trigger.setAttribute('aria-label', viewerText('viewer.guide.open'));feedback.textContent = '';if (options.restoreFocus !== false) {- // Return focus where the reader was when the guide opened; the- // trigger itself is only the fallback when that element is gone.- var target = returnFocus && returnFocus.isConnected ? returnFocus : trigger;+ var target = trigger.hidden ? returnFocus : trigger;if (target && typeof target.focus === 'function') target.focus();}return false;@@ -14384,9 +14353,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.execute(action);});document.addEventListener('click', function (event) {- // Clicks anywhere on the trigger (including its icon span) are the- // toggle itself, never an outside dismissal.- if (!panel.hidden && !panel.contains(event.target) && !trigger.contains(event.target)) close({ restoreFocus: false });+ if (!panel.hidden && !panel.contains(event.target) && event.target !== trigger) close({ restoreFocus: false });});renderFacts();@@ -14405,22 +14372,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery.html b/docs/gallery.htmlindex 11a97cde..06bcd54f 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="12c132efe58ad2399469ef1453c668e9b51c68387410928fc9d6eb11bef50f95">12c132efe58a</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="59d83d6da891ec9c88fd630d4cd3c482b7ddc00d4f4eb533873ec0fbc734d76d">59d83d6da891</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="9c927c18e557d32520600287048395044295d53000d9918946244ca109102a9b">9c927c18e557</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d4f3ea9432cd33cb97d1b856e73d9cb8ad127b003149cc5a421b257efd2815f2">d4f3ea9432cd</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="798e98852b8bb747c59e16040abaf21b1e04c2f1dbd1e7bf6b0d15f2b7711cc3">798e98852b8b</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="4b9c01cf814cef9e327902e70673d8851a90d9f8069b104b607442b77f23f0e5">4b9c01cf814c</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="1c3272579bae3ac3e0a30b02391b79f910da565fa3f54c67d1bddbf6dbb9b6d1">1c3272579bae</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="2f608275071f141ce78c97561e31a43ff52efd2394ad368a2e078dd499a8c158">2f608275071f</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="ef51a578f04fea6916e33da9203e076e7e14e95e5c136834a132fb246581d8d4">ef51a578f04f</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="4de13a3033e32a317a8f00d3870493ddeb2203a0a616a966f2a70acc19e71c88">4de13a3033e3</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="951f03250fb1e8653ede32cc3a647eb9a7e27f46c396e3d67e4d5d7c4d06033a">951f03250fb1</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="5c4c7d7776970b6ea01f7e23265da2247a73ad86aa9edbb550663c3bde9cf7e3">5c4c7d777697</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="d0551851d979ac4e2498ee44d5412726c0bfb2897c30353f14ef64cf0b231d61">d0551851d979</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d3530ddf4698d0504eb262f5513fb62756aba20dbb3f592f8444f83b80d754e2">d3530ddf4698</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="eacc1b380a00927dd25eaba73d4eb441c0ede4908574d31d385cda1d746dce18">eacc1b380a00</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="2b59b88d57dde52464f60d908f0ce4bd871aedc47f1db90d961e2c9140e1bf50">2b59b88d57dd</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="b3e969f4b95cb44845fd7218de553ff93d56b069cfc0b5b2dee36b2e8087e8fb">b3e969f4b95c</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="5e3f792c5e3e970a1229288164c77e87a555154438437522a6bf57acd9cf5e64">5e3f792c5e3e</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="b80d5eeee3c3b71b602cbdc262f47c8c1031b21ece75add2bfb35ecf3b3a17d8">b80d5eeee3c3</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="60df29ad136aee082a107c6675153d32c8e67fe7ef0c4da4c5b706319797bb54">60df29ad136a</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="1915d13e5535e1c53883106fabd05ae06a5c9c345dbbf1bfe69ec579b3e54f82">1915d13e5535</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="139ed430710206bb87969cc969ac0ee1a3112a588e2bb97a4168c1ad14615e85">139ed4307102</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="42d6217861270cff7418491139e92973c0ad2b39defcf2c3e7d549d2516e49d9">42d621786127</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="519088a1e21da657b38ab2764ac0a98783a0411b2639a9dd842528566bc25cc3">519088a1e21d</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": 804141,- "artifactSha256": "12c132efe58ad2399469ef1453c668e9b51c68387410928fc9d6eb11bef50f95",+ "artifactBytes": 806770,+ "artifactSha256": "59d83d6da891ec9c88fd630d4cd3c482b7ddc00d4f4eb533873ec0fbc734d76d","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": 806853,- "artifactSha256": "9c927c18e557d32520600287048395044295d53000d9918946244ca109102a9b",+ "artifactBytes": 809482,+ "artifactSha256": "d4f3ea9432cd33cb97d1b856e73d9cb8ad127b003149cc5a421b257efd2815f2","sourceBytes": 4734,"sourceSha256": "610a5614667e8f108bdcf1769c9d7af5c3ce0fb62be3ea50550b10eb752e4bda","checks": [@@ -969,8 +969,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 7,"edgeCount": 12,- "artifactBytes": 798672,- "artifactSha256": "798e98852b8bb747c59e16040abaf21b1e04c2f1dbd1e7bf6b0d15f2b7711cc3",+ "artifactBytes": 801301,+ "artifactSha256": "4b9c01cf814cef9e327902e70673d8851a90d9f8069b104b607442b77f23f0e5","sourceBytes": 3805,"sourceSha256": "f8486daa803fff6c295cecca4604c561fbbf9acb2e83326022b5a87639e8afe6","checks": [@@ -1103,8 +1103,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 799649,- "artifactSha256": "1c3272579bae3ac3e0a30b02391b79f910da565fa3f54c67d1bddbf6dbb9b6d1",+ "artifactBytes": 802278,+ "artifactSha256": "2f608275071f141ce78c97561e31a43ff52efd2394ad368a2e078dd499a8c158","sourceBytes": 4510,"sourceSha256": "dbd5c174af66296caec372e7214cf4df7158b50a563508e16826b95ab8d1cd6c","checks": [@@ -1243,8 +1243,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 11,"edgeCount": 10,- "artifactBytes": 796969,- "artifactSha256": "ef51a578f04fea6916e33da9203e076e7e14e95e5c136834a132fb246581d8d4",+ "artifactBytes": 799598,+ "artifactSha256": "4de13a3033e32a317a8f00d3870493ddeb2203a0a616a966f2a70acc19e71c88","sourceBytes": 4723,"sourceSha256": "630be98449925d2716ecb8439f404b2bff5fe65ba905b0ad0baea6d96890c526","checks": [@@ -1429,8 +1429,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 800961,- "artifactSha256": "951f03250fb1e8653ede32cc3a647eb9a7e27f46c396e3d67e4d5d7c4d06033a",+ "artifactBytes": 803590,+ "artifactSha256": "5c4c7d7776970b6ea01f7e23265da2247a73ad86aa9edbb550663c3bde9cf7e3","sourceBytes": 5035,"sourceSha256": "8a635db9e51a5b1a8d2955b9d66f5b9a450e0a298432ce8f2e2f0be11f372e05","checks": [@@ -1564,8 +1564,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 7,"edgeCount": 14,- "artifactBytes": 799018,- "artifactSha256": "d0551851d979ac4e2498ee44d5412726c0bfb2897c30353f14ef64cf0b231d61",+ "artifactBytes": 801647,+ "artifactSha256": "d3530ddf4698d0504eb262f5513fb62756aba20dbb3f592f8444f83b80d754e2","sourceBytes": 3766,"sourceSha256": "b8c6c52f1763ede2933c77deb8da59b3e06917bc41d27e66df896136456b859a","checks": [@@ -1716,8 +1716,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 12,"edgeCount": 12,- "artifactBytes": 804881,- "artifactSha256": "eacc1b380a00927dd25eaba73d4eb441c0ede4908574d31d385cda1d746dce18",+ "artifactBytes": 807510,+ "artifactSha256": "2b59b88d57dde52464f60d908f0ce4bd871aedc47f1db90d961e2c9140e1bf50","sourceBytes": 4769,"sourceSha256": "3bdd77674282009c7c68d588cf8a3c495bc98a3be1b9c45327fd1801a6f83a23","checks": [@@ -1868,8 +1868,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 12,- "artifactBytes": 805027,- "artifactSha256": "b3e969f4b95cb44845fd7218de553ff93d56b069cfc0b5b2dee36b2e8087e8fb",+ "artifactBytes": 807656,+ "artifactSha256": "5e3f792c5e3e970a1229288164c77e87a555154438437522a6bf57acd9cf5e64","sourceBytes": 3260,"sourceSha256": "5ba36f5ce91ed428cb48b599e275424916d82b619b9a3231cbd1bbc3966fc54b","checks": [@@ -1990,8 +1990,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 12,"edgeCount": 15,- "artifactBytes": 811796,- "artifactSha256": "b80d5eeee3c3b71b602cbdc262f47c8c1031b21ece75add2bfb35ecf3b3a17d8",+ "artifactBytes": 814425,+ "artifactSha256": "60df29ad136aee082a107c6675153d32c8e67fe7ef0c4da4c5b706319797bb54","sourceBytes": 4155,"sourceSha256": "e3dc105d03c1c9881160006cdace23cb5d8533803e337caf0ec287c64e775275","checks": [@@ -2112,8 +2112,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 9,- "artifactBytes": 799392,- "artifactSha256": "1915d13e5535e1c53883106fabd05ae06a5c9c345dbbf1bfe69ec579b3e54f82",+ "artifactBytes": 802021,+ "artifactSha256": "139ed430710206bb87969cc969ac0ee1a3112a588e2bb97a4168c1ad14615e85","sourceBytes": 3197,"sourceSha256": "95e051b27a9e4a3307e194c0f666fca4af51470be7e2228d400ff48aea5b353b","checks": [@@ -2258,8 +2258,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 6,"edgeCount": 5,- "artifactBytes": 813609,- "artifactSha256": "42d6217861270cff7418491139e92973c0ad2b39defcf2c3e7d549d2516e49d9",+ "artifactBytes": 816238,+ "artifactSha256": "519088a1e21da657b38ab2764ac0a98783a0411b2639a9dd842528566bc25cc3","sourceBytes": 7321,"sourceSha256": "1777a374647084466f4d7ce3a968004be6ab70ac9cf82459b96bed7c556cdfdd","checks": [diff --git a/docs/gallery/artifacts/agent-run.lifecycle.html b/docs/gallery/artifacts/agent-run.lifecycle.htmlindex e240ae0c..d9fd0f4c 100644--- a/docs/gallery/artifacts/agent-run.lifecycle.html+++ b/docs/gallery/artifacts/agent-run.lifecycle.html@@ -7573,7 +7573,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7676,8 +7677,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7827,7 +7828,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14397,22 +14398,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/artifacts/agent-tool-call.workflow.html b/docs/gallery/artifacts/agent-tool-call.workflow.htmlindex 49d4dbd0..b6ee0675 100644--- a/docs/gallery/artifacts/agent-tool-call.workflow.html+++ b/docs/gallery/artifacts/agent-tool-call.workflow.html@@ -7567,7 +7567,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7670,8 +7671,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7821,7 +7822,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14391,22 +14392,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/artifacts/async-job-roundtrip.sequence.html b/docs/gallery/artifacts/async-job-roundtrip.sequence.htmlindex dd049629..a7032cca 100644--- a/docs/gallery/artifacts/async-job-roundtrip.sequence.html+++ b/docs/gallery/artifacts/async-job-roundtrip.sequence.html@@ -7588,7 +7588,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7691,8 +7692,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7842,7 +7843,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14412,22 +14413,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.htmlindex ab1b1781..913e39c1 100644--- a/docs/gallery/artifacts/cache-miss.sequence.html+++ b/docs/gallery/artifacts/cache-miss.sequence.html@@ -7576,7 +7576,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7679,8 +7680,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7830,7 +7831,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14400,22 +14401,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/artifacts/deployment-release.lifecycle.html b/docs/gallery/artifacts/deployment-release.lifecycle.htmlindex 1cf91f71..2de573a5 100644--- a/docs/gallery/artifacts/deployment-release.lifecycle.html+++ b/docs/gallery/artifacts/deployment-release.lifecycle.html@@ -7637,7 +7637,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7740,8 +7741,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7891,7 +7892,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14461,22 +14462,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/artifacts/event-stream.dataflow.html b/docs/gallery/artifacts/event-stream.dataflow.htmlindex e62bf576..7bbfbbf1 100644--- a/docs/gallery/artifacts/event-stream.dataflow.html+++ b/docs/gallery/artifacts/event-stream.dataflow.html@@ -7600,7 +7600,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7703,8 +7704,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7854,7 +7855,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14424,22 +14425,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/artifacts/incident-response.workflow.html b/docs/gallery/artifacts/incident-response.workflow.htmlindex 93a23b89..f4333f47 100644--- a/docs/gallery/artifacts/incident-response.workflow.html+++ b/docs/gallery/artifacts/incident-response.workflow.html@@ -7527,7 +7527,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7630,8 +7631,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7781,7 +7782,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14351,22 +14352,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/artifacts/orders.erd.html b/docs/gallery/artifacts/orders.erd.htmlindex a96b1e86..ba72f26b 100644--- a/docs/gallery/artifacts/orders.erd.html+++ b/docs/gallery/artifacts/orders.erd.html@@ -7729,7 +7729,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7832,8 +7833,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7983,7 +7984,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14553,22 +14554,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/artifacts/product-analytics.dataflow.html b/docs/gallery/artifacts/product-analytics.dataflow.htmlindex d4a93c3d..b22f8efc 100644--- a/docs/gallery/artifacts/product-analytics.dataflow.html+++ b/docs/gallery/artifacts/product-analytics.dataflow.html@@ -7561,7 +7561,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7664,8 +7665,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7815,7 +7816,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14385,22 +14386,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/artifacts/production-deployment.architecture.html b/docs/gallery/artifacts/production-deployment.architecture.htmlindex 0e6241d3..830bd682 100644--- a/docs/gallery/artifacts/production-deployment.architecture.html+++ b/docs/gallery/artifacts/production-deployment.architecture.html@@ -7604,7 +7604,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7707,8 +7708,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7858,7 +7859,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14428,22 +14429,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/artifacts/release-delivery.workflow.html b/docs/gallery/artifacts/release-delivery.workflow.htmlindex 1d6ebadf..e9ecbb86 100644--- a/docs/gallery/artifacts/release-delivery.workflow.html+++ b/docs/gallery/artifacts/release-delivery.workflow.html@@ -7553,7 +7553,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7656,8 +7657,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7807,7 +7808,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14377,22 +14378,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/artifacts/web-app.architecture.html b/docs/gallery/artifacts/web-app.architecture.htmlindex 1edb37a2..ed2e5075 100644--- a/docs/gallery/artifacts/web-app.architecture.html+++ b/docs/gallery/artifacts/web-app.architecture.html@@ -7549,7 +7549,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7652,8 +7653,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7803,7 +7804,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14373,22 +14374,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.jsonindex 67df4a33..baad85e8 100644--- a/docs/gallery/manifest.json+++ b/docs/gallery/manifest.json@@ -19,8 +19,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 11,- "artifactBytes": 804141,- "artifactSha256": "12c132efe58ad2399469ef1453c668e9b51c68387410928fc9d6eb11bef50f95",+ "artifactBytes": 806770,+ "artifactSha256": "59d83d6da891ec9c88fd630d4cd3c482b7ddc00d4f4eb533873ec0fbc734d76d","sourceBytes": 4939,"sourceSha256": "d67965d50872c97e4ff3476271e645bf19fab6b3ab44e111bdb44b063e3aa36f","checks": [@@ -154,8 +154,8 @@"engineeringProfile": "deployment-ownership","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 806853,- "artifactSha256": "9c927c18e557d32520600287048395044295d53000d9918946244ca109102a9b",+ "artifactBytes": 809482,+ "artifactSha256": "d4f3ea9432cd33cb97d1b856e73d9cb8ad127b003149cc5a421b257efd2815f2","sourceBytes": 4734,"sourceSha256": "610a5614667e8f108bdcf1769c9d7af5c3ce0fb62be3ea50550b10eb752e4bda","checks": [@@ -287,8 +287,8 @@"engineeringProfile": null,"nodeCount": 7,"edgeCount": 12,- "artifactBytes": 798672,- "artifactSha256": "798e98852b8bb747c59e16040abaf21b1e04c2f1dbd1e7bf6b0d15f2b7711cc3",+ "artifactBytes": 801301,+ "artifactSha256": "4b9c01cf814cef9e327902e70673d8851a90d9f8069b104b607442b77f23f0e5","sourceBytes": 3805,"sourceSha256": "f8486daa803fff6c295cecca4604c561fbbf9acb2e83326022b5a87639e8afe6","checks": [@@ -421,8 +421,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 799649,- "artifactSha256": "1c3272579bae3ac3e0a30b02391b79f910da565fa3f54c67d1bddbf6dbb9b6d1",+ "artifactBytes": 802278,+ "artifactSha256": "2f608275071f141ce78c97561e31a43ff52efd2394ad368a2e078dd499a8c158","sourceBytes": 4510,"sourceSha256": "dbd5c174af66296caec372e7214cf4df7158b50a563508e16826b95ab8d1cd6c","checks": [@@ -561,8 +561,8 @@"engineeringProfile": null,"nodeCount": 11,"edgeCount": 10,- "artifactBytes": 796969,- "artifactSha256": "ef51a578f04fea6916e33da9203e076e7e14e95e5c136834a132fb246581d8d4",+ "artifactBytes": 799598,+ "artifactSha256": "4de13a3033e32a317a8f00d3870493ddeb2203a0a616a966f2a70acc19e71c88","sourceBytes": 4723,"sourceSha256": "630be98449925d2716ecb8439f404b2bff5fe65ba905b0ad0baea6d96890c526","checks": [@@ -747,8 +747,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 800961,- "artifactSha256": "951f03250fb1e8653ede32cc3a647eb9a7e27f46c396e3d67e4d5d7c4d06033a",+ "artifactBytes": 803590,+ "artifactSha256": "5c4c7d7776970b6ea01f7e23265da2247a73ad86aa9edbb550663c3bde9cf7e3","sourceBytes": 5035,"sourceSha256": "8a635db9e51a5b1a8d2955b9d66f5b9a450e0a298432ce8f2e2f0be11f372e05","checks": [@@ -882,8 +882,8 @@"engineeringProfile": null,"nodeCount": 7,"edgeCount": 14,- "artifactBytes": 799018,- "artifactSha256": "d0551851d979ac4e2498ee44d5412726c0bfb2897c30353f14ef64cf0b231d61",+ "artifactBytes": 801647,+ "artifactSha256": "d3530ddf4698d0504eb262f5513fb62756aba20dbb3f592f8444f83b80d754e2","sourceBytes": 3766,"sourceSha256": "b8c6c52f1763ede2933c77deb8da59b3e06917bc41d27e66df896136456b859a","checks": [@@ -1034,8 +1034,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 12,- "artifactBytes": 804881,- "artifactSha256": "eacc1b380a00927dd25eaba73d4eb441c0ede4908574d31d385cda1d746dce18",+ "artifactBytes": 807510,+ "artifactSha256": "2b59b88d57dde52464f60d908f0ce4bd871aedc47f1db90d961e2c9140e1bf50","sourceBytes": 4769,"sourceSha256": "3bdd77674282009c7c68d588cf8a3c495bc98a3be1b9c45327fd1801a6f83a23","checks": [@@ -1186,8 +1186,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 12,- "artifactBytes": 805027,- "artifactSha256": "b3e969f4b95cb44845fd7218de553ff93d56b069cfc0b5b2dee36b2e8087e8fb",+ "artifactBytes": 807656,+ "artifactSha256": "5e3f792c5e3e970a1229288164c77e87a555154438437522a6bf57acd9cf5e64","sourceBytes": 3260,"sourceSha256": "5ba36f5ce91ed428cb48b599e275424916d82b619b9a3231cbd1bbc3966fc54b","checks": [@@ -1308,8 +1308,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 15,- "artifactBytes": 811796,- "artifactSha256": "b80d5eeee3c3b71b602cbdc262f47c8c1031b21ece75add2bfb35ecf3b3a17d8",+ "artifactBytes": 814425,+ "artifactSha256": "60df29ad136aee082a107c6675153d32c8e67fe7ef0c4da4c5b706319797bb54","sourceBytes": 4155,"sourceSha256": "e3dc105d03c1c9881160006cdace23cb5d8533803e337caf0ec287c64e775275","checks": [@@ -1430,8 +1430,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 9,- "artifactBytes": 799392,- "artifactSha256": "1915d13e5535e1c53883106fabd05ae06a5c9c345dbbf1bfe69ec579b3e54f82",+ "artifactBytes": 802021,+ "artifactSha256": "139ed430710206bb87969cc969ac0ee1a3112a588e2bb97a4168c1ad14615e85","sourceBytes": 3197,"sourceSha256": "95e051b27a9e4a3307e194c0f666fca4af51470be7e2228d400ff48aea5b353b","checks": [@@ -1576,8 +1576,8 @@"engineeringProfile": null,"nodeCount": 6,"edgeCount": 5,- "artifactBytes": 813609,- "artifactSha256": "42d6217861270cff7418491139e92973c0ad2b39defcf2c3e7d549d2516e49d9",+ "artifactBytes": 816238,+ "artifactSha256": "519088a1e21da657b38ab2764ac0a98783a0411b2639a9dd842528566bc25cc3","sourceBytes": 7321,"sourceSha256": "1777a374647084466f4d7ce3a968004be6ab70ac9cf82459b96bed7c556cdfdd","checks": [diff --git a/examples/archify-repo-grid.html b/examples/archify-repo-grid.htmlindex eae9a585..dc57cb69 100644--- a/examples/archify-repo-grid.html+++ b/examples/archify-repo-grid.html@@ -4726,22 +4726,26 @@ OTHER DEALINGS IN THE FONT SOFTWARE..c-lane { fill: var(--lane-fill); stroke: var(--lane-stroke); stroke-dasharray: 6,6; }/* Live turns each edge into a small light show on one shared cycle: a comet- (halo, tail, head — plus a dimmer echo on long edges) cascades downstream,- leaves a soft wake, and lands as a ripple on the target node. Original line- language and markers remain static. Each edge's phase follows the authored- step order — source-node rank, or chronological order in sequence- diagrams — so the whole diagram ripples downstream instead of marching- uniformly. Node entry is bounded to one pass per document, then a soft- node glow follows the authored step order. */+ (halo, tail, head — plus a dimmer echo, half a travel window behind on long+ edges and half a cycle behind on short ones) cascades downstream, leaves a+ soft wake, and lands as a ripple on the target node. Short edges carry a+ proportionally larger comet with a brightness boost so compact diagrams read+ as alive as sprawling ones. Original line language and markers remain+ static. Each edge's phase follows the authored step order — source-node+ rank, or chronological order in sequence diagrams — so the whole diagram+ ripples downstream instead of marching uniformly. Node entry is bounded to+ one pass per document, then a soft node glow follows the authored step+ order. */svg[data-animation="trace"] {--flow-cycle: 6.4s;--flow-step-delay: 0.2s;- --flow-halo-peak: 0.13;- --flow-tail-peak: 0.34;+ --flow-halo-peak: 0.17;+ --flow-glow-peak: 0.5;+ --flow-tail-peak: 0.42;--flow-head-peak: 0.95;- --flow-wake-peak: 0.08;- --flow-ripple-peak: 0.55;- --flow-ripple-echo-peak: 0.22;+ --flow-wake-peak: 0.1;+ --flow-ripple-peak: 0.65;+ --flow-ripple-echo-peak: 0.26;}.ambient-edge-flow {fill: none;@@ -4756,18 +4760,26 @@ OTHER DEALINGS IN THE FONT SOFTWARE.animation-name: archify-flow-wake;}.ambient-flow-halo {- stroke-width: 5;+ stroke-width: 6;stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));animation-name: archify-cascade-halo;}+ /* A wide blurred streak centered on the head: this is the bloom that makes+ the comet read as a traveling orb of light rather than a bright dash. */+ .ambient-flow-glow {+ stroke-width: 9;+ stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));+ filter: blur(2.5px);+ animation-name: archify-cascade-glow;+ }.ambient-flow-tail {stroke-width: 2.4;stroke-dasharray: var(--flow-dasharray, var(--flow-dash, 20px) calc(var(--flow-len, 0px) - var(--flow-dash, 20px)));animation-name: archify-cascade-tail;}.ambient-flow-head {- stroke: color-mix(in srgb, var(--arrow-emphasis) 45%, white);- stroke-width: 2.2;+ stroke: color-mix(in srgb, var(--arrow-emphasis) 40%, white);+ stroke-width: 2.6;stroke-dasharray: var(--flow-dash, 6px) calc(var(--flow-len, 0px) - var(--flow-dash, 6px));animation-name: archify-cascade-head;}@@ -4796,19 +4808,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE..ambient-edge-flow[data-tree-hidden] { display: none !important; animation: none !important; }svg[data-preset="signal-flow"] { --flow-cycle: 5.2s; --flow-step-delay: 0.18s; }svg[data-preset="blueprint"] .ambient-edge-flow { stroke-linecap: square; }- svg[data-preset="editorial"] { --flow-halo-peak: 0.07; --flow-tail-peak: 0.2; --flow-head-peak: 0.7; --flow-wake-peak: 0.05; --flow-ripple-peak: 0.3; --flow-ripple-echo-peak: 0.12; }+ svg[data-preset="editorial"] { --flow-halo-peak: 0.07; --flow-glow-peak: 0.28; --flow-tail-peak: 0.2; --flow-head-peak: 0.7; --flow-wake-peak: 0.05; --flow-ripple-peak: 0.3; --flow-ripple-echo-peak: 0.12; }/* On light canvases the cascade reads by saturation instead of bloom: thehead and inner ripple mix toward ink instead of white, and every layer'speak rises so the wave survives the bright background. */html[data-theme="light"] svg[data-animation="trace"] {--flow-halo-peak: 0.22;+ --flow-glow-peak: 0.4;--flow-tail-peak: 0.5;--flow-wake-peak: 0.13;--flow-ripple-echo-peak: 0.3;}html[data-theme="light"] .ambient-flow-head {stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, black);- stroke-width: 2.4;+ stroke-width: 2.8;}html[data-theme="light"] .ambient-flow-ripple {stroke: color-mix(in srgb, var(--arrow-emphasis) 65%, black);@@ -4860,43 +4873,51 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}@keyframes archify-flow-wake {0% { opacity: 0; }- 24% { opacity: var(--flow-wake-peak, 0.08); }- 62% { opacity: var(--flow-wake-peak, 0.08); }+ 24% { opacity: calc(var(--flow-wake-peak, 0.1) * var(--flow-boost, 1)); }+ 62% { opacity: calc(var(--flow-wake-peak, 0.1) * var(--flow-boost, 1)); }82%, 100% { opacity: 0; }}@keyframes archify-cascade-halo {0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 3px)); opacity: 0; }- 4% { opacity: var(--flow-halo-peak, 0.13); }+ 4% { opacity: calc(var(--flow-halo-peak, 0.17) * var(--flow-boost, 1)); }+ 15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.88); }+ 48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.22); }+ 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: calc(var(--flow-halo-peak, 0.17) * var(--flow-boost, 1)); }+ 68%, 100% { stroke-dashoffset: var(--flow-shift, 3px); opacity: 0; }+ }+ @keyframes archify-cascade-glow {+ 0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 3px)); opacity: 0; }+ 4% { opacity: calc(var(--flow-glow-peak, 0.5) * var(--flow-boost, 1)); }15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.88); }48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: var(--flow-halo-peak, 0.13); }+ 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: calc(var(--flow-glow-peak, 0.5) * var(--flow-boost, 1)); }68%, 100% { stroke-dashoffset: var(--flow-shift, 3px); opacity: 0; }}@keyframes archify-cascade-tail {0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 20px)); opacity: 0; }- 4% { opacity: calc(var(--flow-tail-peak, 0.34) * var(--flow-echo-scale, 1)); }+ 4% { opacity: calc(var(--flow-tail-peak, 0.42) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 20px)) * 0.88); }48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 20px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 20px); opacity: calc(var(--flow-tail-peak, 0.34) * var(--flow-echo-scale, 1)); }+ 62% { stroke-dashoffset: var(--flow-shift, 20px); opacity: calc(var(--flow-tail-peak, 0.42) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }68%, 100% { stroke-dashoffset: var(--flow-shift, 20px); opacity: 0; }}@keyframes archify-cascade-head {0% { stroke-dashoffset: var(--flow-len, 0px); opacity: 0; }- 4% { opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1)); }+ 4% { opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }15% { stroke-dashoffset: calc(var(--flow-len, 0px) * 0.88); }48% { stroke-dashoffset: calc(var(--flow-len, 0px) * 0.22); }- 62% { stroke-dashoffset: 0; opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1)); }+ 62% { stroke-dashoffset: 0; opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }68%, 100% { stroke-dashoffset: 0; opacity: 0; }}@keyframes archify-flow-ripple {0%, 60% { r: 2px; opacity: 0; }- 63% { r: 2px; opacity: var(--flow-ripple-peak, 0.55); }- 78%, 100% { r: 17px; opacity: 0; }+ 63% { r: 2px; opacity: calc(var(--flow-ripple-peak, 0.65) * var(--flow-boost, 1)); }+ 78%, 100% { r: 20px; opacity: 0; }}@keyframes archify-flow-ripple-echo {0%, 63% { r: 2px; opacity: 0; }- 66% { r: 2px; opacity: var(--flow-ripple-echo-peak, 0.22); }- 84%, 100% { r: 26px; opacity: 0; }+ 66% { r: 2px; opacity: calc(var(--flow-ripple-echo-peak, 0.26) * var(--flow-boost, 1)); }+ 84%, 100% { r: 30px; opacity: 0; }}@keyframes archify-node-receive {0%, 100% { filter: var(--ambient-node-base-filter, none); }@@ -5519,7 +5540,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<button id="btn-overview-map" type="button" aria-label="Open semantic radar" aria-expanded="false" aria-controls="overview-map" title="Semantic radar (M)">MAP</button><button id="btn-semantic-lens" type="button" aria-label="Open semantic lens" aria-haspopup="dialog" aria-expanded="false" aria-pressed="false" aria-controls="semantic-lens" title="Semantic lens (L)">LENS</button><button id="btn-node-finder" type="button" aria-label="Find a node" aria-haspopup="dialog" aria-expanded="false" aria-controls="node-finder" title="Find a node (/)" data-node-finder-trigger><span class="diagram-nav-icon find" aria-hidden="true"></span></button>- <button id="btn-diagram-guide" type="button" hidden aria-label="Open diagram guide" aria-haspopup="dialog" aria-expanded="false" aria-controls="diagram-guide" title="Diagram guide (?)"><span class="diagram-nav-icon guide" aria-hidden="true"></span></button>+ <button id="btn-diagram-guide" type="button" aria-label="Open diagram guide" aria-haspopup="dialog" aria-expanded="false" aria-controls="diagram-guide" title="Diagram guide (?)"><span class="diagram-nav-icon guide" aria-hidden="true"></span></button><button data-view="out" type="button" aria-label="Zoom out" title="Zoom out (-)"><span class="diagram-nav-icon minus" aria-hidden="true"></span></button><button data-view="reset" type="button" aria-label="Reset diagram view" title="Reset view (0)"><span class="diagram-nav-detail" data-view-detail hidden>READ</span><span class="diagram-nav-percent" data-view-percent>100%</span></button><button data-view="in" type="button" aria-label="Zoom in" title="Zoom in (+)"><span class="diagram-nav-icon plus" aria-hidden="true"></span></button>@@ -6771,7 +6792,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var vb = svg.viewBox.baseVal;var scale = Math.min(1, 1280 / vb.width);var data = serializeSvg(scale);- var sourceUrl = URL.createObjectURL(new Blob([data.svgString], { type: 'image/svg+xml;charset=utf-8' }));function createMotionScene(root) {var rootMatrix = root.getCTM ? root.getCTM() : null;@@ -6928,73 +6948,99 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var motionScene = createMotionScene(svg);return new Promise(function (resolve, reject) {- var backgroundImage = new Image();- backgroundImage.onload = function () {- var canvas = document.createElement('canvas');- canvas.width = Math.max(2, Math.round(data.width / 2) * 2);- canvas.height = Math.max(2, Math.round(data.height / 2) * 2);- var ctx = canvas.getContext('2d');- var stream = canvas.captureStream(fps);- var mime = motionMimeType();- var recorder;- try {- recorder = new MediaRecorder(stream, { mimeType: mime, videoBitsPerSecond: 6000000 });- } catch (err) {- URL.revokeObjectURL(sourceUrl);- stream.getTracks().forEach(function (track) { track.stop(); });- reject(err);- return;+ var sourceUrl = null;+ var backgroundImage = null;+ var stream = null;+ var recorder = null;+ var raf = 0;+ var durationTimer = 0;+ var flushTimer = 0;+ var settled = false;++ function finish(error, blob) {+ if (settled) return;+ // 先锁定终态:停止录制和释放流可能产生晚到的编码事件。+ settled = true;+ cancelAnimationFrame(raf);+ clearTimeout(durationTimer);+ clearTimeout(flushTimer);+ if (backgroundImage) {+ backgroundImage.onload = null;+ backgroundImage.onerror = null;}- var chunks = [];- var raf = 0;- var stopped = false;- var startedAt = performance.now();- function cleanup() {- if (stopped) return;- stopped = true;- cancelAnimationFrame(raf);- URL.revokeObjectURL(sourceUrl);- stream.getTracks().forEach(function (track) { track.stop(); });+ if (recorder) {+ recorder.ondataavailable = null;+ recorder.onerror = null;+ recorder.onstop = null;+ try { if (recorder.state !== 'inactive') recorder.stop(); } catch (_) {}}- function draw(now) {- var elapsed = Math.max(0, ((Number(now) || performance.now()) - startedAt) / 1000);- drawMotionFrame(ctx, backgroundImage, motionScene, elapsed);- raf = requestAnimationFrame(draw);- }- recorder.ondataavailable = function (event) {- if (event.data && event.data.size) chunks.push(event.data);- };- recorder.onerror = function (event) {- cleanup();- reject(event.error || exportError('viewer.export.error.mediaRecorder'));+ if (stream) stream.getTracks().forEach(function (track) { track.stop(); });+ if (sourceUrl) URL.revokeObjectURL(sourceUrl);+ if (blob) resolve(blob);+ else reject(error);+ }++ try {+ sourceUrl = URL.createObjectURL(new Blob([data.svgString], { type: 'image/svg+xml;charset=utf-8' }));+ backgroundImage = new Image();+ backgroundImage.onload = function () {+ if (settled) return;+ try {+ var canvas = document.createElement('canvas');+ canvas.width = Math.max(2, Math.round(data.width / 2) * 2);+ canvas.height = Math.max(2, Math.round(data.height / 2) * 2);+ var ctx = canvas.getContext('2d');+ if (!ctx) throw exportError('viewer.export.error.contextUnavailable', { label: 'WebM' });+ stream = canvas.captureStream(fps);+ var mime = motionMimeType();+ recorder = new MediaRecorder(stream, { mimeType: mime, videoBitsPerSecond: 6000000 });+ var chunks = [];+ var startedAt = performance.now();+ function draw(now) {+ if (settled) return;+ try {+ var elapsed = Math.max(0, ((Number(now) || performance.now()) - startedAt) / 1000);+ drawMotionFrame(ctx, backgroundImage, motionScene, elapsed);+ raf = requestAnimationFrame(draw);+ } catch (error) { finish(error); }+ }+ recorder.ondataavailable = function (event) {+ if (!settled && event.data && event.data.size) chunks.push(event.data);+ };+ recorder.onerror = function (event) {+ finish(event.error || exportError('viewer.export.error.mediaRecorder'));+ };+ recorder.onstop = function () {+ if (settled) return;+ try {+ var blob = new Blob(chunks, { type: recorder.mimeType || mime });+ if (!blob.size) throw exportError('viewer.export.error.emptyWebm');+ finish(null, blob);+ } catch (error) { finish(error); }+ };+ drawMotionFrame(ctx, backgroundImage, motionScene, 0);+ recorder.start(250);+ if (settled) return;+ startedAt = performance.now();+ raf = requestAnimationFrame(draw);+ durationTimer = setTimeout(function () {+ if (settled || recorder.state === 'inactive') return;+ // 保留最佳努力的编码器 flush;失败后仍通过 stop 收集最后的片段。+ try { recorder.requestData(); } catch (_) {}+ if (settled) return;+ flushTimer = setTimeout(function () {+ if (settled) return;+ try { if (recorder.state !== 'inactive') recorder.stop(); }+ catch (error) { finish(error); }+ }, 120);+ }, duration);+ } catch (error) { finish(error); }};- recorder.onstop = function () {- cleanup();- var blob = new Blob(chunks, { type: recorder.mimeType || mime });- if (!blob.size) reject(exportError('viewer.export.error.emptyWebm'));- else resolve(blob);+ backgroundImage.onerror = function () {+ finish(exportError('viewer.export.error.webmBackground'));};- drawMotionFrame(ctx, backgroundImage, motionScene, 0);- recorder.start(250);- startedAt = performance.now();- raf = requestAnimationFrame(draw);- setTimeout(function () {- if (recorder.state === 'inactive') return;- // Chromium normally emits the final chunk during stop(), but- // some embedded browser shells need an explicit encoder flush- // first. Keep the short grace window bounded and harmless for- // browsers that already delivered timeslice chunks.- try { recorder.requestData(); } catch (_) {}- setTimeout(function () {- if (recorder.state !== 'inactive') recorder.stop();- }, 120);- }, duration);- };- backgroundImage.onerror = function () {- URL.revokeObjectURL(sourceUrl);- reject(exportError('viewer.export.error.webmBackground'));- };- backgroundImage.src = sourceUrl;+ backgroundImage.src = sourceUrl;+ } catch (error) { finish(error); }});}@@ -7444,6 +7490,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.wake.remove();return;}+ var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');var head = addPath('head');@@ -7460,9 +7507,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// Absolute caps keep the comet a slim streak on long edges instead// of growing into a bright slab; the tail disintegrates into a// sparkle of fragments behind the head, and --flow-shift trails- // each layer behind the head tip by its own length.- var headLen = Math.min(10, Math.max(4, len * 0.016));- var haloLen = Math.min(14, Math.max(8, len * 0.045));+ // each layer behind the head tip by its own length. Short edges get+ // a proportionally larger comet and a brightness boost so a compact+ // diagram reads as alive as a sprawling one.+ var headLen = Math.min(12, Math.max(5, len * 0.02));+ var haloLen = Math.min(18, Math.max(10, len * 0.06));+ var boost = len < 260 ? Math.min(1.7, 260 / Math.max(len, 90)) : 1;var trail = len >= 120? { pattern: '2.5 2 4 3 5.5 4.5 8 ' + (len - 30).toFixed(1), length: 30 }: (len >= 60@@ -7471,20 +7521,24 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var phase = edgePhase(shape, index) * stepDelay;var configs = [{ flow: wake, dash: len, shift: 0, delay: phase },+ { flow: glow, dash: haloLen, shift: (haloLen - headLen) / 2, delay: phase },{ flow: halo, dash: haloLen, shift: (haloLen - headLen) / 2, delay: phase },{ flow: tail, dash: trail.length, shift: trail.length - headLen, delay: phase, dasharray: trail.pattern },{ flow: head, dash: headLen, shift: 0, delay: phase },];- // Long edges earn a dimmer echo comet half a travel window behind.- if (len > 340) {- configs.push({ flow: addPath('tail echo'), dash: trail.length, shift: trail.length - headLen, delay: phase + cycle * 0.31, dasharray: trail.pattern });- configs.push({ flow: addPath('head echo'), dash: headLen, shift: 0, delay: phase + cycle * 0.31 });- }+ // Every edge earns a dimmer echo comet: half a travel window behind+ // on long edges, half a cycle behind on short ones so compact+ // diagrams never sit in a silent gap between passes.+ var echoShift = len > 340 ? cycle * 0.31 : cycle * 0.5;+ configs.push({ flow: addPath('tail echo'), dash: trail.length, shift: trail.length - headLen, delay: phase + echoShift, dasharray: trail.pattern, echo: true });+ configs.push({ flow: addPath('head echo'), dash: headLen, shift: 0, delay: phase + echoShift, echo: true });configs.forEach(function (cfg) {cfg.flow.style.setProperty('--flow-len', len.toFixed(1) + 'px');cfg.flow.style.setProperty('--flow-delay', cfg.delay.toFixed(3) + 's');cfg.flow.style.setProperty('--flow-dash', cfg.dash.toFixed(1) + 'px');cfg.flow.style.setProperty('--flow-shift', cfg.shift.toFixed(1) + 'px');+ // Echoes stay background texture: they never inherit the boost.+ if (!cfg.echo) cfg.flow.style.setProperty('--flow-boost', boost.toFixed(2));if (cfg.dasharray) cfg.flow.style.setProperty('--flow-dasharray', cfg.dasharray);});// The sonar pair lands where the comet does; keep it out of the@@ -7499,6 +7553,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-' + kind);tagOverlay(ripple);ripple.style.setProperty('--flow-delay', phase.toFixed(3) + 's');+ ripple.style.setProperty('--flow-boost', boost.toFixed(2));shape.parentNode.insertBefore(ripple, anchor.nextSibling);anchor = ripple;});@@ -7521,7 +7576,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.if (!entryPending.size) settleEntry();}function renderAmbient(suppressed) {- html.setAttribute('data-ambient-motion', suppressed ? 'paused' : (flowCount ? 'running' : 'empty'));+ html.setAttribute('data-ambient-motion', flowCount ? (suppressed ? 'paused' : 'running') : 'empty');if (suppressed) {entryStarted = true;settleEntry();@@ -14140,7 +14195,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.trigger.setAttribute('aria-label', viewerText('viewer.guide.open'));feedback.textContent = '';if (options.restoreFocus !== false) {- var target = trigger.hidden ? returnFocus : trigger;+ // Return focus where the reader was when the guide opened; the+ // trigger itself is only the fallback when that element is gone.+ var target = returnFocus && returnFocus.isConnected ? returnFocus : trigger;if (target && typeof target.focus === 'function') target.focus();}return false;@@ -14240,7 +14297,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.execute(action);});document.addEventListener('click', function (event) {- if (!panel.hidden && !panel.contains(event.target) && event.target !== trigger) close({ restoreFocus: false });+ // Clicks anywhere on the trigger (including its icon span) are the+ // toggle itself, never an outside dismissal.+ if (!panel.hidden && !panel.contains(event.target) && !trigger.contains(event.target)) close({ restoreFocus: false });});renderFacts();diff --git a/examples/archify-repo.html b/examples/archify-repo.htmlindex bb4d7977..c3dd9589 100644--- a/examples/archify-repo.html+++ b/examples/archify-repo.html@@ -4726,22 +4726,26 @@ OTHER DEALINGS IN THE FONT SOFTWARE..c-lane { fill: var(--lane-fill); stroke: var(--lane-stroke); stroke-dasharray: 6,6; }/* Live turns each edge into a small light show on one shared cycle: a comet- (halo, tail, head — plus a dimmer echo on long edges) cascades downstream,- leaves a soft wake, and lands as a ripple on the target node. Original line- language and markers remain static. Each edge's phase follows the authored- step order — source-node rank, or chronological order in sequence- diagrams — so the whole diagram ripples downstream instead of marching- uniformly. Node entry is bounded to one pass per document, then a soft- node glow follows the authored step order. */+ (halo, tail, head — plus a dimmer echo, half a travel window behind on long+ edges and half a cycle behind on short ones) cascades downstream, leaves a+ soft wake, and lands as a ripple on the target node. Short edges carry a+ proportionally larger comet with a brightness boost so compact diagrams read+ as alive as sprawling ones. Original line language and markers remain+ static. Each edge's phase follows the authored step order — source-node+ rank, or chronological order in sequence diagrams — so the whole diagram+ ripples downstream instead of marching uniformly. Node entry is bounded to+ one pass per document, then a soft node glow follows the authored step+ order. */svg[data-animation="trace"] {--flow-cycle: 6.4s;--flow-step-delay: 0.2s;- --flow-halo-peak: 0.13;- --flow-tail-peak: 0.34;+ --flow-halo-peak: 0.17;+ --flow-glow-peak: 0.5;+ --flow-tail-peak: 0.42;--flow-head-peak: 0.95;- --flow-wake-peak: 0.08;- --flow-ripple-peak: 0.55;- --flow-ripple-echo-peak: 0.22;+ --flow-wake-peak: 0.1;+ --flow-ripple-peak: 0.65;+ --flow-ripple-echo-peak: 0.26;}.ambient-edge-flow {fill: none;@@ -4756,18 +4760,26 @@ OTHER DEALINGS IN THE FONT SOFTWARE.animation-name: archify-flow-wake;}.ambient-flow-halo {- stroke-width: 5;+ stroke-width: 6;stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));animation-name: archify-cascade-halo;}+ /* A wide blurred streak centered on the head: this is the bloom that makes+ the comet read as a traveling orb of light rather than a bright dash. */+ .ambient-flow-glow {+ stroke-width: 9;+ stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));+ filter: blur(2.5px);+ animation-name: archify-cascade-glow;+ }.ambient-flow-tail {stroke-width: 2.4;stroke-dasharray: var(--flow-dasharray, var(--flow-dash, 20px) calc(var(--flow-len, 0px) - var(--flow-dash, 20px)));animation-name: archify-cascade-tail;}.ambient-flow-head {- stroke: color-mix(in srgb, var(--arrow-emphasis) 45%, white);- stroke-width: 2.2;+ stroke: color-mix(in srgb, var(--arrow-emphasis) 40%, white);+ stroke-width: 2.6;stroke-dasharray: var(--flow-dash, 6px) calc(var(--flow-len, 0px) - var(--flow-dash, 6px));animation-name: archify-cascade-head;}@@ -4796,19 +4808,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE..ambient-edge-flow[data-tree-hidden] { display: none !important; animation: none !important; }svg[data-preset="signal-flow"] { --flow-cycle: 5.2s; --flow-step-delay: 0.18s; }svg[data-preset="blueprint"] .ambient-edge-flow { stroke-linecap: square; }- svg[data-preset="editorial"] { --flow-halo-peak: 0.07; --flow-tail-peak: 0.2; --flow-head-peak: 0.7; --flow-wake-peak: 0.05; --flow-ripple-peak: 0.3; --flow-ripple-echo-peak: 0.12; }+ svg[data-preset="editorial"] { --flow-halo-peak: 0.07; --flow-glow-peak: 0.28; --flow-tail-peak: 0.2; --flow-head-peak: 0.7; --flow-wake-peak: 0.05; --flow-ripple-peak: 0.3; --flow-ripple-echo-peak: 0.12; }/* On light canvases the cascade reads by saturation instead of bloom: thehead and inner ripple mix toward ink instead of white, and every layer'speak rises so the wave survives the bright background. */html[data-theme="light"] svg[data-animation="trace"] {--flow-halo-peak: 0.22;+ --flow-glow-peak: 0.4;--flow-tail-peak: 0.5;--flow-wake-peak: 0.13;--flow-ripple-echo-peak: 0.3;}html[data-theme="light"] .ambient-flow-head {stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, black);- stroke-width: 2.4;+ stroke-width: 2.8;}html[data-theme="light"] .ambient-flow-ripple {stroke: color-mix(in srgb, var(--arrow-emphasis) 65%, black);@@ -4860,43 +4873,51 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}@keyframes archify-flow-wake {0% { opacity: 0; }- 24% { opacity: var(--flow-wake-peak, 0.08); }- 62% { opacity: var(--flow-wake-peak, 0.08); }+ 24% { opacity: calc(var(--flow-wake-peak, 0.1) * var(--flow-boost, 1)); }+ 62% { opacity: calc(var(--flow-wake-peak, 0.1) * var(--flow-boost, 1)); }82%, 100% { opacity: 0; }}@keyframes archify-cascade-halo {0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 3px)); opacity: 0; }- 4% { opacity: var(--flow-halo-peak, 0.13); }+ 4% { opacity: calc(var(--flow-halo-peak, 0.17) * var(--flow-boost, 1)); }+ 15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.88); }+ 48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.22); }+ 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: calc(var(--flow-halo-peak, 0.17) * var(--flow-boost, 1)); }+ 68%, 100% { stroke-dashoffset: var(--flow-shift, 3px); opacity: 0; }+ }+ @keyframes archify-cascade-glow {+ 0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 3px)); opacity: 0; }+ 4% { opacity: calc(var(--flow-glow-peak, 0.5) * var(--flow-boost, 1)); }15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.88); }48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: var(--flow-halo-peak, 0.13); }+ 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: calc(var(--flow-glow-peak, 0.5) * var(--flow-boost, 1)); }68%, 100% { stroke-dashoffset: var(--flow-shift, 3px); opacity: 0; }}@keyframes archify-cascade-tail {0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 20px)); opacity: 0; }- 4% { opacity: calc(var(--flow-tail-peak, 0.34) * var(--flow-echo-scale, 1)); }+ 4% { opacity: calc(var(--flow-tail-peak, 0.42) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 20px)) * 0.88); }48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 20px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 20px); opacity: calc(var(--flow-tail-peak, 0.34) * var(--flow-echo-scale, 1)); }+ 62% { stroke-dashoffset: var(--flow-shift, 20px); opacity: calc(var(--flow-tail-peak, 0.42) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }68%, 100% { stroke-dashoffset: var(--flow-shift, 20px); opacity: 0; }}@keyframes archify-cascade-head {0% { stroke-dashoffset: var(--flow-len, 0px); opacity: 0; }- 4% { opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1)); }+ 4% { opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }15% { stroke-dashoffset: calc(var(--flow-len, 0px) * 0.88); }48% { stroke-dashoffset: calc(var(--flow-len, 0px) * 0.22); }- 62% { stroke-dashoffset: 0; opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1)); }+ 62% { stroke-dashoffset: 0; opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }68%, 100% { stroke-dashoffset: 0; opacity: 0; }}@keyframes archify-flow-ripple {0%, 60% { r: 2px; opacity: 0; }- 63% { r: 2px; opacity: var(--flow-ripple-peak, 0.55); }- 78%, 100% { r: 17px; opacity: 0; }+ 63% { r: 2px; opacity: calc(var(--flow-ripple-peak, 0.65) * var(--flow-boost, 1)); }+ 78%, 100% { r: 20px; opacity: 0; }}@keyframes archify-flow-ripple-echo {0%, 63% { r: 2px; opacity: 0; }- 66% { r: 2px; opacity: var(--flow-ripple-echo-peak, 0.22); }- 84%, 100% { r: 26px; opacity: 0; }+ 66% { r: 2px; opacity: calc(var(--flow-ripple-echo-peak, 0.26) * var(--flow-boost, 1)); }+ 84%, 100% { r: 30px; opacity: 0; }}@keyframes archify-node-receive {0%, 100% { filter: var(--ambient-node-base-filter, none); }@@ -5563,7 +5584,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<button id="btn-overview-map" type="button" aria-label="Open semantic radar" aria-expanded="false" aria-controls="overview-map" title="Semantic radar (M)">MAP</button><button id="btn-semantic-lens" type="button" aria-label="Open semantic lens" aria-haspopup="dialog" aria-expanded="false" aria-pressed="false" aria-controls="semantic-lens" title="Semantic lens (L)">LENS</button><button id="btn-node-finder" type="button" aria-label="Find a node" aria-haspopup="dialog" aria-expanded="false" aria-controls="node-finder" title="Find a node (/)" data-node-finder-trigger><span class="diagram-nav-icon find" aria-hidden="true"></span></button>- <button id="btn-diagram-guide" type="button" hidden aria-label="Open diagram guide" aria-haspopup="dialog" aria-expanded="false" aria-controls="diagram-guide" title="Diagram guide (?)"><span class="diagram-nav-icon guide" aria-hidden="true"></span></button>+ <button id="btn-diagram-guide" type="button" aria-label="Open diagram guide" aria-haspopup="dialog" aria-expanded="false" aria-controls="diagram-guide" title="Diagram guide (?)"><span class="diagram-nav-icon guide" aria-hidden="true"></span></button><button data-view="out" type="button" aria-label="Zoom out" title="Zoom out (-)"><span class="diagram-nav-icon minus" aria-hidden="true"></span></button><button data-view="reset" type="button" aria-label="Reset diagram view" title="Reset view (0)"><span class="diagram-nav-detail" data-view-detail hidden>READ</span><span class="diagram-nav-percent" data-view-percent>100%</span></button><button data-view="in" type="button" aria-label="Zoom in" title="Zoom in (+)"><span class="diagram-nav-icon plus" aria-hidden="true"></span></button>@@ -6839,7 +6860,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var vb = svg.viewBox.baseVal;var scale = Math.min(1, 1280 / vb.width);var data = serializeSvg(scale);- var sourceUrl = URL.createObjectURL(new Blob([data.svgString], { type: 'image/svg+xml;charset=utf-8' }));function createMotionScene(root) {var rootMatrix = root.getCTM ? root.getCTM() : null;@@ -6996,73 +7016,99 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var motionScene = createMotionScene(svg);return new Promise(function (resolve, reject) {- var backgroundImage = new Image();- backgroundImage.onload = function () {- var canvas = document.createElement('canvas');- canvas.width = Math.max(2, Math.round(data.width / 2) * 2);- canvas.height = Math.max(2, Math.round(data.height / 2) * 2);- var ctx = canvas.getContext('2d');- var stream = canvas.captureStream(fps);- var mime = motionMimeType();- var recorder;- try {- recorder = new MediaRecorder(stream, { mimeType: mime, videoBitsPerSecond: 6000000 });- } catch (err) {- URL.revokeObjectURL(sourceUrl);- stream.getTracks().forEach(function (track) { track.stop(); });- reject(err);- return;+ var sourceUrl = null;+ var backgroundImage = null;+ var stream = null;+ var recorder = null;+ var raf = 0;+ var durationTimer = 0;+ var flushTimer = 0;+ var settled = false;++ function finish(error, blob) {+ if (settled) return;+ // 先锁定终态:停止录制和释放流可能产生晚到的编码事件。+ settled = true;+ cancelAnimationFrame(raf);+ clearTimeout(durationTimer);+ clearTimeout(flushTimer);+ if (backgroundImage) {+ backgroundImage.onload = null;+ backgroundImage.onerror = null;}- var chunks = [];- var raf = 0;- var stopped = false;- var startedAt = performance.now();- function cleanup() {- if (stopped) return;- stopped = true;- cancelAnimationFrame(raf);- URL.revokeObjectURL(sourceUrl);- stream.getTracks().forEach(function (track) { track.stop(); });+ if (recorder) {+ recorder.ondataavailable = null;+ recorder.onerror = null;+ recorder.onstop = null;+ try { if (recorder.state !== 'inactive') recorder.stop(); } catch (_) {}}- function draw(now) {- var elapsed = Math.max(0, ((Number(now) || performance.now()) - startedAt) / 1000);- drawMotionFrame(ctx, backgroundImage, motionScene, elapsed);- raf = requestAnimationFrame(draw);- }- recorder.ondataavailable = function (event) {- if (event.data && event.data.size) chunks.push(event.data);- };- recorder.onerror = function (event) {- cleanup();- reject(event.error || exportError('viewer.export.error.mediaRecorder'));+ if (stream) stream.getTracks().forEach(function (track) { track.stop(); });+ if (sourceUrl) URL.revokeObjectURL(sourceUrl);+ if (blob) resolve(blob);+ else reject(error);+ }++ try {+ sourceUrl = URL.createObjectURL(new Blob([data.svgString], { type: 'image/svg+xml;charset=utf-8' }));+ backgroundImage = new Image();+ backgroundImage.onload = function () {+ if (settled) return;+ try {+ var canvas = document.createElement('canvas');+ canvas.width = Math.max(2, Math.round(data.width / 2) * 2);+ canvas.height = Math.max(2, Math.round(data.height / 2) * 2);+ var ctx = canvas.getContext('2d');+ if (!ctx) throw exportError('viewer.export.error.contextUnavailable', { label: 'WebM' });+ stream = canvas.captureStream(fps);+ var mime = motionMimeType();+ recorder = new MediaRecorder(stream, { mimeType: mime, videoBitsPerSecond: 6000000 });+ var chunks = [];+ var startedAt = performance.now();+ function draw(now) {+ if (settled) return;+ try {+ var elapsed = Math.max(0, ((Number(now) || performance.now()) - startedAt) / 1000);+ drawMotionFrame(ctx, backgroundImage, motionScene, elapsed);+ raf = requestAnimationFrame(draw);+ } catch (error) { finish(error); }+ }+ recorder.ondataavailable = function (event) {+ if (!settled && event.data && event.data.size) chunks.push(event.data);+ };+ recorder.onerror = function (event) {+ finish(event.error || exportError('viewer.export.error.mediaRecorder'));+ };+ recorder.onstop = function () {+ if (settled) return;+ try {+ var blob = new Blob(chunks, { type: recorder.mimeType || mime });+ if (!blob.size) throw exportError('viewer.export.error.emptyWebm');+ finish(null, blob);+ } catch (error) { finish(error); }+ };+ drawMotionFrame(ctx, backgroundImage, motionScene, 0);+ recorder.start(250);+ if (settled) return;+ startedAt = performance.now();+ raf = requestAnimationFrame(draw);+ durationTimer = setTimeout(function () {+ if (settled || recorder.state === 'inactive') return;+ // 保留最佳努力的编码器 flush;失败后仍通过 stop 收集最后的片段。+ try { recorder.requestData(); } catch (_) {}+ if (settled) return;+ flushTimer = setTimeout(function () {+ if (settled) return;+ try { if (recorder.state !== 'inactive') recorder.stop(); }+ catch (error) { finish(error); }+ }, 120);+ }, duration);+ } catch (error) { finish(error); }};- recorder.onstop = function () {- cleanup();- var blob = new Blob(chunks, { type: recorder.mimeType || mime });- if (!blob.size) reject(exportError('viewer.export.error.emptyWebm'));- else resolve(blob);+ backgroundImage.onerror = function () {+ finish(exportError('viewer.export.error.webmBackground'));};- drawMotionFrame(ctx, backgroundImage, motionScene, 0);- recorder.start(250);- startedAt = performance.now();- raf = requestAnimationFrame(draw);- setTimeout(function () {- if (recorder.state === 'inactive') return;- // Chromium normally emits the final chunk during stop(), but- // some embedded browser shells need an explicit encoder flush- // first. Keep the short grace window bounded and harmless for- // browsers that already delivered timeslice chunks.- try { recorder.requestData(); } catch (_) {}- setTimeout(function () {- if (recorder.state !== 'inactive') recorder.stop();- }, 120);- }, duration);- };- backgroundImage.onerror = function () {- URL.revokeObjectURL(sourceUrl);- reject(exportError('viewer.export.error.webmBackground'));- };- backgroundImage.src = sourceUrl;+ backgroundImage.src = sourceUrl;+ } catch (error) { finish(error); }});}@@ -7512,6 +7558,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.wake.remove();return;}+ var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');var head = addPath('head');@@ -7528,9 +7575,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// Absolute caps keep the comet a slim streak on long edges instead// of growing into a bright slab; the tail disintegrates into a// sparkle of fragments behind the head, and --flow-shift trails- // each layer behind the head tip by its own length.- var headLen = Math.min(10, Math.max(4, len * 0.016));- var haloLen = Math.min(14, Math.max(8, len * 0.045));+ // each layer behind the head tip by its own length. Short edges get+ // a proportionally larger comet and a brightness boost so a compact+ // diagram reads as alive as a sprawling one.+ var headLen = Math.min(12, Math.max(5, len * 0.02));+ var haloLen = Math.min(18, Math.max(10, len * 0.06));+ var boost = len < 260 ? Math.min(1.7, 260 / Math.max(len, 90)) : 1;var trail = len >= 120? { pattern: '2.5 2 4 3 5.5 4.5 8 ' + (len - 30).toFixed(1), length: 30 }: (len >= 60@@ -7539,20 +7589,24 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var phase = edgePhase(shape, index) * stepDelay;var configs = [{ flow: wake, dash: len, shift: 0, delay: phase },+ { flow: glow, dash: haloLen, shift: (haloLen - headLen) / 2, delay: phase },{ flow: halo, dash: haloLen, shift: (haloLen - headLen) / 2, delay: phase },{ flow: tail, dash: trail.length, shift: trail.length - headLen, delay: phase, dasharray: trail.pattern },{ flow: head, dash: headLen, shift: 0, delay: phase },];- // Long edges earn a dimmer echo comet half a travel window behind.- if (len > 340) {- configs.push({ flow: addPath('tail echo'), dash: trail.length, shift: trail.length - headLen, delay: phase + cycle * 0.31, dasharray: trail.pattern });- configs.push({ flow: addPath('head echo'), dash: headLen, shift: 0, delay: phase + cycle * 0.31 });- }+ // Every edge earns a dimmer echo comet: half a travel window behind+ // on long edges, half a cycle behind on short ones so compact+ // diagrams never sit in a silent gap between passes.+ var echoShift = len > 340 ? cycle * 0.31 : cycle * 0.5;+ configs.push({ flow: addPath('tail echo'), dash: trail.length, shift: trail.length - headLen, delay: phase + echoShift, dasharray: trail.pattern, echo: true });+ configs.push({ flow: addPath('head echo'), dash: headLen, shift: 0, delay: phase + echoShift, echo: true });configs.forEach(function (cfg) {cfg.flow.style.setProperty('--flow-len', len.toFixed(1) + 'px');cfg.flow.style.setProperty('--flow-delay', cfg.delay.toFixed(3) + 's');cfg.flow.style.setProperty('--flow-dash', cfg.dash.toFixed(1) + 'px');cfg.flow.style.setProperty('--flow-shift', cfg.shift.toFixed(1) + 'px');+ // Echoes stay background texture: they never inherit the boost.+ if (!cfg.echo) cfg.flow.style.setProperty('--flow-boost', boost.toFixed(2));if (cfg.dasharray) cfg.flow.style.setProperty('--flow-dasharray', cfg.dasharray);});// The sonar pair lands where the comet does; keep it out of the@@ -7567,6 +7621,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-' + kind);tagOverlay(ripple);ripple.style.setProperty('--flow-delay', phase.toFixed(3) + 's');+ ripple.style.setProperty('--flow-boost', boost.toFixed(2));shape.parentNode.insertBefore(ripple, anchor.nextSibling);anchor = ripple;});@@ -7589,7 +7644,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.if (!entryPending.size) settleEntry();}function renderAmbient(suppressed) {- html.setAttribute('data-ambient-motion', suppressed ? 'paused' : (flowCount ? 'running' : 'empty'));+ html.setAttribute('data-ambient-motion', flowCount ? (suppressed ? 'paused' : 'running') : 'empty');if (suppressed) {entryStarted = true;settleEntry();@@ -14208,7 +14263,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.trigger.setAttribute('aria-label', viewerText('viewer.guide.open'));feedback.textContent = '';if (options.restoreFocus !== false) {- var target = trigger.hidden ? returnFocus : trigger;+ // Return focus where the reader was when the guide opened; the+ // trigger itself is only the fallback when that element is gone.+ var target = returnFocus && returnFocus.isConnected ? returnFocus : trigger;if (target && typeof target.focus === 'function') target.focus();}return false;@@ -14308,7 +14365,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.execute(action);});document.addEventListener('click', function (event) {- if (!panel.hidden && !panel.contains(event.target) && event.target !== trigger) close({ restoreFocus: false });+ // Clicks anywhere on the trigger (including its icon span) are the+ // toggle itself, never an outside dismissal.+ if (!panel.hidden && !panel.contains(event.target) && !trigger.contains(event.target)) close({ restoreFocus: false });});renderFacts();diff --git a/examples/checkout-platform-delta.html b/examples/checkout-platform-delta.htmlindex 45f70efb..73a55769 100644--- a/examples/checkout-platform-delta.html+++ b/examples/checkout-platform-delta.html@@ -12372,7 +12372,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -12475,8 +12476,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -12626,7 +12627,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -19196,22 +19197,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guide@@ -27100,7 +27085,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -27203,8 +27189,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -27354,7 +27340,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -33924,22 +33910,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/checkout-platform-delta.receipt.json b/examples/checkout-platform-delta.receipt.jsonindex fd801d6b..167a5710 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": "7931c02cc05a9577aa61e28850bccd0371c6aecfd7cb9af7f1bce0426ee8e288",- "bytes": 2221616+ "sha256": "9ae85a95e5b792f96b584bec14cfa306abceee5d2d62857f5862374379717468",+ "bytes": 2230067},"validation": {"checksPassed": 28,diff --git a/examples/class-payment-processors-rendered.html b/examples/class-payment-processors-rendered.htmlindex 262dd6b2..bf7e2795 100644--- a/examples/class-payment-processors-rendered.html+++ b/examples/class-payment-processors-rendered.html@@ -7641,7 +7641,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7744,8 +7745,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7895,7 +7896,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14465,22 +14466,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/class-payments-rendered.html b/examples/class-payments-rendered.htmlindex 519b5f64..3100c1b2 100644--- a/examples/class-payments-rendered.html+++ b/examples/class-payments-rendered.html@@ -7447,7 +7447,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7550,8 +7551,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7701,7 +7702,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14271,22 +14272,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/dataflow-product-analytics.html b/examples/dataflow-product-analytics.htmlindex d4a93c3d..b22f8efc 100644--- a/examples/dataflow-product-analytics.html+++ b/examples/dataflow-product-analytics.html@@ -7561,7 +7561,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7664,8 +7665,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7815,7 +7816,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14385,22 +14386,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/erd-orders-rendered.html b/examples/erd-orders-rendered.htmlindex a96b1e86..ba72f26b 100644--- a/examples/erd-orders-rendered.html+++ b/examples/erd-orders-rendered.html@@ -7729,7 +7729,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7832,8 +7833,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7983,7 +7984,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14553,22 +14554,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/lifecycle-agent-run.html b/examples/lifecycle-agent-run.htmlindex e240ae0c..d9fd0f4c 100644--- a/examples/lifecycle-agent-run.html+++ b/examples/lifecycle-agent-run.html@@ -7573,7 +7573,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7676,8 +7677,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7827,7 +7828,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14397,22 +14398,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/maka-architecture.html b/examples/maka-architecture.htmlindex c4773e9f..cc6e687d 100644--- a/examples/maka-architecture.html+++ b/examples/maka-architecture.html@@ -4726,22 +4726,26 @@ OTHER DEALINGS IN THE FONT SOFTWARE..c-lane { fill: var(--lane-fill); stroke: var(--lane-stroke); stroke-dasharray: 6,6; }/* Live turns each edge into a small light show on one shared cycle: a comet- (halo, tail, head — plus a dimmer echo on long edges) cascades downstream,- leaves a soft wake, and lands as a ripple on the target node. Original line- language and markers remain static. Each edge's phase follows the authored- step order — source-node rank, or chronological order in sequence- diagrams — so the whole diagram ripples downstream instead of marching- uniformly. Node entry is bounded to one pass per document, then a soft- node glow follows the authored step order. */+ (halo, tail, head — plus a dimmer echo, half a travel window behind on long+ edges and half a cycle behind on short ones) cascades downstream, leaves a+ soft wake, and lands as a ripple on the target node. Short edges carry a+ proportionally larger comet with a brightness boost so compact diagrams read+ as alive as sprawling ones. Original line language and markers remain+ static. Each edge's phase follows the authored step order — source-node+ rank, or chronological order in sequence diagrams — so the whole diagram+ ripples downstream instead of marching uniformly. Node entry is bounded to+ one pass per document, then a soft node glow follows the authored step+ order. */svg[data-animation="trace"] {--flow-cycle: 6.4s;--flow-step-delay: 0.2s;- --flow-halo-peak: 0.13;- --flow-tail-peak: 0.34;+ --flow-halo-peak: 0.17;+ --flow-glow-peak: 0.5;+ --flow-tail-peak: 0.42;--flow-head-peak: 0.95;- --flow-wake-peak: 0.08;- --flow-ripple-peak: 0.55;- --flow-ripple-echo-peak: 0.22;+ --flow-wake-peak: 0.1;+ --flow-ripple-peak: 0.65;+ --flow-ripple-echo-peak: 0.26;}.ambient-edge-flow {fill: none;@@ -4756,18 +4760,26 @@ OTHER DEALINGS IN THE FONT SOFTWARE.animation-name: archify-flow-wake;}.ambient-flow-halo {- stroke-width: 5;+ stroke-width: 6;stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));animation-name: archify-cascade-halo;}+ /* A wide blurred streak centered on the head: this is the bloom that makes+ the comet read as a traveling orb of light rather than a bright dash. */+ .ambient-flow-glow {+ stroke-width: 9;+ stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));+ filter: blur(2.5px);+ animation-name: archify-cascade-glow;+ }.ambient-flow-tail {stroke-width: 2.4;stroke-dasharray: var(--flow-dasharray, var(--flow-dash, 20px) calc(var(--flow-len, 0px) - var(--flow-dash, 20px)));animation-name: archify-cascade-tail;}.ambient-flow-head {- stroke: color-mix(in srgb, var(--arrow-emphasis) 45%, white);- stroke-width: 2.2;+ stroke: color-mix(in srgb, var(--arrow-emphasis) 40%, white);+ stroke-width: 2.6;stroke-dasharray: var(--flow-dash, 6px) calc(var(--flow-len, 0px) - var(--flow-dash, 6px));animation-name: archify-cascade-head;}@@ -4796,19 +4808,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE..ambient-edge-flow[data-tree-hidden] { display: none !important; animation: none !important; }svg[data-preset="signal-flow"] { --flow-cycle: 5.2s; --flow-step-delay: 0.18s; }svg[data-preset="blueprint"] .ambient-edge-flow { stroke-linecap: square; }- svg[data-preset="editorial"] { --flow-halo-peak: 0.07; --flow-tail-peak: 0.2; --flow-head-peak: 0.7; --flow-wake-peak: 0.05; --flow-ripple-peak: 0.3; --flow-ripple-echo-peak: 0.12; }+ svg[data-preset="editorial"] { --flow-halo-peak: 0.07; --flow-glow-peak: 0.28; --flow-tail-peak: 0.2; --flow-head-peak: 0.7; --flow-wake-peak: 0.05; --flow-ripple-peak: 0.3; --flow-ripple-echo-peak: 0.12; }/* On light canvases the cascade reads by saturation instead of bloom: thehead and inner ripple mix toward ink instead of white, and every layer'speak rises so the wave survives the bright background. */html[data-theme="light"] svg[data-animation="trace"] {--flow-halo-peak: 0.22;+ --flow-glow-peak: 0.4;--flow-tail-peak: 0.5;--flow-wake-peak: 0.13;--flow-ripple-echo-peak: 0.3;}html[data-theme="light"] .ambient-flow-head {stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, black);- stroke-width: 2.4;+ stroke-width: 2.8;}html[data-theme="light"] .ambient-flow-ripple {stroke: color-mix(in srgb, var(--arrow-emphasis) 65%, black);@@ -4860,43 +4873,51 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}@keyframes archify-flow-wake {0% { opacity: 0; }- 24% { opacity: var(--flow-wake-peak, 0.08); }- 62% { opacity: var(--flow-wake-peak, 0.08); }+ 24% { opacity: calc(var(--flow-wake-peak, 0.1) * var(--flow-boost, 1)); }+ 62% { opacity: calc(var(--flow-wake-peak, 0.1) * var(--flow-boost, 1)); }82%, 100% { opacity: 0; }}@keyframes archify-cascade-halo {0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 3px)); opacity: 0; }- 4% { opacity: var(--flow-halo-peak, 0.13); }+ 4% { opacity: calc(var(--flow-halo-peak, 0.17) * var(--flow-boost, 1)); }+ 15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.88); }+ 48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.22); }+ 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: calc(var(--flow-halo-peak, 0.17) * var(--flow-boost, 1)); }+ 68%, 100% { stroke-dashoffset: var(--flow-shift, 3px); opacity: 0; }+ }+ @keyframes archify-cascade-glow {+ 0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 3px)); opacity: 0; }+ 4% { opacity: calc(var(--flow-glow-peak, 0.5) * var(--flow-boost, 1)); }15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.88); }48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: var(--flow-halo-peak, 0.13); }+ 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: calc(var(--flow-glow-peak, 0.5) * var(--flow-boost, 1)); }68%, 100% { stroke-dashoffset: var(--flow-shift, 3px); opacity: 0; }}@keyframes archify-cascade-tail {0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 20px)); opacity: 0; }- 4% { opacity: calc(var(--flow-tail-peak, 0.34) * var(--flow-echo-scale, 1)); }+ 4% { opacity: calc(var(--flow-tail-peak, 0.42) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 20px)) * 0.88); }48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 20px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 20px); opacity: calc(var(--flow-tail-peak, 0.34) * var(--flow-echo-scale, 1)); }+ 62% { stroke-dashoffset: var(--flow-shift, 20px); opacity: calc(var(--flow-tail-peak, 0.42) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }68%, 100% { stroke-dashoffset: var(--flow-shift, 20px); opacity: 0; }}@keyframes archify-cascade-head {0% { stroke-dashoffset: var(--flow-len, 0px); opacity: 0; }- 4% { opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1)); }+ 4% { opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }15% { stroke-dashoffset: calc(var(--flow-len, 0px) * 0.88); }48% { stroke-dashoffset: calc(var(--flow-len, 0px) * 0.22); }- 62% { stroke-dashoffset: 0; opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1)); }+ 62% { stroke-dashoffset: 0; opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }68%, 100% { stroke-dashoffset: 0; opacity: 0; }}@keyframes archify-flow-ripple {0%, 60% { r: 2px; opacity: 0; }- 63% { r: 2px; opacity: var(--flow-ripple-peak, 0.55); }- 78%, 100% { r: 17px; opacity: 0; }+ 63% { r: 2px; opacity: calc(var(--flow-ripple-peak, 0.65) * var(--flow-boost, 1)); }+ 78%, 100% { r: 20px; opacity: 0; }}@keyframes archify-flow-ripple-echo {0%, 63% { r: 2px; opacity: 0; }- 66% { r: 2px; opacity: var(--flow-ripple-echo-peak, 0.22); }- 84%, 100% { r: 26px; opacity: 0; }+ 66% { r: 2px; opacity: calc(var(--flow-ripple-echo-peak, 0.26) * var(--flow-boost, 1)); }+ 84%, 100% { r: 30px; opacity: 0; }}@keyframes archify-node-receive {0%, 100% { filter: var(--ambient-node-base-filter, none); }@@ -5592,7 +5613,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<button id="btn-overview-map" type="button" aria-label="Open semantic radar" aria-expanded="false" aria-controls="overview-map" title="Semantic radar (M)">MAP</button><button id="btn-semantic-lens" type="button" aria-label="Open semantic lens" aria-haspopup="dialog" aria-expanded="false" aria-pressed="false" aria-controls="semantic-lens" title="Semantic lens (L)">LENS</button><button id="btn-node-finder" type="button" aria-label="Find a node" aria-haspopup="dialog" aria-expanded="false" aria-controls="node-finder" title="Find a node (/)" data-node-finder-trigger><span class="diagram-nav-icon find" aria-hidden="true"></span></button>- <button id="btn-diagram-guide" type="button" hidden aria-label="Open diagram guide" aria-haspopup="dialog" aria-expanded="false" aria-controls="diagram-guide" title="Diagram guide (?)"><span class="diagram-nav-icon guide" aria-hidden="true"></span></button>+ <button id="btn-diagram-guide" type="button" aria-label="Open diagram guide" aria-haspopup="dialog" aria-expanded="false" aria-controls="diagram-guide" title="Diagram guide (?)"><span class="diagram-nav-icon guide" aria-hidden="true"></span></button><button data-view="out" type="button" aria-label="Zoom out" title="Zoom out (-)"><span class="diagram-nav-icon minus" aria-hidden="true"></span></button><button data-view="reset" type="button" aria-label="Reset diagram view" title="Reset view (0)"><span class="diagram-nav-detail" data-view-detail hidden>READ</span><span class="diagram-nav-percent" data-view-percent>100%</span></button><button data-view="in" type="button" aria-label="Zoom in" title="Zoom in (+)"><span class="diagram-nav-icon plus" aria-hidden="true"></span></button>@@ -6868,7 +6889,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var vb = svg.viewBox.baseVal;var scale = Math.min(1, 1280 / vb.width);var data = serializeSvg(scale);- var sourceUrl = URL.createObjectURL(new Blob([data.svgString], { type: 'image/svg+xml;charset=utf-8' }));function createMotionScene(root) {var rootMatrix = root.getCTM ? root.getCTM() : null;@@ -7025,73 +7045,99 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var motionScene = createMotionScene(svg);return new Promise(function (resolve, reject) {- var backgroundImage = new Image();- backgroundImage.onload = function () {- var canvas = document.createElement('canvas');- canvas.width = Math.max(2, Math.round(data.width / 2) * 2);- canvas.height = Math.max(2, Math.round(data.height / 2) * 2);- var ctx = canvas.getContext('2d');- var stream = canvas.captureStream(fps);- var mime = motionMimeType();- var recorder;- try {- recorder = new MediaRecorder(stream, { mimeType: mime, videoBitsPerSecond: 6000000 });- } catch (err) {- URL.revokeObjectURL(sourceUrl);- stream.getTracks().forEach(function (track) { track.stop(); });- reject(err);- return;+ var sourceUrl = null;+ var backgroundImage = null;+ var stream = null;+ var recorder = null;+ var raf = 0;+ var durationTimer = 0;+ var flushTimer = 0;+ var settled = false;++ function finish(error, blob) {+ if (settled) return;+ // 先锁定终态:停止录制和释放流可能产生晚到的编码事件。+ settled = true;+ cancelAnimationFrame(raf);+ clearTimeout(durationTimer);+ clearTimeout(flushTimer);+ if (backgroundImage) {+ backgroundImage.onload = null;+ backgroundImage.onerror = null;}- var chunks = [];- var raf = 0;- var stopped = false;- var startedAt = performance.now();- function cleanup() {- if (stopped) return;- stopped = true;- cancelAnimationFrame(raf);- URL.revokeObjectURL(sourceUrl);- stream.getTracks().forEach(function (track) { track.stop(); });+ if (recorder) {+ recorder.ondataavailable = null;+ recorder.onerror = null;+ recorder.onstop = null;+ try { if (recorder.state !== 'inactive') recorder.stop(); } catch (_) {}}- function draw(now) {- var elapsed = Math.max(0, ((Number(now) || performance.now()) - startedAt) / 1000);- drawMotionFrame(ctx, backgroundImage, motionScene, elapsed);- raf = requestAnimationFrame(draw);- }- recorder.ondataavailable = function (event) {- if (event.data && event.data.size) chunks.push(event.data);- };- recorder.onerror = function (event) {- cleanup();- reject(event.error || exportError('viewer.export.error.mediaRecorder'));+ if (stream) stream.getTracks().forEach(function (track) { track.stop(); });+ if (sourceUrl) URL.revokeObjectURL(sourceUrl);+ if (blob) resolve(blob);+ else reject(error);+ }++ try {+ sourceUrl = URL.createObjectURL(new Blob([data.svgString], { type: 'image/svg+xml;charset=utf-8' }));+ backgroundImage = new Image();+ backgroundImage.onload = function () {+ if (settled) return;+ try {+ var canvas = document.createElement('canvas');+ canvas.width = Math.max(2, Math.round(data.width / 2) * 2);+ canvas.height = Math.max(2, Math.round(data.height / 2) * 2);+ var ctx = canvas.getContext('2d');+ if (!ctx) throw exportError('viewer.export.error.contextUnavailable', { label: 'WebM' });+ stream = canvas.captureStream(fps);+ var mime = motionMimeType();+ recorder = new MediaRecorder(stream, { mimeType: mime, videoBitsPerSecond: 6000000 });+ var chunks = [];+ var startedAt = performance.now();+ function draw(now) {+ if (settled) return;+ try {+ var elapsed = Math.max(0, ((Number(now) || performance.now()) - startedAt) / 1000);+ drawMotionFrame(ctx, backgroundImage, motionScene, elapsed);+ raf = requestAnimationFrame(draw);+ } catch (error) { finish(error); }+ }+ recorder.ondataavailable = function (event) {+ if (!settled && event.data && event.data.size) chunks.push(event.data);+ };+ recorder.onerror = function (event) {+ finish(event.error || exportError('viewer.export.error.mediaRecorder'));+ };+ recorder.onstop = function () {+ if (settled) return;+ try {+ var blob = new Blob(chunks, { type: recorder.mimeType || mime });+ if (!blob.size) throw exportError('viewer.export.error.emptyWebm');+ finish(null, blob);+ } catch (error) { finish(error); }+ };+ drawMotionFrame(ctx, backgroundImage, motionScene, 0);+ recorder.start(250);+ if (settled) return;+ startedAt = performance.now();+ raf = requestAnimationFrame(draw);+ durationTimer = setTimeout(function () {+ if (settled || recorder.state === 'inactive') return;+ // 保留最佳努力的编码器 flush;失败后仍通过 stop 收集最后的片段。+ try { recorder.requestData(); } catch (_) {}+ if (settled) return;+ flushTimer = setTimeout(function () {+ if (settled) return;+ try { if (recorder.state !== 'inactive') recorder.stop(); }+ catch (error) { finish(error); }+ }, 120);+ }, duration);+ } catch (error) { finish(error); }};- recorder.onstop = function () {- cleanup();- var blob = new Blob(chunks, { type: recorder.mimeType || mime });- if (!blob.size) reject(exportError('viewer.export.error.emptyWebm'));- else resolve(blob);+ backgroundImage.onerror = function () {+ finish(exportError('viewer.export.error.webmBackground'));};- drawMotionFrame(ctx, backgroundImage, motionScene, 0);- recorder.start(250);- startedAt = performance.now();- raf = requestAnimationFrame(draw);- setTimeout(function () {- if (recorder.state === 'inactive') return;- // Chromium normally emits the final chunk during stop(), but- // some embedded browser shells need an explicit encoder flush- // first. Keep the short grace window bounded and harmless for- // browsers that already delivered timeslice chunks.- try { recorder.requestData(); } catch (_) {}- setTimeout(function () {- if (recorder.state !== 'inactive') recorder.stop();- }, 120);- }, duration);- };- backgroundImage.onerror = function () {- URL.revokeObjectURL(sourceUrl);- reject(exportError('viewer.export.error.webmBackground'));- };- backgroundImage.src = sourceUrl;+ backgroundImage.src = sourceUrl;+ } catch (error) { finish(error); }});}@@ -7541,6 +7587,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.wake.remove();return;}+ var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');var head = addPath('head');@@ -7557,9 +7604,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// Absolute caps keep the comet a slim streak on long edges instead// of growing into a bright slab; the tail disintegrates into a// sparkle of fragments behind the head, and --flow-shift trails- // each layer behind the head tip by its own length.- var headLen = Math.min(10, Math.max(4, len * 0.016));- var haloLen = Math.min(14, Math.max(8, len * 0.045));+ // each layer behind the head tip by its own length. Short edges get+ // a proportionally larger comet and a brightness boost so a compact+ // diagram reads as alive as a sprawling one.+ var headLen = Math.min(12, Math.max(5, len * 0.02));+ var haloLen = Math.min(18, Math.max(10, len * 0.06));+ var boost = len < 260 ? Math.min(1.7, 260 / Math.max(len, 90)) : 1;var trail = len >= 120? { pattern: '2.5 2 4 3 5.5 4.5 8 ' + (len - 30).toFixed(1), length: 30 }: (len >= 60@@ -7568,20 +7618,24 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var phase = edgePhase(shape, index) * stepDelay;var configs = [{ flow: wake, dash: len, shift: 0, delay: phase },+ { flow: glow, dash: haloLen, shift: (haloLen - headLen) / 2, delay: phase },{ flow: halo, dash: haloLen, shift: (haloLen - headLen) / 2, delay: phase },{ flow: tail, dash: trail.length, shift: trail.length - headLen, delay: phase, dasharray: trail.pattern },{ flow: head, dash: headLen, shift: 0, delay: phase },];- // Long edges earn a dimmer echo comet half a travel window behind.- if (len > 340) {- configs.push({ flow: addPath('tail echo'), dash: trail.length, shift: trail.length - headLen, delay: phase + cycle * 0.31, dasharray: trail.pattern });- configs.push({ flow: addPath('head echo'), dash: headLen, shift: 0, delay: phase + cycle * 0.31 });- }+ // Every edge earns a dimmer echo comet: half a travel window behind+ // on long edges, half a cycle behind on short ones so compact+ // diagrams never sit in a silent gap between passes.+ var echoShift = len > 340 ? cycle * 0.31 : cycle * 0.5;+ configs.push({ flow: addPath('tail echo'), dash: trail.length, shift: trail.length - headLen, delay: phase + echoShift, dasharray: trail.pattern, echo: true });+ configs.push({ flow: addPath('head echo'), dash: headLen, shift: 0, delay: phase + echoShift, echo: true });configs.forEach(function (cfg) {cfg.flow.style.setProperty('--flow-len', len.toFixed(1) + 'px');cfg.flow.style.setProperty('--flow-delay', cfg.delay.toFixed(3) + 's');cfg.flow.style.setProperty('--flow-dash', cfg.dash.toFixed(1) + 'px');cfg.flow.style.setProperty('--flow-shift', cfg.shift.toFixed(1) + 'px');+ // Echoes stay background texture: they never inherit the boost.+ if (!cfg.echo) cfg.flow.style.setProperty('--flow-boost', boost.toFixed(2));if (cfg.dasharray) cfg.flow.style.setProperty('--flow-dasharray', cfg.dasharray);});// The sonar pair lands where the comet does; keep it out of the@@ -7596,6 +7650,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-' + kind);tagOverlay(ripple);ripple.style.setProperty('--flow-delay', phase.toFixed(3) + 's');+ ripple.style.setProperty('--flow-boost', boost.toFixed(2));shape.parentNode.insertBefore(ripple, anchor.nextSibling);anchor = ripple;});@@ -7618,7 +7673,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.if (!entryPending.size) settleEntry();}function renderAmbient(suppressed) {- html.setAttribute('data-ambient-motion', suppressed ? 'paused' : (flowCount ? 'running' : 'empty'));+ html.setAttribute('data-ambient-motion', flowCount ? (suppressed ? 'paused' : 'running') : 'empty');if (suppressed) {entryStarted = true;settleEntry();@@ -14237,7 +14292,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.trigger.setAttribute('aria-label', viewerText('viewer.guide.open'));feedback.textContent = '';if (options.restoreFocus !== false) {- var target = trigger.hidden ? returnFocus : trigger;+ // Return focus where the reader was when the guide opened; the+ // trigger itself is only the fallback when that element is gone.+ var target = returnFocus && returnFocus.isConnected ? returnFocus : trigger;if (target && typeof target.focus === 'function') target.focus();}return false;@@ -14337,7 +14394,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.execute(action);});document.addEventListener('click', function (event) {- if (!panel.hidden && !panel.contains(event.target) && event.target !== trigger) close({ restoreFocus: false });+ // Clicks anywhere on the trigger (including its icon span) are the+ // toggle itself, never an outside dismissal.+ if (!panel.hidden && !panel.contains(event.target) && !trigger.contains(event.target)) close({ restoreFocus: false });});renderFacts();diff --git a/examples/rag-pipeline.html b/examples/rag-pipeline.htmlindex e6e46f7f..a29db8af 100644--- a/examples/rag-pipeline.html+++ b/examples/rag-pipeline.html@@ -6528,7 +6528,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var a = document.createElement('a');a.href = url;a.download = filename;- document.body.appendChild(a);+ // Keep the export-owned activation inside its existing control boundary.+ // The synthetic download click must not dismiss the reader selection.+ menu.appendChild(a);a.click();a.remove();setTimeout(function () { URL.revokeObjectURL(url); }, 1000);@@ -6899,7 +6901,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var vb = svg.viewBox.baseVal;var scale = Math.min(1, 1280 / vb.width);var data = serializeSvg(scale);- var sourceUrl = URL.createObjectURL(new Blob([data.svgString], { type: 'image/svg+xml;charset=utf-8' }));function createMotionScene(root) {var rootMatrix = root.getCTM ? root.getCTM() : null;@@ -7056,73 +7057,99 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var motionScene = createMotionScene(svg);return new Promise(function (resolve, reject) {- var backgroundImage = new Image();- backgroundImage.onload = function () {- var canvas = document.createElement('canvas');- canvas.width = Math.max(2, Math.round(data.width / 2) * 2);- canvas.height = Math.max(2, Math.round(data.height / 2) * 2);- var ctx = canvas.getContext('2d');- var stream = canvas.captureStream(fps);- var mime = motionMimeType();- var recorder;- try {- recorder = new MediaRecorder(stream, { mimeType: mime, videoBitsPerSecond: 6000000 });- } catch (err) {- URL.revokeObjectURL(sourceUrl);- stream.getTracks().forEach(function (track) { track.stop(); });- reject(err);- return;- }- var chunks = [];- var raf = 0;- var stopped = false;- var startedAt = performance.now();- function cleanup() {- if (stopped) return;- stopped = true;- cancelAnimationFrame(raf);- URL.revokeObjectURL(sourceUrl);- stream.getTracks().forEach(function (track) { track.stop(); });+ var sourceUrl = null;+ var backgroundImage = null;+ var stream = null;+ var recorder = null;+ var raf = 0;+ var durationTimer = 0;+ var flushTimer = 0;+ var settled = false;++ function finish(error, blob) {+ if (settled) return;+ // 先锁定终态:停止录制和释放流可能产生晚到的编码事件。+ settled = true;+ cancelAnimationFrame(raf);+ clearTimeout(durationTimer);+ clearTimeout(flushTimer);+ if (backgroundImage) {+ backgroundImage.onload = null;+ backgroundImage.onerror = null;}- function draw(now) {- var elapsed = Math.max(0, ((Number(now) || performance.now()) - startedAt) / 1000);- drawMotionFrame(ctx, backgroundImage, motionScene, elapsed);- raf = requestAnimationFrame(draw);+ if (recorder) {+ recorder.ondataavailable = null;+ recorder.onerror = null;+ recorder.onstop = null;+ try { if (recorder.state !== 'inactive') recorder.stop(); } catch (_) {}}- recorder.ondataavailable = function (event) {- if (event.data && event.data.size) chunks.push(event.data);- };- recorder.onerror = function (event) {- cleanup();- reject(event.error || exportError('viewer.export.error.mediaRecorder'));+ if (stream) stream.getTracks().forEach(function (track) { track.stop(); });+ if (sourceUrl) URL.revokeObjectURL(sourceUrl);+ if (blob) resolve(blob);+ else reject(error);+ }++ try {+ sourceUrl = URL.createObjectURL(new Blob([data.svgString], { type: 'image/svg+xml;charset=utf-8' }));+ backgroundImage = new Image();+ backgroundImage.onload = function () {+ if (settled) return;+ try {+ var canvas = document.createElement('canvas');+ canvas.width = Math.max(2, Math.round(data.width / 2) * 2);+ canvas.height = Math.max(2, Math.round(data.height / 2) * 2);+ var ctx = canvas.getContext('2d');+ if (!ctx) throw exportError('viewer.export.error.contextUnavailable', { label: 'WebM' });+ stream = canvas.captureStream(fps);+ var mime = motionMimeType();+ recorder = new MediaRecorder(stream, { mimeType: mime, videoBitsPerSecond: 6000000 });+ var chunks = [];+ var startedAt = performance.now();+ function draw(now) {+ if (settled) return;+ try {+ var elapsed = Math.max(0, ((Number(now) || performance.now()) - startedAt) / 1000);+ drawMotionFrame(ctx, backgroundImage, motionScene, elapsed);+ raf = requestAnimationFrame(draw);+ } catch (error) { finish(error); }+ }+ recorder.ondataavailable = function (event) {+ if (!settled && event.data && event.data.size) chunks.push(event.data);+ };+ recorder.onerror = function (event) {+ finish(event.error || exportError('viewer.export.error.mediaRecorder'));+ };+ recorder.onstop = function () {+ if (settled) return;+ try {+ var blob = new Blob(chunks, { type: recorder.mimeType || mime });+ if (!blob.size) throw exportError('viewer.export.error.emptyWebm');+ finish(null, blob);+ } catch (error) { finish(error); }+ };+ drawMotionFrame(ctx, backgroundImage, motionScene, 0);+ recorder.start(250);+ if (settled) return;+ startedAt = performance.now();+ raf = requestAnimationFrame(draw);+ durationTimer = setTimeout(function () {+ if (settled || recorder.state === 'inactive') return;+ // 保留最佳努力的编码器 flush;失败后仍通过 stop 收集最后的片段。+ try { recorder.requestData(); } catch (_) {}+ if (settled) return;+ flushTimer = setTimeout(function () {+ if (settled) return;+ try { if (recorder.state !== 'inactive') recorder.stop(); }+ catch (error) { finish(error); }+ }, 120);+ }, duration);+ } catch (error) { finish(error); }};- recorder.onstop = function () {- cleanup();- var blob = new Blob(chunks, { type: recorder.mimeType || mime });- if (!blob.size) reject(exportError('viewer.export.error.emptyWebm'));- else resolve(blob);+ backgroundImage.onerror = function () {+ finish(exportError('viewer.export.error.webmBackground'));};- drawMotionFrame(ctx, backgroundImage, motionScene, 0);- recorder.start(250);- startedAt = performance.now();- raf = requestAnimationFrame(draw);- setTimeout(function () {- if (recorder.state === 'inactive') return;- // Chromium normally emits the final chunk during stop(), but- // some embedded browser shells need an explicit encoder flush- // first. Keep the short grace window bounded and harmless for- // browsers that already delivered timeslice chunks.- try { recorder.requestData(); } catch (_) {}- setTimeout(function () {- if (recorder.state !== 'inactive') recorder.stop();- }, 120);- }, duration);- };- backgroundImage.onerror = function () {- URL.revokeObjectURL(sourceUrl);- reject(exportError('viewer.export.error.webmBackground'));- };- backgroundImage.src = sourceUrl;+ backgroundImage.src = sourceUrl;+ } catch (error) { finish(error); }});}@@ -7575,7 +7602,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7678,8 +7706,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7829,7 +7857,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -9593,7 +9621,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var target = event.target;if (chip.hidden || !target || typeof target.closest !== 'function' || chip.contains(target)) return;if (container.getAttribute('data-just-panned') === 'true') return;- if (target.closest('[data-node-id], [data-relationship-hit-key], .overview-map')) return;+ // Export consumes the active semantic snapshot; its controls are not+ // an outside selection. Genuine outside activation still clears it.+ if (target.closest('[data-node-id], [data-relationship-hit-key], .overview-map, #btn-export, #export-menu')) return;clear();}, true);window.addEventListener('scroll', requestLensPlacement, { passive: true });@@ -10926,7 +10956,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.semantic: semantic ? viewerText('viewer.nav.camera.semantic') : '',hint: detailHint});- resetBtn.setAttribute('aria-label', viewerText('viewer.nav.camera', { hint: detailHint }));+ var readout = (showDetailLevel ? resolvedLevel + ' ' : '') + percent;+ resetBtn.setAttribute('aria-label', readout + ' · ' + viewerText('viewer.nav.camera', { hint: detailHint }));resetBtn.setAttribute('data-detail-level', detail);container.setAttribute('data-detail-level', detail);container.setAttribute('data-camera-mode', state.mode);@@ -14396,22 +14427,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.htmlindex ab1b1781..913e39c1 100644--- a/examples/sequence-cache-miss-request.html+++ b/examples/sequence-cache-miss-request.html@@ -7576,7 +7576,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7679,8 +7680,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7830,7 +7831,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14400,22 +14401,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/subscription-billing-rendered.html b/examples/subscription-billing-rendered.htmlindex 8df49a15..81885508 100644--- a/examples/subscription-billing-rendered.html+++ b/examples/subscription-billing-rendered.html@@ -7953,7 +7953,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -8056,8 +8057,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -8207,7 +8208,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14777,22 +14778,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/timeline-archify-dev-activity-rendered.html b/examples/timeline-archify-dev-activity-rendered.htmlindex 3099b7ec..c4b1bbc8 100644--- a/examples/timeline-archify-dev-activity-rendered.html+++ b/examples/timeline-archify-dev-activity-rendered.html@@ -7653,7 +7653,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7756,8 +7757,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7907,7 +7908,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14477,22 +14478,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/timeline-payment-incident-rendered.html b/examples/timeline-payment-incident-rendered.htmlindex ead22307..103b35df 100644--- a/examples/timeline-payment-incident-rendered.html+++ b/examples/timeline-payment-incident-rendered.html@@ -7438,7 +7438,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7541,8 +7542,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7692,7 +7693,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14262,22 +14263,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/tree-archify-repository-rendered.html b/examples/tree-archify-repository-rendered.htmlindex 9b175a99..ad9ae009 100644--- a/examples/tree-archify-repository-rendered.html+++ b/examples/tree-archify-repository-rendered.html@@ -7672,7 +7672,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7775,8 +7776,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7926,7 +7927,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14496,22 +14497,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/tree-payment-platform-rendered.html b/examples/tree-payment-platform-rendered.htmlindex 3673f157..d2124b1a 100644--- a/examples/tree-payment-platform-rendered.html+++ b/examples/tree-payment-platform-rendered.html@@ -7453,7 +7453,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7556,8 +7557,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7707,7 +7708,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14277,22 +14278,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/waterfall-checkout-request-rendered.html b/examples/waterfall-checkout-request-rendered.htmlindex da9c4d8a..051be2da 100644--- a/examples/waterfall-checkout-request-rendered.html+++ b/examples/waterfall-checkout-request-rendered.html@@ -7435,7 +7435,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7538,8 +7539,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7689,7 +7690,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14259,22 +14260,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/waterfall-example-rebuild-rendered.html b/examples/waterfall-example-rebuild-rendered.htmlindex b8275aac..1e7d390d 100644--- a/examples/waterfall-example-rebuild-rendered.html+++ b/examples/waterfall-example-rebuild-rendered.html@@ -7621,7 +7621,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7724,8 +7725,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7875,7 +7876,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14445,22 +14446,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/web-app-rendered.html b/examples/web-app-rendered.htmlindex 1edb37a2..ed2e5075 100644--- a/examples/web-app-rendered.html+++ b/examples/web-app-rendered.html@@ -7549,7 +7549,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7652,8 +7653,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7803,7 +7804,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14373,22 +14374,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/web-app.html b/examples/web-app.htmlindex c3002c93..ed2e5075 100644--- a/examples/web-app.html+++ b/examples/web-app.html@@ -5159,7 +5159,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">-<svg viewBox="0 0 1080 588" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase" data-reader-fit="intrinsic-height" data-reader-min-text="7.5" data-reader-primary-text="14">+ <svg viewBox="0 0 1080 588" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase" data-reader-fit="intrinsic-height" data-reader-min-text="7.5" data-reader-primary-text="14"><title id="archify-diagram-title">Sample Web App</title><desc id="archify-diagram-description">An architecture diagram generated by Archify.</desc><!-- Definitions -->@@ -5586,7 +5586,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<button class="rail-control" id="rail-placement" type="button" hidden aria-label="Move panel below the diagram" title="Move panel below the diagram" data-placement="right"><span class="rail-control-icon placement" aria-hidden="true"></span></button><button class="rail-control" id="rail-collapse" type="button" hidden aria-controls="reader-rail" aria-expanded="true" aria-label="Collapse side panel" title="Collapse side panel"><span class="rail-control-icon collapse" aria-hidden="true"></span></button></div>-<div class="cards">+ <!-- Info Cards -->+ <div class="cards"><div class="card"><div class="card-header"><div class="card-dot cyan"></div>@@ -7548,7 +7549,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7651,8 +7653,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7802,7 +7804,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14372,22 +14374,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/examples/workflow-agent-tool-call-rendered.html b/examples/workflow-agent-tool-call-rendered.htmlindex 49d4dbd0..b6ee0675 100644--- a/examples/workflow-agent-tool-call-rendered.html+++ b/examples/workflow-agent-tool-call-rendered.html@@ -7567,7 +7567,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7670,8 +7671,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7821,7 +7822,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14391,22 +14392,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/experiments/mco-showcase/mco-runtime.html b/experiments/mco-showcase/mco-runtime.htmlindex e47c1418..75d4cce4 100644--- a/experiments/mco-showcase/mco-runtime.html+++ b/experiments/mco-showcase/mco-runtime.html@@ -4726,26 +4726,22 @@ OTHER DEALINGS IN THE FONT SOFTWARE..c-lane { fill: var(--lane-fill); stroke: var(--lane-stroke); stroke-dasharray: 6,6; }/* Live turns each edge into a small light show on one shared cycle: a comet- (halo, tail, head — plus a dimmer echo, half a travel window behind on long- edges and half a cycle behind on short ones) cascades downstream, leaves a- soft wake, and lands as a ripple on the target node. Short edges carry a- proportionally larger comet with a brightness boost so compact diagrams read- as alive as sprawling ones. Original line language and markers remain- static. Each edge's phase follows the authored step order — source-node- rank, or chronological order in sequence diagrams — so the whole diagram- ripples downstream instead of marching uniformly. Node entry is bounded to- one pass per document, then a soft node glow follows the authored step- order. */+ (halo, tail, head — plus a dimmer echo on long edges) cascades downstream,+ leaves a soft wake, and lands as a ripple on the target node. Original line+ language and markers remain static. Each edge's phase follows the authored+ step order — source-node rank, or chronological order in sequence+ diagrams — so the whole diagram ripples downstream instead of marching+ uniformly. Node entry is bounded to one pass per document, then a soft+ node glow follows the authored step order. */svg[data-animation="trace"] {--flow-cycle: 6.4s;--flow-step-delay: 0.2s;- --flow-halo-peak: 0.17;- --flow-glow-peak: 0.5;- --flow-tail-peak: 0.42;+ --flow-halo-peak: 0.13;+ --flow-tail-peak: 0.34;--flow-head-peak: 0.95;- --flow-wake-peak: 0.1;- --flow-ripple-peak: 0.65;- --flow-ripple-echo-peak: 0.26;+ --flow-wake-peak: 0.08;+ --flow-ripple-peak: 0.55;+ --flow-ripple-echo-peak: 0.22;}.ambient-edge-flow {fill: none;@@ -4760,26 +4756,18 @@ OTHER DEALINGS IN THE FONT SOFTWARE.animation-name: archify-flow-wake;}.ambient-flow-halo {- stroke-width: 6;+ stroke-width: 5;stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));animation-name: archify-cascade-halo;}- /* A wide blurred streak centered on the head: this is the bloom that makes- the comet read as a traveling orb of light rather than a bright dash. */- .ambient-flow-glow {- stroke-width: 9;- stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));- filter: blur(2.5px);- animation-name: archify-cascade-glow;- }.ambient-flow-tail {stroke-width: 2.4;stroke-dasharray: var(--flow-dasharray, var(--flow-dash, 20px) calc(var(--flow-len, 0px) - var(--flow-dash, 20px)));animation-name: archify-cascade-tail;}.ambient-flow-head {- stroke: color-mix(in srgb, var(--arrow-emphasis) 40%, white);- stroke-width: 2.6;+ stroke: color-mix(in srgb, var(--arrow-emphasis) 45%, white);+ stroke-width: 2.2;stroke-dasharray: var(--flow-dash, 6px) calc(var(--flow-len, 0px) - var(--flow-dash, 6px));animation-name: archify-cascade-head;}@@ -4808,20 +4796,19 @@ OTHER DEALINGS IN THE FONT SOFTWARE..ambient-edge-flow[data-tree-hidden] { display: none !important; animation: none !important; }svg[data-preset="signal-flow"] { --flow-cycle: 5.2s; --flow-step-delay: 0.18s; }svg[data-preset="blueprint"] .ambient-edge-flow { stroke-linecap: square; }- svg[data-preset="editorial"] { --flow-halo-peak: 0.07; --flow-glow-peak: 0.28; --flow-tail-peak: 0.2; --flow-head-peak: 0.7; --flow-wake-peak: 0.05; --flow-ripple-peak: 0.3; --flow-ripple-echo-peak: 0.12; }+ svg[data-preset="editorial"] { --flow-halo-peak: 0.07; --flow-tail-peak: 0.2; --flow-head-peak: 0.7; --flow-wake-peak: 0.05; --flow-ripple-peak: 0.3; --flow-ripple-echo-peak: 0.12; }/* On light canvases the cascade reads by saturation instead of bloom: thehead and inner ripple mix toward ink instead of white, and every layer'speak rises so the wave survives the bright background. */html[data-theme="light"] svg[data-animation="trace"] {--flow-halo-peak: 0.22;- --flow-glow-peak: 0.4;--flow-tail-peak: 0.5;--flow-wake-peak: 0.13;--flow-ripple-echo-peak: 0.3;}html[data-theme="light"] .ambient-flow-head {stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, black);- stroke-width: 2.8;+ stroke-width: 2.4;}html[data-theme="light"] .ambient-flow-ripple {stroke: color-mix(in srgb, var(--arrow-emphasis) 65%, black);@@ -4873,51 +4860,43 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}@keyframes archify-flow-wake {0% { opacity: 0; }- 24% { opacity: calc(var(--flow-wake-peak, 0.1) * var(--flow-boost, 1)); }- 62% { opacity: calc(var(--flow-wake-peak, 0.1) * var(--flow-boost, 1)); }+ 24% { opacity: var(--flow-wake-peak, 0.08); }+ 62% { opacity: var(--flow-wake-peak, 0.08); }82%, 100% { opacity: 0; }}@keyframes archify-cascade-halo {0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 3px)); opacity: 0; }- 4% { opacity: calc(var(--flow-halo-peak, 0.17) * var(--flow-boost, 1)); }- 15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.88); }- 48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: calc(var(--flow-halo-peak, 0.17) * var(--flow-boost, 1)); }- 68%, 100% { stroke-dashoffset: var(--flow-shift, 3px); opacity: 0; }- }- @keyframes archify-cascade-glow {- 0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 3px)); opacity: 0; }- 4% { opacity: calc(var(--flow-glow-peak, 0.5) * var(--flow-boost, 1)); }+ 4% { opacity: var(--flow-halo-peak, 0.13); }15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.88); }48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 3px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: calc(var(--flow-glow-peak, 0.5) * var(--flow-boost, 1)); }+ 62% { stroke-dashoffset: var(--flow-shift, 3px); opacity: var(--flow-halo-peak, 0.13); }68%, 100% { stroke-dashoffset: var(--flow-shift, 3px); opacity: 0; }}@keyframes archify-cascade-tail {0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 20px)); opacity: 0; }- 4% { opacity: calc(var(--flow-tail-peak, 0.42) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }+ 4% { opacity: calc(var(--flow-tail-peak, 0.34) * var(--flow-echo-scale, 1)); }15% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 20px)) * 0.88); }48% { stroke-dashoffset: calc((var(--flow-len, 0px) + var(--flow-shift, 20px)) * 0.22); }- 62% { stroke-dashoffset: var(--flow-shift, 20px); opacity: calc(var(--flow-tail-peak, 0.42) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }+ 62% { stroke-dashoffset: var(--flow-shift, 20px); opacity: calc(var(--flow-tail-peak, 0.34) * var(--flow-echo-scale, 1)); }68%, 100% { stroke-dashoffset: var(--flow-shift, 20px); opacity: 0; }}@keyframes archify-cascade-head {0% { stroke-dashoffset: var(--flow-len, 0px); opacity: 0; }- 4% { opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }+ 4% { opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1)); }15% { stroke-dashoffset: calc(var(--flow-len, 0px) * 0.88); }48% { stroke-dashoffset: calc(var(--flow-len, 0px) * 0.22); }- 62% { stroke-dashoffset: 0; opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1) * var(--flow-boost, 1)); }+ 62% { stroke-dashoffset: 0; opacity: calc(var(--flow-head-peak, 0.95) * var(--flow-echo-scale, 1)); }68%, 100% { stroke-dashoffset: 0; opacity: 0; }}@keyframes archify-flow-ripple {0%, 60% { r: 2px; opacity: 0; }- 63% { r: 2px; opacity: calc(var(--flow-ripple-peak, 0.65) * var(--flow-boost, 1)); }- 78%, 100% { r: 20px; opacity: 0; }+ 63% { r: 2px; opacity: var(--flow-ripple-peak, 0.55); }+ 78%, 100% { r: 17px; opacity: 0; }}@keyframes archify-flow-ripple-echo {0%, 63% { r: 2px; opacity: 0; }- 66% { r: 2px; opacity: calc(var(--flow-ripple-echo-peak, 0.26) * var(--flow-boost, 1)); }- 84%, 100% { r: 30px; opacity: 0; }+ 66% { r: 2px; opacity: var(--flow-ripple-echo-peak, 0.22); }+ 84%, 100% { r: 26px; opacity: 0; }}@keyframes archify-node-receive {0%, 100% { filter: var(--ambient-node-base-filter, none); }@@ -5597,7 +5576,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<button id="btn-overview-map" type="button" aria-label="Open semantic radar" aria-expanded="false" aria-controls="overview-map" title="Semantic radar (M)">MAP</button><button id="btn-semantic-lens" type="button" aria-label="Open semantic lens" aria-haspopup="dialog" aria-expanded="false" aria-pressed="false" aria-controls="semantic-lens" title="Semantic lens (L)">LENS</button><button id="btn-node-finder" type="button" aria-label="Find a node" aria-haspopup="dialog" aria-expanded="false" aria-controls="node-finder" title="Find a node (/)" data-node-finder-trigger><span class="diagram-nav-icon find" aria-hidden="true"></span></button>- <button id="btn-diagram-guide" type="button" aria-label="Open diagram guide" aria-haspopup="dialog" aria-expanded="false" aria-controls="diagram-guide" title="Diagram guide (?)"><span class="diagram-nav-icon guide" aria-hidden="true"></span></button>+ <button id="btn-diagram-guide" type="button" hidden aria-label="Open diagram guide" aria-haspopup="dialog" aria-expanded="false" aria-controls="diagram-guide" title="Diagram guide (?)"><span class="diagram-nav-icon guide" aria-hidden="true"></span></button><button data-view="out" type="button" aria-label="Zoom out" title="Zoom out (-)"><span class="diagram-nav-icon minus" aria-hidden="true"></span></button><button data-view="reset" type="button" aria-label="Reset diagram view" title="Reset view (0)"><span class="diagram-nav-detail" data-view-detail hidden>READ</span><span class="diagram-nav-percent" data-view-percent>100%</span></button><button data-view="in" type="button" aria-label="Zoom in" title="Zoom in (+)"><span class="diagram-nav-icon plus" aria-hidden="true"></span></button>@@ -7544,10 +7523,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.wake.remove();return;}- var glow = addPath('glow');var halo = addPath('halo');var tail = addPath('tail');- var head = addPath('head'); var end = null;+ var head = addPath('head');+ var end = null;try { end = head.getPointAtLength(len); } catch (_) {}// Dashed authored lines keep their dash language through the show:// the wake brightens only the authored segments and never fills the@@ -7560,12 +7539,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// Absolute caps keep the comet a slim streak on long edges instead// of growing into a bright slab; the tail disintegrates into a// sparkle of fragments behind the head, and --flow-shift trails- // each layer behind the head tip by its own length. Short edges get- // a proportionally larger comet and a brightness boost so a compact- // diagram reads as alive as a sprawling one.- var headLen = Math.min(12, Math.max(5, len * 0.02));- var haloLen = Math.min(18, Math.max(10, len * 0.06));- var boost = len < 260 ? Math.min(1.7, 260 / Math.max(len, 90)) : 1;+ // each layer behind the head tip by its own length.+ var headLen = Math.min(10, Math.max(4, len * 0.016));+ var haloLen = Math.min(14, Math.max(8, len * 0.045));var trail = len >= 120? { pattern: '2.5 2 4 3 5.5 4.5 8 ' + (len - 30).toFixed(1), length: 30 }: (len >= 60@@ -7574,24 +7550,20 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var phase = edgePhase(shape, index) * stepDelay;var configs = [{ flow: wake, dash: len, shift: 0, delay: phase },- { flow: glow, dash: haloLen, shift: (haloLen - headLen) / 2, delay: phase },{ flow: halo, dash: haloLen, shift: (haloLen - headLen) / 2, delay: phase },{ flow: tail, dash: trail.length, shift: trail.length - headLen, delay: phase, dasharray: trail.pattern },{ flow: head, dash: headLen, shift: 0, delay: phase },];- // Every edge earns a dimmer echo comet: half a travel window behind- // on long edges, half a cycle behind on short ones so compact- // diagrams never sit in a silent gap between passes.- var echoShift = len > 340 ? cycle * 0.31 : cycle * 0.5;- configs.push({ flow: addPath('tail echo'), dash: trail.length, shift: trail.length - headLen, delay: phase + echoShift, dasharray: trail.pattern, echo: true });- configs.push({ flow: addPath('head echo'), dash: headLen, shift: 0, delay: phase + echoShift, echo: true });+ // Long edges earn a dimmer echo comet half a travel window behind.+ if (len > 340) {+ configs.push({ flow: addPath('tail echo'), dash: trail.length, shift: trail.length - headLen, delay: phase + cycle * 0.31, dasharray: trail.pattern });+ configs.push({ flow: addPath('head echo'), dash: headLen, shift: 0, delay: phase + cycle * 0.31 });+ }configs.forEach(function (cfg) {cfg.flow.style.setProperty('--flow-len', len.toFixed(1) + 'px');cfg.flow.style.setProperty('--flow-delay', cfg.delay.toFixed(3) + 's');cfg.flow.style.setProperty('--flow-dash', cfg.dash.toFixed(1) + 'px');cfg.flow.style.setProperty('--flow-shift', cfg.shift.toFixed(1) + 'px');- // Echoes stay background texture: they never inherit the boost.- if (!cfg.echo) cfg.flow.style.setProperty('--flow-boost', boost.toFixed(2));if (cfg.dasharray) cfg.flow.style.setProperty('--flow-dasharray', cfg.dasharray);});// The sonar pair lands where the comet does; keep it out of the@@ -7606,7 +7578,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-' + kind);tagOverlay(ripple);ripple.style.setProperty('--flow-delay', phase.toFixed(3) + 's');- ripple.style.setProperty('--flow-boost', boost.toFixed(2));shape.parentNode.insertBefore(ripple, anchor.nextSibling);anchor = ripple;});@@ -7629,7 +7600,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.if (!entryPending.size) settleEntry();}function renderAmbient(suppressed) {- html.setAttribute('data-ambient-motion', flowCount ? (suppressed ? 'paused' : 'running') : 'empty');+ html.setAttribute('data-ambient-motion', suppressed ? 'paused' : (flowCount ? 'running' : 'empty'));if (suppressed) {entryStarted = true;settleEntry();@@ -7650,8 +7621,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.removeItem(STORAGE_KEY);- else localStorage.setItem(STORAGE_KEY, 'live');+ if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');+ else localStorage.removeItem(STORAGE_KEY);} catch (_) {}}function reducedMotion() {@@ -7801,7 +7772,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() !== 'live';+ readerPaused = readStored() === 'still';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -14245,9 +14216,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.trigger.setAttribute('aria-label', viewerText('viewer.guide.open'));feedback.textContent = '';if (options.restoreFocus !== false) {- // Return focus where the reader was when the guide opened; the- // trigger itself is only the fallback when that element is gone.- var target = returnFocus && returnFocus.isConnected ? returnFocus : trigger;+ var target = trigger.hidden ? returnFocus : trigger;if (target && typeof target.focus === 'function') target.focus();}return false;@@ -14347,9 +14316,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.execute(action);});document.addEventListener('click', function (event) {- // Clicks anywhere on the trigger (including its icon span) are the- // toggle itself, never an outside dismissal.- if (!panel.hidden && !panel.contains(event.target) && !trigger.contains(event.target)) close({ restoreFocus: false });+ if (!panel.hidden && !panel.contains(event.target) && event.target !== trigger) close({ restoreFocus: false });});renderFacts();@@ -14368,22 +14335,6 @@ OTHER DEALINGS IN THE FONT SOFTWARE.};})();- /* First-visit onboarding: open the Diagram Guide once per browser so a- new reader meets the controls up front instead of discovering them by- accident. Automated checks, embeds, share playback and presentations- never see it. */- (function () {- var WELCOME_KEY = 'archify-guide-welcomed';- try {- if (navigator.webdriver) return;- var root = document.documentElement;- if (root.hasAttribute('data-embed') || root.hasAttribute('data-present') || root.hasAttribute('data-share-playback')) return;- if (window.localStorage.getItem(WELCOME_KEY)) return;- window.localStorage.setItem(WELCOME_KEY, '1');- Archify.guide.open();- } catch (_) {}- })();-/* ============================================================Global keyboard shortcuts? -> open Diagram Guidediff --git a/test/reader-layout-browser.test.mjs b/test/reader-layout-browser.test.mjsindex 6a7840c8..5c1709e9 100644--- a/test/reader-layout-browser.test.mjs+++ b/test/reader-layout-browser.test.mjs@@ -6,6 +6,7 @@ import path from 'node:path';import { execFileSync } from 'node:child_process';import { fileURLToPath, pathToFileURL } from 'node:url';import { ChromeVisualBrowser, findChrome } from '../archify/bin/visual-check.mjs';+import { createViewerClick } from './helpers/viewer-click.mjs';const skillRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', 'archify');const chromeConfigured = Object.prototype.hasOwnProperty.call(process.env, 'ARCHIFY_CHROME');@@ -144,6 +145,26 @@ test('Reader Layout preserves final-artifact behavior across its ownership boundassert.equal(state.shape, wide ? 'wide' : null);}+ await t.test('Guide stays closed for a new reader and its icon toggles reliably', async () => {+ const click = await createViewerClick({ send, run: expression => evaluate(expression, true), timeout: 5000 });+ const manualGuide = variant('manual-guide', { beforeViewer: `+ Object.defineProperty(navigator, 'webdriver', { get: () => false });+ localStorage.removeItem('archify-guide-welcomed');+ localStorage.removeItem('archify-motion');+ ` });+ await load(manualGuide);+ assert.equal(await evaluate('navigator.webdriver'), false, 'Exercise the ordinary reader path.');+ assert.equal(await evaluate('Archify.guide.isOpen()'), false, 'The guide must wait for reader input.');+ assert.equal(await evaluate('Archify.motionGovernor.mode()'), 'live', 'A fresh reader starts Live.');+ assert.equal(await evaluate("localStorage.getItem('archify-guide-welcomed')"), null, 'No onboarding preference is created.');+ for (const expected of [true, false, true, false]) {+ await click('#btn-diagram-guide .diagram-nav-icon');+ assert.equal(await evaluate('Archify.guide.isOpen()'), expected);+ assert.equal(await evaluate("document.getElementById('btn-diagram-guide').getAttribute('aria-expanded')"), String(expected));+ }+ assert.deepEqual((await snapshot('manual-guide-closed')).errors, []);+ });+await t.test('five modes initialize and export clean SVG; a representative reader honors both themes and reduced motion', async () => {for (const [mode, file] of Object.entries(artifacts)) {// Mode seams remain complete; shared theme/reduced-motion behavior uses one representative.