Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
fix: refresh historical public proofs for stable 3.1.0
tt-a1i1c2b42d660e4
diff --git a/docs/cases/mco-runtime.architecture.html b/docs/cases/mco-runtime.architecture.htmlindex 2f152cc3..038ffe74 100644--- a/docs/cases/mco-runtime.architecture.html+++ b/docs/cases/mco-runtime.architecture.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <meta name="generator" content="archify 3.0.2-dev.1">+ <meta name="generator" content="archify 3.1.0"><meta name="archify-reader-contract" content="declared-wide-v1"><title>MCO Runtime Architecture Diagram</title><script>@@ -186,7 +186,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(15, 23, 42, 0.22);--lane-stroke: #334155;- --arrow: #64748b;+ --arrow: #94a3b8;--arrow-emphasis: #34d399;/* Opaque mask color used behind semi-transparent component fills@@ -229,7 +229,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(248, 250, 252, 0.65);--lane-stroke: #cbd5e1;- --arrow: #94a3b8;+ --arrow: #64748b;--arrow-emphasis: #059669;--mask: #ffffff;@@ -2288,6 +2288,41 @@ OTHER DEALINGS IN THE FONT SOFTWARE.font-size: 0.5rem;}.diagram-guide-feedback:empty { display: none; }+ .diagram-guide-credit {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 0.6rem;+ padding: 0.46rem 0.9rem 0.56rem;+ border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 74%, transparent);+ color: var(--text-faint);+ font-size: 0.5rem;+ letter-spacing: 0.02em;+ text-decoration: none;+ }+ .diagram-guide-credit-link {+ display: inline-flex;+ align-items: center;+ gap: 0.28rem;+ flex: none;+ opacity: 0.72;+ transition: opacity 120ms ease, color 120ms ease;+ }+ .diagram-guide-star {+ width: 0.62rem;+ height: 0.62rem;+ background: currentColor;+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ }+ .diagram-guide-credit:hover .diagram-guide-star,+ .diagram-guide-credit:focus-visible .diagram-guide-star {+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ }+ .diagram-guide-credit:hover .diagram-guide-credit-link,+ .diagram-guide-credit:focus-visible .diagram-guide-credit-link { opacity: 1; color: var(--cloud-stroke); }+ .diagram-guide-credit:focus-visible { outline: 2px solid var(--cloud-stroke); outline-offset: -2px; }@keyframes archify-guide-in {from { opacity: 0; transform: translateY(-5px) scale(0.985); }to { opacity: 1; transform: translateY(0) scale(1); }@@ -3550,13 +3585,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.background: transparent;box-shadow: none;}- /* The motion button breathes on the same shared cycle as the cascade, so the- chrome keeps time with the wave it controls. The cycle length lives on the- diagram SVG, so chrome presets mirror it here. */+ /* The motion button breathes on the relay cycle, so the chrome keeps time+ with the wave it controls. Motion Governor mirrors the planned cycle from+ the diagram SVG onto the document. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) #btn-motion .motion-control-dot {animation: archify-motion-dot-breathe var(--flow-cycle-chrome, 6.4s) ease-in-out infinite;}- html[data-preset="signal-flow"] #btn-motion .motion-control-dot { --flow-cycle-chrome: 5.2s; }@keyframes archify-motion-dot-breathe {0%, 100% { opacity: 1; transform: scale(1); }46% { opacity: 0.55; transform: scale(0.72); }@@ -4725,23 +4759,23 @@ OTHER DEALINGS IN THE FONT SOFTWARE..c-region { fill: rgba(251, 191, 36, 0.05); stroke: var(--cloud-stroke); stroke-dasharray: 8,4; }.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. */+ /* Live plays one relay per cycle: a comet (halo, tail, head) leaves each+ source when the signal reaches it, travels at one shared speed, leaves a+ soft wake, and lands as a ripple while its target glows. Downstream edges+ depart only after their source is reached, so the reader sees the path the+ diagram describes rather than every edge shimmering at once. Sequence+ messages relay in authored chronological order. Motion Governor plans the+ timeline and its per-edge keyframes; this stylesheet owns appearance.+ Original line language and markers remain static. Node entry is bounded to+ one pass per document. */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.3;+ --flow-ripple-peak: 0.65;}.ambient-edge-flow {fill: none;@@ -4751,64 +4785,95 @@ OTHER DEALINGS IN THE FONT SOFTWARE.display: none;}.ambient-flow-wake {+ --flow-peak: var(--flow-wake-peak, 0.3);stroke-width: 3.2;stroke-dasharray: var(--flow-dasharray, none);- animation-name: archify-flow-wake;}.ambient-flow-halo {- stroke-width: 5;+ --flow-peak: var(--flow-halo-peak, 0.17);+ 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 {+ --flow-peak: var(--flow-glow-peak, 0.5);+ stroke-width: 9;+ stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));+ filter: blur(2.5px);}.ambient-flow-tail {+ --flow-peak: var(--flow-tail-peak, 0.42);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;+ --flow-peak: var(--flow-head-peak, 0.95);+ 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;}- .ambient-flow-head.echo { --flow-echo-scale: 0.76; }- .ambient-flow-tail.echo { --flow-echo-scale: 0.53; }.ambient-flow-ripple {+ --flow-peak: var(--flow-ripple-peak, 0.65);stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);stroke-width: 2;- animation-name: archify-flow-ripple;- }- .ambient-flow-ripple-echo {- stroke-width: 1.2;- animation-name: archify-flow-ripple-echo;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) .ambient-edge-flow {display: inline;+ animation-name: var(--flow-name, none);animation-duration: var(--flow-cycle, 6.4s);animation-timing-function: linear;animation-iteration-count: infinite;animation-delay: var(--flow-delay, 0s);/* Without backwards fill a delayed layer would sit at its natural opacity- (fully lit) until its phase arrives. */+ (fully lit) until its departure arrives. */animation-fill-mode: backwards;}+ /* Stream packets trail the comet head as smaller, dimmer beads. */+ .ambient-flow-head.packet {+ --flow-peak: calc(var(--flow-head-peak, 0.95) * 0.62);+ stroke-width: 3.4;+ }+ /* Timeline and waterfall playhead: a crisp rule over a soft bloom. */+ .ambient-flow-playhead {+ --flow-peak: 0.9;+ stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);+ stroke-width: 1.6;+ }+ .ambient-flow-playhead-glow {+ --flow-peak: 0.32;+ stroke-width: 10;+ filter: blur(4px);+ }+ /* Waterfall spans fill in proportion to their measured time, then settle. */+ .ambient-flow-fill {+ --flow-peak: 0.5;+ fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 55%, white);+ stroke: none;+ transform-box: fill-box;+ transform-origin: left center;+ }+ .ambient-flow-fill-failed { fill: var(--security-stroke); --flow-peak: 0.5; }+ html[data-theme="light"] .ambient-flow-playhead { stroke: color-mix(in srgb, var(--arrow-emphasis) 70%, black); }+ html[data-theme="light"] .ambient-flow-fill { --flow-peak: 0.42; fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 70%, black); }+ svg[data-preset="editorial"] .ambient-flow-fill { --flow-peak: 0.2; }+ svg[data-preset="editorial"] .ambient-flow-playhead-glow { --flow-peak: 0.14; }/* Each decorative flow follows its owning edge through tree visibility. */.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; }- /* On light canvases the cascade reads by saturation instead of bloom: the- head and inner ripple mix toward ink instead of white, and every layer's- peak rises so the wave survives the bright background. */+ 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.14; --flow-ripple-peak: 0.3; }+ /* On light canvases the relay reads by saturation instead of bloom: the head+ and ripple mix toward ink instead of white, and every layer's peak 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;+ --flow-wake-peak: 0.34;}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);@@ -4831,77 +4896,33 @@ OTHER DEALINGS IN THE FONT SOFTWARE.animation: archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- /* Node glow follows each node's authored step on the shared cycle; it does- not track incoming edge arrivals. During the bounded entrance all three- animations run; the entrance pulse is listed after the repeating glow and- wins on filter until it completes. */+ /* Each node glows in its planned windows: when the relay reaches it, while a+ walk token rests on it, as a message lands, or as the playhead passes.+ During the bounded entrance all three animations run; the entrance pulse is+ listed after the repeating glow and wins on filter until it completes. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s));+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.6s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.1s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-blueprint-node-pulse 3.8s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- @keyframes archify-flow-wake {- 0% { opacity: 0; }- 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: 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: 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.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.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)); }- 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)); }- 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; }- }- @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; }- }- @keyframes archify-node-receive {- 0%, 100% { filter: var(--ambient-node-base-filter, none); }- 5%, 12% { filter: var(--ambient-node-base-filter,) drop-shadow(0 0 9px var(--arrow-emphasis)); }- }@keyframes archify-node-enter {from { opacity: 0; }to { opacity: 1; }@@ -5135,11 +5156,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</div><script id="archify-source-evidence-data" type="application/json">{"schemaVersion":1,"verified":true,"repository":{"url":"https://github.com/mco-org/mco","revision":"9f1a1cf1afdc04d7b5406782b40dfec76d9bc798","shortRevision":"9f1a1cf","label":"mco-org/mco","href":"https://github.com/mco-org/mco/tree/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798"},"referenceCount":13,"nodes":{"entry":[{"path":"bin/mco.js","line":1,"label":"npm entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/bin/mco.js#L1"},{"path":"runtime/mcp_server.py","line":108,"endLine":153,"label":"MCP entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/mcp_server.py#L108-L153"}],"router":[{"path":"runtime/cli.py","line":1945,"label":"CLI main","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/cli.py#L1945"}],"config":[{"path":"runtime/config.py","line":24,"label":"Review config","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/config.py#L24"}],"policy":[{"path":"runtime/policy.py","line":34,"label":"Provider policy","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/policy.py#L34"}],"workflow":[{"path":"runtime/invocation_runtime.py","line":696,"label":"Workflow entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L696"},{"path":"runtime/invocation_runtime.py","line":156,"label":"Single invocation","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L156"}],"adapters":[{"path":"runtime/adapters/__init__.py","line":57,"label":"Adapter registry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/adapters/__init__.py#L57"},{"path":"runtime/contracts.py","line":77,"label":"Provider contract","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/contracts.py#L77"}],"answer_transport":[{"path":"runtime/answer_transport.py","line":79,"label":"Transport decoders","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/answer_transport.py#L79"}],"artifacts":[{"path":"runtime/invocation_artifacts.py","line":8,"label":"Artifact writer","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_artifacts.py#L8"}],"session_daemon":[{"path":"runtime/session/daemon.py","line":50,"label":"Daemon context","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/daemon.py#L50"}],"session_state":[{"path":"runtime/session/state.py","line":25,"label":"Session state","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/state.py#L25"}]}}</script>- <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script>+ <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.credit":"Find Archify useful? A star on GitHub helps","viewer.guide.star":"Star","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script><!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1310 648" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="signal-flow" data-quality-profile="showcase" data-reader-fit="intrinsic-height" data-reader-min-text="7.5" data-reader-primary-text="14">+ <svg viewBox="0 0 1310 648" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="signal-flow" data-quality-profile="showcase" data-node-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5" data-reader-primary-text="14"><title id="archify-diagram-title">MCO Runtime Architecture</title><desc id="archify-diagram-description">mco-org/mco · explicit provider policy · parallel invocation · durable raw answers</desc><!-- Definitions -->@@ -5160,6 +5181,27 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<path d="M 40 0 L 0 0 0 40" class="c-grid" stroke-width="0.5"/></pattern></defs>+ <style>+ svg[data-node-ui] [data-node-id] > rect:not(.c-mask) { stroke-width: 1.25px; }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-frontend { fill: color-mix(in srgb, var(--frontend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--frontend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-backend { fill: color-mix(in srgb, var(--backend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--backend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-database { fill: color-mix(in srgb, var(--database-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--database-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-cloud { fill: color-mix(in srgb, var(--cloud-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-security { fill: color-mix(in srgb, var(--security-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-messagebus { fill: color-mix(in srgb, var(--messagebus-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--messagebus-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-external { fill: color-mix(in srgb, var(--external-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--external-stroke) 72%, var(--mask)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-region { fill: color-mix(in srgb, var(--cloud-stroke) 3%, transparent); stroke: color-mix(in srgb, var(--cloud-stroke) 42%, var(--lane-stroke)); stroke-dasharray: none; }+ svg[data-node-ui] .c-security-group { stroke: color-mix(in srgb, var(--security-stroke) 58%, var(--lane-stroke)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-security-group { stroke-dasharray: 4 3; }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-lane { stroke: var(--lane-stroke); stroke-dasharray: none; }+ svg[data-node-ui] [data-graph-role="structural-frame-label-mask"] { rx: 5px; fill: color-mix(in srgb, var(--cloud-stroke) 10%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 38%, var(--mask)); stroke-width: .8px; }+ svg[data-node-ui] [data-composition-frame-kind="security-group"] > [data-graph-role="structural-frame-label-mask"] { fill: color-mix(in srgb, var(--security-stroke) 9%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 36%, var(--mask)); }+ svg[data-node-ui] .phase-rule { opacity: .5; stroke-dasharray: none; }+ svg[data-node-ui] .phase-chip { stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui] g[data-edge-from] > rect.c-mask { rx: 7px; stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui][data-preset="blueprint"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 2px; }+ svg[data-node-ui][data-preset="editorial"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 3px; }+ </style><!-- Background Grid --><rect width="100%" height="100%" fill="url(#grid)" />@@ -5219,8 +5261,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Components --><g id="node-callers" data-node-id="callers" data-node-label="Callers" tabindex="0" role="button" aria-label="Focus Callers, human · coding agent, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="human · coding agent" data-node-context="Architecture component"><title>Callers · human · coding agent · Architecture component</title>- <rect x="5" y="250" width="130" height="60" rx="6" class="c-mask"/>- <rect x="5" y="250" width="130" height="60" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>+ <rect x="5" y="250" width="130" height="60" rx="8" class="c-mask"/>+ <rect x="5" y="250" width="130" height="60" rx="8" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(11 256) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5231,8 +5273,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-entry" data-node-id="entry" data-node-label="Entry Surfaces" tabindex="0" role="button" aria-label="Focus Entry Surfaces, npm shim · Python CLI · MCP, mco local package / Python runtime" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="npm shim · Python CLI · MCP" data-node-context="mco local package / Python runtime"><title>Entry Surfaces · npm shim · Python CLI · MCP · mco local package / Python runtime</title>- <rect x="175" y="250" width="160" height="60" rx="6" class="c-mask"/>- <rect x="175" y="250" width="160" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/>+ <rect x="175" y="250" width="160" height="60" rx="8" class="c-mask"/>+ <rect x="175" y="250" width="160" height="60" rx="8" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(181 256) scale(0.6875)"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M2 6.5h12"/>@@ -5245,8 +5287,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-router" data-node-id="router" data-node-label="Command Router" tabindex="0" role="button" aria-label="Focus Command Router, run · review · doctor · session, mco local package / Python runtime" aria-pressed="false" data-node-kind="backend" data-node-sublabel="run · review · doctor · session" data-node-context="mco local package / Python runtime"><title>Command Router · run · review · doctor · session · mco local package / Python runtime</title>- <rect x="360" y="250" width="180" height="60" rx="6" class="c-mask"/>- <rect x="360" y="250" width="180" height="60" rx="6" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/>+ <rect x="360" y="250" width="180" height="60" rx="8" class="c-mask"/>+ <rect x="360" y="250" width="180" height="60" rx="8" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(366 256) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5256,8 +5298,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-config" data-node-id="config" data-node-label="Config + Selection" tabindex="0" role="button" aria-label="Focus Config + Selection, files · explicit provider team, mco local package / Python runtime" aria-pressed="false" data-node-kind="database" data-node-sublabel="files · explicit provider team" data-node-tag="no silent team" data-node-context="mco local package / Python runtime"><title>Config + Selection · files · explicit provider team · mco local package / Python runtime · no silent team</title>- <rect x="565" y="110" width="175" height="60" rx="6" class="c-mask"/>- <rect x="565" y="110" width="175" height="60" rx="6" class="c-database" data-animate="node" style="--step:3" stroke-width="1.5"/>+ <rect x="565" y="110" width="175" height="60" rx="8" class="c-mask"/>+ <rect x="565" y="110" width="175" height="60" rx="8" class="c-database" data-animate="node" style="--step:3" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(571 116) scale(0.6875)"><ellipse cx="8" cy="4" rx="5" ry="2"/><path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>@@ -5269,8 +5311,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-policy" data-node-id="policy" data-node-label="Execution Policy" tabindex="0" role="button" aria-label="Focus Execution Policy, read_only · write · yolo, mco local package / Python runtime › explicit execution-policy boundary" aria-pressed="false" data-node-kind="security" data-node-sublabel="read_only · write · yolo" data-node-tag="explicit boundary" data-node-context="mco local package / Python runtime › explicit execution-policy boundary"><title>Execution Policy · read_only · write · yolo · mco local package / Python runtime › explicit execution-policy boundary · explicit boundary</title>- <rect x="565" y="250" width="175" height="60" rx="6" class="c-mask"/>- <rect x="565" y="250" width="175" height="60" rx="6" class="c-security" data-animate="node" style="--step:3" stroke-width="1.5"/>+ <rect x="565" y="250" width="175" height="60" rx="8" class="c-mask"/>+ <rect x="565" y="250" width="175" height="60" rx="8" class="c-security" data-animate="node" style="--step:3" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="security" class="semantic-sigil s-security" transform="translate(571 256) scale(0.6875)"><path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/>@@ -5282,8 +5324,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-workflow" data-node-id="workflow" data-node-label="Invocation Workflow" tabindex="0" role="button" aria-label="Focus Invocation Workflow, parallel · chain · debate · synthesize, mco local package / Python runtime › explicit execution-policy boundary" aria-pressed="false" data-node-kind="backend" data-node-sublabel="parallel · chain · debate · synthesize" data-node-context="mco local package / Python runtime › explicit execution-policy boundary"><title>Invocation Workflow · parallel · chain · debate · synthesize · mco local package / Python runtime › explicit execution-policy boundary</title>- <rect x="765" y="250" width="220" height="60" rx="6" class="c-mask"/>- <rect x="765" y="250" width="220" height="60" rx="6" class="c-backend" data-animate="node" style="--step:5" stroke-width="1.5"/>+ <rect x="765" y="250" width="220" height="60" rx="8" class="c-mask"/>+ <rect x="765" y="250" width="220" height="60" rx="8" class="c-backend" data-animate="node" style="--step:5" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(771 256) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5293,8 +5335,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-adapters" data-node-id="adapters" data-node-label="Provider Adapters" tabindex="0" role="button" aria-label="Focus Provider Adapters, shim / ACP · detect · run · poll · cancel, mco local package / Python runtime › explicit execution-policy boundary" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="shim / ACP · detect · run · poll · cancel" data-node-context="mco local package / Python runtime › explicit execution-policy boundary"><title>Provider Adapters · shim / ACP · detect · run · poll · cancel · mco local package / Python runtime › explicit execution-policy boundary</title>- <rect x="1010" y="250" width="230" height="60" rx="6" class="c-mask"/>- <rect x="1010" y="250" width="230" height="60" rx="6" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/>+ <rect x="1010" y="250" width="230" height="60" rx="8" class="c-mask"/>+ <rect x="1010" y="250" width="230" height="60" rx="8" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(1016 256) scale(0.6875)"><path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/><circle cx="5" cy="4.5" r="1" class="sigil-fill"/>@@ -5307,8 +5349,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-provider_clis" data-node-id="provider_clis" data-node-label="Provider CLIs" tabindex="0" role="button" aria-label="Focus Provider CLIs, Claude · Codex · Pi · 7 more, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="Claude · Codex · Pi · 7 more" data-node-context="Architecture component"><title>Provider CLIs · Claude · Codex · Pi · 7 more · Architecture component</title>- <rect x="1035" y="0" width="180" height="60" rx="6" class="c-mask"/>- <rect x="1035" y="0" width="180" height="60" rx="6" class="c-external" data-animate="node" style="--step:7" stroke-width="1.5"/>+ <rect x="1035" y="0" width="180" height="60" rx="8" class="c-mask"/>+ <rect x="1035" y="0" width="180" height="60" rx="8" class="c-external" data-animate="node" style="--step:7" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(1041 6) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5319,8 +5361,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-answer_transport" data-node-id="answer_transport" data-node-label="Answer Transport" tabindex="0" role="button" aria-label="Focus Answer Transport, plain · JSON · JSONL · ACP events, mco local package / Python runtime" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="plain · JSON · JSONL · ACP events" data-node-context="mco local package / Python runtime"><title>Answer Transport · plain · JSON · JSONL · ACP events · mco local package / Python runtime</title>- <rect x="765" y="420" width="190" height="60" rx="6" class="c-mask"/>- <rect x="765" y="420" width="190" height="60" rx="6" class="c-messagebus" data-animate="node" style="--step:8" stroke-width="1.5"/>+ <rect x="765" y="420" width="190" height="60" rx="8" class="c-mask"/>+ <rect x="765" y="420" width="190" height="60" rx="8" class="c-messagebus" data-animate="node" style="--step:8" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(771 426) scale(0.6875)"><path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/><circle cx="5" cy="4.5" r="1" class="sigil-fill"/>@@ -5333,8 +5375,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-artifacts" data-node-id="artifacts" data-node-label="Invocation Artifacts" tabindex="0" role="button" aria-label="Focus Invocation Artifacts, answers · result.md · run.json, mco local package / Python runtime" aria-pressed="false" data-node-kind="cloud" data-node-sublabel="answers · result.md · run.json" data-node-tag="raw evidence" data-node-context="mco local package / Python runtime"><title>Invocation Artifacts · answers · result.md · run.json · mco local package / Python runtime · raw evidence</title>- <rect x="1010" y="420" width="170" height="60" rx="6" class="c-mask"/>- <rect x="1010" y="420" width="170" height="60" rx="6" class="c-cloud" data-animate="node" style="--step:9" stroke-width="1.5"/>+ <rect x="1010" y="420" width="170" height="60" rx="8" class="c-mask"/>+ <rect x="1010" y="420" width="170" height="60" rx="8" class="c-cloud" data-animate="node" style="--step:9" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="cloud" class="semantic-sigil s-cloud" transform="translate(1016 426) scale(0.6875)"><path d="M4.3 12.5h7.3a2.4 2.4 0 0 0 .2-4.8 4 4 0 0 0-7.5-1.3A3.1 3.1 0 0 0 4.3 12.5Z"/></g>@@ -5345,8 +5387,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-consumers" data-node-id="consumers" data-node-label="Output Consumers" tabindex="0" role="button" aria-label="Focus Output Consumers, terminal · calling agent · CI, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="terminal · calling agent · CI" data-node-context="Architecture component"><title>Output Consumers · terminal · calling agent · CI · Architecture component</title>- <rect x="1005" y="520" width="180" height="60" rx="6" class="c-mask"/>- <rect x="1005" y="520" width="180" height="60" rx="6" class="c-external" data-animate="node" style="--step:10" stroke-width="1.5"/>+ <rect x="1005" y="520" width="180" height="60" rx="8" class="c-mask"/>+ <rect x="1005" y="520" width="180" height="60" rx="8" class="c-external" data-animate="node" style="--step:10" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(1011 526) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5357,8 +5399,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-session_daemon" data-node-id="session_daemon" data-node-label="Session Daemon" tabindex="0" role="button" aria-label="Focus Session Daemon, detached worker · Unix socket, mco local package / Python runtime" aria-pressed="false" data-node-kind="backend" data-node-sublabel="detached worker · Unix socket" data-node-context="mco local package / Python runtime"><title>Session Daemon · detached worker · Unix socket · mco local package / Python runtime</title>- <rect x="365" y="420" width="170" height="60" rx="6" class="c-mask"/>- <rect x="365" y="420" width="170" height="60" rx="6" class="c-backend" data-animate="node" style="--step:11" stroke-width="1.5"/>+ <rect x="365" y="420" width="170" height="60" rx="8" class="c-mask"/>+ <rect x="365" y="420" width="170" height="60" rx="8" class="c-backend" data-animate="node" style="--step:11" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(371 426) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5368,8 +5410,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-session_state" data-node-id="session_state" data-node-label="Session State" tabindex="0" role="button" aria-label="Focus Session State, state.json · history.jsonl, mco local package / Python runtime" aria-pressed="false" data-node-kind="database" data-node-sublabel="state.json · history.jsonl" data-node-tag=".mco/sessions" data-node-context="mco local package / Python runtime"><title>Session State · state.json · history.jsonl · mco local package / Python runtime · .mco/sessions</title>- <rect x="565" y="420" width="170" height="60" rx="6" class="c-mask"/>- <rect x="565" y="420" width="170" height="60" rx="6" class="c-database" data-animate="node" style="--step:12" stroke-width="1.5"/>+ <rect x="565" y="420" width="170" height="60" rx="8" class="c-mask"/>+ <rect x="565" y="420" width="170" height="60" rx="8" class="c-database" data-animate="node" style="--step:12" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(571 426) scale(0.6875)"><ellipse cx="8" cy="4" rx="5" ry="2"/><path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>@@ -5493,6 +5535,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<span><kbd>E</kbd> Export</span><span><kbd>T</kbd> Theme</span><span><kbd>S</kbd> Style</span><span><kbd>0</kbd> Reset</span><span><kbd>+</kbd> Zoom in</span><span><kbd>-</kbd> Zoom out</span><span><kbd>Esc</kbd> Close</span></div><p class="diagram-guide-feedback" id="diagram-guide-feedback" aria-live="polite"></p>+ <a class="diagram-guide-credit" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener noreferrer"><span>Find Archify useful? A star on GitHub helps</span><span class="diagram-guide-credit-link"><span class="diagram-guide-star" aria-hidden="true"></span>Star <span aria-hidden="true">↗</span></span></a></div><div class="node-finder no-print" id="node-finder" hidden role="dialog" aria-modal="false" aria-labelledby="node-finder-title"><div class="node-finder-head">@@ -5613,7 +5656,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>@@ -5708,6 +5751,40 @@ OTHER DEALINGS IN THE FONT SOFTWARE..replace(/\b\w/g, function (letter) { return letter.toUpperCase(); });}+ function readerLink(state) {+ var template = document.documentElement.getAttribute('data-reading-link-template');+ if (template === null) return location.href.replace(/#.*$/, '') + '#' + state;+ if (!template || template.length > 4096 || template.split('{state}').length !== 2) return null;+ try {+ var url = new URL(template.replace('{state}', encodeURIComponent(state)));+ if (['http:', 'https:', 'file:'].indexOf(url.protocol) === -1 || url.username || url.password) return null;+ return url.href;+ } catch (_) { return null; }+ }++ function copyReaderText(value) {+ function fallbackCopy() {+ var field = document.createElement('textarea');+ field.value = value;+ field.setAttribute('readonly', '');+ field.style.position = 'fixed';+ field.style.opacity = '0';+ document.body.appendChild(field);+ field.select();+ var copied = false;+ try { copied = document.execCommand('copy'); } catch (_) {}+ field.remove();+ return copied;+ }+ var policy = document.permissionsPolicy || document.featurePolicy;+ var allowed = !policy || typeof policy.allowsFeature !== 'function' || policy.allowsFeature('clipboard-write');+ if (allowed && navigator.clipboard && typeof navigator.clipboard.writeText === 'function') {+ try { return Promise.resolve(navigator.clipboard.writeText(value)).then(function () { return true; }).catch(fallbackCopy); }+ catch (_) {}+ }+ return Promise.resolve(fallbackCopy());+ }+function hasDrawableGeometry(element) {if (!element || element.hasAttribute('data-ambient-flow-overlay')) return false;var geometries = /^(path|line|polyline)$/i.test(element.tagName)@@ -6516,7 +6593,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);@@ -6887,7 +6966,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;@@ -7044,73 +7122,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); }});}@@ -7498,36 +7602,321 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// Runtime decoration carries geometry and tree visibility only. Keep each// flow beside its authored edge so transforms, clipping and crossover// paint order apply.- // Each edge carries a small light show: a comet (halo, tail, head)- // cascading downstream on one shared cycle, a lingering wake, and a- // ripple where the comet lands. Phases follow the authored step order:- // source-node rank where known, chronological message order in sequence- // diagrams.- function readSecondsVar(name, fallback) {- var value = '';- try { value = window.getComputedStyle(svg).getPropertyValue(name); } catch (_) {}- var seconds = parseFloat(value);- return Number.isFinite(seconds) && seconds > 0 ? seconds : fallback;- }- function nodeStep(from) {- // Authored IDs follow the schema's conservative identifier pattern, so- // direct selector interpolation stays safe here. The semantic wrapper- // groups the animated shape; its authored step ranks the node.- var node = from ? svg.querySelector('[data-node-id="' + from + '"]') : null;- var shape = node ? node.querySelector('[data-animate="node"]') : null;- return shape && shape.style ? shape.style.getPropertyValue('--step') : '';- }- function edgePhase(shape, fallbackStep) {- // Sequence messages have no data-edge-from; their own authored step is- // already chronological, which is the right phase there.- var raw = nodeStep(shape.getAttribute('data-edge-from'));- if (raw === '' && shape.style) raw = shape.style.getPropertyValue('--step');- var step = parseFloat(raw);- return Number.isFinite(step) ? step : fallbackStep;+ // Each renderer may declare a choreography that matches what its diagram+ // means. Relay (the default) sends a comet from each source when the+ // signal reaches it; stream adds a packet train for continuous data; walk+ // moves one token along the main state path; sequence plays messages in+ // authored order; sweep runs a playhead along a timeline; replay fills+ // waterfall spans in proportion to their measured time. Motion Governor+ // plans the timeline and per-element keyframes; viewer.css owns looks.+ var SVG_NS = 'http://www.w3.org/2000/svg';+ var choreography = svg ? (svg.getAttribute('data-motion-choreography') || 'relay') : 'relay';+ var RELAY = {+ speed: 280,+ minTravel: 0.42,+ maxTravel: 1.5,+ handoff: 0.1,+ dwell: 0.55,+ maxSpan: 9,+ land: 0.9,+ rest: 1.4,+ minCycle: 3.6+ };+ function stepOf(element, fallback) {+ var step = parseFloat(element && element.style ? element.style.getPropertyValue('--step') : '');+ return Number.isFinite(step) ? step : fallback;+ }+ function byStep(a, b) { return a.step - b.step || a.index - b.index; }+ function addWindow(windows, id, start, end, strong) {+ if (!id) return;+ (windows[id] = windows[id] || []).push({ start: start, end: end, strong: !!strong });+ }+ function planRelay(records, windows) {+ var arrive = Object.create(null);+ var seeded = Object.create(null);+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ function seed(id) {+ if (arrive[id] !== undefined) return;+ arrive[id] = 0;+ seeded[id] = true;+ }+ function relax() {+ // Earliest arrival over a few dozen edges; a scan per settle keeps+ // cycles and fan-in deterministic without a priority queue.+ var settled = Object.create(null);+ for (;;) {+ var next = null;+ Object.keys(arrive).forEach(function (id) {+ if (!settled[id] && (next === null || arrive[id] < arrive[next])) next = id;+ });+ if (next === null) return;+ settled[next] = true;+ var depart = arrive[next] + (seeded[next] ? 0 : RELAY.handoff);+ records.forEach(function (record) {+ if (record.from !== next) return;+ var at = depart + record.travel;+ if (arrive[record.to] === undefined || at < arrive[record.to]) arrive[record.to] = at;+ });+ }+ }+ records.forEach(function (record) { if (!targets[record.from]) seed(record.from); });+ relax();+ for (;;) {+ // A closed cycle has no entry; start it at its earliest authored edge.+ var orphan = records.filter(function (record) { return arrive[record.from] === undefined; }).sort(byStep)[0];+ if (!orphan) break;+ seed(orphan.from);+ relax();+ }+ records.forEach(function (record) {+ record.depart = arrive[record.from] + (seeded[record.from] ? 0 : RELAY.handoff);+ record.active = true;+ });+ Object.keys(arrive).forEach(function (id) { addWindow(windows, id, arrive[id], arrive[id]); });+ }+ function planWalk(records, windows) {+ // A state machine is in one state at a time: follow the first authored+ // transition to an unvisited state and let the current state stay lit.+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ var ordered = records.slice().sort(byStep);+ var start = (ordered.find(function (record) { return !targets[record.from]; }) || ordered[0]).from;+ var visited = Object.create(null);+ var current = start;+ var clock = 0;+ var enteredAt = 0;+ visited[start] = true;+ for (var hops = 0; hops < 16; hops += 1) {+ var next = ordered.find(function (record) { return record.from === current && !visited[record.to]; });+ if (!next) break;+ next.active = true;+ next.depart = clock + RELAY.dwell;+ addWindow(windows, current, enteredAt, next.depart, true);+ clock = next.depart + next.travel;+ enteredAt = clock;+ current = next.to;+ visited[current] = true;+ }+ addWindow(windows, current, enteredAt, enteredAt + 1.2, true);+ }+ function planSequence(records, windows) {+ var clock = 0;+ records.slice().sort(byStep).forEach(function (record) {+ record.active = true;+ record.depart = clock;+ clock += record.travel + RELAY.handoff;+ addWindow(windows, record.from, record.depart, record.depart);+ addWindow(windows, record.to, record.depart + record.travel, record.depart + record.travel);+ });+ }+ function scalePlan(records, windows, span) {+ var scale = span > RELAY.maxSpan ? RELAY.maxSpan / span : 1;+ if (scale === 1) return span;+ records.forEach(function (record) {+ if (!record.active) return;+ record.depart *= scale;+ record.travel *= scale;+ });+ Object.keys(windows).forEach(function (id) {+ windows[id].forEach(function (window) { window.start *= scale; window.end *= scale; });+ });+ return span * scale;+ }+ function nodeShapes() {+ var shapes = Object.create(null);+ Array.prototype.forEach.call(svg.querySelectorAll('[data-animate="node"]'), function (shape) {+ var wrapper = shape.closest('[data-node-id]');+ var id = wrapper ? wrapper.getAttribute('data-node-id') : '';+ if (id) (shapes[id] = shapes[id] || []).push(shape);+ });+ return shapes;+ }+ function sceneBounds(elements) {+ var box = null;+ elements.forEach(function (element) {+ var b = null;+ try { b = element.getBBox(); } catch (_) {}+ if (!b || !(b.width || b.height)) return;+ if (!box) box = { x: b.x, y: b.y, right: b.x + b.width, bottom: b.y + b.height };+ else {+ box.x = Math.min(box.x, b.x); box.y = Math.min(box.y, b.y);+ box.right = Math.max(box.right, b.x + b.width); box.bottom = Math.max(box.bottom, b.y + b.height);+ }+ });+ return box;+ }+ function overlay(tag, cls, attrs, parent, before) {+ var element = document.createElementNS(SVG_NS, tag);+ Object.keys(attrs).forEach(function (name) { element.setAttribute(name, attrs[name]); });+ element.setAttribute('class', 'ambient-edge-flow ' + cls);+ element.setAttribute('data-ambient-flow-overlay', 'true');+ element.setAttribute('aria-hidden', 'true');+ parent.insertBefore(element, before || null);+ return element;+ }+ // Timeline and waterfall share a playhead: a lit vertical rule and its+ // bloom travel the time axis linearly, because time is the subject.+ function addPlayhead(box, x0, x1, lead, sweep, extras) {+ var anchor = svg.querySelector('[data-node-id]');+ var parent = anchor ? anchor.parentNode : svg;+ var attrs = { x1: x0.toFixed(1), x2: x0.toFixed(1), y1: (box.y - 10).toFixed(1), y2: (box.bottom + 10).toFixed(1) };+ ['playhead-glow', 'playhead'].forEach(function (kind) {+ var line = overlay('line', 'ambient-flow-' + kind, attrs, parent, anchor);+ line.style.setProperty('--flow-name', 'archify-motion-playhead');+ extras.push(line);+ });+ extras.playhead = { distance: x1 - x0, lead: lead, sweep: sweep };+ }+ function planSweep(windows, extras) {+ var events = Array.prototype.filter.call(svg.querySelectorAll('[data-node-id][data-timeline-x]'), function (node) {+ return Number.isFinite(parseFloat(node.getAttribute('data-timeline-x')));+ });+ if (!events.length) return 0;+ var xs = events.map(function (node) { return parseFloat(node.getAttribute('data-timeline-x')); });+ var x0 = Math.min.apply(null, xs), x1 = Math.max.apply(null, xs);+ var lead = 0.35;+ var sweep = Math.min(7, Math.max(3.2, events.length * 0.6));+ events.forEach(function (node, index) {+ var at = lead + (x1 > x0 ? (xs[index] - x0) / (x1 - x0) : 0) * sweep;+ addWindow(windows, node.getAttribute('data-node-id'), at, at + 0.35, true);+ });+ var box = sceneBounds(Array.prototype.slice.call(svg.querySelectorAll('[data-timeline-lane]')));+ if (box && x1 > x0) addPlayhead(box, x0, x1, lead, sweep, extras);+ return lead + sweep + 0.6;+ }+ function planReplay(windows, extras) {+ var spans = [];+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id][data-waterfall-start]'), function (node) {+ var start = parseFloat(node.getAttribute('data-waterfall-start'));+ var end = parseFloat(node.getAttribute('data-waterfall-end'));+ var bar = node.querySelector('[data-animate="node"]');+ if (!bar || !Number.isFinite(start) || !(end >= start)) return;+ var width = parseFloat(bar.getAttribute('width'));+ var x = parseFloat(bar.getAttribute('x'));+ if (!(width > 0) || !Number.isFinite(x)) return;+ spans.push({ node: node, bar: bar, start: start, end: end, x: x, width: width });+ });+ if (!spans.length) return 0;+ var t0 = Math.min.apply(null, spans.map(function (span) { return span.start; }));+ var t1 = Math.max.apply(null, spans.map(function (span) { return span.end; }));+ if (!(t1 > t0)) return 0;+ var ruler = spans.reduce(function (best, span) { return span.end - span.start > best.end - best.start ? span : best; });+ var pxPerUnit = ruler.width / Math.max(ruler.end - ruler.start, 1e-9);+ var x0 = ruler.x - (ruler.start - t0) * pxPerUnit;+ var lead = 0.35;+ var replay = Math.min(6, Math.max(3.4, spans.length * 0.45));+ var at = function (t) { return lead + (t - t0) / (t1 - t0) * replay; };+ var settle = lead + replay + 0.9;+ spans.forEach(function (span) {+ var fill = overlay('rect', 'ambient-flow-fill', {+ x: span.bar.getAttribute('x'), y: span.bar.getAttribute('y'),+ width: span.bar.getAttribute('width'), height: span.bar.getAttribute('height'),+ rx: span.bar.getAttribute('rx') || '0'+ }, span.bar.parentNode, span.bar.nextSibling);+ var tone = /(?:^|\s)c-([a-z]+)(?:\s|$)/.exec(span.bar.getAttribute('class') || '');+ if (tone) fill.style.setProperty('--flow-fill', 'var(--' + tone[1] + '-stroke)');+ if (span.node.getAttribute('data-waterfall-status') && span.node.getAttribute('data-waterfall-status') !== 'ok') {+ fill.classList.add('ambient-flow-fill-failed');+ }+ fill.timing = { start: at(span.start), end: Math.max(at(span.end), at(span.start) + 0.08), settle: settle };+ extras.push(fill);+ addWindow(windows, span.node.getAttribute('data-node-id'), fill.timing.end, fill.timing.end);+ });+ var box = sceneBounds(spans.map(function (span) { return span.bar; }));+ if (box) addPlayhead(box, x0, x0 + (t1 - t0) * pxPerUnit, lead, replay, extras);+ return settle;+ }+ function writeKeyframes(records, windows, extras, cycle) {+ function at(seconds) {+ return (Math.min(100, Math.max(0, seconds / cycle * 100))).toFixed(3) + '%';+ }+ var ease = 'animation-timing-function: cubic-bezier(0.45, 0.05, 0.35, 1);';+ var rules = [+ '@keyframes archify-relay-ripple {',+ ' 0% { r: 2px; opacity: var(--flow-peak, 0.6); }',+ ' ' + at(0.75) + ', 100% { r: 20px; opacity: 0; }',+ '}'+ ];+ records.forEach(function (record) {+ if (!record.active) return;+ var travel = record.travel;+ rules.push(+ '@keyframes archify-relay-comet-' + record.index + ' {',+ ' 0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 0px)); opacity: 0; ' + ease + ' }',+ ' ' + at(Math.min(0.12, travel * 0.2)) + ' { opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel) + ' { stroke-dashoffset: var(--flow-shift, 0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel + 0.16) + ', 100% { stroke-dashoffset: var(--flow-shift, 0px); opacity: 0; }',+ '}',+ // A solid wake draws the travelled path behind the head on the same+ // easing; a dashed wake only brightens its authored segments.+ '@keyframes archify-relay-wake-' + record.index + ' {',+ record.dashed+ ? ' 0%, ' + at(travel * 0.3) + ' { opacity: 0; }'+ : ' 0% { stroke-dashoffset: var(--flow-len, 0px); opacity: var(--flow-peak, 0.3); ' + ease + ' }',+ record.dashed+ ? ' ' + at(travel) + ' { opacity: var(--flow-peak, 0.3); }'+ : ' ' + at(travel) + ' { stroke-dashoffset: 0px; opacity: var(--flow-peak, 0.3); }',+ ' ' + at(travel + 0.9) + ', 100% { stroke-dashoffset: 0px; opacity: 0; }',+ '}'+ );+ });+ var glow = function (strong) {+ return 'filter: var(--ambient-node-base-filter,) drop-shadow(0 0 ' + (strong ? 14 : 10) + 'px var(--arrow-emphasis));';+ };+ var base = 'filter: var(--ambient-node-base-filter, none);';+ Object.keys(windows).forEach(function (id, index) {+ var merged = [];+ windows[id].slice().sort(function (a, b) { return a.start - b.start; }).forEach(function (window) {+ var peakEnd = Math.max(window.end, window.start + 0.42);+ var last = merged[merged.length - 1];+ if (last && window.start <= last.peakEnd + 0.78) {+ last.peakEnd = Math.max(last.peakEnd, peakEnd);+ last.strong = last.strong || window.strong;+ } else merged.push({ start: window.start, peakEnd: peakEnd, strong: window.strong });+ });+ var frames = [' 0%, 100% { ' + base + ' }'];+ merged.forEach(function (window) {+ frames.push(+ ' ' + at(window.start) + ' { ' + base + ' }',+ ' ' + at(window.start + 0.12) + ', ' + at(window.peakEnd) + ' { ' + glow(window.strong) + ' }',+ ' ' + at(window.peakEnd + 0.78) + ' { ' + base + ' }'+ );+ });+ rules.push('@keyframes archify-relay-node-' + index + ' {', frames.join('\n'), '}');+ windows[id].keyframes = 'archify-relay-node-' + index;+ });+ if (extras.playhead) {+ var p = extras.playhead;+ rules.push(+ '@keyframes archify-motion-playhead {',+ ' 0% { transform: translateX(0px); opacity: 0; }',+ ' ' + at(Math.max(0.05, p.lead - 0.2)) + ' { transform: translateX(0px); opacity: 0; }',+ ' ' + at(p.lead) + ' { transform: translateX(0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep) + ' { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep + 0.45) + ', 100% { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: 0; }',+ '}'+ );+ }+ extras.forEach(function (element, index) {+ if (!element.timing) return;+ var t = element.timing;+ rules.push(+ '@keyframes archify-replay-fill-' + index + ' {',+ ' 0%, ' + at(t.start) + ' { transform: scaleX(0); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.end) + ', ' + at(t.settle) + ' { transform: scaleX(1); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.settle + 0.7) + ', 100% { transform: scaleX(1); opacity: 0; }',+ '}'+ );+ element.style.setProperty('--flow-name', 'archify-replay-fill-' + index);+ });+ var style = document.createElement('style');+ style.setAttribute('data-ambient-flow-keyframes', 'true');+ style.textContent = rules.join('\n');+ document.head.appendChild(style);}function createFlows() {- var stepDelay = readSecondsVar('--flow-step-delay', 0.2);- var cycle = readSecondsVar('--flow-cycle', 6.4);+ var records = [];Array.prototype.forEach.call(svg.querySelectorAll('path[data-animate="edge"]'), function (shape, index) {var d = shape.getAttribute('data-motion-path') || shape.getAttribute('d');if (!d) return;@@ -7542,7 +7931,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}}function addPath(cls) {- var flow = document.createElementNS('http://www.w3.org/2000/svg', 'path');+ var flow = document.createElementNS(SVG_NS, 'path');flow.setAttribute('d', d);['transform', 'mask', 'clip-path', 'vector-effect'].forEach(function (name) {if (shape.hasAttribute(name)) flow.setAttribute(name, shape.getAttribute(name));@@ -7560,67 +7949,114 @@ OTHER DEALINGS IN THE FONT SOFTWARE.wake.remove();return;}- var halo = addPath('halo');- var tail = addPath('tail');- var head = addPath('head');- var end = null;- try { end = head.getPointAtLength(len); } catch (_) {}- // Dashed authored lines keep their dash language through the show:+ var record = {+ index: records.length,+ len: len,+ from: shape.getAttribute('data-edge-from') || shape.getAttribute('data-composition-edge-from') || '',+ to: shape.getAttribute('data-edge-to') || shape.getAttribute('data-composition-edge-to') || '',+ step: stepOf(shape, index),+ travel: Math.min(RELAY.maxTravel, Math.max(RELAY.minTravel, len / RELAY.speed)),+ depart: 0,+ active: false,+ layers: []+ };+ records.push(record);+ // Dashed authored lines keep their dash language through the relay:// the wake brightens only the authored segments and never fills the// gaps back into a solid line.var authoredDash = '';try { authoredDash = window.getComputedStyle(shape).strokeDasharray; } catch (_) {}- if (authoredDash && authoredDash !== 'none') {- wake.style.setProperty('--flow-dasharray', authoredDash);- }+ record.dashed = !!(authoredDash && authoredDash !== 'none');+ wake.style.setProperty('--flow-dasharray', record.dashed ? authoredDash : len.toFixed(1) + ' ' + len.toFixed(1));// 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));+ var headLen = Math.min(14, Math.max(7, len * 0.03));+ var haloLen = Math.min(22, Math.max(12, len * 0.07));var trail = len >= 120? { pattern: '2.5 2 4 3 5.5 4.5 8 ' + (len - 30).toFixed(1), length: 30 }: (len >= 60? { pattern: '3 3 7 ' + (len - 13).toFixed(1), length: 13 }: { pattern: '5 ' + Math.max(4, len - 5).toFixed(1), length: 5 });- var phase = edgePhase(shape, index) * stepDelay;- var configs = [- { flow: wake, dash: len, shift: 0, 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 });+ record.layers.push(+ { flow: wake, kind: 'wake', dash: len, shift: 0 },+ { flow: addPath('glow'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('halo'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('tail'), kind: 'comet', dash: trail.length, shift: trail.length - headLen, dasharray: trail.pattern },+ { flow: addPath('head'), kind: 'comet', dash: headLen, shift: 0 }+ );+ if (choreography === 'stream') {+ // A packet train behind the comet reads as a continuous stream.+ [1, 2, 3].forEach(function (order) {+ record.layers.push({ flow: addPath('head packet'), kind: 'comet', dash: Math.max(4, headLen * 0.55), shift: 0, packet: order });+ });}- 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');- if (cfg.dasharray) cfg.flow.style.setProperty('--flow-dasharray', cfg.dasharray);- });- // The sonar pair lands where the comet does; keep it out of the- // edge's mask so it can bloom over the node boundary.+ // The ripple lands where the comet does; keep it out of the edge's+ // mask so it can bloom over the node boundary.+ var end = null;+ try { end = wake.getPointAtLength(len); } catch (_) {}if (end) {- ['ripple', 'ripple-echo'].forEach(function (kind) {- var ripple = document.createElementNS('http://www.w3.org/2000/svg', 'circle');- ripple.setAttribute('cx', end.x.toFixed(1));- ripple.setAttribute('cy', end.y.toFixed(1));- ripple.setAttribute('r', '2');- if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));- ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-' + kind);- tagOverlay(ripple);- ripple.style.setProperty('--flow-delay', phase.toFixed(3) + 's');- shape.parentNode.insertBefore(ripple, anchor.nextSibling);- anchor = ripple;- });+ var ripple = document.createElementNS(SVG_NS, 'circle');+ ripple.setAttribute('cx', end.x.toFixed(1));+ ripple.setAttribute('cy', end.y.toFixed(1));+ ripple.setAttribute('r', '2');+ if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));+ ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-ripple');+ tagOverlay(ripple);+ shape.parentNode.insertBefore(ripple, anchor.nextSibling);+ record.ripple = ripple;}- flowCount += 1;});+ var windows = Object.create(null);+ var extras = [];+ var span = 0;+ if (choreography === 'sweep') span = planSweep(windows, extras);+ else if (choreography === 'replay') span = planReplay(windows, extras);+ else if (records.length) {+ var linked = records.filter(function (record) { return record.from && record.to; });+ if (choreography === 'sequence' || linked.length < records.length) planSequence(records, windows);+ else if (choreography === 'walk') planWalk(records, windows);+ else planRelay(records, windows);+ span = records.reduce(function (max, record) {+ return record.active ? Math.max(max, record.depart + record.travel) : max;+ }, 0);+ span = scalePlan(records, windows, span);+ }+ records.forEach(function (record) {+ if (record.active) return;+ record.layers.forEach(function (layer) { layer.flow.remove(); });+ if (record.ripple) record.ripple.remove();+ });+ var active = records.filter(function (record) { return record.active; });+ if (!active.length && !extras.length) return;+ var cycle = Math.max(RELAY.minCycle, span + RELAY.land + RELAY.rest);+ writeKeyframes(active, windows, extras, cycle);+ svg.style.setProperty('--flow-cycle', cycle.toFixed(3) + 's');+ html.style.setProperty('--flow-cycle-chrome', cycle.toFixed(3) + 's');+ active.forEach(function (record) {+ var gap = Math.min(0.22, record.travel * 0.28);+ record.layers.forEach(function (layer) {+ var flow = layer.flow;+ flow.style.setProperty('--flow-len', record.len.toFixed(1) + 'px');+ flow.style.setProperty('--flow-delay', (record.depart + (layer.packet || 0) * gap).toFixed(3) + 's');+ flow.style.setProperty('--flow-dash', layer.dash.toFixed(1) + 'px');+ flow.style.setProperty('--flow-shift', layer.shift.toFixed(1) + 'px');+ flow.style.setProperty('--flow-name', 'archify-relay-' + layer.kind + '-' + record.index);+ if (layer.dasharray) flow.style.setProperty('--flow-dasharray', layer.dasharray);+ });+ if (record.ripple) {+ record.ripple.style.setProperty('--flow-delay', (record.depart + record.travel).toFixed(3) + 's');+ record.ripple.style.setProperty('--flow-name', 'archify-relay-ripple');+ }+ });+ var shapes = nodeShapes();+ Object.keys(windows).forEach(function (id) {+ (shapes[id] || []).forEach(function (shape) {+ shape.style.setProperty('--flow-node-name', windows[id].keyframes);+ });+ });+ flowCount = active.length + extras.length;}function settleEntry() {entryPending.clear();@@ -7637,7 +8073,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();@@ -7658,8 +8094,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');- else localStorage.removeItem(STORAGE_KEY);+ if (readerPaused) localStorage.removeItem(STORAGE_KEY);+ else localStorage.setItem(STORAGE_KEY, 'live');} catch (_) {}}function reducedMotion() {@@ -7809,7 +8245,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() === 'still';+ readerPaused = readStored() !== 'live';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -9421,31 +9857,14 @@ OTHER DEALINGS IN THE FONT SOFTWARE.return setMany([id], options);}- function fallbackCopy(value) {- var field = document.createElement('textarea');- field.value = value;- field.setAttribute('readonly', '');- field.style.position = 'fixed';- field.style.opacity = '0';- document.body.appendChild(field);- field.select();- var copied = false;- try { copied = document.execCommand('copy'); } catch (_) {}- field.remove();- return copied;- }-function copyFocusLink() {if (activeIds.length !== 1) return Promise.resolve(false);var record = pinnedRelationshipRecord();var relationId = record && record.id;- var value = location.href.replace(/#.*$/, '') + (relationId- ? '#relation=' + encodeURIComponent(relationId)- : '#focus=' + encodeURIComponent(activeIds[0]) + (reachabilityMode ? '&reach=' + reachabilityMode : ''));- var copy = navigator.clipboard && typeof navigator.clipboard.writeText === 'function'- ? navigator.clipboard.writeText(value).then(function () { return true; }).catch(function () { return fallbackCopy(value); })- : Promise.resolve(fallbackCopy(value));- return copy.then(function (copied) {+ var value = readerLink(relationId+ ? 'relation=' + encodeURIComponent(relationId)+ : 'focus=' + encodeURIComponent(activeIds[0]) + (reachabilityMode ? '&reach=' + reachabilityMode : ''));+ return (value === null ? Promise.resolve(false) : copyReaderText(value)).then(function (copied) {copyBtn.textContent = viewerText(copied ? 'viewer.common.copied' : 'viewer.common.copyFailed');copyBtn.setAttribute('aria-label', copied? viewerText(relationId ? 'viewer.passport.copy.pinned.success' : 'viewer.passport.copy.focused.success')@@ -9573,7 +9992,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 });@@ -10857,26 +11278,35 @@ OTHER DEALINGS IN THE FONT SOFTWARE.function logicalViewport() {var metrics = contentMetrics();if (!metrics) return null;+ var camera = sampleRenderedState();var x;var y;var width;var height;- if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && state.scale >= 1) {+ if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && camera.scale >= 1) {x = viewBox.x + container.scrollLeft / metrics.scale;y = viewBox.y;width = Math.min(viewBox.width, Math.max(1, container.clientWidth / metrics.scale));height = viewBox.height;} else {- x = viewBox.x + (((container.scrollLeft - state.x) / state.scale) - metrics.offsetX) / metrics.scale;- y = viewBox.y + ((-state.y / state.scale) - metrics.offsetY) / metrics.scale;- width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / state.scale / metrics.scale);- height = Math.min(viewBox.height, metrics.height / state.scale / metrics.scale);+ x = viewBox.x + (((container.scrollLeft - camera.x) / camera.scale) - metrics.offsetX) / metrics.scale;+ y = viewBox.y + ((-camera.y / camera.scale) - metrics.offsetY) / metrics.scale;+ width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / camera.scale / metrics.scale);+ height = Math.min(viewBox.height, metrics.height / camera.scale / metrics.scale);}width = Math.max(1, Math.min(viewBox.width, width));height = Math.max(1, Math.min(viewBox.height, height));x = Math.max(viewBox.x, Math.min(viewBox.x + viewBox.width - width, x));y = Math.max(viewBox.y, Math.min(viewBox.y + viewBox.height - height, y));- return { x: x, y: y, width: width, height: height, scale: state.scale };+ // The camera's layout box can span several browser screens. Intersect+ // its logical bounds with the actual window, including page scrolling.+ var matrix = svg.getScreenCTM();+ if (matrix && matrix.d > 0) {+ var end = y + height;+ y = Math.max(y, Math.min(end - 1, -matrix.f / matrix.d));+ height = Math.max(1, Math.min(end, (window.innerHeight - matrix.f) / matrix.d) - y);+ }+ return { x: x, y: y, width: width, height: height, scale: camera.scale };}function detailLevel() {if (state.mode === 'semantic') return 'full';@@ -10906,7 +11336,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);@@ -10937,13 +11368,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// CSS transforms keep the SVG's intrinsic layout size. Shrink only its// outer page-flow box for long ordinary diagrams, never the SVG itself:// changing its height would feed the smaller size back into camera math.- function syncPageFlow(camera) {- camera = camera || state;+ function ordinaryPage() {var html = document.documentElement;- var height = svg.clientHeight;- var ordinary = html.getAttribute('data-embed') !== 'true' &&+ return html.getAttribute('data-embed') !== 'true' &&html.getAttribute('data-present') !== 'true' &&(!window.matchMedia || !window.matchMedia('print').matches);+ }+ function syncPageFlow(camera) {+ camera = camera || state;+ var height = svg.clientHeight;+ var ordinary = ordinaryPage();// Restore ordinary flow as soon as the target reaches 100%. Chrome// uses that target to resume baseline rail measurement; retaining a// partially shrunk box during the CSS transition would inflate reserve.@@ -10968,6 +11402,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var rendered = sampleRenderedState();syncPageFlow(rendered);clipToViewport(rendered);+ if (Archify.radar && Archify.radar.isOpen()) Archify.radar.sync();if (Archify.readerLayout && typeof Archify.readerLayout.syncLegend === 'function') Archify.readerLayout.syncLegend();if (!cameraSettled(rendered)) clipFrame = requestAnimationFrame(sample);}@@ -11105,6 +11540,17 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state = { scale: 1, x: 0, y: 0, mode: 'overview' };apply();}+ function scrollLongDiagramTo(contentY, metrics, options) {+ if (!ordinaryPage() || metrics.height <= window.innerHeight) return;+ // apply() may still be animating its CSS transform. Recover the layout+ // origin from the painted transform, then use the final camera target.+ var painted = sampleRenderedState();+ var rect = svg.getBoundingClientRect();+ var pixelScale = rect.height / metrics.height / painted.scale;+ var documentTop = window.scrollY + rect.top - painted.y * pixelScale;+ var target = documentTop + (state.y + contentY * state.scale) * pixelScale - window.innerHeight / 2;+ window.scrollTo({ left: window.scrollX, top: Math.max(0, target), behavior: options.instant ? 'instant' : 'smooth' });+ }function centerAt(logicalX, logicalY, options) {options = options || {};logicalX = Number(logicalX);@@ -11123,6 +11569,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.autoScrollUntil = Date.now() + 80;try { container.scrollTo({ left: mobileTarget, behavior: options.instant ? 'auto' : 'smooth' }); }catch (_) { container.scrollLeft = mobileTarget; }+ scrollLongDiagramTo(metrics.offsetY + (logicalY - viewBox.y) * metrics.scale, metrics, options);return true;}var minimumScale = Math.max(1, Math.min(3, Number(options.minimumScale) || 1));@@ -11134,6 +11581,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state.y = metrics.height / 2 - contentY * state.scale;state.mode = 'manual';apply();+ scrollLongDiagramTo(contentY, metrics, options);if (Archify.focus && Archify.focus.reposition) Archify.focus.reposition();return true;}@@ -13376,26 +13824,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.if (!context || !Archify.finder) return false;return Archify.finder.open({ context: context });}- function fallbackCopy(value) {- var field = document.createElement('textarea');- field.value = value;- field.setAttribute('readonly', '');- field.style.position = 'fixed';- field.style.opacity = '0';- document.body.appendChild(field);- field.select();- var copied = false;- try { copied = document.execCommand('copy'); } catch (_) {}- field.remove();- return copied;- }function copyLink() {if (mode !== 'result') return Promise.resolve(false);- var value = location.href.replace(/#.*$/, '') + '#route=' + encodeURIComponent(startId) + '~' + encodeURIComponent(endId);- var copy = navigator.clipboard && typeof navigator.clipboard.writeText === 'function'- ? navigator.clipboard.writeText(value).then(function () { return true; }).catch(function () { return fallbackCopy(value); })- : Promise.resolve(fallbackCopy(value));- return copy.then(function (copied) {+ var value = readerLink('route=' + encodeURIComponent(startId) + '~' + encodeURIComponent(endId));+ return (value === null ? Promise.resolve(false) : copyReaderText(value)).then(function (copied) {copyBtn.textContent = viewerText(copied ? 'viewer.common.copied' : 'viewer.common.copyFailed');copyBtn.setAttribute('aria-label', viewerText(copied ? 'viewer.route.copy.success' : 'viewer.route.copy.failed'));window.setTimeout(function () {@@ -14047,28 +14479,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.if (options.closePanel === true) close({ restoreFocus: false });return false;}- function fallbackCopy(value) {- var field = document.createElement('textarea');- field.value = value;- field.setAttribute('readonly', '');- field.style.position = 'fixed';- field.style.opacity = '0';- document.body.appendChild(field);- field.select();- var copied = false;- try { copied = document.execCommand('copy'); } catch (_) {}- field.remove();- return copied;- }function copyLink() {if (!selectedKinds.length) return Promise.resolve(false);- var value = location.href.replace(/#.*$/, '') + '#lens=' + selectedKinds.map(encodeURIComponent).join('~');- var copy = navigator.clipboard && typeof navigator.clipboard.writeText === 'function'- ? navigator.clipboard.writeText(value).then(function () { return true; }).catch(function () { return fallbackCopy(value); })- : Promise.resolve(fallbackCopy(value));- return copy.then(function (copied) {+ var value = readerLink('lens=' + selectedKinds.map(encodeURIComponent).join('~'));+ return (value === null ? Promise.resolve(false) : copyReaderText(value)).then(function (copied) {copyBtn.textContent = viewerText(copied ? 'viewer.common.copied' : 'viewer.common.copyFailed');- window.setTimeout(function () { copyBtn.textContent = viewerText('viewer.common.copyLink'); }, 1600);+ copyBtn.setAttribute('aria-label', viewerText(copied ? 'viewer.common.copied' : 'viewer.common.copyFailed'));+ window.setTimeout(function () {+ copyBtn.textContent = viewerText('viewer.common.copyLink');+ copyBtn.setAttribute('aria-label', viewerText('viewer.lens.copy'));+ }, 1600);return copied;});}@@ -14253,7 +14673,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;@@ -14353,7 +14775,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-grid.html b/examples/archify-repo-grid.htmlindex 20e349dd..c21a297a 100644--- a/examples/archify-repo-grid.html+++ b/examples/archify-repo-grid.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <meta name="generator" content="archify 3.0.2-dev.1">+ <meta name="generator" content="archify 3.1.0"><meta name="archify-reader-contract" content="declared-wide-v1"><title>Archify Pipeline Diagram</title><script>@@ -186,7 +186,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(15, 23, 42, 0.22);--lane-stroke: #334155;- --arrow: #64748b;+ --arrow: #94a3b8;--arrow-emphasis: #34d399;/* Opaque mask color used behind semi-transparent component fills@@ -229,7 +229,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(248, 250, 252, 0.65);--lane-stroke: #cbd5e1;- --arrow: #94a3b8;+ --arrow: #64748b;--arrow-emphasis: #059669;--mask: #ffffff;@@ -2288,6 +2288,41 @@ OTHER DEALINGS IN THE FONT SOFTWARE.font-size: 0.5rem;}.diagram-guide-feedback:empty { display: none; }+ .diagram-guide-credit {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 0.6rem;+ padding: 0.46rem 0.9rem 0.56rem;+ border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 74%, transparent);+ color: var(--text-faint);+ font-size: 0.5rem;+ letter-spacing: 0.02em;+ text-decoration: none;+ }+ .diagram-guide-credit-link {+ display: inline-flex;+ align-items: center;+ gap: 0.28rem;+ flex: none;+ opacity: 0.72;+ transition: opacity 120ms ease, color 120ms ease;+ }+ .diagram-guide-star {+ width: 0.62rem;+ height: 0.62rem;+ background: currentColor;+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ }+ .diagram-guide-credit:hover .diagram-guide-star,+ .diagram-guide-credit:focus-visible .diagram-guide-star {+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ }+ .diagram-guide-credit:hover .diagram-guide-credit-link,+ .diagram-guide-credit:focus-visible .diagram-guide-credit-link { opacity: 1; color: var(--cloud-stroke); }+ .diagram-guide-credit:focus-visible { outline: 2px solid var(--cloud-stroke); outline-offset: -2px; }@keyframes archify-guide-in {from { opacity: 0; transform: translateY(-5px) scale(0.985); }to { opacity: 1; transform: translateY(0) scale(1); }@@ -3550,13 +3585,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.background: transparent;box-shadow: none;}- /* The motion button breathes on the same shared cycle as the cascade, so the- chrome keeps time with the wave it controls. The cycle length lives on the- diagram SVG, so chrome presets mirror it here. */+ /* The motion button breathes on the relay cycle, so the chrome keeps time+ with the wave it controls. Motion Governor mirrors the planned cycle from+ the diagram SVG onto the document. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) #btn-motion .motion-control-dot {animation: archify-motion-dot-breathe var(--flow-cycle-chrome, 6.4s) ease-in-out infinite;}- html[data-preset="signal-flow"] #btn-motion .motion-control-dot { --flow-cycle-chrome: 5.2s; }@keyframes archify-motion-dot-breathe {0%, 100% { opacity: 1; transform: scale(1); }46% { opacity: 0.55; transform: scale(0.72); }@@ -4725,27 +4759,23 @@ OTHER DEALINGS IN THE FONT SOFTWARE..c-region { fill: rgba(251, 191, 36, 0.05); stroke: var(--cloud-stroke); stroke-dasharray: 8,4; }.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. */+ /* Live plays one relay per cycle: a comet (halo, tail, head) leaves each+ source when the signal reaches it, travels at one shared speed, leaves a+ soft wake, and lands as a ripple while its target glows. Downstream edges+ depart only after their source is reached, so the reader sees the path the+ diagram describes rather than every edge shimmering at once. Sequence+ messages relay in authored chronological order. Motion Governor plans the+ timeline and its per-edge keyframes; this stylesheet owns appearance.+ Original line language and markers remain static. Node entry is bounded to+ one pass per document. */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-head-peak: 0.95;- --flow-wake-peak: 0.1;+ --flow-wake-peak: 0.3;--flow-ripple-peak: 0.65;- --flow-ripple-echo-peak: 0.26;}.ambient-edge-flow {fill: none;@@ -4755,69 +4785,91 @@ OTHER DEALINGS IN THE FONT SOFTWARE.display: none;}.ambient-flow-wake {+ --flow-peak: var(--flow-wake-peak, 0.3);stroke-width: 3.2;stroke-dasharray: var(--flow-dasharray, none);- animation-name: archify-flow-wake;}.ambient-flow-halo {+ --flow-peak: var(--flow-halo-peak, 0.17);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 makesthe comet read as a traveling orb of light rather than a bright dash. */.ambient-flow-glow {+ --flow-peak: var(--flow-glow-peak, 0.5);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 {+ --flow-peak: var(--flow-tail-peak, 0.42);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 {+ --flow-peak: var(--flow-head-peak, 0.95);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;}- .ambient-flow-head.echo { --flow-echo-scale: 0.76; }- .ambient-flow-tail.echo { --flow-echo-scale: 0.53; }.ambient-flow-ripple {+ --flow-peak: var(--flow-ripple-peak, 0.65);stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);stroke-width: 2;- animation-name: archify-flow-ripple;- }- .ambient-flow-ripple-echo {- stroke-width: 1.2;- animation-name: archify-flow-ripple-echo;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) .ambient-edge-flow {display: inline;+ animation-name: var(--flow-name, none);animation-duration: var(--flow-cycle, 6.4s);animation-timing-function: linear;animation-iteration-count: infinite;animation-delay: var(--flow-delay, 0s);/* Without backwards fill a delayed layer would sit at its natural opacity- (fully lit) until its phase arrives. */+ (fully lit) until its departure arrives. */animation-fill-mode: backwards;}+ /* Stream packets trail the comet head as smaller, dimmer beads. */+ .ambient-flow-head.packet {+ --flow-peak: calc(var(--flow-head-peak, 0.95) * 0.62);+ stroke-width: 3.4;+ }+ /* Timeline and waterfall playhead: a crisp rule over a soft bloom. */+ .ambient-flow-playhead {+ --flow-peak: 0.9;+ stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);+ stroke-width: 1.6;+ }+ .ambient-flow-playhead-glow {+ --flow-peak: 0.32;+ stroke-width: 10;+ filter: blur(4px);+ }+ /* Waterfall spans fill in proportion to their measured time, then settle. */+ .ambient-flow-fill {+ --flow-peak: 0.5;+ fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 55%, white);+ stroke: none;+ transform-box: fill-box;+ transform-origin: left center;+ }+ .ambient-flow-fill-failed { fill: var(--security-stroke); --flow-peak: 0.5; }+ html[data-theme="light"] .ambient-flow-playhead { stroke: color-mix(in srgb, var(--arrow-emphasis) 70%, black); }+ html[data-theme="light"] .ambient-flow-fill { --flow-peak: 0.42; fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 70%, black); }+ svg[data-preset="editorial"] .ambient-flow-fill { --flow-peak: 0.2; }+ svg[data-preset="editorial"] .ambient-flow-playhead-glow { --flow-peak: 0.14; }/* Each decorative flow follows its owning edge through tree visibility. */.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; }- /* On light canvases the cascade reads by saturation instead of bloom: the- head and inner ripple mix toward ink instead of white, and every layer's- peak rises so the wave survives the bright background. */+ 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.14; --flow-ripple-peak: 0.3; }+ /* On light canvases the relay reads by saturation instead of bloom: the head+ and ripple mix toward ink instead of white, and every layer's peak 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;+ --flow-wake-peak: 0.34;}html[data-theme="light"] .ambient-flow-head {stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, black);@@ -4844,85 +4896,33 @@ OTHER DEALINGS IN THE FONT SOFTWARE.animation: archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- /* Node glow follows each node's authored step on the shared cycle; it does- not track incoming edge arrivals. During the bounded entrance all three- animations run; the entrance pulse is listed after the repeating glow and- wins on filter until it completes. */+ /* Each node glows in its planned windows: when the relay reaches it, while a+ walk token rests on it, as a message lands, or as the playhead passes.+ During the bounded entrance all three animations run; the entrance pulse is+ listed after the repeating glow and wins on filter until it completes. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s));+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.6s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.1s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-blueprint-node-pulse 3.8s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- @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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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; }- }- @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; }- }- @keyframes archify-node-receive {- 0%, 100% { filter: var(--ambient-node-base-filter, none); }- 5%, 12% { filter: var(--ambient-node-base-filter,) drop-shadow(0 0 9px var(--arrow-emphasis)); }- }@keyframes archify-node-enter {from { opacity: 0; }to { opacity: 1; }@@ -5156,11 +5156,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</div>- <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script>+ <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.credit":"Find Archify useful? A star on GitHub helps","viewer.guide.star":"Star","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script><!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1064 356" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="standard" data-quality-gates="advisory" data-reader-fit="intrinsic-height" data-reader-min-text="7.5" data-reader-primary-text="14">+ <svg viewBox="0 0 1064 356" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="standard" data-quality-gates="advisory" data-node-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5" data-reader-primary-text="14"><title id="archify-diagram-title">Archify Pipeline</title><desc id="archify-diagram-description">Grid placement demo — row/col instead of manual pos</desc><!-- Definitions -->@@ -5181,6 +5181,27 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<path d="M 40 0 L 0 0 0 40" class="c-grid" stroke-width="0.5"/></pattern></defs>+ <style>+ svg[data-node-ui] [data-node-id] > rect:not(.c-mask) { stroke-width: 1.25px; }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-frontend { fill: color-mix(in srgb, var(--frontend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--frontend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-backend { fill: color-mix(in srgb, var(--backend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--backend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-database { fill: color-mix(in srgb, var(--database-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--database-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-cloud { fill: color-mix(in srgb, var(--cloud-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-security { fill: color-mix(in srgb, var(--security-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-messagebus { fill: color-mix(in srgb, var(--messagebus-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--messagebus-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-external { fill: color-mix(in srgb, var(--external-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--external-stroke) 72%, var(--mask)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-region { fill: color-mix(in srgb, var(--cloud-stroke) 3%, transparent); stroke: color-mix(in srgb, var(--cloud-stroke) 42%, var(--lane-stroke)); stroke-dasharray: none; }+ svg[data-node-ui] .c-security-group { stroke: color-mix(in srgb, var(--security-stroke) 58%, var(--lane-stroke)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-security-group { stroke-dasharray: 4 3; }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-lane { stroke: var(--lane-stroke); stroke-dasharray: none; }+ svg[data-node-ui] [data-graph-role="structural-frame-label-mask"] { rx: 5px; fill: color-mix(in srgb, var(--cloud-stroke) 10%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 38%, var(--mask)); stroke-width: .8px; }+ svg[data-node-ui] [data-composition-frame-kind="security-group"] > [data-graph-role="structural-frame-label-mask"] { fill: color-mix(in srgb, var(--security-stroke) 9%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 36%, var(--mask)); }+ svg[data-node-ui] .phase-rule { opacity: .5; stroke-dasharray: none; }+ svg[data-node-ui] .phase-chip { stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui] g[data-edge-from] > rect.c-mask { rx: 7px; stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui][data-preset="blueprint"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 2px; }+ svg[data-node-ui][data-preset="editorial"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 3px; }+ </style><!-- Background Grid --><rect width="100%" height="100%" fill="url(#grid)" />@@ -5225,8 +5246,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Components --><g id="node-user" data-node-id="user" data-node-label="You" tabindex="0" role="button" aria-label="Focus You, NL / Mermaid, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="NL / Mermaid" data-node-context="Architecture component"><title>You · NL / Mermaid · Architecture component</title>- <rect x="40" y="208" width="120" height="60" rx="6" class="c-mask"/>- <rect x="40" y="208" width="120" height="60" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>+ <rect x="40" y="208" width="120" height="60" rx="8" class="c-mask"/>+ <rect x="40" y="208" width="120" height="60" rx="8" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(46 214) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5237,8 +5258,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-agents" data-node-id="agents" data-node-label="Agent Hosts" tabindex="0" role="button" aria-label="Focus Agent Hosts, Claude · Codex, Architecture component" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="Claude · Codex" data-node-context="Architecture component"><title>Agent Hosts · Claude · Codex · Architecture component</title>- <rect x="184" y="208" width="120" height="60" rx="6" class="c-mask"/>- <rect x="184" y="208" width="120" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/>+ <rect x="184" y="208" width="120" height="60" rx="8" class="c-mask"/>+ <rect x="184" y="208" width="120" height="60" rx="8" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(190 214) scale(0.6875)"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M2 6.5h12"/>@@ -5251,8 +5272,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-skill" data-node-id="skill" data-node-label="SKILL.md" tabindex="0" role="button" aria-label="Focus SKILL.md, layout rules, Architecture component" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="layout rules" data-node-context="Architecture component"><title>SKILL.md · layout rules · Architecture component</title>- <rect x="184" y="100" width="120" height="60" rx="6" class="c-mask"/>- <rect x="184" y="100" width="120" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:2" stroke-width="1.5"/>+ <rect x="184" y="100" width="120" height="60" rx="8" class="c-mask"/>+ <rect x="184" y="100" width="120" height="60" rx="8" class="c-frontend" data-animate="node" style="--step:2" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(190 106) scale(0.6875)"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M2 6.5h12"/>@@ -5265,8 +5286,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-ir" data-node-id="ir" data-node-label="JSON IR" tabindex="0" role="button" aria-label="Focus JSON IR, schema v1, archify/ skill package" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="schema v1" data-node-context="archify/ skill package"><title>JSON IR · schema v1 · archify/ skill package</title>- <rect x="328" y="208" width="120" height="60" rx="6" class="c-mask"/>- <rect x="328" y="208" width="120" height="60" rx="6" class="c-messagebus" data-animate="node" style="--step:3" stroke-width="1.5"/>+ <rect x="328" y="208" width="120" height="60" rx="8" class="c-mask"/>+ <rect x="328" y="208" width="120" height="60" rx="8" class="c-messagebus" data-animate="node" style="--step:3" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(334 214) scale(0.6875)"><path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/><circle cx="5" cy="4.5" r="1" class="sigil-fill"/>@@ -5279,8 +5300,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-schemas" data-node-id="schemas" data-node-label="Schema" tabindex="0" role="button" aria-label="Focus Schema, ajv, archify/ skill package" aria-pressed="false" data-node-kind="security" data-node-sublabel="ajv" data-node-context="archify/ skill package"><title>Schema · ajv · archify/ skill package</title>- <rect x="328" y="100" width="120" height="60" rx="6" class="c-mask"/>- <rect x="328" y="100" width="120" height="60" rx="6" class="c-security" data-animate="node" style="--step:4" stroke-width="1.5"/>+ <rect x="328" y="100" width="120" height="60" rx="8" class="c-mask"/>+ <rect x="328" y="100" width="120" height="60" rx="8" class="c-security" data-animate="node" style="--step:4" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="security" class="semantic-sigil s-security" transform="translate(334 106) scale(0.6875)"><path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/>@@ -5291,8 +5312,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-renderers" data-node-id="renderers" data-node-label="Renderers ×5" tabindex="0" role="button" aria-label="Focus Renderers ×5, archify/ skill package" aria-pressed="false" data-node-kind="backend" data-node-context="archify/ skill package"><title>Renderers ×5 · archify/ skill package</title>- <rect x="472" y="208" width="120" height="60" rx="6" class="c-mask"/>- <rect x="472" y="208" width="120" height="60" rx="6" class="c-backend" data-animate="node" style="--step:5" stroke-width="1.5"/>+ <rect x="472" y="208" width="120" height="60" rx="8" class="c-mask"/>+ <rect x="472" y="208" width="120" height="60" rx="8" class="c-backend" data-animate="node" style="--step:5" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(478 214) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5301,8 +5322,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-template" data-node-id="template" data-node-label="template.html" tabindex="0" role="button" aria-label="Focus template.html, archify/ skill package" aria-pressed="false" data-node-kind="frontend" data-node-context="archify/ skill package"><title>template.html · archify/ skill package</title>- <rect x="616" y="208" width="120" height="60" rx="6" class="c-mask"/>- <rect x="616" y="208" width="120" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:6" stroke-width="1.5"/>+ <rect x="616" y="208" width="120" height="60" rx="8" class="c-mask"/>+ <rect x="616" y="208" width="120" height="60" rx="8" class="c-frontend" data-animate="node" style="--step:6" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(622 214) scale(0.6875)"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M2 6.5h12"/>@@ -5314,8 +5335,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-checker" data-node-id="checker" data-node-label="Output Check" tabindex="0" role="button" aria-label="Focus Output Check, archify/ skill package" aria-pressed="false" data-node-kind="security" data-node-context="archify/ skill package"><title>Output Check · archify/ skill package</title>- <rect x="760" y="208" width="120" height="60" rx="6" class="c-mask"/>- <rect x="760" y="208" width="120" height="60" rx="6" class="c-security" data-animate="node" style="--step:7" stroke-width="1.5"/>+ <rect x="760" y="208" width="120" height="60" rx="8" class="c-mask"/>+ <rect x="760" y="208" width="120" height="60" rx="8" class="c-security" data-animate="node" style="--step:7" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="security" class="semantic-sigil s-security" transform="translate(766 214) scale(0.6875)"><path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/>@@ -5325,8 +5346,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-html" data-node-id="html" data-node-label="HTML" tabindex="0" role="button" aria-label="Focus HTML, artifact, Architecture component" aria-pressed="false" data-node-kind="cloud" data-node-sublabel="artifact" data-node-context="Architecture component"><title>HTML · artifact · Architecture component</title>- <rect x="904" y="208" width="120" height="60" rx="6" class="c-mask"/>- <rect x="904" y="208" width="120" height="60" rx="6" class="c-cloud" data-animate="node" style="--step:8" stroke-width="1.5"/>+ <rect x="904" y="208" width="120" height="60" rx="8" class="c-mask"/>+ <rect x="904" y="208" width="120" height="60" rx="8" class="c-cloud" data-animate="node" style="--step:8" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="cloud" class="semantic-sigil s-cloud" transform="translate(910 214) scale(0.6875)"><path d="M4.3 12.5h7.3a2.4 2.4 0 0 0 .2-4.8 4 4 0 0 0-7.5-1.3A3.1 3.1 0 0 0 4.3 12.5Z"/></g>@@ -5420,6 +5441,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<span><kbd>E</kbd> Export</span><span><kbd>T</kbd> Theme</span><span><kbd>S</kbd> Style</span><span><kbd>0</kbd> Reset</span><span><kbd>+</kbd> Zoom in</span><span><kbd>-</kbd> Zoom out</span><span><kbd>Esc</kbd> Close</span></div><p class="diagram-guide-feedback" id="diagram-guide-feedback" aria-live="polite"></p>+ <a class="diagram-guide-credit" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener noreferrer"><span>Find Archify useful? A star on GitHub helps</span><span class="diagram-guide-credit-link"><span class="diagram-guide-star" aria-hidden="true"></span>Star <span aria-hidden="true">↗</span></span></a></div><div class="node-finder no-print" id="node-finder" hidden role="dialog" aria-modal="false" aria-labelledby="node-finder-title"><div class="node-finder-head">@@ -7462,36 +7484,321 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// Runtime decoration carries geometry and tree visibility only. Keep each// flow beside its authored edge so transforms, clipping and crossover// paint order apply.- // Each edge carries a small light show: a comet (halo, tail, head)- // cascading downstream on one shared cycle, a lingering wake, and a- // ripple where the comet lands. Phases follow the authored step order:- // source-node rank where known, chronological message order in sequence- // diagrams.- function readSecondsVar(name, fallback) {- var value = '';- try { value = window.getComputedStyle(svg).getPropertyValue(name); } catch (_) {}- var seconds = parseFloat(value);- return Number.isFinite(seconds) && seconds > 0 ? seconds : fallback;- }- function nodeStep(from) {- // Authored IDs follow the schema's conservative identifier pattern, so- // direct selector interpolation stays safe here. The semantic wrapper- // groups the animated shape; its authored step ranks the node.- var node = from ? svg.querySelector('[data-node-id="' + from + '"]') : null;- var shape = node ? node.querySelector('[data-animate="node"]') : null;- return shape && shape.style ? shape.style.getPropertyValue('--step') : '';- }- function edgePhase(shape, fallbackStep) {- // Sequence messages have no data-edge-from; their own authored step is- // already chronological, which is the right phase there.- var raw = nodeStep(shape.getAttribute('data-edge-from'));- if (raw === '' && shape.style) raw = shape.style.getPropertyValue('--step');- var step = parseFloat(raw);- return Number.isFinite(step) ? step : fallbackStep;+ // Each renderer may declare a choreography that matches what its diagram+ // means. Relay (the default) sends a comet from each source when the+ // signal reaches it; stream adds a packet train for continuous data; walk+ // moves one token along the main state path; sequence plays messages in+ // authored order; sweep runs a playhead along a timeline; replay fills+ // waterfall spans in proportion to their measured time. Motion Governor+ // plans the timeline and per-element keyframes; viewer.css owns looks.+ var SVG_NS = 'http://www.w3.org/2000/svg';+ var choreography = svg ? (svg.getAttribute('data-motion-choreography') || 'relay') : 'relay';+ var RELAY = {+ speed: 280,+ minTravel: 0.42,+ maxTravel: 1.5,+ handoff: 0.1,+ dwell: 0.55,+ maxSpan: 9,+ land: 0.9,+ rest: 1.4,+ minCycle: 3.6+ };+ function stepOf(element, fallback) {+ var step = parseFloat(element && element.style ? element.style.getPropertyValue('--step') : '');+ return Number.isFinite(step) ? step : fallback;+ }+ function byStep(a, b) { return a.step - b.step || a.index - b.index; }+ function addWindow(windows, id, start, end, strong) {+ if (!id) return;+ (windows[id] = windows[id] || []).push({ start: start, end: end, strong: !!strong });+ }+ function planRelay(records, windows) {+ var arrive = Object.create(null);+ var seeded = Object.create(null);+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ function seed(id) {+ if (arrive[id] !== undefined) return;+ arrive[id] = 0;+ seeded[id] = true;+ }+ function relax() {+ // Earliest arrival over a few dozen edges; a scan per settle keeps+ // cycles and fan-in deterministic without a priority queue.+ var settled = Object.create(null);+ for (;;) {+ var next = null;+ Object.keys(arrive).forEach(function (id) {+ if (!settled[id] && (next === null || arrive[id] < arrive[next])) next = id;+ });+ if (next === null) return;+ settled[next] = true;+ var depart = arrive[next] + (seeded[next] ? 0 : RELAY.handoff);+ records.forEach(function (record) {+ if (record.from !== next) return;+ var at = depart + record.travel;+ if (arrive[record.to] === undefined || at < arrive[record.to]) arrive[record.to] = at;+ });+ }+ }+ records.forEach(function (record) { if (!targets[record.from]) seed(record.from); });+ relax();+ for (;;) {+ // A closed cycle has no entry; start it at its earliest authored edge.+ var orphan = records.filter(function (record) { return arrive[record.from] === undefined; }).sort(byStep)[0];+ if (!orphan) break;+ seed(orphan.from);+ relax();+ }+ records.forEach(function (record) {+ record.depart = arrive[record.from] + (seeded[record.from] ? 0 : RELAY.handoff);+ record.active = true;+ });+ Object.keys(arrive).forEach(function (id) { addWindow(windows, id, arrive[id], arrive[id]); });+ }+ function planWalk(records, windows) {+ // A state machine is in one state at a time: follow the first authored+ // transition to an unvisited state and let the current state stay lit.+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ var ordered = records.slice().sort(byStep);+ var start = (ordered.find(function (record) { return !targets[record.from]; }) || ordered[0]).from;+ var visited = Object.create(null);+ var current = start;+ var clock = 0;+ var enteredAt = 0;+ visited[start] = true;+ for (var hops = 0; hops < 16; hops += 1) {+ var next = ordered.find(function (record) { return record.from === current && !visited[record.to]; });+ if (!next) break;+ next.active = true;+ next.depart = clock + RELAY.dwell;+ addWindow(windows, current, enteredAt, next.depart, true);+ clock = next.depart + next.travel;+ enteredAt = clock;+ current = next.to;+ visited[current] = true;+ }+ addWindow(windows, current, enteredAt, enteredAt + 1.2, true);+ }+ function planSequence(records, windows) {+ var clock = 0;+ records.slice().sort(byStep).forEach(function (record) {+ record.active = true;+ record.depart = clock;+ clock += record.travel + RELAY.handoff;+ addWindow(windows, record.from, record.depart, record.depart);+ addWindow(windows, record.to, record.depart + record.travel, record.depart + record.travel);+ });+ }+ function scalePlan(records, windows, span) {+ var scale = span > RELAY.maxSpan ? RELAY.maxSpan / span : 1;+ if (scale === 1) return span;+ records.forEach(function (record) {+ if (!record.active) return;+ record.depart *= scale;+ record.travel *= scale;+ });+ Object.keys(windows).forEach(function (id) {+ windows[id].forEach(function (window) { window.start *= scale; window.end *= scale; });+ });+ return span * scale;+ }+ function nodeShapes() {+ var shapes = Object.create(null);+ Array.prototype.forEach.call(svg.querySelectorAll('[data-animate="node"]'), function (shape) {+ var wrapper = shape.closest('[data-node-id]');+ var id = wrapper ? wrapper.getAttribute('data-node-id') : '';+ if (id) (shapes[id] = shapes[id] || []).push(shape);+ });+ return shapes;+ }+ function sceneBounds(elements) {+ var box = null;+ elements.forEach(function (element) {+ var b = null;+ try { b = element.getBBox(); } catch (_) {}+ if (!b || !(b.width || b.height)) return;+ if (!box) box = { x: b.x, y: b.y, right: b.x + b.width, bottom: b.y + b.height };+ else {+ box.x = Math.min(box.x, b.x); box.y = Math.min(box.y, b.y);+ box.right = Math.max(box.right, b.x + b.width); box.bottom = Math.max(box.bottom, b.y + b.height);+ }+ });+ return box;+ }+ function overlay(tag, cls, attrs, parent, before) {+ var element = document.createElementNS(SVG_NS, tag);+ Object.keys(attrs).forEach(function (name) { element.setAttribute(name, attrs[name]); });+ element.setAttribute('class', 'ambient-edge-flow ' + cls);+ element.setAttribute('data-ambient-flow-overlay', 'true');+ element.setAttribute('aria-hidden', 'true');+ parent.insertBefore(element, before || null);+ return element;+ }+ // Timeline and waterfall share a playhead: a lit vertical rule and its+ // bloom travel the time axis linearly, because time is the subject.+ function addPlayhead(box, x0, x1, lead, sweep, extras) {+ var anchor = svg.querySelector('[data-node-id]');+ var parent = anchor ? anchor.parentNode : svg;+ var attrs = { x1: x0.toFixed(1), x2: x0.toFixed(1), y1: (box.y - 10).toFixed(1), y2: (box.bottom + 10).toFixed(1) };+ ['playhead-glow', 'playhead'].forEach(function (kind) {+ var line = overlay('line', 'ambient-flow-' + kind, attrs, parent, anchor);+ line.style.setProperty('--flow-name', 'archify-motion-playhead');+ extras.push(line);+ });+ extras.playhead = { distance: x1 - x0, lead: lead, sweep: sweep };+ }+ function planSweep(windows, extras) {+ var events = Array.prototype.filter.call(svg.querySelectorAll('[data-node-id][data-timeline-x]'), function (node) {+ return Number.isFinite(parseFloat(node.getAttribute('data-timeline-x')));+ });+ if (!events.length) return 0;+ var xs = events.map(function (node) { return parseFloat(node.getAttribute('data-timeline-x')); });+ var x0 = Math.min.apply(null, xs), x1 = Math.max.apply(null, xs);+ var lead = 0.35;+ var sweep = Math.min(7, Math.max(3.2, events.length * 0.6));+ events.forEach(function (node, index) {+ var at = lead + (x1 > x0 ? (xs[index] - x0) / (x1 - x0) : 0) * sweep;+ addWindow(windows, node.getAttribute('data-node-id'), at, at + 0.35, true);+ });+ var box = sceneBounds(Array.prototype.slice.call(svg.querySelectorAll('[data-timeline-lane]')));+ if (box && x1 > x0) addPlayhead(box, x0, x1, lead, sweep, extras);+ return lead + sweep + 0.6;+ }+ function planReplay(windows, extras) {+ var spans = [];+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id][data-waterfall-start]'), function (node) {+ var start = parseFloat(node.getAttribute('data-waterfall-start'));+ var end = parseFloat(node.getAttribute('data-waterfall-end'));+ var bar = node.querySelector('[data-animate="node"]');+ if (!bar || !Number.isFinite(start) || !(end >= start)) return;+ var width = parseFloat(bar.getAttribute('width'));+ var x = parseFloat(bar.getAttribute('x'));+ if (!(width > 0) || !Number.isFinite(x)) return;+ spans.push({ node: node, bar: bar, start: start, end: end, x: x, width: width });+ });+ if (!spans.length) return 0;+ var t0 = Math.min.apply(null, spans.map(function (span) { return span.start; }));+ var t1 = Math.max.apply(null, spans.map(function (span) { return span.end; }));+ if (!(t1 > t0)) return 0;+ var ruler = spans.reduce(function (best, span) { return span.end - span.start > best.end - best.start ? span : best; });+ var pxPerUnit = ruler.width / Math.max(ruler.end - ruler.start, 1e-9);+ var x0 = ruler.x - (ruler.start - t0) * pxPerUnit;+ var lead = 0.35;+ var replay = Math.min(6, Math.max(3.4, spans.length * 0.45));+ var at = function (t) { return lead + (t - t0) / (t1 - t0) * replay; };+ var settle = lead + replay + 0.9;+ spans.forEach(function (span) {+ var fill = overlay('rect', 'ambient-flow-fill', {+ x: span.bar.getAttribute('x'), y: span.bar.getAttribute('y'),+ width: span.bar.getAttribute('width'), height: span.bar.getAttribute('height'),+ rx: span.bar.getAttribute('rx') || '0'+ }, span.bar.parentNode, span.bar.nextSibling);+ var tone = /(?:^|\s)c-([a-z]+)(?:\s|$)/.exec(span.bar.getAttribute('class') || '');+ if (tone) fill.style.setProperty('--flow-fill', 'var(--' + tone[1] + '-stroke)');+ if (span.node.getAttribute('data-waterfall-status') && span.node.getAttribute('data-waterfall-status') !== 'ok') {+ fill.classList.add('ambient-flow-fill-failed');+ }+ fill.timing = { start: at(span.start), end: Math.max(at(span.end), at(span.start) + 0.08), settle: settle };+ extras.push(fill);+ addWindow(windows, span.node.getAttribute('data-node-id'), fill.timing.end, fill.timing.end);+ });+ var box = sceneBounds(spans.map(function (span) { return span.bar; }));+ if (box) addPlayhead(box, x0, x0 + (t1 - t0) * pxPerUnit, lead, replay, extras);+ return settle;+ }+ function writeKeyframes(records, windows, extras, cycle) {+ function at(seconds) {+ return (Math.min(100, Math.max(0, seconds / cycle * 100))).toFixed(3) + '%';+ }+ var ease = 'animation-timing-function: cubic-bezier(0.45, 0.05, 0.35, 1);';+ var rules = [+ '@keyframes archify-relay-ripple {',+ ' 0% { r: 2px; opacity: var(--flow-peak, 0.6); }',+ ' ' + at(0.75) + ', 100% { r: 20px; opacity: 0; }',+ '}'+ ];+ records.forEach(function (record) {+ if (!record.active) return;+ var travel = record.travel;+ rules.push(+ '@keyframes archify-relay-comet-' + record.index + ' {',+ ' 0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 0px)); opacity: 0; ' + ease + ' }',+ ' ' + at(Math.min(0.12, travel * 0.2)) + ' { opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel) + ' { stroke-dashoffset: var(--flow-shift, 0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel + 0.16) + ', 100% { stroke-dashoffset: var(--flow-shift, 0px); opacity: 0; }',+ '}',+ // A solid wake draws the travelled path behind the head on the same+ // easing; a dashed wake only brightens its authored segments.+ '@keyframes archify-relay-wake-' + record.index + ' {',+ record.dashed+ ? ' 0%, ' + at(travel * 0.3) + ' { opacity: 0; }'+ : ' 0% { stroke-dashoffset: var(--flow-len, 0px); opacity: var(--flow-peak, 0.3); ' + ease + ' }',+ record.dashed+ ? ' ' + at(travel) + ' { opacity: var(--flow-peak, 0.3); }'+ : ' ' + at(travel) + ' { stroke-dashoffset: 0px; opacity: var(--flow-peak, 0.3); }',+ ' ' + at(travel + 0.9) + ', 100% { stroke-dashoffset: 0px; opacity: 0; }',+ '}'+ );+ });+ var glow = function (strong) {+ return 'filter: var(--ambient-node-base-filter,) drop-shadow(0 0 ' + (strong ? 14 : 10) + 'px var(--arrow-emphasis));';+ };+ var base = 'filter: var(--ambient-node-base-filter, none);';+ Object.keys(windows).forEach(function (id, index) {+ var merged = [];+ windows[id].slice().sort(function (a, b) { return a.start - b.start; }).forEach(function (window) {+ var peakEnd = Math.max(window.end, window.start + 0.42);+ var last = merged[merged.length - 1];+ if (last && window.start <= last.peakEnd + 0.78) {+ last.peakEnd = Math.max(last.peakEnd, peakEnd);+ last.strong = last.strong || window.strong;+ } else merged.push({ start: window.start, peakEnd: peakEnd, strong: window.strong });+ });+ var frames = [' 0%, 100% { ' + base + ' }'];+ merged.forEach(function (window) {+ frames.push(+ ' ' + at(window.start) + ' { ' + base + ' }',+ ' ' + at(window.start + 0.12) + ', ' + at(window.peakEnd) + ' { ' + glow(window.strong) + ' }',+ ' ' + at(window.peakEnd + 0.78) + ' { ' + base + ' }'+ );+ });+ rules.push('@keyframes archify-relay-node-' + index + ' {', frames.join('\n'), '}');+ windows[id].keyframes = 'archify-relay-node-' + index;+ });+ if (extras.playhead) {+ var p = extras.playhead;+ rules.push(+ '@keyframes archify-motion-playhead {',+ ' 0% { transform: translateX(0px); opacity: 0; }',+ ' ' + at(Math.max(0.05, p.lead - 0.2)) + ' { transform: translateX(0px); opacity: 0; }',+ ' ' + at(p.lead) + ' { transform: translateX(0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep) + ' { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep + 0.45) + ', 100% { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: 0; }',+ '}'+ );+ }+ extras.forEach(function (element, index) {+ if (!element.timing) return;+ var t = element.timing;+ rules.push(+ '@keyframes archify-replay-fill-' + index + ' {',+ ' 0%, ' + at(t.start) + ' { transform: scaleX(0); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.end) + ', ' + at(t.settle) + ' { transform: scaleX(1); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.settle + 0.7) + ', 100% { transform: scaleX(1); opacity: 0; }',+ '}'+ );+ element.style.setProperty('--flow-name', 'archify-replay-fill-' + index);+ });+ var style = document.createElement('style');+ style.setAttribute('data-ambient-flow-keyframes', 'true');+ style.textContent = rules.join('\n');+ document.head.appendChild(style);}function createFlows() {- var stepDelay = readSecondsVar('--flow-step-delay', 0.2);- var cycle = readSecondsVar('--flow-cycle', 6.4);+ var records = [];Array.prototype.forEach.call(svg.querySelectorAll('path[data-animate="edge"]'), function (shape, index) {var d = shape.getAttribute('data-motion-path') || shape.getAttribute('d');if (!d) return;@@ -7506,7 +7813,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}}function addPath(cls) {- var flow = document.createElementNS('http://www.w3.org/2000/svg', 'path');+ var flow = document.createElementNS(SVG_NS, 'path');flow.setAttribute('d', d);['transform', 'mask', 'clip-path', 'vector-effect'].forEach(function (name) {if (shape.hasAttribute(name)) flow.setAttribute(name, shape.getAttribute(name));@@ -7524,76 +7831,114 @@ 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;- try { end = head.getPointAtLength(len); } catch (_) {}- // Dashed authored lines keep their dash language through the show:+ var record = {+ index: records.length,+ len: len,+ from: shape.getAttribute('data-edge-from') || shape.getAttribute('data-composition-edge-from') || '',+ to: shape.getAttribute('data-edge-to') || shape.getAttribute('data-composition-edge-to') || '',+ step: stepOf(shape, index),+ travel: Math.min(RELAY.maxTravel, Math.max(RELAY.minTravel, len / RELAY.speed)),+ depart: 0,+ active: false,+ layers: []+ };+ records.push(record);+ // Dashed authored lines keep their dash language through the relay:// the wake brightens only the authored segments and never fills the// gaps back into a solid line.var authoredDash = '';try { authoredDash = window.getComputedStyle(shape).strokeDasharray; } catch (_) {}- if (authoredDash && authoredDash !== 'none') {- wake.style.setProperty('--flow-dasharray', authoredDash);- }+ record.dashed = !!(authoredDash && authoredDash !== 'none');+ wake.style.setProperty('--flow-dasharray', record.dashed ? authoredDash : len.toFixed(1) + ' ' + len.toFixed(1));// 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(14, Math.max(7, len * 0.03));+ var haloLen = Math.min(22, Math.max(12, len * 0.07));var trail = len >= 120? { pattern: '2.5 2 4 3 5.5 4.5 8 ' + (len - 30).toFixed(1), length: 30 }: (len >= 60? { pattern: '3 3 7 ' + (len - 13).toFixed(1), length: 13 }: { pattern: '5 ' + Math.max(4, len - 5).toFixed(1), length: 5 });- 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 });- 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- // edge's mask so it can bloom over the node boundary.- if (end) {- ['ripple', 'ripple-echo'].forEach(function (kind) {- var ripple = document.createElementNS('http://www.w3.org/2000/svg', 'circle');- ripple.setAttribute('cx', end.x.toFixed(1));- ripple.setAttribute('cy', end.y.toFixed(1));- ripple.setAttribute('r', '2');- if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));- 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;+ record.layers.push(+ { flow: wake, kind: 'wake', dash: len, shift: 0 },+ { flow: addPath('glow'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('halo'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('tail'), kind: 'comet', dash: trail.length, shift: trail.length - headLen, dasharray: trail.pattern },+ { flow: addPath('head'), kind: 'comet', dash: headLen, shift: 0 }+ );+ if (choreography === 'stream') {+ // A packet train behind the comet reads as a continuous stream.+ [1, 2, 3].forEach(function (order) {+ record.layers.push({ flow: addPath('head packet'), kind: 'comet', dash: Math.max(4, headLen * 0.55), shift: 0, packet: order });});}- flowCount += 1;+ // The ripple lands where the comet does; keep it out of the edge's+ // mask so it can bloom over the node boundary.+ var end = null;+ try { end = wake.getPointAtLength(len); } catch (_) {}+ if (end) {+ var ripple = document.createElementNS(SVG_NS, 'circle');+ ripple.setAttribute('cx', end.x.toFixed(1));+ ripple.setAttribute('cy', end.y.toFixed(1));+ ripple.setAttribute('r', '2');+ if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));+ ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-ripple');+ tagOverlay(ripple);+ shape.parentNode.insertBefore(ripple, anchor.nextSibling);+ record.ripple = ripple;+ }+ });+ var windows = Object.create(null);+ var extras = [];+ var span = 0;+ if (choreography === 'sweep') span = planSweep(windows, extras);+ else if (choreography === 'replay') span = planReplay(windows, extras);+ else if (records.length) {+ var linked = records.filter(function (record) { return record.from && record.to; });+ if (choreography === 'sequence' || linked.length < records.length) planSequence(records, windows);+ else if (choreography === 'walk') planWalk(records, windows);+ else planRelay(records, windows);+ span = records.reduce(function (max, record) {+ return record.active ? Math.max(max, record.depart + record.travel) : max;+ }, 0);+ span = scalePlan(records, windows, span);+ }+ records.forEach(function (record) {+ if (record.active) return;+ record.layers.forEach(function (layer) { layer.flow.remove(); });+ if (record.ripple) record.ripple.remove();+ });+ var active = records.filter(function (record) { return record.active; });+ if (!active.length && !extras.length) return;+ var cycle = Math.max(RELAY.minCycle, span + RELAY.land + RELAY.rest);+ writeKeyframes(active, windows, extras, cycle);+ svg.style.setProperty('--flow-cycle', cycle.toFixed(3) + 's');+ html.style.setProperty('--flow-cycle-chrome', cycle.toFixed(3) + 's');+ active.forEach(function (record) {+ var gap = Math.min(0.22, record.travel * 0.28);+ record.layers.forEach(function (layer) {+ var flow = layer.flow;+ flow.style.setProperty('--flow-len', record.len.toFixed(1) + 'px');+ flow.style.setProperty('--flow-delay', (record.depart + (layer.packet || 0) * gap).toFixed(3) + 's');+ flow.style.setProperty('--flow-dash', layer.dash.toFixed(1) + 'px');+ flow.style.setProperty('--flow-shift', layer.shift.toFixed(1) + 'px');+ flow.style.setProperty('--flow-name', 'archify-relay-' + layer.kind + '-' + record.index);+ if (layer.dasharray) flow.style.setProperty('--flow-dasharray', layer.dasharray);+ });+ if (record.ripple) {+ record.ripple.style.setProperty('--flow-delay', (record.depart + record.travel).toFixed(3) + 's');+ record.ripple.style.setProperty('--flow-name', 'archify-relay-ripple');+ }});+ var shapes = nodeShapes();+ Object.keys(windows).forEach(function (id) {+ (shapes[id] || []).forEach(function (shape) {+ shape.style.setProperty('--flow-node-name', windows[id].keyframes);+ });+ });+ flowCount = active.length + extras.length;}function settleEntry() {entryPending.clear();@@ -10815,26 +11160,35 @@ OTHER DEALINGS IN THE FONT SOFTWARE.function logicalViewport() {var metrics = contentMetrics();if (!metrics) return null;+ var camera = sampleRenderedState();var x;var y;var width;var height;- if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && state.scale >= 1) {+ if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && camera.scale >= 1) {x = viewBox.x + container.scrollLeft / metrics.scale;y = viewBox.y;width = Math.min(viewBox.width, Math.max(1, container.clientWidth / metrics.scale));height = viewBox.height;} else {- x = viewBox.x + (((container.scrollLeft - state.x) / state.scale) - metrics.offsetX) / metrics.scale;- y = viewBox.y + ((-state.y / state.scale) - metrics.offsetY) / metrics.scale;- width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / state.scale / metrics.scale);- height = Math.min(viewBox.height, metrics.height / state.scale / metrics.scale);+ x = viewBox.x + (((container.scrollLeft - camera.x) / camera.scale) - metrics.offsetX) / metrics.scale;+ y = viewBox.y + ((-camera.y / camera.scale) - metrics.offsetY) / metrics.scale;+ width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / camera.scale / metrics.scale);+ height = Math.min(viewBox.height, metrics.height / camera.scale / metrics.scale);}width = Math.max(1, Math.min(viewBox.width, width));height = Math.max(1, Math.min(viewBox.height, height));x = Math.max(viewBox.x, Math.min(viewBox.x + viewBox.width - width, x));y = Math.max(viewBox.y, Math.min(viewBox.y + viewBox.height - height, y));- return { x: x, y: y, width: width, height: height, scale: state.scale };+ // The camera's layout box can span several browser screens. Intersect+ // its logical bounds with the actual window, including page scrolling.+ var matrix = svg.getScreenCTM();+ if (matrix && matrix.d > 0) {+ var end = y + height;+ y = Math.max(y, Math.min(end - 1, -matrix.f / matrix.d));+ height = Math.max(1, Math.min(end, (window.innerHeight - matrix.f) / matrix.d) - y);+ }+ return { x: x, y: y, width: width, height: height, scale: camera.scale };}function detailLevel() {if (state.mode === 'semantic') return 'full';@@ -10896,13 +11250,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// CSS transforms keep the SVG's intrinsic layout size. Shrink only its// outer page-flow box for long ordinary diagrams, never the SVG itself:// changing its height would feed the smaller size back into camera math.- function syncPageFlow(camera) {- camera = camera || state;+ function ordinaryPage() {var html = document.documentElement;- var height = svg.clientHeight;- var ordinary = html.getAttribute('data-embed') !== 'true' &&+ return html.getAttribute('data-embed') !== 'true' &&html.getAttribute('data-present') !== 'true' &&(!window.matchMedia || !window.matchMedia('print').matches);+ }+ function syncPageFlow(camera) {+ camera = camera || state;+ var height = svg.clientHeight;+ var ordinary = ordinaryPage();// Restore ordinary flow as soon as the target reaches 100%. Chrome// uses that target to resume baseline rail measurement; retaining a// partially shrunk box during the CSS transition would inflate reserve.@@ -10927,6 +11284,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var rendered = sampleRenderedState();syncPageFlow(rendered);clipToViewport(rendered);+ if (Archify.radar && Archify.radar.isOpen()) Archify.radar.sync();if (Archify.readerLayout && typeof Archify.readerLayout.syncLegend === 'function') Archify.readerLayout.syncLegend();if (!cameraSettled(rendered)) clipFrame = requestAnimationFrame(sample);}@@ -11064,6 +11422,17 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state = { scale: 1, x: 0, y: 0, mode: 'overview' };apply();}+ function scrollLongDiagramTo(contentY, metrics, options) {+ if (!ordinaryPage() || metrics.height <= window.innerHeight) return;+ // apply() may still be animating its CSS transform. Recover the layout+ // origin from the painted transform, then use the final camera target.+ var painted = sampleRenderedState();+ var rect = svg.getBoundingClientRect();+ var pixelScale = rect.height / metrics.height / painted.scale;+ var documentTop = window.scrollY + rect.top - painted.y * pixelScale;+ var target = documentTop + (state.y + contentY * state.scale) * pixelScale - window.innerHeight / 2;+ window.scrollTo({ left: window.scrollX, top: Math.max(0, target), behavior: options.instant ? 'instant' : 'smooth' });+ }function centerAt(logicalX, logicalY, options) {options = options || {};logicalX = Number(logicalX);@@ -11082,6 +11451,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.autoScrollUntil = Date.now() + 80;try { container.scrollTo({ left: mobileTarget, behavior: options.instant ? 'auto' : 'smooth' }); }catch (_) { container.scrollLeft = mobileTarget; }+ scrollLongDiagramTo(metrics.offsetY + (logicalY - viewBox.y) * metrics.scale, metrics, options);return true;}var minimumScale = Math.max(1, Math.min(3, Number(options.minimumScale) || 1));@@ -11093,6 +11463,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state.y = metrics.height / 2 - contentY * state.scale;state.mode = 'manual';apply();+ scrollLongDiagramTo(contentY, metrics, options);if (Archify.focus && Archify.focus.reposition) Archify.focus.reposition();return true;}diff --git a/examples/archify-repo.html b/examples/archify-repo.htmlindex d1bd9a3b..7f3d7e0f 100644--- a/examples/archify-repo.html+++ b/examples/archify-repo.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <meta name="generator" content="archify 3.0.2-dev.1">+ <meta name="generator" content="archify 3.1.0"><meta name="archify-reader-contract" content="declared-wide-v1"><title>Archify Diagram</title><script>@@ -186,7 +186,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(15, 23, 42, 0.22);--lane-stroke: #334155;- --arrow: #64748b;+ --arrow: #94a3b8;--arrow-emphasis: #34d399;/* Opaque mask color used behind semi-transparent component fills@@ -229,7 +229,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(248, 250, 252, 0.65);--lane-stroke: #cbd5e1;- --arrow: #94a3b8;+ --arrow: #64748b;--arrow-emphasis: #059669;--mask: #ffffff;@@ -2288,6 +2288,41 @@ OTHER DEALINGS IN THE FONT SOFTWARE.font-size: 0.5rem;}.diagram-guide-feedback:empty { display: none; }+ .diagram-guide-credit {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 0.6rem;+ padding: 0.46rem 0.9rem 0.56rem;+ border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 74%, transparent);+ color: var(--text-faint);+ font-size: 0.5rem;+ letter-spacing: 0.02em;+ text-decoration: none;+ }+ .diagram-guide-credit-link {+ display: inline-flex;+ align-items: center;+ gap: 0.28rem;+ flex: none;+ opacity: 0.72;+ transition: opacity 120ms ease, color 120ms ease;+ }+ .diagram-guide-star {+ width: 0.62rem;+ height: 0.62rem;+ background: currentColor;+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ }+ .diagram-guide-credit:hover .diagram-guide-star,+ .diagram-guide-credit:focus-visible .diagram-guide-star {+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ }+ .diagram-guide-credit:hover .diagram-guide-credit-link,+ .diagram-guide-credit:focus-visible .diagram-guide-credit-link { opacity: 1; color: var(--cloud-stroke); }+ .diagram-guide-credit:focus-visible { outline: 2px solid var(--cloud-stroke); outline-offset: -2px; }@keyframes archify-guide-in {from { opacity: 0; transform: translateY(-5px) scale(0.985); }to { opacity: 1; transform: translateY(0) scale(1); }@@ -3550,13 +3585,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.background: transparent;box-shadow: none;}- /* The motion button breathes on the same shared cycle as the cascade, so the- chrome keeps time with the wave it controls. The cycle length lives on the- diagram SVG, so chrome presets mirror it here. */+ /* The motion button breathes on the relay cycle, so the chrome keeps time+ with the wave it controls. Motion Governor mirrors the planned cycle from+ the diagram SVG onto the document. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) #btn-motion .motion-control-dot {animation: archify-motion-dot-breathe var(--flow-cycle-chrome, 6.4s) ease-in-out infinite;}- html[data-preset="signal-flow"] #btn-motion .motion-control-dot { --flow-cycle-chrome: 5.2s; }@keyframes archify-motion-dot-breathe {0%, 100% { opacity: 1; transform: scale(1); }46% { opacity: 0.55; transform: scale(0.72); }@@ -4725,27 +4759,23 @@ OTHER DEALINGS IN THE FONT SOFTWARE..c-region { fill: rgba(251, 191, 36, 0.05); stroke: var(--cloud-stroke); stroke-dasharray: 8,4; }.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. */+ /* Live plays one relay per cycle: a comet (halo, tail, head) leaves each+ source when the signal reaches it, travels at one shared speed, leaves a+ soft wake, and lands as a ripple while its target glows. Downstream edges+ depart only after their source is reached, so the reader sees the path the+ diagram describes rather than every edge shimmering at once. Sequence+ messages relay in authored chronological order. Motion Governor plans the+ timeline and its per-edge keyframes; this stylesheet owns appearance.+ Original line language and markers remain static. Node entry is bounded to+ one pass per document. */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-head-peak: 0.95;- --flow-wake-peak: 0.1;+ --flow-wake-peak: 0.3;--flow-ripple-peak: 0.65;- --flow-ripple-echo-peak: 0.26;}.ambient-edge-flow {fill: none;@@ -4755,69 +4785,91 @@ OTHER DEALINGS IN THE FONT SOFTWARE.display: none;}.ambient-flow-wake {+ --flow-peak: var(--flow-wake-peak, 0.3);stroke-width: 3.2;stroke-dasharray: var(--flow-dasharray, none);- animation-name: archify-flow-wake;}.ambient-flow-halo {+ --flow-peak: var(--flow-halo-peak, 0.17);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 makesthe comet read as a traveling orb of light rather than a bright dash. */.ambient-flow-glow {+ --flow-peak: var(--flow-glow-peak, 0.5);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 {+ --flow-peak: var(--flow-tail-peak, 0.42);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 {+ --flow-peak: var(--flow-head-peak, 0.95);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;}- .ambient-flow-head.echo { --flow-echo-scale: 0.76; }- .ambient-flow-tail.echo { --flow-echo-scale: 0.53; }.ambient-flow-ripple {+ --flow-peak: var(--flow-ripple-peak, 0.65);stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);stroke-width: 2;- animation-name: archify-flow-ripple;- }- .ambient-flow-ripple-echo {- stroke-width: 1.2;- animation-name: archify-flow-ripple-echo;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) .ambient-edge-flow {display: inline;+ animation-name: var(--flow-name, none);animation-duration: var(--flow-cycle, 6.4s);animation-timing-function: linear;animation-iteration-count: infinite;animation-delay: var(--flow-delay, 0s);/* Without backwards fill a delayed layer would sit at its natural opacity- (fully lit) until its phase arrives. */+ (fully lit) until its departure arrives. */animation-fill-mode: backwards;}+ /* Stream packets trail the comet head as smaller, dimmer beads. */+ .ambient-flow-head.packet {+ --flow-peak: calc(var(--flow-head-peak, 0.95) * 0.62);+ stroke-width: 3.4;+ }+ /* Timeline and waterfall playhead: a crisp rule over a soft bloom. */+ .ambient-flow-playhead {+ --flow-peak: 0.9;+ stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);+ stroke-width: 1.6;+ }+ .ambient-flow-playhead-glow {+ --flow-peak: 0.32;+ stroke-width: 10;+ filter: blur(4px);+ }+ /* Waterfall spans fill in proportion to their measured time, then settle. */+ .ambient-flow-fill {+ --flow-peak: 0.5;+ fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 55%, white);+ stroke: none;+ transform-box: fill-box;+ transform-origin: left center;+ }+ .ambient-flow-fill-failed { fill: var(--security-stroke); --flow-peak: 0.5; }+ html[data-theme="light"] .ambient-flow-playhead { stroke: color-mix(in srgb, var(--arrow-emphasis) 70%, black); }+ html[data-theme="light"] .ambient-flow-fill { --flow-peak: 0.42; fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 70%, black); }+ svg[data-preset="editorial"] .ambient-flow-fill { --flow-peak: 0.2; }+ svg[data-preset="editorial"] .ambient-flow-playhead-glow { --flow-peak: 0.14; }/* Each decorative flow follows its owning edge through tree visibility. */.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; }- /* On light canvases the cascade reads by saturation instead of bloom: the- head and inner ripple mix toward ink instead of white, and every layer's- peak rises so the wave survives the bright background. */+ 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.14; --flow-ripple-peak: 0.3; }+ /* On light canvases the relay reads by saturation instead of bloom: the head+ and ripple mix toward ink instead of white, and every layer's peak 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;+ --flow-wake-peak: 0.34;}html[data-theme="light"] .ambient-flow-head {stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, black);@@ -4844,85 +4896,33 @@ OTHER DEALINGS IN THE FONT SOFTWARE.animation: archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- /* Node glow follows each node's authored step on the shared cycle; it does- not track incoming edge arrivals. During the bounded entrance all three- animations run; the entrance pulse is listed after the repeating glow and- wins on filter until it completes. */+ /* Each node glows in its planned windows: when the relay reaches it, while a+ walk token rests on it, as a message lands, or as the playhead passes.+ During the bounded entrance all three animations run; the entrance pulse is+ listed after the repeating glow and wins on filter until it completes. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s));+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.6s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.1s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-blueprint-node-pulse 3.8s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- @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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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; }- }- @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; }- }- @keyframes archify-node-receive {- 0%, 100% { filter: var(--ambient-node-base-filter, none); }- 5%, 12% { filter: var(--ambient-node-base-filter,) drop-shadow(0 0 9px var(--arrow-emphasis)); }- }@keyframes archify-node-enter {from { opacity: 0; }to { opacity: 1; }@@ -5156,11 +5156,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</div>- <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script>+ <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.credit":"Find Archify useful? A star on GitHub helps","viewer.guide.star":"Star","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script><!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1340 568" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="standard" data-quality-gates="advisory" data-reader-fit="intrinsic-height" data-reader-min-text="7.5" data-reader-primary-text="14">+ <svg viewBox="0 0 1340 568" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="standard" data-quality-gates="advisory" data-node-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5" data-reader-primary-text="14"><title id="archify-diagram-title">Archify</title><desc id="archify-diagram-description">Agent skill → JSON IR → typed renderers → standalone HTML</desc><!-- Definitions -->@@ -5181,6 +5181,27 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<path d="M 40 0 L 0 0 0 40" class="c-grid" stroke-width="0.5"/></pattern></defs>+ <style>+ svg[data-node-ui] [data-node-id] > rect:not(.c-mask) { stroke-width: 1.25px; }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-frontend { fill: color-mix(in srgb, var(--frontend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--frontend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-backend { fill: color-mix(in srgb, var(--backend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--backend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-database { fill: color-mix(in srgb, var(--database-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--database-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-cloud { fill: color-mix(in srgb, var(--cloud-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-security { fill: color-mix(in srgb, var(--security-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-messagebus { fill: color-mix(in srgb, var(--messagebus-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--messagebus-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-external { fill: color-mix(in srgb, var(--external-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--external-stroke) 72%, var(--mask)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-region { fill: color-mix(in srgb, var(--cloud-stroke) 3%, transparent); stroke: color-mix(in srgb, var(--cloud-stroke) 42%, var(--lane-stroke)); stroke-dasharray: none; }+ svg[data-node-ui] .c-security-group { stroke: color-mix(in srgb, var(--security-stroke) 58%, var(--lane-stroke)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-security-group { stroke-dasharray: 4 3; }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-lane { stroke: var(--lane-stroke); stroke-dasharray: none; }+ svg[data-node-ui] [data-graph-role="structural-frame-label-mask"] { rx: 5px; fill: color-mix(in srgb, var(--cloud-stroke) 10%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 38%, var(--mask)); stroke-width: .8px; }+ svg[data-node-ui] [data-composition-frame-kind="security-group"] > [data-graph-role="structural-frame-label-mask"] { fill: color-mix(in srgb, var(--security-stroke) 9%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 36%, var(--mask)); }+ svg[data-node-ui] .phase-rule { opacity: .5; stroke-dasharray: none; }+ svg[data-node-ui] .phase-chip { stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui] g[data-edge-from] > rect.c-mask { rx: 7px; stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui][data-preset="blueprint"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 2px; }+ svg[data-node-ui][data-preset="editorial"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 3px; }+ </style><!-- Background Grid --><rect width="100%" height="100%" fill="url(#grid)" />@@ -5233,8 +5254,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Components --><g id="node-user" data-node-id="user" data-node-label="You" tabindex="0" role="button" aria-label="Focus You, NL or Mermaid, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="NL or Mermaid" data-node-context="Architecture component"><title>You · NL or Mermaid · Architecture component</title>- <rect x="40" y="300" width="120" height="60" rx="6" class="c-mask"/>- <rect x="40" y="300" width="120" height="60" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>+ <rect x="40" y="300" width="120" height="60" rx="8" class="c-mask"/>+ <rect x="40" y="300" width="120" height="60" rx="8" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(46 306) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5245,8 +5266,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-agents" data-node-id="agents" data-node-label="Agent Hosts" tabindex="0" role="button" aria-label="Focus Agent Hosts, Claude · Codex · opencode, Architecture component" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="Claude · Codex · opencode" data-node-context="Architecture component"><title>Agent Hosts · Claude · Codex · opencode · Architecture component</title>- <rect x="200" y="300" width="150" height="60" rx="6" class="c-mask"/>- <rect x="200" y="300" width="150" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/>+ <rect x="200" y="300" width="150" height="60" rx="8" class="c-mask"/>+ <rect x="200" y="300" width="150" height="60" rx="8" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(206 306) scale(0.6875)"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M2 6.5h12"/>@@ -5259,8 +5280,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-skill" data-node-id="skill" data-node-label="SKILL.md" tabindex="0" role="button" aria-label="Focus SKILL.md, layout judgment, Architecture component" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="layout judgment" data-node-tag="prompt dialect" data-node-context="Architecture component"><title>SKILL.md · layout judgment · Architecture component · prompt dialect</title>- <rect x="200" y="140" width="150" height="60" rx="6" class="c-mask"/>- <rect x="200" y="140" width="150" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:2" stroke-width="1.5"/>+ <rect x="200" y="140" width="150" height="60" rx="8" class="c-mask"/>+ <rect x="200" y="140" width="150" height="60" rx="8" class="c-frontend" data-animate="node" style="--step:2" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(206 146) scale(0.6875)"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M2 6.5h12"/>@@ -5274,8 +5295,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-ir" data-node-id="ir" data-node-label="JSON IR" tabindex="0" role="button" aria-label="Focus JSON IR, schema_version: 1, archify/ skill package" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="schema_version: 1" data-node-context="archify/ skill package"><title>JSON IR · schema_version: 1 · archify/ skill package</title>- <rect x="400" y="300" width="140" height="60" rx="6" class="c-mask"/>- <rect x="400" y="300" width="140" height="60" rx="6" class="c-messagebus" data-animate="node" style="--step:3" stroke-width="1.5"/>+ <rect x="400" y="300" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="400" y="300" width="140" height="60" rx="8" class="c-messagebus" data-animate="node" style="--step:3" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(406 306) scale(0.6875)"><path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/><circle cx="5" cy="4.5" r="1" class="sigil-fill"/>@@ -5288,8 +5309,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-schemas" data-node-id="schemas" data-node-label="JSON Schema" tabindex="0" role="button" aria-label="Focus JSON Schema, ajv strict, archify/ skill package" aria-pressed="false" data-node-kind="security" data-node-sublabel="ajv strict" data-node-tag="fail-closed" data-node-context="archify/ skill package"><title>JSON Schema · ajv strict · archify/ skill package · fail-closed</title>- <rect x="400" y="140" width="140" height="60" rx="6" class="c-mask"/>- <rect x="400" y="140" width="140" height="60" rx="6" class="c-security" data-animate="node" style="--step:4" stroke-width="1.5"/>+ <rect x="400" y="140" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="400" y="140" width="140" height="60" rx="8" class="c-security" data-animate="node" style="--step:4" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="security" class="semantic-sigil s-security" transform="translate(406 146) scale(0.6875)"><path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/>@@ -5301,8 +5322,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-renderers" data-node-id="renderers" data-node-label="Renderers ×5" tabindex="0" role="button" aria-label="Focus Renderers ×5, layout checks, archify/ skill package" aria-pressed="false" data-node-kind="backend" data-node-sublabel="layout checks" data-node-tag="no auto-layout" data-node-context="archify/ skill package"><title>Renderers ×5 · layout checks · archify/ skill package · no auto-layout</title>- <rect x="590" y="300" width="140" height="60" rx="6" class="c-mask"/>- <rect x="590" y="300" width="140" height="60" rx="6" class="c-backend" data-animate="node" style="--step:5" stroke-width="1.5"/>+ <rect x="590" y="300" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="590" y="300" width="140" height="60" rx="8" class="c-backend" data-animate="node" style="--step:5" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(596 306) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5313,8 +5334,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-template" data-node-id="template" data-node-label="template.html" tabindex="0" role="button" aria-label="Focus template.html, theme + export, archify/ skill package" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="theme + export" data-node-context="archify/ skill package"><title>template.html · theme + export · archify/ skill package</title>- <rect x="780" y="300" width="140" height="60" rx="6" class="c-mask"/>- <rect x="780" y="300" width="140" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:6" stroke-width="1.5"/>+ <rect x="780" y="300" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="780" y="300" width="140" height="60" rx="8" class="c-frontend" data-animate="node" style="--step:6" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(786 306) scale(0.6875)"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M2 6.5h12"/>@@ -5327,8 +5348,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-checker" data-node-id="checker" data-node-label="Output Check" tabindex="0" role="button" aria-label="Focus Output Check, SVG gates, archify/ skill package" aria-pressed="false" data-node-kind="security" data-node-sublabel="SVG gates" data-node-context="archify/ skill package"><title>Output Check · SVG gates · archify/ skill package</title>- <rect x="970" y="300" width="140" height="60" rx="6" class="c-mask"/>- <rect x="970" y="300" width="140" height="60" rx="6" class="c-security" data-animate="node" style="--step:7" stroke-width="1.5"/>+ <rect x="970" y="300" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="970" y="300" width="140" height="60" rx="8" class="c-security" data-animate="node" style="--step:7" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="security" class="semantic-sigil s-security" transform="translate(976 306) scale(0.6875)"><path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/>@@ -5339,8 +5360,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-html" data-node-id="html" data-node-label="HTML Artifact" tabindex="0" role="button" aria-label="Focus HTML Artifact, single file, Architecture component" aria-pressed="false" data-node-kind="cloud" data-node-sublabel="single file" data-node-context="Architecture component"><title>HTML Artifact · single file · Architecture component</title>- <rect x="1160" y="300" width="140" height="60" rx="6" class="c-mask"/>- <rect x="1160" y="300" width="140" height="60" rx="6" class="c-cloud" data-animate="node" style="--step:8" stroke-width="1.5"/>+ <rect x="1160" y="300" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="1160" y="300" width="140" height="60" rx="8" class="c-cloud" data-animate="node" style="--step:8" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="cloud" class="semantic-sigil s-cloud" transform="translate(1166 306) scale(0.6875)"><path d="M4.3 12.5h7.3a2.4 2.4 0 0 0 .2-4.8 4 4 0 0 0-7.5-1.3A3.1 3.1 0 0 0 4.3 12.5Z"/></g>@@ -5350,8 +5371,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-zip" data-node-id="zip" data-node-label="archify.zip" tabindex="0" role="button" aria-label="Focus archify.zip, skill package, Architecture component" aria-pressed="false" data-node-kind="cloud" data-node-sublabel="skill package" data-node-context="Architecture component"><title>archify.zip · skill package · Architecture component</title>- <rect x="1160" y="140" width="140" height="60" rx="6" class="c-mask"/>- <rect x="1160" y="140" width="140" height="60" rx="6" class="c-cloud" data-animate="node" style="--step:10" stroke-width="1.5"/>+ <rect x="1160" y="140" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="1160" y="140" width="140" height="60" rx="8" class="c-cloud" data-animate="node" style="--step:10" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="cloud" class="semantic-sigil s-cloud" transform="translate(1166 146) scale(0.6875)"><path d="M4.3 12.5h7.3a2.4 2.4 0 0 0 .2-4.8 4 4 0 0 0-7.5-1.3A3.1 3.1 0 0 0 4.3 12.5Z"/></g>@@ -5361,8 +5382,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-ci" data-node-id="ci" data-node-label="CI Gates" tabindex="0" role="button" aria-label="Focus CI Gates, golden + zip, Architecture component" aria-pressed="false" data-node-kind="backend" data-node-sublabel="golden + zip" data-node-context="Architecture component"><title>CI Gates · golden + zip · Architecture component</title>- <rect x="590" y="440" width="140" height="60" rx="6" class="c-mask"/>- <rect x="590" y="440" width="140" height="60" rx="6" class="c-backend" data-animate="node" style="--step:9" stroke-width="1.5"/>+ <rect x="590" y="440" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="590" y="440" width="140" height="60" rx="8" class="c-backend" data-animate="node" style="--step:9" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(596 446) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5464,6 +5485,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<span><kbd>E</kbd> Export</span><span><kbd>T</kbd> Theme</span><span><kbd>S</kbd> Style</span><span><kbd>0</kbd> Reset</span><span><kbd>+</kbd> Zoom in</span><span><kbd>-</kbd> Zoom out</span><span><kbd>Esc</kbd> Close</span></div><p class="diagram-guide-feedback" id="diagram-guide-feedback" aria-live="polite"></p>+ <a class="diagram-guide-credit" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener noreferrer"><span>Find Archify useful? A star on GitHub helps</span><span class="diagram-guide-credit-link"><span class="diagram-guide-star" aria-hidden="true"></span>Star <span aria-hidden="true">↗</span></span></a></div><div class="node-finder no-print" id="node-finder" hidden role="dialog" aria-modal="false" aria-labelledby="node-finder-title"><div class="node-finder-head">@@ -7530,36 +7552,321 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// Runtime decoration carries geometry and tree visibility only. Keep each// flow beside its authored edge so transforms, clipping and crossover// paint order apply.- // Each edge carries a small light show: a comet (halo, tail, head)- // cascading downstream on one shared cycle, a lingering wake, and a- // ripple where the comet lands. Phases follow the authored step order:- // source-node rank where known, chronological message order in sequence- // diagrams.- function readSecondsVar(name, fallback) {- var value = '';- try { value = window.getComputedStyle(svg).getPropertyValue(name); } catch (_) {}- var seconds = parseFloat(value);- return Number.isFinite(seconds) && seconds > 0 ? seconds : fallback;- }- function nodeStep(from) {- // Authored IDs follow the schema's conservative identifier pattern, so- // direct selector interpolation stays safe here. The semantic wrapper- // groups the animated shape; its authored step ranks the node.- var node = from ? svg.querySelector('[data-node-id="' + from + '"]') : null;- var shape = node ? node.querySelector('[data-animate="node"]') : null;- return shape && shape.style ? shape.style.getPropertyValue('--step') : '';- }- function edgePhase(shape, fallbackStep) {- // Sequence messages have no data-edge-from; their own authored step is- // already chronological, which is the right phase there.- var raw = nodeStep(shape.getAttribute('data-edge-from'));- if (raw === '' && shape.style) raw = shape.style.getPropertyValue('--step');- var step = parseFloat(raw);- return Number.isFinite(step) ? step : fallbackStep;+ // Each renderer may declare a choreography that matches what its diagram+ // means. Relay (the default) sends a comet from each source when the+ // signal reaches it; stream adds a packet train for continuous data; walk+ // moves one token along the main state path; sequence plays messages in+ // authored order; sweep runs a playhead along a timeline; replay fills+ // waterfall spans in proportion to their measured time. Motion Governor+ // plans the timeline and per-element keyframes; viewer.css owns looks.+ var SVG_NS = 'http://www.w3.org/2000/svg';+ var choreography = svg ? (svg.getAttribute('data-motion-choreography') || 'relay') : 'relay';+ var RELAY = {+ speed: 280,+ minTravel: 0.42,+ maxTravel: 1.5,+ handoff: 0.1,+ dwell: 0.55,+ maxSpan: 9,+ land: 0.9,+ rest: 1.4,+ minCycle: 3.6+ };+ function stepOf(element, fallback) {+ var step = parseFloat(element && element.style ? element.style.getPropertyValue('--step') : '');+ return Number.isFinite(step) ? step : fallback;+ }+ function byStep(a, b) { return a.step - b.step || a.index - b.index; }+ function addWindow(windows, id, start, end, strong) {+ if (!id) return;+ (windows[id] = windows[id] || []).push({ start: start, end: end, strong: !!strong });+ }+ function planRelay(records, windows) {+ var arrive = Object.create(null);+ var seeded = Object.create(null);+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ function seed(id) {+ if (arrive[id] !== undefined) return;+ arrive[id] = 0;+ seeded[id] = true;+ }+ function relax() {+ // Earliest arrival over a few dozen edges; a scan per settle keeps+ // cycles and fan-in deterministic without a priority queue.+ var settled = Object.create(null);+ for (;;) {+ var next = null;+ Object.keys(arrive).forEach(function (id) {+ if (!settled[id] && (next === null || arrive[id] < arrive[next])) next = id;+ });+ if (next === null) return;+ settled[next] = true;+ var depart = arrive[next] + (seeded[next] ? 0 : RELAY.handoff);+ records.forEach(function (record) {+ if (record.from !== next) return;+ var at = depart + record.travel;+ if (arrive[record.to] === undefined || at < arrive[record.to]) arrive[record.to] = at;+ });+ }+ }+ records.forEach(function (record) { if (!targets[record.from]) seed(record.from); });+ relax();+ for (;;) {+ // A closed cycle has no entry; start it at its earliest authored edge.+ var orphan = records.filter(function (record) { return arrive[record.from] === undefined; }).sort(byStep)[0];+ if (!orphan) break;+ seed(orphan.from);+ relax();+ }+ records.forEach(function (record) {+ record.depart = arrive[record.from] + (seeded[record.from] ? 0 : RELAY.handoff);+ record.active = true;+ });+ Object.keys(arrive).forEach(function (id) { addWindow(windows, id, arrive[id], arrive[id]); });+ }+ function planWalk(records, windows) {+ // A state machine is in one state at a time: follow the first authored+ // transition to an unvisited state and let the current state stay lit.+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ var ordered = records.slice().sort(byStep);+ var start = (ordered.find(function (record) { return !targets[record.from]; }) || ordered[0]).from;+ var visited = Object.create(null);+ var current = start;+ var clock = 0;+ var enteredAt = 0;+ visited[start] = true;+ for (var hops = 0; hops < 16; hops += 1) {+ var next = ordered.find(function (record) { return record.from === current && !visited[record.to]; });+ if (!next) break;+ next.active = true;+ next.depart = clock + RELAY.dwell;+ addWindow(windows, current, enteredAt, next.depart, true);+ clock = next.depart + next.travel;+ enteredAt = clock;+ current = next.to;+ visited[current] = true;+ }+ addWindow(windows, current, enteredAt, enteredAt + 1.2, true);+ }+ function planSequence(records, windows) {+ var clock = 0;+ records.slice().sort(byStep).forEach(function (record) {+ record.active = true;+ record.depart = clock;+ clock += record.travel + RELAY.handoff;+ addWindow(windows, record.from, record.depart, record.depart);+ addWindow(windows, record.to, record.depart + record.travel, record.depart + record.travel);+ });+ }+ function scalePlan(records, windows, span) {+ var scale = span > RELAY.maxSpan ? RELAY.maxSpan / span : 1;+ if (scale === 1) return span;+ records.forEach(function (record) {+ if (!record.active) return;+ record.depart *= scale;+ record.travel *= scale;+ });+ Object.keys(windows).forEach(function (id) {+ windows[id].forEach(function (window) { window.start *= scale; window.end *= scale; });+ });+ return span * scale;+ }+ function nodeShapes() {+ var shapes = Object.create(null);+ Array.prototype.forEach.call(svg.querySelectorAll('[data-animate="node"]'), function (shape) {+ var wrapper = shape.closest('[data-node-id]');+ var id = wrapper ? wrapper.getAttribute('data-node-id') : '';+ if (id) (shapes[id] = shapes[id] || []).push(shape);+ });+ return shapes;+ }+ function sceneBounds(elements) {+ var box = null;+ elements.forEach(function (element) {+ var b = null;+ try { b = element.getBBox(); } catch (_) {}+ if (!b || !(b.width || b.height)) return;+ if (!box) box = { x: b.x, y: b.y, right: b.x + b.width, bottom: b.y + b.height };+ else {+ box.x = Math.min(box.x, b.x); box.y = Math.min(box.y, b.y);+ box.right = Math.max(box.right, b.x + b.width); box.bottom = Math.max(box.bottom, b.y + b.height);+ }+ });+ return box;+ }+ function overlay(tag, cls, attrs, parent, before) {+ var element = document.createElementNS(SVG_NS, tag);+ Object.keys(attrs).forEach(function (name) { element.setAttribute(name, attrs[name]); });+ element.setAttribute('class', 'ambient-edge-flow ' + cls);+ element.setAttribute('data-ambient-flow-overlay', 'true');+ element.setAttribute('aria-hidden', 'true');+ parent.insertBefore(element, before || null);+ return element;+ }+ // Timeline and waterfall share a playhead: a lit vertical rule and its+ // bloom travel the time axis linearly, because time is the subject.+ function addPlayhead(box, x0, x1, lead, sweep, extras) {+ var anchor = svg.querySelector('[data-node-id]');+ var parent = anchor ? anchor.parentNode : svg;+ var attrs = { x1: x0.toFixed(1), x2: x0.toFixed(1), y1: (box.y - 10).toFixed(1), y2: (box.bottom + 10).toFixed(1) };+ ['playhead-glow', 'playhead'].forEach(function (kind) {+ var line = overlay('line', 'ambient-flow-' + kind, attrs, parent, anchor);+ line.style.setProperty('--flow-name', 'archify-motion-playhead');+ extras.push(line);+ });+ extras.playhead = { distance: x1 - x0, lead: lead, sweep: sweep };+ }+ function planSweep(windows, extras) {+ var events = Array.prototype.filter.call(svg.querySelectorAll('[data-node-id][data-timeline-x]'), function (node) {+ return Number.isFinite(parseFloat(node.getAttribute('data-timeline-x')));+ });+ if (!events.length) return 0;+ var xs = events.map(function (node) { return parseFloat(node.getAttribute('data-timeline-x')); });+ var x0 = Math.min.apply(null, xs), x1 = Math.max.apply(null, xs);+ var lead = 0.35;+ var sweep = Math.min(7, Math.max(3.2, events.length * 0.6));+ events.forEach(function (node, index) {+ var at = lead + (x1 > x0 ? (xs[index] - x0) / (x1 - x0) : 0) * sweep;+ addWindow(windows, node.getAttribute('data-node-id'), at, at + 0.35, true);+ });+ var box = sceneBounds(Array.prototype.slice.call(svg.querySelectorAll('[data-timeline-lane]')));+ if (box && x1 > x0) addPlayhead(box, x0, x1, lead, sweep, extras);+ return lead + sweep + 0.6;+ }+ function planReplay(windows, extras) {+ var spans = [];+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id][data-waterfall-start]'), function (node) {+ var start = parseFloat(node.getAttribute('data-waterfall-start'));+ var end = parseFloat(node.getAttribute('data-waterfall-end'));+ var bar = node.querySelector('[data-animate="node"]');+ if (!bar || !Number.isFinite(start) || !(end >= start)) return;+ var width = parseFloat(bar.getAttribute('width'));+ var x = parseFloat(bar.getAttribute('x'));+ if (!(width > 0) || !Number.isFinite(x)) return;+ spans.push({ node: node, bar: bar, start: start, end: end, x: x, width: width });+ });+ if (!spans.length) return 0;+ var t0 = Math.min.apply(null, spans.map(function (span) { return span.start; }));+ var t1 = Math.max.apply(null, spans.map(function (span) { return span.end; }));+ if (!(t1 > t0)) return 0;+ var ruler = spans.reduce(function (best, span) { return span.end - span.start > best.end - best.start ? span : best; });+ var pxPerUnit = ruler.width / Math.max(ruler.end - ruler.start, 1e-9);+ var x0 = ruler.x - (ruler.start - t0) * pxPerUnit;+ var lead = 0.35;+ var replay = Math.min(6, Math.max(3.4, spans.length * 0.45));+ var at = function (t) { return lead + (t - t0) / (t1 - t0) * replay; };+ var settle = lead + replay + 0.9;+ spans.forEach(function (span) {+ var fill = overlay('rect', 'ambient-flow-fill', {+ x: span.bar.getAttribute('x'), y: span.bar.getAttribute('y'),+ width: span.bar.getAttribute('width'), height: span.bar.getAttribute('height'),+ rx: span.bar.getAttribute('rx') || '0'+ }, span.bar.parentNode, span.bar.nextSibling);+ var tone = /(?:^|\s)c-([a-z]+)(?:\s|$)/.exec(span.bar.getAttribute('class') || '');+ if (tone) fill.style.setProperty('--flow-fill', 'var(--' + tone[1] + '-stroke)');+ if (span.node.getAttribute('data-waterfall-status') && span.node.getAttribute('data-waterfall-status') !== 'ok') {+ fill.classList.add('ambient-flow-fill-failed');+ }+ fill.timing = { start: at(span.start), end: Math.max(at(span.end), at(span.start) + 0.08), settle: settle };+ extras.push(fill);+ addWindow(windows, span.node.getAttribute('data-node-id'), fill.timing.end, fill.timing.end);+ });+ var box = sceneBounds(spans.map(function (span) { return span.bar; }));+ if (box) addPlayhead(box, x0, x0 + (t1 - t0) * pxPerUnit, lead, replay, extras);+ return settle;+ }+ function writeKeyframes(records, windows, extras, cycle) {+ function at(seconds) {+ return (Math.min(100, Math.max(0, seconds / cycle * 100))).toFixed(3) + '%';+ }+ var ease = 'animation-timing-function: cubic-bezier(0.45, 0.05, 0.35, 1);';+ var rules = [+ '@keyframes archify-relay-ripple {',+ ' 0% { r: 2px; opacity: var(--flow-peak, 0.6); }',+ ' ' + at(0.75) + ', 100% { r: 20px; opacity: 0; }',+ '}'+ ];+ records.forEach(function (record) {+ if (!record.active) return;+ var travel = record.travel;+ rules.push(+ '@keyframes archify-relay-comet-' + record.index + ' {',+ ' 0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 0px)); opacity: 0; ' + ease + ' }',+ ' ' + at(Math.min(0.12, travel * 0.2)) + ' { opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel) + ' { stroke-dashoffset: var(--flow-shift, 0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel + 0.16) + ', 100% { stroke-dashoffset: var(--flow-shift, 0px); opacity: 0; }',+ '}',+ // A solid wake draws the travelled path behind the head on the same+ // easing; a dashed wake only brightens its authored segments.+ '@keyframes archify-relay-wake-' + record.index + ' {',+ record.dashed+ ? ' 0%, ' + at(travel * 0.3) + ' { opacity: 0; }'+ : ' 0% { stroke-dashoffset: var(--flow-len, 0px); opacity: var(--flow-peak, 0.3); ' + ease + ' }',+ record.dashed+ ? ' ' + at(travel) + ' { opacity: var(--flow-peak, 0.3); }'+ : ' ' + at(travel) + ' { stroke-dashoffset: 0px; opacity: var(--flow-peak, 0.3); }',+ ' ' + at(travel + 0.9) + ', 100% { stroke-dashoffset: 0px; opacity: 0; }',+ '}'+ );+ });+ var glow = function (strong) {+ return 'filter: var(--ambient-node-base-filter,) drop-shadow(0 0 ' + (strong ? 14 : 10) + 'px var(--arrow-emphasis));';+ };+ var base = 'filter: var(--ambient-node-base-filter, none);';+ Object.keys(windows).forEach(function (id, index) {+ var merged = [];+ windows[id].slice().sort(function (a, b) { return a.start - b.start; }).forEach(function (window) {+ var peakEnd = Math.max(window.end, window.start + 0.42);+ var last = merged[merged.length - 1];+ if (last && window.start <= last.peakEnd + 0.78) {+ last.peakEnd = Math.max(last.peakEnd, peakEnd);+ last.strong = last.strong || window.strong;+ } else merged.push({ start: window.start, peakEnd: peakEnd, strong: window.strong });+ });+ var frames = [' 0%, 100% { ' + base + ' }'];+ merged.forEach(function (window) {+ frames.push(+ ' ' + at(window.start) + ' { ' + base + ' }',+ ' ' + at(window.start + 0.12) + ', ' + at(window.peakEnd) + ' { ' + glow(window.strong) + ' }',+ ' ' + at(window.peakEnd + 0.78) + ' { ' + base + ' }'+ );+ });+ rules.push('@keyframes archify-relay-node-' + index + ' {', frames.join('\n'), '}');+ windows[id].keyframes = 'archify-relay-node-' + index;+ });+ if (extras.playhead) {+ var p = extras.playhead;+ rules.push(+ '@keyframes archify-motion-playhead {',+ ' 0% { transform: translateX(0px); opacity: 0; }',+ ' ' + at(Math.max(0.05, p.lead - 0.2)) + ' { transform: translateX(0px); opacity: 0; }',+ ' ' + at(p.lead) + ' { transform: translateX(0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep) + ' { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep + 0.45) + ', 100% { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: 0; }',+ '}'+ );+ }+ extras.forEach(function (element, index) {+ if (!element.timing) return;+ var t = element.timing;+ rules.push(+ '@keyframes archify-replay-fill-' + index + ' {',+ ' 0%, ' + at(t.start) + ' { transform: scaleX(0); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.end) + ', ' + at(t.settle) + ' { transform: scaleX(1); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.settle + 0.7) + ', 100% { transform: scaleX(1); opacity: 0; }',+ '}'+ );+ element.style.setProperty('--flow-name', 'archify-replay-fill-' + index);+ });+ var style = document.createElement('style');+ style.setAttribute('data-ambient-flow-keyframes', 'true');+ style.textContent = rules.join('\n');+ document.head.appendChild(style);}function createFlows() {- var stepDelay = readSecondsVar('--flow-step-delay', 0.2);- var cycle = readSecondsVar('--flow-cycle', 6.4);+ var records = [];Array.prototype.forEach.call(svg.querySelectorAll('path[data-animate="edge"]'), function (shape, index) {var d = shape.getAttribute('data-motion-path') || shape.getAttribute('d');if (!d) return;@@ -7574,7 +7881,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}}function addPath(cls) {- var flow = document.createElementNS('http://www.w3.org/2000/svg', 'path');+ var flow = document.createElementNS(SVG_NS, 'path');flow.setAttribute('d', d);['transform', 'mask', 'clip-path', 'vector-effect'].forEach(function (name) {if (shape.hasAttribute(name)) flow.setAttribute(name, shape.getAttribute(name));@@ -7592,76 +7899,114 @@ 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;- try { end = head.getPointAtLength(len); } catch (_) {}- // Dashed authored lines keep their dash language through the show:+ var record = {+ index: records.length,+ len: len,+ from: shape.getAttribute('data-edge-from') || shape.getAttribute('data-composition-edge-from') || '',+ to: shape.getAttribute('data-edge-to') || shape.getAttribute('data-composition-edge-to') || '',+ step: stepOf(shape, index),+ travel: Math.min(RELAY.maxTravel, Math.max(RELAY.minTravel, len / RELAY.speed)),+ depart: 0,+ active: false,+ layers: []+ };+ records.push(record);+ // Dashed authored lines keep their dash language through the relay:// the wake brightens only the authored segments and never fills the// gaps back into a solid line.var authoredDash = '';try { authoredDash = window.getComputedStyle(shape).strokeDasharray; } catch (_) {}- if (authoredDash && authoredDash !== 'none') {- wake.style.setProperty('--flow-dasharray', authoredDash);- }+ record.dashed = !!(authoredDash && authoredDash !== 'none');+ wake.style.setProperty('--flow-dasharray', record.dashed ? authoredDash : len.toFixed(1) + ' ' + len.toFixed(1));// 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(14, Math.max(7, len * 0.03));+ var haloLen = Math.min(22, Math.max(12, len * 0.07));var trail = len >= 120? { pattern: '2.5 2 4 3 5.5 4.5 8 ' + (len - 30).toFixed(1), length: 30 }: (len >= 60? { pattern: '3 3 7 ' + (len - 13).toFixed(1), length: 13 }: { pattern: '5 ' + Math.max(4, len - 5).toFixed(1), length: 5 });- 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 });- 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- // edge's mask so it can bloom over the node boundary.- if (end) {- ['ripple', 'ripple-echo'].forEach(function (kind) {- var ripple = document.createElementNS('http://www.w3.org/2000/svg', 'circle');- ripple.setAttribute('cx', end.x.toFixed(1));- ripple.setAttribute('cy', end.y.toFixed(1));- ripple.setAttribute('r', '2');- if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));- 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;+ record.layers.push(+ { flow: wake, kind: 'wake', dash: len, shift: 0 },+ { flow: addPath('glow'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('halo'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('tail'), kind: 'comet', dash: trail.length, shift: trail.length - headLen, dasharray: trail.pattern },+ { flow: addPath('head'), kind: 'comet', dash: headLen, shift: 0 }+ );+ if (choreography === 'stream') {+ // A packet train behind the comet reads as a continuous stream.+ [1, 2, 3].forEach(function (order) {+ record.layers.push({ flow: addPath('head packet'), kind: 'comet', dash: Math.max(4, headLen * 0.55), shift: 0, packet: order });});}- flowCount += 1;+ // The ripple lands where the comet does; keep it out of the edge's+ // mask so it can bloom over the node boundary.+ var end = null;+ try { end = wake.getPointAtLength(len); } catch (_) {}+ if (end) {+ var ripple = document.createElementNS(SVG_NS, 'circle');+ ripple.setAttribute('cx', end.x.toFixed(1));+ ripple.setAttribute('cy', end.y.toFixed(1));+ ripple.setAttribute('r', '2');+ if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));+ ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-ripple');+ tagOverlay(ripple);+ shape.parentNode.insertBefore(ripple, anchor.nextSibling);+ record.ripple = ripple;+ }+ });+ var windows = Object.create(null);+ var extras = [];+ var span = 0;+ if (choreography === 'sweep') span = planSweep(windows, extras);+ else if (choreography === 'replay') span = planReplay(windows, extras);+ else if (records.length) {+ var linked = records.filter(function (record) { return record.from && record.to; });+ if (choreography === 'sequence' || linked.length < records.length) planSequence(records, windows);+ else if (choreography === 'walk') planWalk(records, windows);+ else planRelay(records, windows);+ span = records.reduce(function (max, record) {+ return record.active ? Math.max(max, record.depart + record.travel) : max;+ }, 0);+ span = scalePlan(records, windows, span);+ }+ records.forEach(function (record) {+ if (record.active) return;+ record.layers.forEach(function (layer) { layer.flow.remove(); });+ if (record.ripple) record.ripple.remove();+ });+ var active = records.filter(function (record) { return record.active; });+ if (!active.length && !extras.length) return;+ var cycle = Math.max(RELAY.minCycle, span + RELAY.land + RELAY.rest);+ writeKeyframes(active, windows, extras, cycle);+ svg.style.setProperty('--flow-cycle', cycle.toFixed(3) + 's');+ html.style.setProperty('--flow-cycle-chrome', cycle.toFixed(3) + 's');+ active.forEach(function (record) {+ var gap = Math.min(0.22, record.travel * 0.28);+ record.layers.forEach(function (layer) {+ var flow = layer.flow;+ flow.style.setProperty('--flow-len', record.len.toFixed(1) + 'px');+ flow.style.setProperty('--flow-delay', (record.depart + (layer.packet || 0) * gap).toFixed(3) + 's');+ flow.style.setProperty('--flow-dash', layer.dash.toFixed(1) + 'px');+ flow.style.setProperty('--flow-shift', layer.shift.toFixed(1) + 'px');+ flow.style.setProperty('--flow-name', 'archify-relay-' + layer.kind + '-' + record.index);+ if (layer.dasharray) flow.style.setProperty('--flow-dasharray', layer.dasharray);+ });+ if (record.ripple) {+ record.ripple.style.setProperty('--flow-delay', (record.depart + record.travel).toFixed(3) + 's');+ record.ripple.style.setProperty('--flow-name', 'archify-relay-ripple');+ }});+ var shapes = nodeShapes();+ Object.keys(windows).forEach(function (id) {+ (shapes[id] || []).forEach(function (shape) {+ shape.style.setProperty('--flow-node-name', windows[id].keyframes);+ });+ });+ flowCount = active.length + extras.length;}function settleEntry() {entryPending.clear();@@ -10883,26 +11228,35 @@ OTHER DEALINGS IN THE FONT SOFTWARE.function logicalViewport() {var metrics = contentMetrics();if (!metrics) return null;+ var camera = sampleRenderedState();var x;var y;var width;var height;- if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && state.scale >= 1) {+ if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && camera.scale >= 1) {x = viewBox.x + container.scrollLeft / metrics.scale;y = viewBox.y;width = Math.min(viewBox.width, Math.max(1, container.clientWidth / metrics.scale));height = viewBox.height;} else {- x = viewBox.x + (((container.scrollLeft - state.x) / state.scale) - metrics.offsetX) / metrics.scale;- y = viewBox.y + ((-state.y / state.scale) - metrics.offsetY) / metrics.scale;- width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / state.scale / metrics.scale);- height = Math.min(viewBox.height, metrics.height / state.scale / metrics.scale);+ x = viewBox.x + (((container.scrollLeft - camera.x) / camera.scale) - metrics.offsetX) / metrics.scale;+ y = viewBox.y + ((-camera.y / camera.scale) - metrics.offsetY) / metrics.scale;+ width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / camera.scale / metrics.scale);+ height = Math.min(viewBox.height, metrics.height / camera.scale / metrics.scale);}width = Math.max(1, Math.min(viewBox.width, width));height = Math.max(1, Math.min(viewBox.height, height));x = Math.max(viewBox.x, Math.min(viewBox.x + viewBox.width - width, x));y = Math.max(viewBox.y, Math.min(viewBox.y + viewBox.height - height, y));- return { x: x, y: y, width: width, height: height, scale: state.scale };+ // The camera's layout box can span several browser screens. Intersect+ // its logical bounds with the actual window, including page scrolling.+ var matrix = svg.getScreenCTM();+ if (matrix && matrix.d > 0) {+ var end = y + height;+ y = Math.max(y, Math.min(end - 1, -matrix.f / matrix.d));+ height = Math.max(1, Math.min(end, (window.innerHeight - matrix.f) / matrix.d) - y);+ }+ return { x: x, y: y, width: width, height: height, scale: camera.scale };}function detailLevel() {if (state.mode === 'semantic') return 'full';@@ -10964,13 +11318,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// CSS transforms keep the SVG's intrinsic layout size. Shrink only its// outer page-flow box for long ordinary diagrams, never the SVG itself:// changing its height would feed the smaller size back into camera math.- function syncPageFlow(camera) {- camera = camera || state;+ function ordinaryPage() {var html = document.documentElement;- var height = svg.clientHeight;- var ordinary = html.getAttribute('data-embed') !== 'true' &&+ return html.getAttribute('data-embed') !== 'true' &&html.getAttribute('data-present') !== 'true' &&(!window.matchMedia || !window.matchMedia('print').matches);+ }+ function syncPageFlow(camera) {+ camera = camera || state;+ var height = svg.clientHeight;+ var ordinary = ordinaryPage();// Restore ordinary flow as soon as the target reaches 100%. Chrome// uses that target to resume baseline rail measurement; retaining a// partially shrunk box during the CSS transition would inflate reserve.@@ -10995,6 +11352,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var rendered = sampleRenderedState();syncPageFlow(rendered);clipToViewport(rendered);+ if (Archify.radar && Archify.radar.isOpen()) Archify.radar.sync();if (Archify.readerLayout && typeof Archify.readerLayout.syncLegend === 'function') Archify.readerLayout.syncLegend();if (!cameraSettled(rendered)) clipFrame = requestAnimationFrame(sample);}@@ -11132,6 +11490,17 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state = { scale: 1, x: 0, y: 0, mode: 'overview' };apply();}+ function scrollLongDiagramTo(contentY, metrics, options) {+ if (!ordinaryPage() || metrics.height <= window.innerHeight) return;+ // apply() may still be animating its CSS transform. Recover the layout+ // origin from the painted transform, then use the final camera target.+ var painted = sampleRenderedState();+ var rect = svg.getBoundingClientRect();+ var pixelScale = rect.height / metrics.height / painted.scale;+ var documentTop = window.scrollY + rect.top - painted.y * pixelScale;+ var target = documentTop + (state.y + contentY * state.scale) * pixelScale - window.innerHeight / 2;+ window.scrollTo({ left: window.scrollX, top: Math.max(0, target), behavior: options.instant ? 'instant' : 'smooth' });+ }function centerAt(logicalX, logicalY, options) {options = options || {};logicalX = Number(logicalX);@@ -11150,6 +11519,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.autoScrollUntil = Date.now() + 80;try { container.scrollTo({ left: mobileTarget, behavior: options.instant ? 'auto' : 'smooth' }); }catch (_) { container.scrollLeft = mobileTarget; }+ scrollLongDiagramTo(metrics.offsetY + (logicalY - viewBox.y) * metrics.scale, metrics, options);return true;}var minimumScale = Math.max(1, Math.min(3, Number(options.minimumScale) || 1));@@ -11161,6 +11531,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state.y = metrics.height / 2 - contentY * state.scale;state.mode = 'manual';apply();+ scrollLongDiagramTo(contentY, metrics, options);if (Archify.focus && Archify.focus.reposition) Archify.focus.reposition();return true;}diff --git a/examples/maka-architecture.html b/examples/maka-architecture.htmlindex ac51edeb..02610d70 100644--- a/examples/maka-architecture.html+++ b/examples/maka-architecture.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <meta name="generator" content="archify 3.0.2-dev.1">+ <meta name="generator" content="archify 3.1.0"><meta name="archify-reader-contract" content="declared-wide-v1"><title>Maka Diagram</title><script>@@ -186,7 +186,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(15, 23, 42, 0.22);--lane-stroke: #334155;- --arrow: #64748b;+ --arrow: #94a3b8;--arrow-emphasis: #34d399;/* Opaque mask color used behind semi-transparent component fills@@ -229,7 +229,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(248, 250, 252, 0.65);--lane-stroke: #cbd5e1;- --arrow: #94a3b8;+ --arrow: #64748b;--arrow-emphasis: #059669;--mask: #ffffff;@@ -2288,6 +2288,41 @@ OTHER DEALINGS IN THE FONT SOFTWARE.font-size: 0.5rem;}.diagram-guide-feedback:empty { display: none; }+ .diagram-guide-credit {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 0.6rem;+ padding: 0.46rem 0.9rem 0.56rem;+ border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 74%, transparent);+ color: var(--text-faint);+ font-size: 0.5rem;+ letter-spacing: 0.02em;+ text-decoration: none;+ }+ .diagram-guide-credit-link {+ display: inline-flex;+ align-items: center;+ gap: 0.28rem;+ flex: none;+ opacity: 0.72;+ transition: opacity 120ms ease, color 120ms ease;+ }+ .diagram-guide-star {+ width: 0.62rem;+ height: 0.62rem;+ background: currentColor;+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ }+ .diagram-guide-credit:hover .diagram-guide-star,+ .diagram-guide-credit:focus-visible .diagram-guide-star {+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ }+ .diagram-guide-credit:hover .diagram-guide-credit-link,+ .diagram-guide-credit:focus-visible .diagram-guide-credit-link { opacity: 1; color: var(--cloud-stroke); }+ .diagram-guide-credit:focus-visible { outline: 2px solid var(--cloud-stroke); outline-offset: -2px; }@keyframes archify-guide-in {from { opacity: 0; transform: translateY(-5px) scale(0.985); }to { opacity: 1; transform: translateY(0) scale(1); }@@ -3550,13 +3585,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.background: transparent;box-shadow: none;}- /* The motion button breathes on the same shared cycle as the cascade, so the- chrome keeps time with the wave it controls. The cycle length lives on the- diagram SVG, so chrome presets mirror it here. */+ /* The motion button breathes on the relay cycle, so the chrome keeps time+ with the wave it controls. Motion Governor mirrors the planned cycle from+ the diagram SVG onto the document. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) #btn-motion .motion-control-dot {animation: archify-motion-dot-breathe var(--flow-cycle-chrome, 6.4s) ease-in-out infinite;}- html[data-preset="signal-flow"] #btn-motion .motion-control-dot { --flow-cycle-chrome: 5.2s; }@keyframes archify-motion-dot-breathe {0%, 100% { opacity: 1; transform: scale(1); }46% { opacity: 0.55; transform: scale(0.72); }@@ -4725,27 +4759,23 @@ OTHER DEALINGS IN THE FONT SOFTWARE..c-region { fill: rgba(251, 191, 36, 0.05); stroke: var(--cloud-stroke); stroke-dasharray: 8,4; }.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. */+ /* Live plays one relay per cycle: a comet (halo, tail, head) leaves each+ source when the signal reaches it, travels at one shared speed, leaves a+ soft wake, and lands as a ripple while its target glows. Downstream edges+ depart only after their source is reached, so the reader sees the path the+ diagram describes rather than every edge shimmering at once. Sequence+ messages relay in authored chronological order. Motion Governor plans the+ timeline and its per-edge keyframes; this stylesheet owns appearance.+ Original line language and markers remain static. Node entry is bounded to+ one pass per document. */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-head-peak: 0.95;- --flow-wake-peak: 0.1;+ --flow-wake-peak: 0.3;--flow-ripple-peak: 0.65;- --flow-ripple-echo-peak: 0.26;}.ambient-edge-flow {fill: none;@@ -4755,69 +4785,91 @@ OTHER DEALINGS IN THE FONT SOFTWARE.display: none;}.ambient-flow-wake {+ --flow-peak: var(--flow-wake-peak, 0.3);stroke-width: 3.2;stroke-dasharray: var(--flow-dasharray, none);- animation-name: archify-flow-wake;}.ambient-flow-halo {+ --flow-peak: var(--flow-halo-peak, 0.17);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 makesthe comet read as a traveling orb of light rather than a bright dash. */.ambient-flow-glow {+ --flow-peak: var(--flow-glow-peak, 0.5);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 {+ --flow-peak: var(--flow-tail-peak, 0.42);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 {+ --flow-peak: var(--flow-head-peak, 0.95);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;}- .ambient-flow-head.echo { --flow-echo-scale: 0.76; }- .ambient-flow-tail.echo { --flow-echo-scale: 0.53; }.ambient-flow-ripple {+ --flow-peak: var(--flow-ripple-peak, 0.65);stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);stroke-width: 2;- animation-name: archify-flow-ripple;- }- .ambient-flow-ripple-echo {- stroke-width: 1.2;- animation-name: archify-flow-ripple-echo;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) .ambient-edge-flow {display: inline;+ animation-name: var(--flow-name, none);animation-duration: var(--flow-cycle, 6.4s);animation-timing-function: linear;animation-iteration-count: infinite;animation-delay: var(--flow-delay, 0s);/* Without backwards fill a delayed layer would sit at its natural opacity- (fully lit) until its phase arrives. */+ (fully lit) until its departure arrives. */animation-fill-mode: backwards;}+ /* Stream packets trail the comet head as smaller, dimmer beads. */+ .ambient-flow-head.packet {+ --flow-peak: calc(var(--flow-head-peak, 0.95) * 0.62);+ stroke-width: 3.4;+ }+ /* Timeline and waterfall playhead: a crisp rule over a soft bloom. */+ .ambient-flow-playhead {+ --flow-peak: 0.9;+ stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);+ stroke-width: 1.6;+ }+ .ambient-flow-playhead-glow {+ --flow-peak: 0.32;+ stroke-width: 10;+ filter: blur(4px);+ }+ /* Waterfall spans fill in proportion to their measured time, then settle. */+ .ambient-flow-fill {+ --flow-peak: 0.5;+ fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 55%, white);+ stroke: none;+ transform-box: fill-box;+ transform-origin: left center;+ }+ .ambient-flow-fill-failed { fill: var(--security-stroke); --flow-peak: 0.5; }+ html[data-theme="light"] .ambient-flow-playhead { stroke: color-mix(in srgb, var(--arrow-emphasis) 70%, black); }+ html[data-theme="light"] .ambient-flow-fill { --flow-peak: 0.42; fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 70%, black); }+ svg[data-preset="editorial"] .ambient-flow-fill { --flow-peak: 0.2; }+ svg[data-preset="editorial"] .ambient-flow-playhead-glow { --flow-peak: 0.14; }/* Each decorative flow follows its owning edge through tree visibility. */.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; }- /* On light canvases the cascade reads by saturation instead of bloom: the- head and inner ripple mix toward ink instead of white, and every layer's- peak rises so the wave survives the bright background. */+ 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.14; --flow-ripple-peak: 0.3; }+ /* On light canvases the relay reads by saturation instead of bloom: the head+ and ripple mix toward ink instead of white, and every layer's peak 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;+ --flow-wake-peak: 0.34;}html[data-theme="light"] .ambient-flow-head {stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, black);@@ -4844,85 +4896,33 @@ OTHER DEALINGS IN THE FONT SOFTWARE.animation: archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- /* Node glow follows each node's authored step on the shared cycle; it does- not track incoming edge arrivals. During the bounded entrance all three- animations run; the entrance pulse is listed after the repeating glow and- wins on filter until it completes. */+ /* Each node glows in its planned windows: when the relay reaches it, while a+ walk token rests on it, as a message lands, or as the playhead passes.+ During the bounded entrance all three animations run; the entrance pulse is+ listed after the repeating glow and wins on filter until it completes. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s));+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.6s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.1s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-blueprint-node-pulse 3.8s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- @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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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; }- }- @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; }- }- @keyframes archify-node-receive {- 0%, 100% { filter: var(--ambient-node-base-filter, none); }- 5%, 12% { filter: var(--ambient-node-base-filter,) drop-shadow(0 0 9px var(--arrow-emphasis)); }- }@keyframes archify-node-enter {from { opacity: 0; }to { opacity: 1; }@@ -5156,11 +5156,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</div>- <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script>+ <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.credit":"Find Archify useful? A star on GitHub helps","viewer.guide.star":"Star","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script><!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1200 608" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="standard" data-quality-gates="advisory" data-reader-fit="intrinsic-height" data-reader-min-text="7.5" data-reader-primary-text="14">+ <svg viewBox="0 0 1200 608" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="standard" data-quality-gates="advisory" data-node-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5" data-reader-primary-text="14"><title id="archify-diagram-title">Maka</title><desc id="archify-diagram-description">Local-first desktop AI workbench — sessions, tools, permissions, recovery</desc><!-- Definitions -->@@ -5181,6 +5181,27 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<path d="M 40 0 L 0 0 0 40" class="c-grid" stroke-width="0.5"/></pattern></defs>+ <style>+ svg[data-node-ui] [data-node-id] > rect:not(.c-mask) { stroke-width: 1.25px; }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-frontend { fill: color-mix(in srgb, var(--frontend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--frontend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-backend { fill: color-mix(in srgb, var(--backend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--backend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-database { fill: color-mix(in srgb, var(--database-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--database-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-cloud { fill: color-mix(in srgb, var(--cloud-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-security { fill: color-mix(in srgb, var(--security-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-messagebus { fill: color-mix(in srgb, var(--messagebus-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--messagebus-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-external { fill: color-mix(in srgb, var(--external-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--external-stroke) 72%, var(--mask)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-region { fill: color-mix(in srgb, var(--cloud-stroke) 3%, transparent); stroke: color-mix(in srgb, var(--cloud-stroke) 42%, var(--lane-stroke)); stroke-dasharray: none; }+ svg[data-node-ui] .c-security-group { stroke: color-mix(in srgb, var(--security-stroke) 58%, var(--lane-stroke)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-security-group { stroke-dasharray: 4 3; }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-lane { stroke: var(--lane-stroke); stroke-dasharray: none; }+ svg[data-node-ui] [data-graph-role="structural-frame-label-mask"] { rx: 5px; fill: color-mix(in srgb, var(--cloud-stroke) 10%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 38%, var(--mask)); stroke-width: .8px; }+ svg[data-node-ui] [data-composition-frame-kind="security-group"] > [data-graph-role="structural-frame-label-mask"] { fill: color-mix(in srgb, var(--security-stroke) 9%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 36%, var(--mask)); }+ svg[data-node-ui] .phase-rule { opacity: .5; stroke-dasharray: none; }+ svg[data-node-ui] .phase-chip { stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui] g[data-edge-from] > rect.c-mask { rx: 7px; stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui][data-preset="blueprint"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 2px; }+ svg[data-node-ui][data-preset="editorial"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 3px; }+ </style><!-- Background Grid --><rect width="100%" height="100%" fill="url(#grid)" />@@ -5240,8 +5261,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Components --><g id="node-user" data-node-id="user" data-node-label="You" tabindex="0" role="button" aria-label="Focus You, desktop user, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="desktop user" data-node-context="Architecture component"><title>You · desktop user · Architecture component</title>- <rect x="40" y="300" width="120" height="60" rx="6" class="c-mask"/>- <rect x="40" y="300" width="120" height="60" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>+ <rect x="40" y="300" width="120" height="60" rx="8" class="c-mask"/>+ <rect x="40" y="300" width="120" height="60" rx="8" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(46 306) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5252,8 +5273,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-ui" data-node-id="ui" data-node-label="Desktop UI" tabindex="0" role="button" aria-label="Focus Desktop UI, React renderer, Electron app + packages/runtime" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="React renderer" data-node-context="Electron app + packages/runtime"><title>Desktop UI · React renderer · Electron app + packages/runtime</title>- <rect x="200" y="300" width="140" height="60" rx="6" class="c-mask"/>- <rect x="200" y="300" width="140" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/>+ <rect x="200" y="300" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="200" y="300" width="140" height="60" rx="8" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(206 306) scale(0.6875)"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M2 6.5h12"/>@@ -5266,8 +5287,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-main" data-node-id="main" data-node-label="Main Process" tabindex="0" role="button" aria-label="Focus Main Process, Electron IPC, Electron app + packages/runtime" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Electron IPC" data-node-context="Electron app + packages/runtime"><title>Main Process · Electron IPC · Electron app + packages/runtime</title>- <rect x="390" y="300" width="140" height="60" rx="6" class="c-mask"/>- <rect x="390" y="300" width="140" height="60" rx="6" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/>+ <rect x="390" y="300" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="390" y="300" width="140" height="60" rx="8" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(396 306) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5277,8 +5298,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-session" data-node-id="session" data-node-label="SessionManager" tabindex="0" role="button" aria-label="Focus SessionManager, public runtime API, Electron app + packages/runtime" aria-pressed="false" data-node-kind="backend" data-node-sublabel="public runtime API" data-node-context="Electron app + packages/runtime"><title>SessionManager · public runtime API · Electron app + packages/runtime</title>- <rect x="580" y="300" width="150" height="60" rx="6" class="c-mask"/>- <rect x="580" y="300" width="150" height="60" rx="6" class="c-backend" data-animate="node" style="--step:3" stroke-width="1.5"/>+ <rect x="580" y="300" width="150" height="60" rx="8" class="c-mask"/>+ <rect x="580" y="300" width="150" height="60" rx="8" class="c-backend" data-animate="node" style="--step:3" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(586 306) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5288,8 +5309,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-agentrun" data-node-id="agentrun" data-node-label="AgentRun" tabindex="0" role="button" aria-label="Focus AgentRun, turn + recovery, Electron app + packages/runtime" aria-pressed="false" data-node-kind="backend" data-node-sublabel="turn + recovery" data-node-context="Electron app + packages/runtime"><title>AgentRun · turn + recovery · Electron app + packages/runtime</title>- <rect x="780" y="300" width="140" height="60" rx="6" class="c-mask"/>- <rect x="780" y="300" width="140" height="60" rx="6" class="c-backend" data-animate="node" style="--step:4" stroke-width="1.5"/>+ <rect x="780" y="300" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="780" y="300" width="140" height="60" rx="8" class="c-backend" data-animate="node" style="--step:4" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(786 306) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5299,8 +5320,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-model" data-node-id="model" data-node-label="ModelAdapter" tabindex="0" role="button" aria-label="Focus ModelAdapter, stream + usage, Electron app + packages/runtime" aria-pressed="false" data-node-kind="backend" data-node-sublabel="stream + usage" data-node-context="Electron app + packages/runtime"><title>ModelAdapter · stream + usage · Electron app + packages/runtime</title>- <rect x="970" y="300" width="140" height="60" rx="6" class="c-mask"/>- <rect x="970" y="300" width="140" height="60" rx="6" class="c-backend" data-animate="node" style="--step:5" stroke-width="1.5"/>+ <rect x="970" y="300" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="970" y="300" width="140" height="60" rx="8" class="c-backend" data-animate="node" style="--step:5" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(976 306) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5310,8 +5331,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-providers" data-node-id="providers" data-node-label="Model Providers" tabindex="0" role="button" aria-label="Focus Model Providers, AI SDK / Ollama, Architecture component" aria-pressed="false" data-node-kind="cloud" data-node-sublabel="AI SDK / Ollama" data-node-tag="API keys local" data-node-context="Architecture component"><title>Model Providers · AI SDK / Ollama · Architecture component · API keys local</title>- <rect x="970" y="140" width="140" height="60" rx="6" class="c-mask"/>- <rect x="970" y="140" width="140" height="60" rx="6" class="c-cloud" data-animate="node" style="--step:6" stroke-width="1.5"/>+ <rect x="970" y="140" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="970" y="140" width="140" height="60" rx="8" class="c-cloud" data-animate="node" style="--step:6" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="cloud" class="semantic-sigil s-cloud" transform="translate(976 146) scale(0.6875)"><path d="M4.3 12.5h7.3a2.4 2.4 0 0 0 .2-4.8 4 4 0 0 0-7.5-1.3A3.1 3.1 0 0 0 4.3 12.5Z"/></g>@@ -5322,8 +5343,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-bots" data-node-id="bots" data-node-label="Bots & Gateway" tabindex="0" role="button" aria-label="Focus Bots & Gateway, Telegram · Feishu · HTTP, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="Telegram · Feishu · HTTP" data-node-context="Architecture component"><title>Bots & Gateway · Telegram · Feishu · HTTP · Architecture component</title>- <rect x="580" y="140" width="150" height="60" rx="6" class="c-mask"/>- <rect x="580" y="140" width="150" height="60" rx="6" class="c-external" data-animate="node" style="--step:6" stroke-width="1.5"/>+ <rect x="580" y="140" width="150" height="60" rx="8" class="c-mask"/>+ <rect x="580" y="140" width="150" height="60" rx="8" class="c-external" data-animate="node" style="--step:6" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(586 146) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5334,8 +5355,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-permission" data-node-id="permission" data-node-label="Permission" tabindex="0" role="button" aria-label="Focus Permission, policy engine, Electron app + packages/runtime › trust boundary" aria-pressed="false" data-node-kind="security" data-node-sublabel="policy engine" data-node-tag="fail-closed" data-node-context="Electron app + packages/runtime › trust boundary"><title>Permission · policy engine · Electron app + packages/runtime › trust boundary · fail-closed</title>- <rect x="780" y="140" width="140" height="60" rx="6" class="c-mask"/>- <rect x="780" y="140" width="140" height="60" rx="6" class="c-security" data-animate="node" style="--step:8" stroke-width="1.5"/>+ <rect x="780" y="140" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="780" y="140" width="140" height="60" rx="8" class="c-security" data-animate="node" style="--step:8" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="security" class="semantic-sigil s-security" transform="translate(786 146) scale(0.6875)"><path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/>@@ -5347,8 +5368,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-storage" data-node-id="storage" data-node-label="Local Storage" tabindex="0" role="button" aria-label="Focus Local Storage, userData JSONL, Electron app + packages/runtime › trust boundary" aria-pressed="false" data-node-kind="database" data-node-sublabel="userData JSONL" data-node-context="Electron app + packages/runtime › trust boundary"><title>Local Storage · userData JSONL · Electron app + packages/runtime › trust boundary</title>- <rect x="580" y="440" width="150" height="60" rx="6" class="c-mask"/>- <rect x="580" y="440" width="150" height="60" rx="6" class="c-database" data-animate="node" style="--step:9" stroke-width="1.5"/>+ <rect x="580" y="440" width="150" height="60" rx="8" class="c-mask"/>+ <rect x="580" y="440" width="150" height="60" rx="8" class="c-database" data-animate="node" style="--step:9" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(586 446) scale(0.6875)"><ellipse cx="8" cy="4" rx="5" ry="2"/><path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>@@ -5359,8 +5380,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-toolrt" data-node-id="toolrt" data-node-label="ToolRuntime" tabindex="0" role="button" aria-label="Focus ToolRuntime, validate · abort, Electron app + packages/runtime" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="validate · abort" data-node-context="Electron app + packages/runtime"><title>ToolRuntime · validate · abort · Electron app + packages/runtime</title>- <rect x="780" y="440" width="140" height="60" rx="6" class="c-mask"/>- <rect x="780" y="440" width="140" height="60" rx="6" class="c-messagebus" data-animate="node" style="--step:10" stroke-width="1.5"/>+ <rect x="780" y="440" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="780" y="440" width="140" height="60" rx="8" class="c-messagebus" data-animate="node" style="--step:10" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(786 446) scale(0.6875)"><path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/><circle cx="5" cy="4.5" r="1" class="sigil-fill"/>@@ -5373,8 +5394,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-tools" data-node-id="tools" data-node-label="Local Tools" tabindex="0" role="button" aria-label="Focus Local Tools, Read · Write · Bash, Architecture component" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="Read · Write · Bash" data-node-context="Architecture component"><title>Local Tools · Read · Write · Bash · Architecture component</title>- <rect x="970" y="440" width="140" height="60" rx="6" class="c-mask"/>- <rect x="970" y="440" width="140" height="60" rx="6" class="c-frontend" data-animate="node" style="--step:11" stroke-width="1.5"/>+ <rect x="970" y="440" width="140" height="60" rx="8" class="c-mask"/>+ <rect x="970" y="440" width="140" height="60" rx="8" class="c-frontend" data-animate="node" style="--step:11" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(976 446) scale(0.6875)"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M2 6.5h12"/>@@ -5493,6 +5514,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<span><kbd>E</kbd> Export</span><span><kbd>T</kbd> Theme</span><span><kbd>S</kbd> Style</span><span><kbd>0</kbd> Reset</span><span><kbd>+</kbd> Zoom in</span><span><kbd>-</kbd> Zoom out</span><span><kbd>Esc</kbd> Close</span></div><p class="diagram-guide-feedback" id="diagram-guide-feedback" aria-live="polite"></p>+ <a class="diagram-guide-credit" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener noreferrer"><span>Find Archify useful? A star on GitHub helps</span><span class="diagram-guide-credit-link"><span class="diagram-guide-star" aria-hidden="true"></span>Star <span aria-hidden="true">↗</span></span></a></div><div class="node-finder no-print" id="node-finder" hidden role="dialog" aria-modal="false" aria-labelledby="node-finder-title"><div class="node-finder-head">@@ -7559,36 +7581,321 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// Runtime decoration carries geometry and tree visibility only. Keep each// flow beside its authored edge so transforms, clipping and crossover// paint order apply.- // Each edge carries a small light show: a comet (halo, tail, head)- // cascading downstream on one shared cycle, a lingering wake, and a- // ripple where the comet lands. Phases follow the authored step order:- // source-node rank where known, chronological message order in sequence- // diagrams.- function readSecondsVar(name, fallback) {- var value = '';- try { value = window.getComputedStyle(svg).getPropertyValue(name); } catch (_) {}- var seconds = parseFloat(value);- return Number.isFinite(seconds) && seconds > 0 ? seconds : fallback;- }- function nodeStep(from) {- // Authored IDs follow the schema's conservative identifier pattern, so- // direct selector interpolation stays safe here. The semantic wrapper- // groups the animated shape; its authored step ranks the node.- var node = from ? svg.querySelector('[data-node-id="' + from + '"]') : null;- var shape = node ? node.querySelector('[data-animate="node"]') : null;- return shape && shape.style ? shape.style.getPropertyValue('--step') : '';- }- function edgePhase(shape, fallbackStep) {- // Sequence messages have no data-edge-from; their own authored step is- // already chronological, which is the right phase there.- var raw = nodeStep(shape.getAttribute('data-edge-from'));- if (raw === '' && shape.style) raw = shape.style.getPropertyValue('--step');- var step = parseFloat(raw);- return Number.isFinite(step) ? step : fallbackStep;+ // Each renderer may declare a choreography that matches what its diagram+ // means. Relay (the default) sends a comet from each source when the+ // signal reaches it; stream adds a packet train for continuous data; walk+ // moves one token along the main state path; sequence plays messages in+ // authored order; sweep runs a playhead along a timeline; replay fills+ // waterfall spans in proportion to their measured time. Motion Governor+ // plans the timeline and per-element keyframes; viewer.css owns looks.+ var SVG_NS = 'http://www.w3.org/2000/svg';+ var choreography = svg ? (svg.getAttribute('data-motion-choreography') || 'relay') : 'relay';+ var RELAY = {+ speed: 280,+ minTravel: 0.42,+ maxTravel: 1.5,+ handoff: 0.1,+ dwell: 0.55,+ maxSpan: 9,+ land: 0.9,+ rest: 1.4,+ minCycle: 3.6+ };+ function stepOf(element, fallback) {+ var step = parseFloat(element && element.style ? element.style.getPropertyValue('--step') : '');+ return Number.isFinite(step) ? step : fallback;+ }+ function byStep(a, b) { return a.step - b.step || a.index - b.index; }+ function addWindow(windows, id, start, end, strong) {+ if (!id) return;+ (windows[id] = windows[id] || []).push({ start: start, end: end, strong: !!strong });+ }+ function planRelay(records, windows) {+ var arrive = Object.create(null);+ var seeded = Object.create(null);+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ function seed(id) {+ if (arrive[id] !== undefined) return;+ arrive[id] = 0;+ seeded[id] = true;+ }+ function relax() {+ // Earliest arrival over a few dozen edges; a scan per settle keeps+ // cycles and fan-in deterministic without a priority queue.+ var settled = Object.create(null);+ for (;;) {+ var next = null;+ Object.keys(arrive).forEach(function (id) {+ if (!settled[id] && (next === null || arrive[id] < arrive[next])) next = id;+ });+ if (next === null) return;+ settled[next] = true;+ var depart = arrive[next] + (seeded[next] ? 0 : RELAY.handoff);+ records.forEach(function (record) {+ if (record.from !== next) return;+ var at = depart + record.travel;+ if (arrive[record.to] === undefined || at < arrive[record.to]) arrive[record.to] = at;+ });+ }+ }+ records.forEach(function (record) { if (!targets[record.from]) seed(record.from); });+ relax();+ for (;;) {+ // A closed cycle has no entry; start it at its earliest authored edge.+ var orphan = records.filter(function (record) { return arrive[record.from] === undefined; }).sort(byStep)[0];+ if (!orphan) break;+ seed(orphan.from);+ relax();+ }+ records.forEach(function (record) {+ record.depart = arrive[record.from] + (seeded[record.from] ? 0 : RELAY.handoff);+ record.active = true;+ });+ Object.keys(arrive).forEach(function (id) { addWindow(windows, id, arrive[id], arrive[id]); });+ }+ function planWalk(records, windows) {+ // A state machine is in one state at a time: follow the first authored+ // transition to an unvisited state and let the current state stay lit.+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ var ordered = records.slice().sort(byStep);+ var start = (ordered.find(function (record) { return !targets[record.from]; }) || ordered[0]).from;+ var visited = Object.create(null);+ var current = start;+ var clock = 0;+ var enteredAt = 0;+ visited[start] = true;+ for (var hops = 0; hops < 16; hops += 1) {+ var next = ordered.find(function (record) { return record.from === current && !visited[record.to]; });+ if (!next) break;+ next.active = true;+ next.depart = clock + RELAY.dwell;+ addWindow(windows, current, enteredAt, next.depart, true);+ clock = next.depart + next.travel;+ enteredAt = clock;+ current = next.to;+ visited[current] = true;+ }+ addWindow(windows, current, enteredAt, enteredAt + 1.2, true);+ }+ function planSequence(records, windows) {+ var clock = 0;+ records.slice().sort(byStep).forEach(function (record) {+ record.active = true;+ record.depart = clock;+ clock += record.travel + RELAY.handoff;+ addWindow(windows, record.from, record.depart, record.depart);+ addWindow(windows, record.to, record.depart + record.travel, record.depart + record.travel);+ });+ }+ function scalePlan(records, windows, span) {+ var scale = span > RELAY.maxSpan ? RELAY.maxSpan / span : 1;+ if (scale === 1) return span;+ records.forEach(function (record) {+ if (!record.active) return;+ record.depart *= scale;+ record.travel *= scale;+ });+ Object.keys(windows).forEach(function (id) {+ windows[id].forEach(function (window) { window.start *= scale; window.end *= scale; });+ });+ return span * scale;+ }+ function nodeShapes() {+ var shapes = Object.create(null);+ Array.prototype.forEach.call(svg.querySelectorAll('[data-animate="node"]'), function (shape) {+ var wrapper = shape.closest('[data-node-id]');+ var id = wrapper ? wrapper.getAttribute('data-node-id') : '';+ if (id) (shapes[id] = shapes[id] || []).push(shape);+ });+ return shapes;+ }+ function sceneBounds(elements) {+ var box = null;+ elements.forEach(function (element) {+ var b = null;+ try { b = element.getBBox(); } catch (_) {}+ if (!b || !(b.width || b.height)) return;+ if (!box) box = { x: b.x, y: b.y, right: b.x + b.width, bottom: b.y + b.height };+ else {+ box.x = Math.min(box.x, b.x); box.y = Math.min(box.y, b.y);+ box.right = Math.max(box.right, b.x + b.width); box.bottom = Math.max(box.bottom, b.y + b.height);+ }+ });+ return box;+ }+ function overlay(tag, cls, attrs, parent, before) {+ var element = document.createElementNS(SVG_NS, tag);+ Object.keys(attrs).forEach(function (name) { element.setAttribute(name, attrs[name]); });+ element.setAttribute('class', 'ambient-edge-flow ' + cls);+ element.setAttribute('data-ambient-flow-overlay', 'true');+ element.setAttribute('aria-hidden', 'true');+ parent.insertBefore(element, before || null);+ return element;+ }+ // Timeline and waterfall share a playhead: a lit vertical rule and its+ // bloom travel the time axis linearly, because time is the subject.+ function addPlayhead(box, x0, x1, lead, sweep, extras) {+ var anchor = svg.querySelector('[data-node-id]');+ var parent = anchor ? anchor.parentNode : svg;+ var attrs = { x1: x0.toFixed(1), x2: x0.toFixed(1), y1: (box.y - 10).toFixed(1), y2: (box.bottom + 10).toFixed(1) };+ ['playhead-glow', 'playhead'].forEach(function (kind) {+ var line = overlay('line', 'ambient-flow-' + kind, attrs, parent, anchor);+ line.style.setProperty('--flow-name', 'archify-motion-playhead');+ extras.push(line);+ });+ extras.playhead = { distance: x1 - x0, lead: lead, sweep: sweep };+ }+ function planSweep(windows, extras) {+ var events = Array.prototype.filter.call(svg.querySelectorAll('[data-node-id][data-timeline-x]'), function (node) {+ return Number.isFinite(parseFloat(node.getAttribute('data-timeline-x')));+ });+ if (!events.length) return 0;+ var xs = events.map(function (node) { return parseFloat(node.getAttribute('data-timeline-x')); });+ var x0 = Math.min.apply(null, xs), x1 = Math.max.apply(null, xs);+ var lead = 0.35;+ var sweep = Math.min(7, Math.max(3.2, events.length * 0.6));+ events.forEach(function (node, index) {+ var at = lead + (x1 > x0 ? (xs[index] - x0) / (x1 - x0) : 0) * sweep;+ addWindow(windows, node.getAttribute('data-node-id'), at, at + 0.35, true);+ });+ var box = sceneBounds(Array.prototype.slice.call(svg.querySelectorAll('[data-timeline-lane]')));+ if (box && x1 > x0) addPlayhead(box, x0, x1, lead, sweep, extras);+ return lead + sweep + 0.6;+ }+ function planReplay(windows, extras) {+ var spans = [];+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id][data-waterfall-start]'), function (node) {+ var start = parseFloat(node.getAttribute('data-waterfall-start'));+ var end = parseFloat(node.getAttribute('data-waterfall-end'));+ var bar = node.querySelector('[data-animate="node"]');+ if (!bar || !Number.isFinite(start) || !(end >= start)) return;+ var width = parseFloat(bar.getAttribute('width'));+ var x = parseFloat(bar.getAttribute('x'));+ if (!(width > 0) || !Number.isFinite(x)) return;+ spans.push({ node: node, bar: bar, start: start, end: end, x: x, width: width });+ });+ if (!spans.length) return 0;+ var t0 = Math.min.apply(null, spans.map(function (span) { return span.start; }));+ var t1 = Math.max.apply(null, spans.map(function (span) { return span.end; }));+ if (!(t1 > t0)) return 0;+ var ruler = spans.reduce(function (best, span) { return span.end - span.start > best.end - best.start ? span : best; });+ var pxPerUnit = ruler.width / Math.max(ruler.end - ruler.start, 1e-9);+ var x0 = ruler.x - (ruler.start - t0) * pxPerUnit;+ var lead = 0.35;+ var replay = Math.min(6, Math.max(3.4, spans.length * 0.45));+ var at = function (t) { return lead + (t - t0) / (t1 - t0) * replay; };+ var settle = lead + replay + 0.9;+ spans.forEach(function (span) {+ var fill = overlay('rect', 'ambient-flow-fill', {+ x: span.bar.getAttribute('x'), y: span.bar.getAttribute('y'),+ width: span.bar.getAttribute('width'), height: span.bar.getAttribute('height'),+ rx: span.bar.getAttribute('rx') || '0'+ }, span.bar.parentNode, span.bar.nextSibling);+ var tone = /(?:^|\s)c-([a-z]+)(?:\s|$)/.exec(span.bar.getAttribute('class') || '');+ if (tone) fill.style.setProperty('--flow-fill', 'var(--' + tone[1] + '-stroke)');+ if (span.node.getAttribute('data-waterfall-status') && span.node.getAttribute('data-waterfall-status') !== 'ok') {+ fill.classList.add('ambient-flow-fill-failed');+ }+ fill.timing = { start: at(span.start), end: Math.max(at(span.end), at(span.start) + 0.08), settle: settle };+ extras.push(fill);+ addWindow(windows, span.node.getAttribute('data-node-id'), fill.timing.end, fill.timing.end);+ });+ var box = sceneBounds(spans.map(function (span) { return span.bar; }));+ if (box) addPlayhead(box, x0, x0 + (t1 - t0) * pxPerUnit, lead, replay, extras);+ return settle;+ }+ function writeKeyframes(records, windows, extras, cycle) {+ function at(seconds) {+ return (Math.min(100, Math.max(0, seconds / cycle * 100))).toFixed(3) + '%';+ }+ var ease = 'animation-timing-function: cubic-bezier(0.45, 0.05, 0.35, 1);';+ var rules = [+ '@keyframes archify-relay-ripple {',+ ' 0% { r: 2px; opacity: var(--flow-peak, 0.6); }',+ ' ' + at(0.75) + ', 100% { r: 20px; opacity: 0; }',+ '}'+ ];+ records.forEach(function (record) {+ if (!record.active) return;+ var travel = record.travel;+ rules.push(+ '@keyframes archify-relay-comet-' + record.index + ' {',+ ' 0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 0px)); opacity: 0; ' + ease + ' }',+ ' ' + at(Math.min(0.12, travel * 0.2)) + ' { opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel) + ' { stroke-dashoffset: var(--flow-shift, 0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel + 0.16) + ', 100% { stroke-dashoffset: var(--flow-shift, 0px); opacity: 0; }',+ '}',+ // A solid wake draws the travelled path behind the head on the same+ // easing; a dashed wake only brightens its authored segments.+ '@keyframes archify-relay-wake-' + record.index + ' {',+ record.dashed+ ? ' 0%, ' + at(travel * 0.3) + ' { opacity: 0; }'+ : ' 0% { stroke-dashoffset: var(--flow-len, 0px); opacity: var(--flow-peak, 0.3); ' + ease + ' }',+ record.dashed+ ? ' ' + at(travel) + ' { opacity: var(--flow-peak, 0.3); }'+ : ' ' + at(travel) + ' { stroke-dashoffset: 0px; opacity: var(--flow-peak, 0.3); }',+ ' ' + at(travel + 0.9) + ', 100% { stroke-dashoffset: 0px; opacity: 0; }',+ '}'+ );+ });+ var glow = function (strong) {+ return 'filter: var(--ambient-node-base-filter,) drop-shadow(0 0 ' + (strong ? 14 : 10) + 'px var(--arrow-emphasis));';+ };+ var base = 'filter: var(--ambient-node-base-filter, none);';+ Object.keys(windows).forEach(function (id, index) {+ var merged = [];+ windows[id].slice().sort(function (a, b) { return a.start - b.start; }).forEach(function (window) {+ var peakEnd = Math.max(window.end, window.start + 0.42);+ var last = merged[merged.length - 1];+ if (last && window.start <= last.peakEnd + 0.78) {+ last.peakEnd = Math.max(last.peakEnd, peakEnd);+ last.strong = last.strong || window.strong;+ } else merged.push({ start: window.start, peakEnd: peakEnd, strong: window.strong });+ });+ var frames = [' 0%, 100% { ' + base + ' }'];+ merged.forEach(function (window) {+ frames.push(+ ' ' + at(window.start) + ' { ' + base + ' }',+ ' ' + at(window.start + 0.12) + ', ' + at(window.peakEnd) + ' { ' + glow(window.strong) + ' }',+ ' ' + at(window.peakEnd + 0.78) + ' { ' + base + ' }'+ );+ });+ rules.push('@keyframes archify-relay-node-' + index + ' {', frames.join('\n'), '}');+ windows[id].keyframes = 'archify-relay-node-' + index;+ });+ if (extras.playhead) {+ var p = extras.playhead;+ rules.push(+ '@keyframes archify-motion-playhead {',+ ' 0% { transform: translateX(0px); opacity: 0; }',+ ' ' + at(Math.max(0.05, p.lead - 0.2)) + ' { transform: translateX(0px); opacity: 0; }',+ ' ' + at(p.lead) + ' { transform: translateX(0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep) + ' { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep + 0.45) + ', 100% { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: 0; }',+ '}'+ );+ }+ extras.forEach(function (element, index) {+ if (!element.timing) return;+ var t = element.timing;+ rules.push(+ '@keyframes archify-replay-fill-' + index + ' {',+ ' 0%, ' + at(t.start) + ' { transform: scaleX(0); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.end) + ', ' + at(t.settle) + ' { transform: scaleX(1); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.settle + 0.7) + ', 100% { transform: scaleX(1); opacity: 0; }',+ '}'+ );+ element.style.setProperty('--flow-name', 'archify-replay-fill-' + index);+ });+ var style = document.createElement('style');+ style.setAttribute('data-ambient-flow-keyframes', 'true');+ style.textContent = rules.join('\n');+ document.head.appendChild(style);}function createFlows() {- var stepDelay = readSecondsVar('--flow-step-delay', 0.2);- var cycle = readSecondsVar('--flow-cycle', 6.4);+ var records = [];Array.prototype.forEach.call(svg.querySelectorAll('path[data-animate="edge"]'), function (shape, index) {var d = shape.getAttribute('data-motion-path') || shape.getAttribute('d');if (!d) return;@@ -7603,7 +7910,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}}function addPath(cls) {- var flow = document.createElementNS('http://www.w3.org/2000/svg', 'path');+ var flow = document.createElementNS(SVG_NS, 'path');flow.setAttribute('d', d);['transform', 'mask', 'clip-path', 'vector-effect'].forEach(function (name) {if (shape.hasAttribute(name)) flow.setAttribute(name, shape.getAttribute(name));@@ -7621,76 +7928,114 @@ 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;- try { end = head.getPointAtLength(len); } catch (_) {}- // Dashed authored lines keep their dash language through the show:+ var record = {+ index: records.length,+ len: len,+ from: shape.getAttribute('data-edge-from') || shape.getAttribute('data-composition-edge-from') || '',+ to: shape.getAttribute('data-edge-to') || shape.getAttribute('data-composition-edge-to') || '',+ step: stepOf(shape, index),+ travel: Math.min(RELAY.maxTravel, Math.max(RELAY.minTravel, len / RELAY.speed)),+ depart: 0,+ active: false,+ layers: []+ };+ records.push(record);+ // Dashed authored lines keep their dash language through the relay:// the wake brightens only the authored segments and never fills the// gaps back into a solid line.var authoredDash = '';try { authoredDash = window.getComputedStyle(shape).strokeDasharray; } catch (_) {}- if (authoredDash && authoredDash !== 'none') {- wake.style.setProperty('--flow-dasharray', authoredDash);- }+ record.dashed = !!(authoredDash && authoredDash !== 'none');+ wake.style.setProperty('--flow-dasharray', record.dashed ? authoredDash : len.toFixed(1) + ' ' + len.toFixed(1));// 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(14, Math.max(7, len * 0.03));+ var haloLen = Math.min(22, Math.max(12, len * 0.07));var trail = len >= 120? { pattern: '2.5 2 4 3 5.5 4.5 8 ' + (len - 30).toFixed(1), length: 30 }: (len >= 60? { pattern: '3 3 7 ' + (len - 13).toFixed(1), length: 13 }: { pattern: '5 ' + Math.max(4, len - 5).toFixed(1), length: 5 });- 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 });- 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- // edge's mask so it can bloom over the node boundary.- if (end) {- ['ripple', 'ripple-echo'].forEach(function (kind) {- var ripple = document.createElementNS('http://www.w3.org/2000/svg', 'circle');- ripple.setAttribute('cx', end.x.toFixed(1));- ripple.setAttribute('cy', end.y.toFixed(1));- ripple.setAttribute('r', '2');- if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));- 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;+ record.layers.push(+ { flow: wake, kind: 'wake', dash: len, shift: 0 },+ { flow: addPath('glow'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('halo'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('tail'), kind: 'comet', dash: trail.length, shift: trail.length - headLen, dasharray: trail.pattern },+ { flow: addPath('head'), kind: 'comet', dash: headLen, shift: 0 }+ );+ if (choreography === 'stream') {+ // A packet train behind the comet reads as a continuous stream.+ [1, 2, 3].forEach(function (order) {+ record.layers.push({ flow: addPath('head packet'), kind: 'comet', dash: Math.max(4, headLen * 0.55), shift: 0, packet: order });});}- flowCount += 1;+ // The ripple lands where the comet does; keep it out of the edge's+ // mask so it can bloom over the node boundary.+ var end = null;+ try { end = wake.getPointAtLength(len); } catch (_) {}+ if (end) {+ var ripple = document.createElementNS(SVG_NS, 'circle');+ ripple.setAttribute('cx', end.x.toFixed(1));+ ripple.setAttribute('cy', end.y.toFixed(1));+ ripple.setAttribute('r', '2');+ if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));+ ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-ripple');+ tagOverlay(ripple);+ shape.parentNode.insertBefore(ripple, anchor.nextSibling);+ record.ripple = ripple;+ }+ });+ var windows = Object.create(null);+ var extras = [];+ var span = 0;+ if (choreography === 'sweep') span = planSweep(windows, extras);+ else if (choreography === 'replay') span = planReplay(windows, extras);+ else if (records.length) {+ var linked = records.filter(function (record) { return record.from && record.to; });+ if (choreography === 'sequence' || linked.length < records.length) planSequence(records, windows);+ else if (choreography === 'walk') planWalk(records, windows);+ else planRelay(records, windows);+ span = records.reduce(function (max, record) {+ return record.active ? Math.max(max, record.depart + record.travel) : max;+ }, 0);+ span = scalePlan(records, windows, span);+ }+ records.forEach(function (record) {+ if (record.active) return;+ record.layers.forEach(function (layer) { layer.flow.remove(); });+ if (record.ripple) record.ripple.remove();+ });+ var active = records.filter(function (record) { return record.active; });+ if (!active.length && !extras.length) return;+ var cycle = Math.max(RELAY.minCycle, span + RELAY.land + RELAY.rest);+ writeKeyframes(active, windows, extras, cycle);+ svg.style.setProperty('--flow-cycle', cycle.toFixed(3) + 's');+ html.style.setProperty('--flow-cycle-chrome', cycle.toFixed(3) + 's');+ active.forEach(function (record) {+ var gap = Math.min(0.22, record.travel * 0.28);+ record.layers.forEach(function (layer) {+ var flow = layer.flow;+ flow.style.setProperty('--flow-len', record.len.toFixed(1) + 'px');+ flow.style.setProperty('--flow-delay', (record.depart + (layer.packet || 0) * gap).toFixed(3) + 's');+ flow.style.setProperty('--flow-dash', layer.dash.toFixed(1) + 'px');+ flow.style.setProperty('--flow-shift', layer.shift.toFixed(1) + 'px');+ flow.style.setProperty('--flow-name', 'archify-relay-' + layer.kind + '-' + record.index);+ if (layer.dasharray) flow.style.setProperty('--flow-dasharray', layer.dasharray);+ });+ if (record.ripple) {+ record.ripple.style.setProperty('--flow-delay', (record.depart + record.travel).toFixed(3) + 's');+ record.ripple.style.setProperty('--flow-name', 'archify-relay-ripple');+ }});+ var shapes = nodeShapes();+ Object.keys(windows).forEach(function (id) {+ (shapes[id] || []).forEach(function (shape) {+ shape.style.setProperty('--flow-node-name', windows[id].keyframes);+ });+ });+ flowCount = active.length + extras.length;}function settleEntry() {entryPending.clear();@@ -10912,26 +11257,35 @@ OTHER DEALINGS IN THE FONT SOFTWARE.function logicalViewport() {var metrics = contentMetrics();if (!metrics) return null;+ var camera = sampleRenderedState();var x;var y;var width;var height;- if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && state.scale >= 1) {+ if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && camera.scale >= 1) {x = viewBox.x + container.scrollLeft / metrics.scale;y = viewBox.y;width = Math.min(viewBox.width, Math.max(1, container.clientWidth / metrics.scale));height = viewBox.height;} else {- x = viewBox.x + (((container.scrollLeft - state.x) / state.scale) - metrics.offsetX) / metrics.scale;- y = viewBox.y + ((-state.y / state.scale) - metrics.offsetY) / metrics.scale;- width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / state.scale / metrics.scale);- height = Math.min(viewBox.height, metrics.height / state.scale / metrics.scale);+ x = viewBox.x + (((container.scrollLeft - camera.x) / camera.scale) - metrics.offsetX) / metrics.scale;+ y = viewBox.y + ((-camera.y / camera.scale) - metrics.offsetY) / metrics.scale;+ width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / camera.scale / metrics.scale);+ height = Math.min(viewBox.height, metrics.height / camera.scale / metrics.scale);}width = Math.max(1, Math.min(viewBox.width, width));height = Math.max(1, Math.min(viewBox.height, height));x = Math.max(viewBox.x, Math.min(viewBox.x + viewBox.width - width, x));y = Math.max(viewBox.y, Math.min(viewBox.y + viewBox.height - height, y));- return { x: x, y: y, width: width, height: height, scale: state.scale };+ // The camera's layout box can span several browser screens. Intersect+ // its logical bounds with the actual window, including page scrolling.+ var matrix = svg.getScreenCTM();+ if (matrix && matrix.d > 0) {+ var end = y + height;+ y = Math.max(y, Math.min(end - 1, -matrix.f / matrix.d));+ height = Math.max(1, Math.min(end, (window.innerHeight - matrix.f) / matrix.d) - y);+ }+ return { x: x, y: y, width: width, height: height, scale: camera.scale };}function detailLevel() {if (state.mode === 'semantic') return 'full';@@ -10993,13 +11347,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// CSS transforms keep the SVG's intrinsic layout size. Shrink only its// outer page-flow box for long ordinary diagrams, never the SVG itself:// changing its height would feed the smaller size back into camera math.- function syncPageFlow(camera) {- camera = camera || state;+ function ordinaryPage() {var html = document.documentElement;- var height = svg.clientHeight;- var ordinary = html.getAttribute('data-embed') !== 'true' &&+ return html.getAttribute('data-embed') !== 'true' &&html.getAttribute('data-present') !== 'true' &&(!window.matchMedia || !window.matchMedia('print').matches);+ }+ function syncPageFlow(camera) {+ camera = camera || state;+ var height = svg.clientHeight;+ var ordinary = ordinaryPage();// Restore ordinary flow as soon as the target reaches 100%. Chrome// uses that target to resume baseline rail measurement; retaining a// partially shrunk box during the CSS transition would inflate reserve.@@ -11024,6 +11381,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var rendered = sampleRenderedState();syncPageFlow(rendered);clipToViewport(rendered);+ if (Archify.radar && Archify.radar.isOpen()) Archify.radar.sync();if (Archify.readerLayout && typeof Archify.readerLayout.syncLegend === 'function') Archify.readerLayout.syncLegend();if (!cameraSettled(rendered)) clipFrame = requestAnimationFrame(sample);}@@ -11161,6 +11519,17 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state = { scale: 1, x: 0, y: 0, mode: 'overview' };apply();}+ function scrollLongDiagramTo(contentY, metrics, options) {+ if (!ordinaryPage() || metrics.height <= window.innerHeight) return;+ // apply() may still be animating its CSS transform. Recover the layout+ // origin from the painted transform, then use the final camera target.+ var painted = sampleRenderedState();+ var rect = svg.getBoundingClientRect();+ var pixelScale = rect.height / metrics.height / painted.scale;+ var documentTop = window.scrollY + rect.top - painted.y * pixelScale;+ var target = documentTop + (state.y + contentY * state.scale) * pixelScale - window.innerHeight / 2;+ window.scrollTo({ left: window.scrollX, top: Math.max(0, target), behavior: options.instant ? 'instant' : 'smooth' });+ }function centerAt(logicalX, logicalY, options) {options = options || {};logicalX = Number(logicalX);@@ -11179,6 +11548,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.autoScrollUntil = Date.now() + 80;try { container.scrollTo({ left: mobileTarget, behavior: options.instant ? 'auto' : 'smooth' }); }catch (_) { container.scrollLeft = mobileTarget; }+ scrollLongDiagramTo(metrics.offsetY + (logicalY - viewBox.y) * metrics.scale, metrics, options);return true;}var minimumScale = Math.max(1, Math.min(3, Number(options.minimumScale) || 1));@@ -11190,6 +11560,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state.y = metrics.height / 2 - contentY * state.scale;state.mode = 'manual';apply();+ scrollLongDiagramTo(contentY, metrics, options);if (Archify.focus && Archify.focus.reposition) Archify.focus.reposition();return true;}diff --git a/examples/rag-pipeline.html b/examples/rag-pipeline.htmlindex 5167b799..9b853c88 100644--- a/examples/rag-pipeline.html+++ b/examples/rag-pipeline.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <meta name="generator" content="archify 3.0.2-dev.1">+ <meta name="generator" content="archify 3.1.0"><meta name="archify-reader-contract" content="declared-wide-v1"><title>RAG Pipeline Diagram</title><script>@@ -186,7 +186,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(15, 23, 42, 0.22);--lane-stroke: #334155;- --arrow: #64748b;+ --arrow: #94a3b8;--arrow-emphasis: #34d399;/* Opaque mask color used behind semi-transparent component fills@@ -229,7 +229,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(248, 250, 252, 0.65);--lane-stroke: #cbd5e1;- --arrow: #94a3b8;+ --arrow: #64748b;--arrow-emphasis: #059669;--mask: #ffffff;@@ -2288,6 +2288,41 @@ OTHER DEALINGS IN THE FONT SOFTWARE.font-size: 0.5rem;}.diagram-guide-feedback:empty { display: none; }+ .diagram-guide-credit {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 0.6rem;+ padding: 0.46rem 0.9rem 0.56rem;+ border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 74%, transparent);+ color: var(--text-faint);+ font-size: 0.5rem;+ letter-spacing: 0.02em;+ text-decoration: none;+ }+ .diagram-guide-credit-link {+ display: inline-flex;+ align-items: center;+ gap: 0.28rem;+ flex: none;+ opacity: 0.72;+ transition: opacity 120ms ease, color 120ms ease;+ }+ .diagram-guide-star {+ width: 0.62rem;+ height: 0.62rem;+ background: currentColor;+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ }+ .diagram-guide-credit:hover .diagram-guide-star,+ .diagram-guide-credit:focus-visible .diagram-guide-star {+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ }+ .diagram-guide-credit:hover .diagram-guide-credit-link,+ .diagram-guide-credit:focus-visible .diagram-guide-credit-link { opacity: 1; color: var(--cloud-stroke); }+ .diagram-guide-credit:focus-visible { outline: 2px solid var(--cloud-stroke); outline-offset: -2px; }@keyframes archify-guide-in {from { opacity: 0; transform: translateY(-5px) scale(0.985); }to { opacity: 1; transform: translateY(0) scale(1); }@@ -3550,13 +3585,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.background: transparent;box-shadow: none;}- /* The motion button breathes on the same shared cycle as the cascade, so the- chrome keeps time with the wave it controls. The cycle length lives on the- diagram SVG, so chrome presets mirror it here. */+ /* The motion button breathes on the relay cycle, so the chrome keeps time+ with the wave it controls. Motion Governor mirrors the planned cycle from+ the diagram SVG onto the document. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) #btn-motion .motion-control-dot {animation: archify-motion-dot-breathe var(--flow-cycle-chrome, 6.4s) ease-in-out infinite;}- html[data-preset="signal-flow"] #btn-motion .motion-control-dot { --flow-cycle-chrome: 5.2s; }@keyframes archify-motion-dot-breathe {0%, 100% { opacity: 1; transform: scale(1); }46% { opacity: 0.55; transform: scale(0.72); }@@ -4725,27 +4759,23 @@ OTHER DEALINGS IN THE FONT SOFTWARE..c-region { fill: rgba(251, 191, 36, 0.05); stroke: var(--cloud-stroke); stroke-dasharray: 8,4; }.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. */+ /* Live plays one relay per cycle: a comet (halo, tail, head) leaves each+ source when the signal reaches it, travels at one shared speed, leaves a+ soft wake, and lands as a ripple while its target glows. Downstream edges+ depart only after their source is reached, so the reader sees the path the+ diagram describes rather than every edge shimmering at once. Sequence+ messages relay in authored chronological order. Motion Governor plans the+ timeline and its per-edge keyframes; this stylesheet owns appearance.+ Original line language and markers remain static. Node entry is bounded to+ one pass per document. */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-head-peak: 0.95;- --flow-wake-peak: 0.1;+ --flow-wake-peak: 0.3;--flow-ripple-peak: 0.65;- --flow-ripple-echo-peak: 0.26;}.ambient-edge-flow {fill: none;@@ -4755,69 +4785,91 @@ OTHER DEALINGS IN THE FONT SOFTWARE.display: none;}.ambient-flow-wake {+ --flow-peak: var(--flow-wake-peak, 0.3);stroke-width: 3.2;stroke-dasharray: var(--flow-dasharray, none);- animation-name: archify-flow-wake;}.ambient-flow-halo {+ --flow-peak: var(--flow-halo-peak, 0.17);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 makesthe comet read as a traveling orb of light rather than a bright dash. */.ambient-flow-glow {+ --flow-peak: var(--flow-glow-peak, 0.5);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 {+ --flow-peak: var(--flow-tail-peak, 0.42);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 {+ --flow-peak: var(--flow-head-peak, 0.95);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;}- .ambient-flow-head.echo { --flow-echo-scale: 0.76; }- .ambient-flow-tail.echo { --flow-echo-scale: 0.53; }.ambient-flow-ripple {+ --flow-peak: var(--flow-ripple-peak, 0.65);stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);stroke-width: 2;- animation-name: archify-flow-ripple;- }- .ambient-flow-ripple-echo {- stroke-width: 1.2;- animation-name: archify-flow-ripple-echo;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) .ambient-edge-flow {display: inline;+ animation-name: var(--flow-name, none);animation-duration: var(--flow-cycle, 6.4s);animation-timing-function: linear;animation-iteration-count: infinite;animation-delay: var(--flow-delay, 0s);/* Without backwards fill a delayed layer would sit at its natural opacity- (fully lit) until its phase arrives. */+ (fully lit) until its departure arrives. */animation-fill-mode: backwards;}+ /* Stream packets trail the comet head as smaller, dimmer beads. */+ .ambient-flow-head.packet {+ --flow-peak: calc(var(--flow-head-peak, 0.95) * 0.62);+ stroke-width: 3.4;+ }+ /* Timeline and waterfall playhead: a crisp rule over a soft bloom. */+ .ambient-flow-playhead {+ --flow-peak: 0.9;+ stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);+ stroke-width: 1.6;+ }+ .ambient-flow-playhead-glow {+ --flow-peak: 0.32;+ stroke-width: 10;+ filter: blur(4px);+ }+ /* Waterfall spans fill in proportion to their measured time, then settle. */+ .ambient-flow-fill {+ --flow-peak: 0.5;+ fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 55%, white);+ stroke: none;+ transform-box: fill-box;+ transform-origin: left center;+ }+ .ambient-flow-fill-failed { fill: var(--security-stroke); --flow-peak: 0.5; }+ html[data-theme="light"] .ambient-flow-playhead { stroke: color-mix(in srgb, var(--arrow-emphasis) 70%, black); }+ html[data-theme="light"] .ambient-flow-fill { --flow-peak: 0.42; fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 70%, black); }+ svg[data-preset="editorial"] .ambient-flow-fill { --flow-peak: 0.2; }+ svg[data-preset="editorial"] .ambient-flow-playhead-glow { --flow-peak: 0.14; }/* Each decorative flow follows its owning edge through tree visibility. */.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; }- /* On light canvases the cascade reads by saturation instead of bloom: the- head and inner ripple mix toward ink instead of white, and every layer's- peak rises so the wave survives the bright background. */+ 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.14; --flow-ripple-peak: 0.3; }+ /* On light canvases the relay reads by saturation instead of bloom: the head+ and ripple mix toward ink instead of white, and every layer's peak 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;+ --flow-wake-peak: 0.34;}html[data-theme="light"] .ambient-flow-head {stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, black);@@ -4844,85 +4896,33 @@ OTHER DEALINGS IN THE FONT SOFTWARE.animation: archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- /* Node glow follows each node's authored step on the shared cycle; it does- not track incoming edge arrivals. During the bounded entrance all three- animations run; the entrance pulse is listed after the repeating glow and- wins on filter until it completes. */+ /* Each node glows in its planned windows: when the relay reaches it, while a+ walk token rests on it, as a message lands, or as the playhead passes.+ During the bounded entrance all three animations run; the entrance pulse is+ listed after the repeating glow and wins on filter until it completes. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s));+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.6s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.1s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-blueprint-node-pulse 3.8s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- @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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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)); }- 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; }- }- @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; }- }- @keyframes archify-node-receive {- 0%, 100% { filter: var(--ambient-node-base-filter, none); }- 5%, 12% { filter: var(--ambient-node-base-filter,) drop-shadow(0 0 9px var(--arrow-emphasis)); }- }@keyframes archify-node-enter {from { opacity: 0; }to { opacity: 1; }@@ -5155,11 +5155,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</div>- <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script>+ <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.credit":"Find Archify useful? A star on GitHub helps","viewer.guide.star":"Star","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script><!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 980 528" 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 980 528" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase" data-node-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5" data-reader-primary-text="14"><title id="archify-diagram-title">RAG Pipeline</title><desc id="archify-diagram-description">An architecture diagram generated by Archify.</desc><!-- Definitions -->@@ -5180,6 +5180,27 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<path d="M 40 0 L 0 0 0 40" class="c-grid" stroke-width="0.5"/></pattern></defs>+ <style>+ svg[data-node-ui] [data-node-id] > rect:not(.c-mask) { stroke-width: 1.25px; }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-frontend { fill: color-mix(in srgb, var(--frontend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--frontend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-backend { fill: color-mix(in srgb, var(--backend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--backend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-database { fill: color-mix(in srgb, var(--database-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--database-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-cloud { fill: color-mix(in srgb, var(--cloud-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-security { fill: color-mix(in srgb, var(--security-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-messagebus { fill: color-mix(in srgb, var(--messagebus-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--messagebus-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-external { fill: color-mix(in srgb, var(--external-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--external-stroke) 72%, var(--mask)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-region { fill: color-mix(in srgb, var(--cloud-stroke) 3%, transparent); stroke: color-mix(in srgb, var(--cloud-stroke) 42%, var(--lane-stroke)); stroke-dasharray: none; }+ svg[data-node-ui] .c-security-group { stroke: color-mix(in srgb, var(--security-stroke) 58%, var(--lane-stroke)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-security-group { stroke-dasharray: 4 3; }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-lane { stroke: var(--lane-stroke); stroke-dasharray: none; }+ svg[data-node-ui] [data-graph-role="structural-frame-label-mask"] { rx: 5px; fill: color-mix(in srgb, var(--cloud-stroke) 10%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 38%, var(--mask)); stroke-width: .8px; }+ svg[data-node-ui] [data-composition-frame-kind="security-group"] > [data-graph-role="structural-frame-label-mask"] { fill: color-mix(in srgb, var(--security-stroke) 9%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 36%, var(--mask)); }+ svg[data-node-ui] .phase-rule { opacity: .5; stroke-dasharray: none; }+ svg[data-node-ui] .phase-chip { stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui] g[data-edge-from] > rect.c-mask { rx: 7px; stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui][data-preset="blueprint"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 2px; }+ svg[data-node-ui][data-preset="editorial"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 3px; }+ </style><!-- Background Grid --><rect width="100%" height="100%" fill="url(#grid)" />@@ -5237,8 +5258,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Components --><g id="node-user" data-node-id="user" data-node-label="User" tabindex="0" role="button" aria-label="Focus User, Chat / API, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="Chat / API" data-node-context="Architecture component"><title>User · Chat / API · Architecture component</title>- <rect x="30" y="200" width="100" height="50" rx="6" class="c-mask"/>- <rect x="30" y="200" width="100" height="50" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>+ <rect x="30" y="200" width="100" height="50" rx="8" class="c-mask"/>+ <rect x="30" y="200" width="100" height="50" rx="8" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(36 206) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5249,8 +5270,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-guardrail" data-node-id="guardrail" data-node-label="Guardrail" tabindex="0" role="button" aria-label="Focus Guardrail, Input filter, Query Runtime" aria-pressed="false" data-node-kind="security" data-node-sublabel="Input filter" data-node-tag="PII + toxicity" data-node-context="Query Runtime"><title>Guardrail · Input filter · Query Runtime · PII + toxicity</title>- <rect x="160" y="200" width="110" height="50" rx="6" class="c-mask"/>- <rect x="160" y="200" width="110" height="50" rx="6" class="c-security" data-animate="node" style="--step:1" stroke-width="1.5"/>+ <rect x="160" y="200" width="110" height="50" rx="8" class="c-mask"/>+ <rect x="160" y="200" width="110" height="50" rx="8" class="c-security" data-animate="node" style="--step:1" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="security" class="semantic-sigil s-security" transform="translate(166 206) scale(0.6875)"><path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/>@@ -5262,8 +5283,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-orchestrator" data-node-id="orchestrator" data-node-label="Orchestrator" tabindex="0" role="button" aria-label="Focus Orchestrator, LangGraph agent, Query Runtime" aria-pressed="false" data-node-kind="backend" data-node-sublabel="LangGraph agent" data-node-context="Query Runtime"><title>Orchestrator · LangGraph agent · Query Runtime</title>- <rect x="310" y="200" width="130" height="54" rx="6" class="c-mask"/>- <rect x="310" y="200" width="130" height="54" rx="6" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/>+ <rect x="310" y="200" width="130" height="54" rx="8" class="c-mask"/>+ <rect x="310" y="200" width="130" height="54" rx="8" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(316 206) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5273,8 +5294,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-cache" data-node-id="cache" data-node-label="Semantic Cache" tabindex="0" role="button" aria-label="Focus Semantic Cache, Redis :6379, Query Runtime" aria-pressed="false" data-node-kind="database" data-node-sublabel="Redis :6379" data-node-context="Query Runtime"><title>Semantic Cache · Redis :6379 · Query Runtime</title>- <rect x="310" y="70" width="130" height="50" rx="6" class="c-mask"/>- <rect x="310" y="70" width="130" height="50" rx="6" class="c-database" data-animate="node" style="--step:3" stroke-width="1.5"/>+ <rect x="310" y="70" width="130" height="50" rx="8" class="c-mask"/>+ <rect x="310" y="70" width="130" height="50" rx="8" class="c-database" data-animate="node" style="--step:3" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(316 76) scale(0.6875)"><ellipse cx="8" cy="4" rx="5" ry="2"/><path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>@@ -5285,8 +5306,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-retriever" data-node-id="retriever" data-node-label="Retriever" tabindex="0" role="button" aria-label="Focus Retriever, Hybrid search, Query Runtime" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Hybrid search" data-node-context="Query Runtime"><title>Retriever · Hybrid search · Query Runtime</title>- <rect x="480" y="200" width="120" height="54" rx="6" class="c-mask"/>- <rect x="480" y="200" width="120" height="54" rx="6" class="c-backend" data-animate="node" style="--step:4" stroke-width="1.5"/>+ <rect x="480" y="200" width="120" height="54" rx="8" class="c-mask"/>+ <rect x="480" y="200" width="120" height="54" rx="8" class="c-backend" data-animate="node" style="--step:4" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(486 206) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5296,8 +5317,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-vectordb" data-node-id="vectordb" data-node-label="Vector Store" tabindex="0" role="button" aria-label="Focus Vector Store, Milvus, Architecture component" aria-pressed="false" data-node-kind="database" data-node-sublabel="Milvus" data-node-tag="HNSW index" data-node-context="Architecture component"><title>Vector Store · Milvus · Architecture component · HNSW index</title>- <rect x="480" y="285" width="120" height="50" rx="6" class="c-mask"/>- <rect x="480" y="285" width="120" height="50" rx="6" class="c-database" data-animate="node" style="--step:5" stroke-width="1.5"/>+ <rect x="480" y="285" width="120" height="50" rx="8" class="c-mask"/>+ <rect x="480" y="285" width="120" height="50" rx="8" class="c-database" data-animate="node" style="--step:5" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(486 291) scale(0.6875)"><ellipse cx="8" cy="4" rx="5" ry="2"/><path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>@@ -5309,8 +5330,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-reranker" data-node-id="reranker" data-node-label="Reranker" tabindex="0" role="button" aria-label="Focus Reranker, Cross-encoder, Query Runtime" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Cross-encoder" data-node-context="Query Runtime"><title>Reranker · Cross-encoder · Query Runtime</title>- <rect x="640" y="200" width="120" height="54" rx="6" class="c-mask"/>- <rect x="640" y="200" width="120" height="54" rx="6" class="c-backend" data-animate="node" style="--step:6" stroke-width="1.5"/>+ <rect x="640" y="200" width="120" height="54" rx="8" class="c-mask"/>+ <rect x="640" y="200" width="120" height="54" rx="8" class="c-backend" data-animate="node" style="--step:6" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(646 206) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5320,8 +5341,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-llm" data-node-id="llm" data-node-label="LLM" tabindex="0" role="button" aria-label="Focus LLM, Claude API, Query Runtime" aria-pressed="false" data-node-kind="cloud" data-node-sublabel="Claude API" data-node-context="Query Runtime"><title>LLM · Claude API · Query Runtime</title>- <rect x="800" y="200" width="110" height="54" rx="6" class="c-mask"/>- <rect x="800" y="200" width="110" height="54" rx="6" class="c-cloud" data-animate="node" style="--step:7" stroke-width="1.5"/>+ <rect x="800" y="200" width="110" height="54" rx="8" class="c-mask"/>+ <rect x="800" y="200" width="110" height="54" rx="8" class="c-cloud" data-animate="node" style="--step:7" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="cloud" class="semantic-sigil s-cloud" transform="translate(806 206) scale(0.6875)"><path d="M4.3 12.5h7.3a2.4 2.4 0 0 0 .2-4.8 4 4 0 0 0-7.5-1.3A3.1 3.1 0 0 0 4.3 12.5Z"/></g>@@ -5331,8 +5352,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-sources" data-node-id="sources" data-node-label="Documents" tabindex="0" role="button" aria-label="Focus Documents, PDF / Web / DB, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="PDF / Web / DB" data-node-context="Architecture component"><title>Documents · PDF / Web / DB · Architecture component</title>- <rect x="200" y="390" width="120" height="50" rx="6" class="c-mask"/>- <rect x="200" y="390" width="120" height="50" rx="6" class="c-external" data-animate="node" style="--step:9" stroke-width="1.5"/>+ <rect x="200" y="390" width="120" height="50" rx="8" class="c-mask"/>+ <rect x="200" y="390" width="120" height="50" rx="8" class="c-external" data-animate="node" style="--step:9" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(206 396) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5343,8 +5364,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-loader" data-node-id="loader" data-node-label="Loader" tabindex="0" role="button" aria-label="Focus Loader, Parse + extract, Ingestion Pipeline" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Parse + extract" data-node-context="Ingestion Pipeline"><title>Loader · Parse + extract · Ingestion Pipeline</title>- <rect x="360" y="390" width="110" height="50" rx="6" class="c-mask"/>- <rect x="360" y="390" width="110" height="50" rx="6" class="c-backend" data-animate="node" style="--step:10" stroke-width="1.5"/>+ <rect x="360" y="390" width="110" height="50" rx="8" class="c-mask"/>+ <rect x="360" y="390" width="110" height="50" rx="8" class="c-backend" data-animate="node" style="--step:10" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(366 396) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5354,8 +5375,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-chunker" data-node-id="chunker" data-node-label="Chunker" tabindex="0" role="button" aria-label="Focus Chunker, Semantic split, Ingestion Pipeline" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Semantic split" data-node-context="Ingestion Pipeline"><title>Chunker · Semantic split · Ingestion Pipeline</title>- <rect x="510" y="390" width="110" height="50" rx="6" class="c-mask"/>- <rect x="510" y="390" width="110" height="50" rx="6" class="c-backend" data-animate="node" style="--step:11" stroke-width="1.5"/>+ <rect x="510" y="390" width="110" height="50" rx="8" class="c-mask"/>+ <rect x="510" y="390" width="110" height="50" rx="8" class="c-backend" data-animate="node" style="--step:11" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(516 396) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5365,8 +5386,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-embedder" data-node-id="embedder" data-node-label="Embedding" tabindex="0" role="button" aria-label="Focus Embedding, text-embedding-3, Ingestion Pipeline" aria-pressed="false" data-node-kind="cloud" data-node-sublabel="text-embedding-3" data-node-context="Ingestion Pipeline"><title>Embedding · text-embedding-3 · Ingestion Pipeline</title>- <rect x="670" y="390" width="120" height="50" rx="6" class="c-mask"/>- <rect x="670" y="390" width="120" height="50" rx="6" class="c-cloud" data-animate="node" style="--step:12" stroke-width="1.5"/>+ <rect x="670" y="390" width="120" height="50" rx="8" class="c-mask"/>+ <rect x="670" y="390" width="120" height="50" rx="8" class="c-cloud" data-animate="node" style="--step:12" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="cloud" class="semantic-sigil s-cloud" transform="translate(676 396) scale(0.6875)"><path d="M4.3 12.5h7.3a2.4 2.4 0 0 0 .2-4.8 4 4 0 0 0-7.5-1.3A3.1 3.1 0 0 0 4.3 12.5Z"/></g>@@ -5505,6 +5526,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<span><kbd>E</kbd> Export</span><span><kbd>T</kbd> Theme</span><span><kbd>S</kbd> Style</span><span><kbd>0</kbd> Reset</span><span><kbd>+</kbd> Zoom in</span><span><kbd>-</kbd> Zoom out</span><span><kbd>Esc</kbd> Close</span></div><p class="diagram-guide-feedback" id="diagram-guide-feedback" aria-live="polite"></p>+ <a class="diagram-guide-credit" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener noreferrer"><span>Find Archify useful? A star on GitHub helps</span><span class="diagram-guide-credit-link"><span class="diagram-guide-star" aria-hidden="true"></span>Star <span aria-hidden="true">↗</span></span></a></div><div class="node-finder no-print" id="node-finder" hidden role="dialog" aria-modal="false" aria-labelledby="node-finder-title"><div class="node-finder-head">@@ -7571,36 +7593,321 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// Runtime decoration carries geometry and tree visibility only. Keep each// flow beside its authored edge so transforms, clipping and crossover// paint order apply.- // Each edge carries a small light show: a comet (halo, tail, head)- // cascading downstream on one shared cycle, a lingering wake, and a- // ripple where the comet lands. Phases follow the authored step order:- // source-node rank where known, chronological message order in sequence- // diagrams.- function readSecondsVar(name, fallback) {- var value = '';- try { value = window.getComputedStyle(svg).getPropertyValue(name); } catch (_) {}- var seconds = parseFloat(value);- return Number.isFinite(seconds) && seconds > 0 ? seconds : fallback;- }- function nodeStep(from) {- // Authored IDs follow the schema's conservative identifier pattern, so- // direct selector interpolation stays safe here. The semantic wrapper- // groups the animated shape; its authored step ranks the node.- var node = from ? svg.querySelector('[data-node-id="' + from + '"]') : null;- var shape = node ? node.querySelector('[data-animate="node"]') : null;- return shape && shape.style ? shape.style.getPropertyValue('--step') : '';- }- function edgePhase(shape, fallbackStep) {- // Sequence messages have no data-edge-from; their own authored step is- // already chronological, which is the right phase there.- var raw = nodeStep(shape.getAttribute('data-edge-from'));- if (raw === '' && shape.style) raw = shape.style.getPropertyValue('--step');- var step = parseFloat(raw);- return Number.isFinite(step) ? step : fallbackStep;+ // Each renderer may declare a choreography that matches what its diagram+ // means. Relay (the default) sends a comet from each source when the+ // signal reaches it; stream adds a packet train for continuous data; walk+ // moves one token along the main state path; sequence plays messages in+ // authored order; sweep runs a playhead along a timeline; replay fills+ // waterfall spans in proportion to their measured time. Motion Governor+ // plans the timeline and per-element keyframes; viewer.css owns looks.+ var SVG_NS = 'http://www.w3.org/2000/svg';+ var choreography = svg ? (svg.getAttribute('data-motion-choreography') || 'relay') : 'relay';+ var RELAY = {+ speed: 280,+ minTravel: 0.42,+ maxTravel: 1.5,+ handoff: 0.1,+ dwell: 0.55,+ maxSpan: 9,+ land: 0.9,+ rest: 1.4,+ minCycle: 3.6+ };+ function stepOf(element, fallback) {+ var step = parseFloat(element && element.style ? element.style.getPropertyValue('--step') : '');+ return Number.isFinite(step) ? step : fallback;+ }+ function byStep(a, b) { return a.step - b.step || a.index - b.index; }+ function addWindow(windows, id, start, end, strong) {+ if (!id) return;+ (windows[id] = windows[id] || []).push({ start: start, end: end, strong: !!strong });+ }+ function planRelay(records, windows) {+ var arrive = Object.create(null);+ var seeded = Object.create(null);+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ function seed(id) {+ if (arrive[id] !== undefined) return;+ arrive[id] = 0;+ seeded[id] = true;+ }+ function relax() {+ // Earliest arrival over a few dozen edges; a scan per settle keeps+ // cycles and fan-in deterministic without a priority queue.+ var settled = Object.create(null);+ for (;;) {+ var next = null;+ Object.keys(arrive).forEach(function (id) {+ if (!settled[id] && (next === null || arrive[id] < arrive[next])) next = id;+ });+ if (next === null) return;+ settled[next] = true;+ var depart = arrive[next] + (seeded[next] ? 0 : RELAY.handoff);+ records.forEach(function (record) {+ if (record.from !== next) return;+ var at = depart + record.travel;+ if (arrive[record.to] === undefined || at < arrive[record.to]) arrive[record.to] = at;+ });+ }+ }+ records.forEach(function (record) { if (!targets[record.from]) seed(record.from); });+ relax();+ for (;;) {+ // A closed cycle has no entry; start it at its earliest authored edge.+ var orphan = records.filter(function (record) { return arrive[record.from] === undefined; }).sort(byStep)[0];+ if (!orphan) break;+ seed(orphan.from);+ relax();+ }+ records.forEach(function (record) {+ record.depart = arrive[record.from] + (seeded[record.from] ? 0 : RELAY.handoff);+ record.active = true;+ });+ Object.keys(arrive).forEach(function (id) { addWindow(windows, id, arrive[id], arrive[id]); });+ }+ function planWalk(records, windows) {+ // A state machine is in one state at a time: follow the first authored+ // transition to an unvisited state and let the current state stay lit.+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ var ordered = records.slice().sort(byStep);+ var start = (ordered.find(function (record) { return !targets[record.from]; }) || ordered[0]).from;+ var visited = Object.create(null);+ var current = start;+ var clock = 0;+ var enteredAt = 0;+ visited[start] = true;+ for (var hops = 0; hops < 16; hops += 1) {+ var next = ordered.find(function (record) { return record.from === current && !visited[record.to]; });+ if (!next) break;+ next.active = true;+ next.depart = clock + RELAY.dwell;+ addWindow(windows, current, enteredAt, next.depart, true);+ clock = next.depart + next.travel;+ enteredAt = clock;+ current = next.to;+ visited[current] = true;+ }+ addWindow(windows, current, enteredAt, enteredAt + 1.2, true);+ }+ function planSequence(records, windows) {+ var clock = 0;+ records.slice().sort(byStep).forEach(function (record) {+ record.active = true;+ record.depart = clock;+ clock += record.travel + RELAY.handoff;+ addWindow(windows, record.from, record.depart, record.depart);+ addWindow(windows, record.to, record.depart + record.travel, record.depart + record.travel);+ });+ }+ function scalePlan(records, windows, span) {+ var scale = span > RELAY.maxSpan ? RELAY.maxSpan / span : 1;+ if (scale === 1) return span;+ records.forEach(function (record) {+ if (!record.active) return;+ record.depart *= scale;+ record.travel *= scale;+ });+ Object.keys(windows).forEach(function (id) {+ windows[id].forEach(function (window) { window.start *= scale; window.end *= scale; });+ });+ return span * scale;+ }+ function nodeShapes() {+ var shapes = Object.create(null);+ Array.prototype.forEach.call(svg.querySelectorAll('[data-animate="node"]'), function (shape) {+ var wrapper = shape.closest('[data-node-id]');+ var id = wrapper ? wrapper.getAttribute('data-node-id') : '';+ if (id) (shapes[id] = shapes[id] || []).push(shape);+ });+ return shapes;+ }+ function sceneBounds(elements) {+ var box = null;+ elements.forEach(function (element) {+ var b = null;+ try { b = element.getBBox(); } catch (_) {}+ if (!b || !(b.width || b.height)) return;+ if (!box) box = { x: b.x, y: b.y, right: b.x + b.width, bottom: b.y + b.height };+ else {+ box.x = Math.min(box.x, b.x); box.y = Math.min(box.y, b.y);+ box.right = Math.max(box.right, b.x + b.width); box.bottom = Math.max(box.bottom, b.y + b.height);+ }+ });+ return box;+ }+ function overlay(tag, cls, attrs, parent, before) {+ var element = document.createElementNS(SVG_NS, tag);+ Object.keys(attrs).forEach(function (name) { element.setAttribute(name, attrs[name]); });+ element.setAttribute('class', 'ambient-edge-flow ' + cls);+ element.setAttribute('data-ambient-flow-overlay', 'true');+ element.setAttribute('aria-hidden', 'true');+ parent.insertBefore(element, before || null);+ return element;+ }+ // Timeline and waterfall share a playhead: a lit vertical rule and its+ // bloom travel the time axis linearly, because time is the subject.+ function addPlayhead(box, x0, x1, lead, sweep, extras) {+ var anchor = svg.querySelector('[data-node-id]');+ var parent = anchor ? anchor.parentNode : svg;+ var attrs = { x1: x0.toFixed(1), x2: x0.toFixed(1), y1: (box.y - 10).toFixed(1), y2: (box.bottom + 10).toFixed(1) };+ ['playhead-glow', 'playhead'].forEach(function (kind) {+ var line = overlay('line', 'ambient-flow-' + kind, attrs, parent, anchor);+ line.style.setProperty('--flow-name', 'archify-motion-playhead');+ extras.push(line);+ });+ extras.playhead = { distance: x1 - x0, lead: lead, sweep: sweep };+ }+ function planSweep(windows, extras) {+ var events = Array.prototype.filter.call(svg.querySelectorAll('[data-node-id][data-timeline-x]'), function (node) {+ return Number.isFinite(parseFloat(node.getAttribute('data-timeline-x')));+ });+ if (!events.length) return 0;+ var xs = events.map(function (node) { return parseFloat(node.getAttribute('data-timeline-x')); });+ var x0 = Math.min.apply(null, xs), x1 = Math.max.apply(null, xs);+ var lead = 0.35;+ var sweep = Math.min(7, Math.max(3.2, events.length * 0.6));+ events.forEach(function (node, index) {+ var at = lead + (x1 > x0 ? (xs[index] - x0) / (x1 - x0) : 0) * sweep;+ addWindow(windows, node.getAttribute('data-node-id'), at, at + 0.35, true);+ });+ var box = sceneBounds(Array.prototype.slice.call(svg.querySelectorAll('[data-timeline-lane]')));+ if (box && x1 > x0) addPlayhead(box, x0, x1, lead, sweep, extras);+ return lead + sweep + 0.6;+ }+ function planReplay(windows, extras) {+ var spans = [];+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id][data-waterfall-start]'), function (node) {+ var start = parseFloat(node.getAttribute('data-waterfall-start'));+ var end = parseFloat(node.getAttribute('data-waterfall-end'));+ var bar = node.querySelector('[data-animate="node"]');+ if (!bar || !Number.isFinite(start) || !(end >= start)) return;+ var width = parseFloat(bar.getAttribute('width'));+ var x = parseFloat(bar.getAttribute('x'));+ if (!(width > 0) || !Number.isFinite(x)) return;+ spans.push({ node: node, bar: bar, start: start, end: end, x: x, width: width });+ });+ if (!spans.length) return 0;+ var t0 = Math.min.apply(null, spans.map(function (span) { return span.start; }));+ var t1 = Math.max.apply(null, spans.map(function (span) { return span.end; }));+ if (!(t1 > t0)) return 0;+ var ruler = spans.reduce(function (best, span) { return span.end - span.start > best.end - best.start ? span : best; });+ var pxPerUnit = ruler.width / Math.max(ruler.end - ruler.start, 1e-9);+ var x0 = ruler.x - (ruler.start - t0) * pxPerUnit;+ var lead = 0.35;+ var replay = Math.min(6, Math.max(3.4, spans.length * 0.45));+ var at = function (t) { return lead + (t - t0) / (t1 - t0) * replay; };+ var settle = lead + replay + 0.9;+ spans.forEach(function (span) {+ var fill = overlay('rect', 'ambient-flow-fill', {+ x: span.bar.getAttribute('x'), y: span.bar.getAttribute('y'),+ width: span.bar.getAttribute('width'), height: span.bar.getAttribute('height'),+ rx: span.bar.getAttribute('rx') || '0'+ }, span.bar.parentNode, span.bar.nextSibling);+ var tone = /(?:^|\s)c-([a-z]+)(?:\s|$)/.exec(span.bar.getAttribute('class') || '');+ if (tone) fill.style.setProperty('--flow-fill', 'var(--' + tone[1] + '-stroke)');+ if (span.node.getAttribute('data-waterfall-status') && span.node.getAttribute('data-waterfall-status') !== 'ok') {+ fill.classList.add('ambient-flow-fill-failed');+ }+ fill.timing = { start: at(span.start), end: Math.max(at(span.end), at(span.start) + 0.08), settle: settle };+ extras.push(fill);+ addWindow(windows, span.node.getAttribute('data-node-id'), fill.timing.end, fill.timing.end);+ });+ var box = sceneBounds(spans.map(function (span) { return span.bar; }));+ if (box) addPlayhead(box, x0, x0 + (t1 - t0) * pxPerUnit, lead, replay, extras);+ return settle;+ }+ function writeKeyframes(records, windows, extras, cycle) {+ function at(seconds) {+ return (Math.min(100, Math.max(0, seconds / cycle * 100))).toFixed(3) + '%';+ }+ var ease = 'animation-timing-function: cubic-bezier(0.45, 0.05, 0.35, 1);';+ var rules = [+ '@keyframes archify-relay-ripple {',+ ' 0% { r: 2px; opacity: var(--flow-peak, 0.6); }',+ ' ' + at(0.75) + ', 100% { r: 20px; opacity: 0; }',+ '}'+ ];+ records.forEach(function (record) {+ if (!record.active) return;+ var travel = record.travel;+ rules.push(+ '@keyframes archify-relay-comet-' + record.index + ' {',+ ' 0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 0px)); opacity: 0; ' + ease + ' }',+ ' ' + at(Math.min(0.12, travel * 0.2)) + ' { opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel) + ' { stroke-dashoffset: var(--flow-shift, 0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel + 0.16) + ', 100% { stroke-dashoffset: var(--flow-shift, 0px); opacity: 0; }',+ '}',+ // A solid wake draws the travelled path behind the head on the same+ // easing; a dashed wake only brightens its authored segments.+ '@keyframes archify-relay-wake-' + record.index + ' {',+ record.dashed+ ? ' 0%, ' + at(travel * 0.3) + ' { opacity: 0; }'+ : ' 0% { stroke-dashoffset: var(--flow-len, 0px); opacity: var(--flow-peak, 0.3); ' + ease + ' }',+ record.dashed+ ? ' ' + at(travel) + ' { opacity: var(--flow-peak, 0.3); }'+ : ' ' + at(travel) + ' { stroke-dashoffset: 0px; opacity: var(--flow-peak, 0.3); }',+ ' ' + at(travel + 0.9) + ', 100% { stroke-dashoffset: 0px; opacity: 0; }',+ '}'+ );+ });+ var glow = function (strong) {+ return 'filter: var(--ambient-node-base-filter,) drop-shadow(0 0 ' + (strong ? 14 : 10) + 'px var(--arrow-emphasis));';+ };+ var base = 'filter: var(--ambient-node-base-filter, none);';+ Object.keys(windows).forEach(function (id, index) {+ var merged = [];+ windows[id].slice().sort(function (a, b) { return a.start - b.start; }).forEach(function (window) {+ var peakEnd = Math.max(window.end, window.start + 0.42);+ var last = merged[merged.length - 1];+ if (last && window.start <= last.peakEnd + 0.78) {+ last.peakEnd = Math.max(last.peakEnd, peakEnd);+ last.strong = last.strong || window.strong;+ } else merged.push({ start: window.start, peakEnd: peakEnd, strong: window.strong });+ });+ var frames = [' 0%, 100% { ' + base + ' }'];+ merged.forEach(function (window) {+ frames.push(+ ' ' + at(window.start) + ' { ' + base + ' }',+ ' ' + at(window.start + 0.12) + ', ' + at(window.peakEnd) + ' { ' + glow(window.strong) + ' }',+ ' ' + at(window.peakEnd + 0.78) + ' { ' + base + ' }'+ );+ });+ rules.push('@keyframes archify-relay-node-' + index + ' {', frames.join('\n'), '}');+ windows[id].keyframes = 'archify-relay-node-' + index;+ });+ if (extras.playhead) {+ var p = extras.playhead;+ rules.push(+ '@keyframes archify-motion-playhead {',+ ' 0% { transform: translateX(0px); opacity: 0; }',+ ' ' + at(Math.max(0.05, p.lead - 0.2)) + ' { transform: translateX(0px); opacity: 0; }',+ ' ' + at(p.lead) + ' { transform: translateX(0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep) + ' { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep + 0.45) + ', 100% { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: 0; }',+ '}'+ );+ }+ extras.forEach(function (element, index) {+ if (!element.timing) return;+ var t = element.timing;+ rules.push(+ '@keyframes archify-replay-fill-' + index + ' {',+ ' 0%, ' + at(t.start) + ' { transform: scaleX(0); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.end) + ', ' + at(t.settle) + ' { transform: scaleX(1); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.settle + 0.7) + ', 100% { transform: scaleX(1); opacity: 0; }',+ '}'+ );+ element.style.setProperty('--flow-name', 'archify-replay-fill-' + index);+ });+ var style = document.createElement('style');+ style.setAttribute('data-ambient-flow-keyframes', 'true');+ style.textContent = rules.join('\n');+ document.head.appendChild(style);}function createFlows() {- var stepDelay = readSecondsVar('--flow-step-delay', 0.2);- var cycle = readSecondsVar('--flow-cycle', 6.4);+ var records = [];Array.prototype.forEach.call(svg.querySelectorAll('path[data-animate="edge"]'), function (shape, index) {var d = shape.getAttribute('data-motion-path') || shape.getAttribute('d');if (!d) return;@@ -7615,7 +7922,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}}function addPath(cls) {- var flow = document.createElementNS('http://www.w3.org/2000/svg', 'path');+ var flow = document.createElementNS(SVG_NS, 'path');flow.setAttribute('d', d);['transform', 'mask', 'clip-path', 'vector-effect'].forEach(function (name) {if (shape.hasAttribute(name)) flow.setAttribute(name, shape.getAttribute(name));@@ -7633,76 +7940,114 @@ 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;- try { end = head.getPointAtLength(len); } catch (_) {}- // Dashed authored lines keep their dash language through the show:+ var record = {+ index: records.length,+ len: len,+ from: shape.getAttribute('data-edge-from') || shape.getAttribute('data-composition-edge-from') || '',+ to: shape.getAttribute('data-edge-to') || shape.getAttribute('data-composition-edge-to') || '',+ step: stepOf(shape, index),+ travel: Math.min(RELAY.maxTravel, Math.max(RELAY.minTravel, len / RELAY.speed)),+ depart: 0,+ active: false,+ layers: []+ };+ records.push(record);+ // Dashed authored lines keep their dash language through the relay:// the wake brightens only the authored segments and never fills the// gaps back into a solid line.var authoredDash = '';try { authoredDash = window.getComputedStyle(shape).strokeDasharray; } catch (_) {}- if (authoredDash && authoredDash !== 'none') {- wake.style.setProperty('--flow-dasharray', authoredDash);- }+ record.dashed = !!(authoredDash && authoredDash !== 'none');+ wake.style.setProperty('--flow-dasharray', record.dashed ? authoredDash : len.toFixed(1) + ' ' + len.toFixed(1));// 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(14, Math.max(7, len * 0.03));+ var haloLen = Math.min(22, Math.max(12, len * 0.07));var trail = len >= 120? { pattern: '2.5 2 4 3 5.5 4.5 8 ' + (len - 30).toFixed(1), length: 30 }: (len >= 60? { pattern: '3 3 7 ' + (len - 13).toFixed(1), length: 13 }: { pattern: '5 ' + Math.max(4, len - 5).toFixed(1), length: 5 });- 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 });- 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- // edge's mask so it can bloom over the node boundary.- if (end) {- ['ripple', 'ripple-echo'].forEach(function (kind) {- var ripple = document.createElementNS('http://www.w3.org/2000/svg', 'circle');- ripple.setAttribute('cx', end.x.toFixed(1));- ripple.setAttribute('cy', end.y.toFixed(1));- ripple.setAttribute('r', '2');- if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));- 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;+ record.layers.push(+ { flow: wake, kind: 'wake', dash: len, shift: 0 },+ { flow: addPath('glow'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('halo'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('tail'), kind: 'comet', dash: trail.length, shift: trail.length - headLen, dasharray: trail.pattern },+ { flow: addPath('head'), kind: 'comet', dash: headLen, shift: 0 }+ );+ if (choreography === 'stream') {+ // A packet train behind the comet reads as a continuous stream.+ [1, 2, 3].forEach(function (order) {+ record.layers.push({ flow: addPath('head packet'), kind: 'comet', dash: Math.max(4, headLen * 0.55), shift: 0, packet: order });});}- flowCount += 1;+ // The ripple lands where the comet does; keep it out of the edge's+ // mask so it can bloom over the node boundary.+ var end = null;+ try { end = wake.getPointAtLength(len); } catch (_) {}+ if (end) {+ var ripple = document.createElementNS(SVG_NS, 'circle');+ ripple.setAttribute('cx', end.x.toFixed(1));+ ripple.setAttribute('cy', end.y.toFixed(1));+ ripple.setAttribute('r', '2');+ if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));+ ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-ripple');+ tagOverlay(ripple);+ shape.parentNode.insertBefore(ripple, anchor.nextSibling);+ record.ripple = ripple;+ }+ });+ var windows = Object.create(null);+ var extras = [];+ var span = 0;+ if (choreography === 'sweep') span = planSweep(windows, extras);+ else if (choreography === 'replay') span = planReplay(windows, extras);+ else if (records.length) {+ var linked = records.filter(function (record) { return record.from && record.to; });+ if (choreography === 'sequence' || linked.length < records.length) planSequence(records, windows);+ else if (choreography === 'walk') planWalk(records, windows);+ else planRelay(records, windows);+ span = records.reduce(function (max, record) {+ return record.active ? Math.max(max, record.depart + record.travel) : max;+ }, 0);+ span = scalePlan(records, windows, span);+ }+ records.forEach(function (record) {+ if (record.active) return;+ record.layers.forEach(function (layer) { layer.flow.remove(); });+ if (record.ripple) record.ripple.remove();+ });+ var active = records.filter(function (record) { return record.active; });+ if (!active.length && !extras.length) return;+ var cycle = Math.max(RELAY.minCycle, span + RELAY.land + RELAY.rest);+ writeKeyframes(active, windows, extras, cycle);+ svg.style.setProperty('--flow-cycle', cycle.toFixed(3) + 's');+ html.style.setProperty('--flow-cycle-chrome', cycle.toFixed(3) + 's');+ active.forEach(function (record) {+ var gap = Math.min(0.22, record.travel * 0.28);+ record.layers.forEach(function (layer) {+ var flow = layer.flow;+ flow.style.setProperty('--flow-len', record.len.toFixed(1) + 'px');+ flow.style.setProperty('--flow-delay', (record.depart + (layer.packet || 0) * gap).toFixed(3) + 's');+ flow.style.setProperty('--flow-dash', layer.dash.toFixed(1) + 'px');+ flow.style.setProperty('--flow-shift', layer.shift.toFixed(1) + 'px');+ flow.style.setProperty('--flow-name', 'archify-relay-' + layer.kind + '-' + record.index);+ if (layer.dasharray) flow.style.setProperty('--flow-dasharray', layer.dasharray);+ });+ if (record.ripple) {+ record.ripple.style.setProperty('--flow-delay', (record.depart + record.travel).toFixed(3) + 's');+ record.ripple.style.setProperty('--flow-name', 'archify-relay-ripple');+ }});+ var shapes = nodeShapes();+ Object.keys(windows).forEach(function (id) {+ (shapes[id] || []).forEach(function (shape) {+ shape.style.setProperty('--flow-node-name', windows[id].keyframes);+ });+ });+ flowCount = active.length + extras.length;}function settleEntry() {entryPending.clear();@@ -10924,26 +11269,35 @@ OTHER DEALINGS IN THE FONT SOFTWARE.function logicalViewport() {var metrics = contentMetrics();if (!metrics) return null;+ var camera = sampleRenderedState();var x;var y;var width;var height;- if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && state.scale >= 1) {+ if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && camera.scale >= 1) {x = viewBox.x + container.scrollLeft / metrics.scale;y = viewBox.y;width = Math.min(viewBox.width, Math.max(1, container.clientWidth / metrics.scale));height = viewBox.height;} else {- x = viewBox.x + (((container.scrollLeft - state.x) / state.scale) - metrics.offsetX) / metrics.scale;- y = viewBox.y + ((-state.y / state.scale) - metrics.offsetY) / metrics.scale;- width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / state.scale / metrics.scale);- height = Math.min(viewBox.height, metrics.height / state.scale / metrics.scale);+ x = viewBox.x + (((container.scrollLeft - camera.x) / camera.scale) - metrics.offsetX) / metrics.scale;+ y = viewBox.y + ((-camera.y / camera.scale) - metrics.offsetY) / metrics.scale;+ width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / camera.scale / metrics.scale);+ height = Math.min(viewBox.height, metrics.height / camera.scale / metrics.scale);}width = Math.max(1, Math.min(viewBox.width, width));height = Math.max(1, Math.min(viewBox.height, height));x = Math.max(viewBox.x, Math.min(viewBox.x + viewBox.width - width, x));y = Math.max(viewBox.y, Math.min(viewBox.y + viewBox.height - height, y));- return { x: x, y: y, width: width, height: height, scale: state.scale };+ // The camera's layout box can span several browser screens. Intersect+ // its logical bounds with the actual window, including page scrolling.+ var matrix = svg.getScreenCTM();+ if (matrix && matrix.d > 0) {+ var end = y + height;+ y = Math.max(y, Math.min(end - 1, -matrix.f / matrix.d));+ height = Math.max(1, Math.min(end, (window.innerHeight - matrix.f) / matrix.d) - y);+ }+ return { x: x, y: y, width: width, height: height, scale: camera.scale };}function detailLevel() {if (state.mode === 'semantic') return 'full';@@ -11005,13 +11359,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// CSS transforms keep the SVG's intrinsic layout size. Shrink only its// outer page-flow box for long ordinary diagrams, never the SVG itself:// changing its height would feed the smaller size back into camera math.- function syncPageFlow(camera) {- camera = camera || state;+ function ordinaryPage() {var html = document.documentElement;- var height = svg.clientHeight;- var ordinary = html.getAttribute('data-embed') !== 'true' &&+ return html.getAttribute('data-embed') !== 'true' &&html.getAttribute('data-present') !== 'true' &&(!window.matchMedia || !window.matchMedia('print').matches);+ }+ function syncPageFlow(camera) {+ camera = camera || state;+ var height = svg.clientHeight;+ var ordinary = ordinaryPage();// Restore ordinary flow as soon as the target reaches 100%. Chrome// uses that target to resume baseline rail measurement; retaining a// partially shrunk box during the CSS transition would inflate reserve.@@ -11036,6 +11393,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var rendered = sampleRenderedState();syncPageFlow(rendered);clipToViewport(rendered);+ if (Archify.radar && Archify.radar.isOpen()) Archify.radar.sync();if (Archify.readerLayout && typeof Archify.readerLayout.syncLegend === 'function') Archify.readerLayout.syncLegend();if (!cameraSettled(rendered)) clipFrame = requestAnimationFrame(sample);}@@ -11173,6 +11531,17 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state = { scale: 1, x: 0, y: 0, mode: 'overview' };apply();}+ function scrollLongDiagramTo(contentY, metrics, options) {+ if (!ordinaryPage() || metrics.height <= window.innerHeight) return;+ // apply() may still be animating its CSS transform. Recover the layout+ // origin from the painted transform, then use the final camera target.+ var painted = sampleRenderedState();+ var rect = svg.getBoundingClientRect();+ var pixelScale = rect.height / metrics.height / painted.scale;+ var documentTop = window.scrollY + rect.top - painted.y * pixelScale;+ var target = documentTop + (state.y + contentY * state.scale) * pixelScale - window.innerHeight / 2;+ window.scrollTo({ left: window.scrollX, top: Math.max(0, target), behavior: options.instant ? 'instant' : 'smooth' });+ }function centerAt(logicalX, logicalY, options) {options = options || {};logicalX = Number(logicalX);@@ -11191,6 +11560,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.autoScrollUntil = Date.now() + 80;try { container.scrollTo({ left: mobileTarget, behavior: options.instant ? 'auto' : 'smooth' }); }catch (_) { container.scrollLeft = mobileTarget; }+ scrollLongDiagramTo(metrics.offsetY + (logicalY - viewBox.y) * metrics.scale, metrics, options);return true;}var minimumScale = Math.max(1, Math.min(3, Number(options.minimumScale) || 1));@@ -11202,6 +11572,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state.y = metrics.height / 2 - contentY * state.scale;state.mode = 'manual';apply();+ scrollLongDiagramTo(contentY, metrics, options);if (Archify.focus && Archify.focus.reposition) Archify.focus.reposition();return true;}diff --git a/experiments/mco-showcase/mco-runtime.html b/experiments/mco-showcase/mco-runtime.htmlindex 75d4cce4..e2e3c469 100644--- a/experiments/mco-showcase/mco-runtime.html+++ b/experiments/mco-showcase/mco-runtime.html@@ -3,7 +3,7 @@<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <meta name="generator" content="archify 3.0.2-dev.1">+ <meta name="generator" content="archify 3.1.0"><meta name="archify-reader-contract" content="declared-wide-v1"><title>MCO Runtime Architecture Diagram</title><script>@@ -186,7 +186,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(15, 23, 42, 0.22);--lane-stroke: #334155;- --arrow: #64748b;+ --arrow: #94a3b8;--arrow-emphasis: #34d399;/* Opaque mask color used behind semi-transparent component fills@@ -229,7 +229,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.--lane-fill: rgba(248, 250, 252, 0.65);--lane-stroke: #cbd5e1;- --arrow: #94a3b8;+ --arrow: #64748b;--arrow-emphasis: #059669;--mask: #ffffff;@@ -2288,6 +2288,41 @@ OTHER DEALINGS IN THE FONT SOFTWARE.font-size: 0.5rem;}.diagram-guide-feedback:empty { display: none; }+ .diagram-guide-credit {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 0.6rem;+ padding: 0.46rem 0.9rem 0.56rem;+ border-top: 1px solid color-mix(in srgb, var(--toolbar-border) 74%, transparent);+ color: var(--text-faint);+ font-size: 0.5rem;+ letter-spacing: 0.02em;+ text-decoration: none;+ }+ .diagram-guide-credit-link {+ display: inline-flex;+ align-items: center;+ gap: 0.28rem;+ flex: none;+ opacity: 0.72;+ transition: opacity 120ms ease, color 120ms ease;+ }+ .diagram-guide-star {+ width: 0.62rem;+ height: 0.62rem;+ background: currentColor;+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;+ }+ .diagram-guide-credit:hover .diagram-guide-star,+ .diagram-guide-credit:focus-visible .diagram-guide-star {+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");+ }+ .diagram-guide-credit:hover .diagram-guide-credit-link,+ .diagram-guide-credit:focus-visible .diagram-guide-credit-link { opacity: 1; color: var(--cloud-stroke); }+ .diagram-guide-credit:focus-visible { outline: 2px solid var(--cloud-stroke); outline-offset: -2px; }@keyframes archify-guide-in {from { opacity: 0; transform: translateY(-5px) scale(0.985); }to { opacity: 1; transform: translateY(0) scale(1); }@@ -3550,13 +3585,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.background: transparent;box-shadow: none;}- /* The motion button breathes on the same shared cycle as the cascade, so the- chrome keeps time with the wave it controls. The cycle length lives on the- diagram SVG, so chrome presets mirror it here. */+ /* The motion button breathes on the relay cycle, so the chrome keeps time+ with the wave it controls. Motion Governor mirrors the planned cycle from+ the diagram SVG onto the document. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) #btn-motion .motion-control-dot {animation: archify-motion-dot-breathe var(--flow-cycle-chrome, 6.4s) ease-in-out infinite;}- html[data-preset="signal-flow"] #btn-motion .motion-control-dot { --flow-cycle-chrome: 5.2s; }@keyframes archify-motion-dot-breathe {0%, 100% { opacity: 1; transform: scale(1); }46% { opacity: 0.55; transform: scale(0.72); }@@ -4725,23 +4759,23 @@ OTHER DEALINGS IN THE FONT SOFTWARE..c-region { fill: rgba(251, 191, 36, 0.05); stroke: var(--cloud-stroke); stroke-dasharray: 8,4; }.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. */+ /* Live plays one relay per cycle: a comet (halo, tail, head) leaves each+ source when the signal reaches it, travels at one shared speed, leaves a+ soft wake, and lands as a ripple while its target glows. Downstream edges+ depart only after their source is reached, so the reader sees the path the+ diagram describes rather than every edge shimmering at once. Sequence+ messages relay in authored chronological order. Motion Governor plans the+ timeline and its per-edge keyframes; this stylesheet owns appearance.+ Original line language and markers remain static. Node entry is bounded to+ one pass per document. */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.3;+ --flow-ripple-peak: 0.65;}.ambient-edge-flow {fill: none;@@ -4751,64 +4785,95 @@ OTHER DEALINGS IN THE FONT SOFTWARE.display: none;}.ambient-flow-wake {+ --flow-peak: var(--flow-wake-peak, 0.3);stroke-width: 3.2;stroke-dasharray: var(--flow-dasharray, none);- animation-name: archify-flow-wake;}.ambient-flow-halo {- stroke-width: 5;+ --flow-peak: var(--flow-halo-peak, 0.17);+ 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 {+ --flow-peak: var(--flow-glow-peak, 0.5);+ stroke-width: 9;+ stroke-dasharray: var(--flow-dash, 12px) calc(var(--flow-len, 0px) - var(--flow-dash, 12px));+ filter: blur(2.5px);}.ambient-flow-tail {+ --flow-peak: var(--flow-tail-peak, 0.42);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;+ --flow-peak: var(--flow-head-peak, 0.95);+ 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;}- .ambient-flow-head.echo { --flow-echo-scale: 0.76; }- .ambient-flow-tail.echo { --flow-echo-scale: 0.53; }.ambient-flow-ripple {+ --flow-peak: var(--flow-ripple-peak, 0.65);stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);stroke-width: 2;- animation-name: archify-flow-ripple;- }- .ambient-flow-ripple-echo {- stroke-width: 1.2;- animation-name: archify-flow-ripple-echo;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) .ambient-edge-flow {display: inline;+ animation-name: var(--flow-name, none);animation-duration: var(--flow-cycle, 6.4s);animation-timing-function: linear;animation-iteration-count: infinite;animation-delay: var(--flow-delay, 0s);/* Without backwards fill a delayed layer would sit at its natural opacity- (fully lit) until its phase arrives. */+ (fully lit) until its departure arrives. */animation-fill-mode: backwards;}+ /* Stream packets trail the comet head as smaller, dimmer beads. */+ .ambient-flow-head.packet {+ --flow-peak: calc(var(--flow-head-peak, 0.95) * 0.62);+ stroke-width: 3.4;+ }+ /* Timeline and waterfall playhead: a crisp rule over a soft bloom. */+ .ambient-flow-playhead {+ --flow-peak: 0.9;+ stroke: color-mix(in srgb, var(--arrow-emphasis) 55%, white);+ stroke-width: 1.6;+ }+ .ambient-flow-playhead-glow {+ --flow-peak: 0.32;+ stroke-width: 10;+ filter: blur(4px);+ }+ /* Waterfall spans fill in proportion to their measured time, then settle. */+ .ambient-flow-fill {+ --flow-peak: 0.5;+ fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 55%, white);+ stroke: none;+ transform-box: fill-box;+ transform-origin: left center;+ }+ .ambient-flow-fill-failed { fill: var(--security-stroke); --flow-peak: 0.5; }+ html[data-theme="light"] .ambient-flow-playhead { stroke: color-mix(in srgb, var(--arrow-emphasis) 70%, black); }+ html[data-theme="light"] .ambient-flow-fill { --flow-peak: 0.42; fill: color-mix(in srgb, var(--flow-fill, var(--arrow-emphasis)) 70%, black); }+ svg[data-preset="editorial"] .ambient-flow-fill { --flow-peak: 0.2; }+ svg[data-preset="editorial"] .ambient-flow-playhead-glow { --flow-peak: 0.14; }/* Each decorative flow follows its owning edge through tree visibility. */.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; }- /* On light canvases the cascade reads by saturation instead of bloom: the- head and inner ripple mix toward ink instead of white, and every layer's- peak rises so the wave survives the bright background. */+ 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.14; --flow-ripple-peak: 0.3; }+ /* On light canvases the relay reads by saturation instead of bloom: the head+ and ripple mix toward ink instead of white, and every layer's peak 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;+ --flow-wake-peak: 0.34;}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);@@ -4831,77 +4896,33 @@ OTHER DEALINGS IN THE FONT SOFTWARE.animation: archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- /* Node glow follows each node's authored step on the shared cycle; it does- not track incoming edge arrivals. During the bounded entrance all three- animations run; the entrance pulse is listed after the repeating glow and- wins on filter until it completes. */+ /* Each node glows in its planned windows: when the relay reaches it, while a+ walk token rests on it, as a message lands, or as the playhead passes.+ During the bounded entrance all three animations run; the entrance pulse is+ listed after the repeating glow and wins on filter until it completes. */html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden]) svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s));+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite;}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.6s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="signal-flow"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-node-pulse 3.1s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="blueprint"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-blueprint-node-pulse 3.8s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}html[data-ambient-motion="running"][data-motion="live"]:not([data-motion-owner]):not([data-embed]):not([data-share-playback]):not([data-document-hidden])[data-ambient-entry="running"] svg[data-preset="editorial"][data-animation="trace"] [data-animate="node"] {- animation: archify-node-receive var(--flow-cycle, 6.4s) ease-in-out infinite calc(var(--step, 0) * var(--flow-step-delay, 0.2s)),+ animation: var(--flow-node-name, none) var(--flow-cycle, 6.4s) linear infinite,archify-editorial-node-pulse 3.5s ease-in-out 1 calc(var(--step, 0) * 160ms),archify-node-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards calc(var(--step, 0) * 160ms);}- @keyframes archify-flow-wake {- 0% { opacity: 0; }- 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: 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: 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.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.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)); }- 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)); }- 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; }- }- @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; }- }- @keyframes archify-node-receive {- 0%, 100% { filter: var(--ambient-node-base-filter, none); }- 5%, 12% { filter: var(--ambient-node-base-filter,) drop-shadow(0 0 9px var(--arrow-emphasis)); }- }@keyframes archify-node-enter {from { opacity: 0; }to { opacity: 1; }@@ -5135,11 +5156,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</div><script id="archify-source-evidence-data" type="application/json">{"schemaVersion":1,"verified":true,"repository":{"url":"https://github.com/mco-org/mco","revision":"9f1a1cf1afdc04d7b5406782b40dfec76d9bc798","shortRevision":"9f1a1cf","label":"mco-org/mco","href":"https://github.com/mco-org/mco/tree/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798"},"referenceCount":14,"nodes":{"entry":[{"path":"bin/mco.js","line":1,"label":"npm entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/bin/mco.js#L1"},{"path":"runtime/mcp_server.py","line":108,"endLine":153,"label":"MCP entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/mcp_server.py#L108-L153"}],"router":[{"path":"runtime/cli.py","line":1945,"label":"CLI main","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/cli.py#L1945"}],"policy":[{"path":"runtime/config.py","line":24,"label":"Review policy","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/config.py#L24"},{"path":"runtime/policy.py","line":34,"label":"Provider policy preview","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/policy.py#L34"}],"invocation":[{"path":"runtime/invocation_runtime.py","line":696,"label":"Workflow entry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L696"},{"path":"runtime/invocation_runtime.py","line":156,"label":"Single invocation","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_runtime.py#L156"}],"adapters":[{"path":"runtime/adapters/__init__.py","line":57,"label":"Adapter registry","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/adapters/__init__.py#L57"},{"path":"runtime/contracts.py","line":77,"label":"Provider contract","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/contracts.py#L77"}],"transport":[{"path":"runtime/adapters/shim.py","line":98,"label":"Shim decode","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/adapters/shim.py#L98"},{"path":"runtime/acp/adapter.py","line":126,"label":"ACP decode","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/acp/adapter.py#L126"}],"session":[{"path":"runtime/session/daemon.py","line":50,"label":"Daemon context","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/daemon.py#L50"}],"session_state":[{"path":"runtime/session/state.py","line":25,"label":"Session state","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/session/state.py#L25"}],"artifacts":[{"path":"runtime/invocation_artifacts.py","line":8,"label":"Artifact writer","href":"https://github.com/mco-org/mco/blob/9f1a1cf1afdc04d7b5406782b40dfec76d9bc798/runtime/invocation_artifacts.py#L8"}]}}</script>- <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script>+ <script id="archify-i18n-data" type="application/json">{"locale":"en","messages":{"viewer.kind.frontend":"Frontend","viewer.kind.backend":"Backend","viewer.kind.database":"Database","viewer.kind.cloud":"Cloud","viewer.kind.security":"Security","viewer.kind.messagebus":"Message bus","viewer.kind.external":"External","viewer.kind.neutral":"Neutral","viewer.kind.node":"Node","viewer.kind.start":"Start","viewer.kind.active":"Active","viewer.kind.waiting":"Waiting","viewer.kind.decision":"Decision","viewer.kind.success":"Success","viewer.kind.failure":"Failure","viewer.toolbar.actions":"Diagram actions","viewer.theme.toggle.title":"Toggle theme (T)","viewer.theme.toggle":"Toggle color theme","viewer.theme.dark":"Dark","viewer.theme.light":"Light","viewer.preset.choose.title":"Choose visual style (S cycles)","viewer.preset.choose":"Choose visual style","viewer.preset.style":"Style","viewer.preset.menu":"Visual style","viewer.preset.identity":"Visual identity","viewer.preset.cycles":"to cycle","viewer.preset.classic":"Classic","viewer.preset.classic.short":"Classic","viewer.preset.classic.hint":"Stable technical default","viewer.preset.flow":"Signal Flow","viewer.preset.flow.short":"Flow","viewer.preset.flow.hint":"Motion-forward presentation","viewer.preset.blueprint":"Blueprint","viewer.preset.blueprint.hint":"Engineering review","viewer.preset.editorial":"Editorial","viewer.preset.editorial.hint":"Publication and launch notes","viewer.preset.badge.signalFlow":"SIGNAL FLOW","viewer.preset.badge.blueprint":"BLUEPRINT / REV 01","viewer.preset.badge.editorial":"EDITORIAL / FIELD NOTE","viewer.preset.badge.editorialPlate":"ARCHIFY / PLATE 04","viewer.preset.current":"Visual style: {style}. Choose visual style","viewer.motion.live":"Live","viewer.motion.still":"Still","viewer.motion.pause":"Pause motion","viewer.motion.resume":"Resume motion","viewer.motion.reduced":"Motion paused by reduced-motion preference","viewer.motion.hidden":"Motion paused while this page is hidden","viewer.motion.yielding":"Pause motion; currently yielding to {owner}","viewer.motion.yielding.title":"Live preview enabled · yielding to {owner}","viewer.owner.route":"Route Probe","viewer.owner.lens":"Semantic Lens","viewer.owner.relationship":"Relationship Preview","viewer.owner.intent":"Intent Trace","viewer.owner.focus":"semantic focus","viewer.owner.legend":"legend preview","viewer.owner.reader":"reader interaction","viewer.present.enter":"Enter presentation stage","viewer.present.enter.title":"Presentation stage (F)","viewer.present.exit":"Exit presentation stage","viewer.present.exit.title":"Exit presentation stage (F or Escape)","viewer.present.present":"Present","viewer.present.exit.label":"Exit","viewer.export.button":"Export","viewer.export.button.title":"Export diagram (E)","viewer.export.diagram":"Export diagram","viewer.export.menu":"Export","viewer.export.subtitle":"Portable, clean outputs","viewer.export.share":"Share","viewer.export.shareCard":"Share Card","viewer.export.routeShareCard":"Route Share Card","viewer.export.reachShareCard":"Reach Share Card","viewer.export.copyDiagram":"Copy diagram","viewer.export.clipboardPng":"PNG to clipboard","viewer.export.raster":"Raster images","viewer.export.image":"Image","viewer.export.lossless":"Lossless image","viewer.export.compact":"Compact image","viewer.export.modern":"Modern image","viewer.export.vectorMotion":"Vector and motion","viewer.export.vectorMotion.heading":"Vector \u0026 motion","viewer.export.editable":"Editable vector","viewer.export.svg.auto":"SVG · Auto","viewer.export.svg.auto.hint":"Matches host theme","viewer.export.svg.light":"SVG · Light","viewer.export.svg.light.hint":"Always light","viewer.export.svg.dark":"SVG · Dark","viewer.export.svg.dark.hint":"Always dark","viewer.export.motion6s":"6s motion","viewer.export.unsupported":"Not supported by this browser","viewer.export.clipboardUnsupported":"Clipboard image write not supported by this browser","viewer.export.clipboardUnsupported.short":"Clipboard image write not supported in this browser.","viewer.export.motionUnavailable":"Motion capture unavailable in this browser","viewer.export.webmUnavailable":"WebM unavailable in this browser","viewer.export.failed":"Export failed: {message}","viewer.export.unknownVariant":"Unknown Share Card variant: {variant}","viewer.export.routeRequired":"Trace a route before exporting a Route Share Card","viewer.export.reachRequired":"Trace authored reach before exporting a Reach Share Card","viewer.export.unknown":"unknown","viewer.export.routeFailed":"Route Share Card export failed: {message}","viewer.export.reachFailed":"Reach Share Card export failed: {message}","viewer.export.copyFailed":"Copy failed: {message}","viewer.export.copiedPng":"Copied PNG to clipboard","viewer.export.downloadedRoute":"Downloaded Route Share Card","viewer.export.downloadedReach":"Downloaded Reach Share Card","viewer.export.downloadedWebm":"Downloaded WebM","viewer.export.recording":"Recording 6 seconds of motion…","viewer.export.card.routeSummary.one":"Path: {source} → {target} · {count} step","viewer.export.card.routeSummary.other":"Path: {source} → {target} · {count} steps","viewer.export.card.reachSummary":"Authored {direction} from {origin} · {nodes} · {links} · max {hops}","viewer.export.card.node.one":"{count} node","viewer.export.card.node.other":"{count} nodes","viewer.export.card.link.one":"{count} link","viewer.export.card.link.other":"{count} links","viewer.export.card.hop.one":"{count} hop","viewer.export.card.hop.other":"{count} hops","viewer.export.card.routeBadge":"ARCHIFY · ROUTE · {hops}","viewer.export.card.reachBadge":"ARCHIFY · {direction} REACH","viewer.export.direction.upstream":"Upstream","viewer.export.direction.downstream":"Downstream","viewer.export.error.canvasUnavailable":"Canvas unavailable for {label}","viewer.export.error.contextUnavailable":"2D canvas context unavailable for {label}","viewer.export.error.toBlobUnavailable":"canvas.toBlob unavailable for {label}","viewer.export.error.toBlobNull":"canvas.toBlob returned no data for {label}","viewer.export.error.variantsCombined":"Share Card variants cannot be combined","viewer.export.error.viewerState":"Share Card export could not remove temporary viewer state","viewer.export.error.routeState":"Route Card export could not preserve the resolved route safely","viewer.export.error.reachState":"Reach Card export could not preserve authored reach safely","viewer.export.error.webmRequirements":"WebM motion export requires a trace animation and browser MediaRecorder support","viewer.export.error.mediaRecorder":"MediaRecorder failed","viewer.export.error.emptyWebm":"MediaRecorder produced an empty WebM","viewer.export.error.webmBackground":"SVG background could not be loaded for WebM export","viewer.guide.title":"Explore this system","viewer.focus.selectedNodes":"{count} selected nodes","viewer.guide.eyebrow":"Diagram guide","viewer.guide.close":"Close diagram guide","viewer.guide.inspecting":"Inspecting compiled semantics","viewer.guide.actions":"Diagram exploration actions","viewer.guide.find":"Find any node","viewer.guide.find.hint":"Search labels, responsibilities, kinds, and stable IDs.","viewer.guide.route":"Trace a route","viewer.guide.route.aria":"Trace a directed route","viewer.guide.route.hint":"Ask how two semantic nodes connect in authored direction.","viewer.guide.map":"See the whole system","viewer.guide.map.hint":"Open Semantic Radar with a live viewport and stable nodes.","viewer.guide.lens":"Compare semantic kinds","viewer.guide.lens.hint":"Count roles, reveal their traffic, and compare direct authored links.","viewer.guide.present":"Enter Presentation Stage","viewer.guide.present.hint":"Give the live diagram the viewport without changing export.","viewer.guide.shortcuts":"Additional keyboard shortcuts","viewer.guide.shortcut.export":"Export","viewer.guide.shortcut.theme":"Theme","viewer.guide.shortcut.style":"Style","viewer.guide.shortcut.reset":"Reset","viewer.guide.shortcut.zoomIn":"Zoom in","viewer.guide.shortcut.zoomOut":"Zoom out","viewer.guide.shortcut.close":"Close","viewer.guide.credit":"Find Archify useful? A star on GitHub helps","viewer.guide.star":"Star","viewer.guide.facts":"{nodes} · {relationships}","viewer.guide.fact.node.one":"{count} semantic node","viewer.guide.fact.node.other":"{count} semantic nodes","viewer.guide.fact.relationship.one":"{count} relationship","viewer.guide.fact.relationship.other":"{count} relationships","viewer.guide.open":"Open diagram guide","viewer.finder.title":"Find a node","viewer.finder.close":"Close node finder","viewer.finder.placeholder":"Search labels or IDs","viewer.finder.search":"Search diagram nodes","viewer.finder.results":"Diagram nodes","viewer.finder.empty":"No matching nodes","viewer.finder.result.focus":"Focus {label}","viewer.finder.result.routeStart":"Choose {label} as route start","viewer.finder.result.routeTarget":"Choose {label} as route destination, {links}","viewer.finder.status.empty":"No matching nodes","viewer.finder.status.count.one":"{count} matching node","viewer.finder.status.count.other":"{count} matching nodes","viewer.finder.noun.nodes":"nodes","viewer.finder.link.one":"{count} link","viewer.finder.link.other":"{count} links","viewer.finder.result.focus.one":"Focus {label}, {count} related connection","viewer.finder.result.focus.other":"Focus {label}, {count} related connections","viewer.finder.status.filtered":"{visible} of {available} {noun}","viewer.finder.status.all":"{available} {noun}","viewer.passport.eyebrow":"Semantic passport","viewer.passport.metadata":"Node metadata","viewer.passport.evidence":"Verified source evidence","viewer.passport.verified":"Verified source","viewer.passport.verificationScope":"Verified against local Git at the pinned revision. Remote access has not been checked.","viewer.passport.reach":"Authored reach","viewer.passport.reach.trace":"Trace authored reachability","viewer.passport.upstream":"Upstream","viewer.passport.downstream":"Downstream","viewer.passport.upstream.trace":"Trace upstream authored reachability","viewer.passport.downstream.trace":"Trace downstream authored reachability","viewer.passport.close":"Close semantic passport","viewer.passport.move":"Move semantic passport. Drag, use arrow keys, or press Home to reset.","viewer.passport.copy":"Copy link","viewer.passport.copy.focus":"Copy link to focused node","viewer.passport.relations":"Relations","viewer.passport.relations.show":"Show connected relationships","viewer.passport.relations.hide":"Hide connected relationships","viewer.passport.relations.list":"Connected relationships","viewer.passport.copyRelation":"Copy relation","viewer.passport.copyNode":"Copy node","viewer.passport.copyPinned":"Copy link to pinned relationship","viewer.passport.copySource":"Copy link to source node","viewer.passport.copy.focused.success":"Focused node link copied","viewer.passport.copy.pinned.success":"Pinned relationship link copied","viewer.passport.copy.focused.failed":"Could not copy focused node link","viewer.passport.copy.pinned.failed":"Could not copy pinned relationship link","viewer.passport.relationship.none":"No connected relationships","viewer.passport.relationship.count.one":"{count} relation","viewer.passport.relationship.count.other":"{count} relations","viewer.passport.relationship.show.one":"Show {count} connected relationship","viewer.passport.relationship.show.other":"Show {count} connected relationships","viewer.passport.relationship.summary":"{out} outgoing · {in} incoming{loops}","viewer.passport.relationship.loops":" · {count} loop","viewer.passport.relationship.explorer":"Direct relationship explorer","viewer.passport.relationship.help":"Use arrow keys to explore relationships. Press Enter or Space to pin details; Escape clears.","viewer.passport.relationship.loopsBack":"loops back","viewer.passport.relationship.connectsTo":"connects to","viewer.passport.relationship.connectsFrom":"connects from","viewer.passport.relationship.pinned":"Pinned relationship · {from} → {to} · {label}","viewer.passport.relationship.inspect":"Inspect relationship {index} of {total}: {from} to {to}, {label}. Press Enter for details.","viewer.passport.relationship.group.out":"Outgoing","viewer.passport.relationship.group.in":"Incoming","viewer.passport.relationship.group.loop":"Self loops","viewer.passport.relationship.row":"{group}: {relationship}, {neighbor}","viewer.passport.relationship.direction.out":"OUT →","viewer.passport.relationship.direction.in":"← IN","viewer.passport.relationship.direction.loop":"LOOP","viewer.passport.sourceCount.one":"{count} verified source reference","viewer.passport.sourceCount.other":"{count} verified source references","viewer.passport.repository.open":"Open verified repository revision {revision}","viewer.passport.source.open":"Open verified source {path} at revision {revision}","viewer.passport.source.openLink":"Open ↗","viewer.passport.reach.upstream.one":"Trace {count} upstream authored node","viewer.passport.reach.upstream.other":"Trace {count} upstream authored nodes","viewer.passport.reach.downstream.one":"Trace {count} downstream authored node","viewer.passport.reach.downstream.other":"Trace {count} downstream authored nodes","viewer.passport.reach.noUpstream":"No upstream authored nodes","viewer.passport.reach.noDownstream":"No downstream authored nodes","viewer.passport.reach.status":"{direction} · {nodes} nodes · {links} links · max {hops} hops","viewer.route.eyebrow":"Path","viewer.route.start":"Click where the path starts","viewer.route.start.find":"Find start","viewer.route.start.find.aria":"Find a route start","viewer.route.copy":"Copy link","viewer.route.copy.aria":"Copy link to traced route","viewer.route.clear":"Clear","viewer.route.clear.aria":"Clear route probe","viewer.route.traced":"Path","viewer.route.pickTwo":"Click two nodes on the diagram","viewer.route.pickOne":"Click a node on the diagram","viewer.route.controls":"Route journey controls","viewer.route.previous":"Previous route position","viewer.route.play":"Play route journey","viewer.route.pause":"Pause route journey","viewer.route.replay":"Replay route journey","viewer.route.next":"Next route position","viewer.route.journey":"Journey","viewer.route.pause.label":"Pause","viewer.route.replay.label":"Replay","viewer.route.overview":"Overview","viewer.route.overview.aria":"Show complete route overview","viewer.route.instructions":"Click a start, then an end. Paths follow the arrows.","viewer.route.destination":"Where does the path from {label} end?","viewer.route.destination.find":"Find target","viewer.route.destination.find.aria":"Find a reachable route destination","viewer.route.differentDestination":"Choose a different destination","viewer.route.distinct":"Pick two different nodes.","viewer.route.unreachable":"Cannot reach {label} from here","viewer.route.unreachable.detail":"{target} cannot be reached from {source} along the arrows. Pick a highlighted node.","viewer.route.start.instructions":"Next, pick the end. Only nodes you can reach will light up.","viewer.route.copy.success":"Traced route link copied","viewer.route.copy.failed":"Could not copy traced route link","viewer.route.position":"Route position {index} of {total}: {label}","viewer.route.step":"Step {index} of {total} · {phase} · {label}","viewer.route.motionRequired":"Automatic journey requires Live motion","viewer.route.trigger.clear":"Clear traced route","viewer.route.overview.status":"{nodes} · {hops} · shortest path","viewer.route.overview.node.one":"{count} node","viewer.route.overview.node.other":"{count} nodes","viewer.route.overview.hop.one":"{count} step","viewer.route.overview.hop.other":"{count} steps","viewer.route.phase.playing":"Playing","viewer.route.phase.complete":"Complete","viewer.route.phase.inspecting":"Inspecting","viewer.route.destination.count.one":"{count} reachable node is highlighted. Click it.","viewer.route.destination.count.other":"{count} reachable nodes are highlighted. Click one.","viewer.route.noOutgoing":"No arrows lead out of this node. Clear it and pick another start.","viewer.route.result.title":"{source} to {target}","viewer.route.finder.source.title":"Choose route start","viewer.route.finder.source.placeholder":"Search route sources","viewer.route.finder.source.empty":"No matching route sources","viewer.route.finder.source.results":"Nodes that can start a route","viewer.route.finder.source.noun":"route sources","viewer.route.finder.source.badge":"start","viewer.route.finder.target.title":"Destination from {label}","viewer.route.finder.target.placeholder":"Search reachable destinations","viewer.route.finder.target.empty":"No matching reachable destinations","viewer.route.finder.target.results":"Reachable route destinations","viewer.route.finder.target.noun":"reachable destinations","viewer.route.hop.one":"{count} hop","viewer.route.hop.other":"{count} hops","viewer.lens.eyebrow":"Semantic lens","viewer.lens.title":"Compare system roles","viewer.lens.close":"Close semantic lens","viewer.lens.instruction":"Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.","viewer.lens.kinds":"Semantic kinds","viewer.lens.choose":"Choose a kind to inspect its nodes and touching relationships.","viewer.lens.copy":"Copy link to semantic lens","viewer.lens.clear":"Clear semantic lens","viewer.lens.open":"Open semantic lens","viewer.lens.openActive":"Open active semantic lens","viewer.lens.legend":"Semantic legend","viewer.lens.legend.inspect.one":"Inspect {label}, {count} node","viewer.lens.legend.inspect.other":"Inspect {label}, {count} nodes","viewer.lens.kind.count.one":"{label}, {count} node","viewer.lens.kind.count.other":"{label}, {count} nodes","viewer.lens.compare.one":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationship","viewer.lens.compare.other":"{first} → {second}: {forward} · {second} → {first}: {reverse} · {count} direct relationships","viewer.lens.single":"{nodes} · {relationships} · connected peers remain visible","viewer.lens.node.one":"{count} {label} node","viewer.lens.node.other":"{count} {label} nodes","viewer.lens.relationship.one":"{count} touching relationship","viewer.lens.relationship.other":"{count} touching relationships","viewer.radar.title":"Semantic radar","viewer.radar.building":"Building overview","viewer.radar.openFull":"Open full semantic radar","viewer.radar.open":"Open radar","viewer.radar.close":"Close semantic radar","viewer.radar.surface":"Diagram overview. Click a node to focus it, or use arrow keys to pan.","viewer.radar.click":"Click node","viewer.radar.drag":"Drag to pan","viewer.radar.space":"Semantic radar needs more MAP space.","viewer.radar.nodes":"Semantic diagram radar nodes","viewer.radar.focus":"Focus {label} from Semantic Radar","viewer.radar.status":"{count} nodes · {viewport}","viewer.radar.fullMap":"{count} nodes · full map","viewer.radar.compacted":"Radar compacted to avoid covering the Semantic Passport or MAP controls.","viewer.radar.cancelWaiting":"Cancel semantic radar waiting for more MAP space","viewer.radar.needsSpace":"Semantic radar needs more visible MAP space","viewer.radar.viewport.full":"full map","viewer.radar.viewport.width":"{percent}% width","viewer.radar.viewport.scale":"{percent}% viewport","viewer.nav.controls":"Diagram view controls","viewer.nav.route":"Trace a directed route","viewer.nav.route.title":"Trace route (R)","viewer.nav.route.short":"ROUTE","viewer.nav.radar":"Open semantic radar","viewer.nav.radar.title":"Semantic radar (M)","viewer.nav.radar.short":"MAP","viewer.nav.lens":"Open semantic lens","viewer.nav.lens.title":"Semantic lens (L)","viewer.nav.lens.short":"LENS","viewer.nav.find":"Find a node","viewer.nav.find.title":"Find a node (/)","viewer.outline.title":"Node index","viewer.rail.show":"Notes \u0026 index","viewer.rail.controls":"Side panel","viewer.rail.collapse":"Collapse side panel","viewer.rail.bottom":"Move panel below the diagram","viewer.rail.right":"Move panel beside the diagram","viewer.nav.guide":"Open diagram guide","viewer.nav.guide.title":"Diagram guide (?)","viewer.nav.zoomOut":"Zoom out","viewer.nav.zoomOut.title":"Zoom out (-)","viewer.nav.reset":"Reset diagram view","viewer.nav.reset.title":"Reset view (0)","viewer.nav.read":"READ","viewer.nav.zoomIn":"Zoom in","viewer.nav.zoomIn.title":"Zoom in (+)","viewer.nav.camera":"{hint}. Reset diagram view","viewer.nav.camera.title":"{semantic}{hint} · reset view (0)","viewer.nav.camera.semantic":"Semantic camera active · ","viewer.nav.level.map":"MAP","viewer.nav.level.read":"READ","viewer.nav.level.full":"FULL","viewer.nav.level.auto":"AUTO","viewer.nav.detail.map":"Zoom in to reveal relationship labels and node context","viewer.nav.detail.read":"Zoom in again to reveal tags and annotations","viewer.nav.detail.full":"Full diagram detail","viewer.intent.summary":"{label}. {out} outgoing, {in} incoming{loops}. {total} connections. Press Enter for details.","viewer.intent.loops":", {count} self loop","viewer.common.copied":"Copied","viewer.common.copyFailed":"Copy failed","viewer.common.copyLink":"Copy link","viewer.common.clear":"Clear","viewer.common.close":"Close"}}</script><!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1680 720" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="signal-flow" data-quality-profile="showcase" data-diagram-type="architecture" data-reader-fit="authored-height">+ <svg viewBox="0 0 1680 720" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="signal-flow" data-quality-profile="showcase" data-node-ui="" data-diagram-type="architecture" data-reader-fit="authored-height"><title id="archify-diagram-title">MCO Runtime Architecture</title><desc id="archify-diagram-description">Explicit provider selection, policy-bound execution, parallel orchestration, and raw-answer evidence</desc><!-- Definitions -->@@ -5160,6 +5181,27 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<path d="M 40 0 L 0 0 0 40" class="c-grid" stroke-width="0.5"/></pattern></defs>+ <style>+ svg[data-node-ui] [data-node-id] > rect:not(.c-mask) { stroke-width: 1.25px; }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-frontend { fill: color-mix(in srgb, var(--frontend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--frontend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-backend { fill: color-mix(in srgb, var(--backend-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--backend-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-database { fill: color-mix(in srgb, var(--database-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--database-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-cloud { fill: color-mix(in srgb, var(--cloud-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-security { fill: color-mix(in srgb, var(--security-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-messagebus { fill: color-mix(in srgb, var(--messagebus-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--messagebus-stroke) 72%, var(--mask)); }+ :is([data-theme="dark"] svg[data-node-ui], svg[data-node-ui][data-theme="dark"]) [data-node-id] > rect:not(.c-mask).c-external { fill: color-mix(in srgb, var(--external-stroke) 13%, var(--mask)); stroke: color-mix(in srgb, var(--external-stroke) 72%, var(--mask)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-region { fill: color-mix(in srgb, var(--cloud-stroke) 3%, transparent); stroke: color-mix(in srgb, var(--cloud-stroke) 42%, var(--lane-stroke)); stroke-dasharray: none; }+ svg[data-node-ui] .c-security-group { stroke: color-mix(in srgb, var(--security-stroke) 58%, var(--lane-stroke)); }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-security-group { stroke-dasharray: 4 3; }+ svg[data-node-ui]:is([data-preset="classic"], [data-preset="signal-flow"], [data-preset="editorial"]) .c-lane { stroke: var(--lane-stroke); stroke-dasharray: none; }+ svg[data-node-ui] [data-graph-role="structural-frame-label-mask"] { rx: 5px; fill: color-mix(in srgb, var(--cloud-stroke) 10%, var(--mask)); stroke: color-mix(in srgb, var(--cloud-stroke) 38%, var(--mask)); stroke-width: .8px; }+ svg[data-node-ui] [data-composition-frame-kind="security-group"] > [data-graph-role="structural-frame-label-mask"] { fill: color-mix(in srgb, var(--security-stroke) 9%, var(--mask)); stroke: color-mix(in srgb, var(--security-stroke) 36%, var(--mask)); }+ svg[data-node-ui] .phase-rule { opacity: .5; stroke-dasharray: none; }+ svg[data-node-ui] .phase-chip { stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui] g[data-edge-from] > rect.c-mask { rx: 7px; stroke: var(--lane-stroke); stroke-width: .75px; }+ svg[data-node-ui][data-preset="blueprint"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 2px; }+ svg[data-node-ui][data-preset="editorial"] :is([data-graph-role="structural-frame-label-mask"], g[data-edge-from] > rect.c-mask, .phase-chip) { rx: 3px; }+ </style><!-- Background Grid --><rect width="100%" height="100%" fill="url(#grid)" />@@ -5185,8 +5227,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Components --><g id="node-callers" data-node-id="callers" data-node-label="Callers" tabindex="0" role="button" aria-label="Focus Callers, human · coding agent, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="human · coding agent" data-node-context="Architecture component"><title>Callers · human · coding agent · Architecture component</title>- <rect x="30" y="280" width="132" height="66" rx="6" class="c-mask"/>- <rect x="30" y="280" width="132" height="66" rx="6" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/>+ <rect x="30" y="280" width="132" height="66" rx="8" class="c-mask"/>+ <rect x="30" y="280" width="132" height="66" rx="8" class="c-external" data-animate="node" style="--step:0" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(36 286) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5197,8 +5239,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-entry" data-node-id="entry" data-node-label="Entry Surfaces" tabindex="0" role="button" aria-label="Focus Entry Surfaces, npm · Python CLI · MCP, MCO local package / Python runtime" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="npm · Python CLI · MCP" data-node-tag="bin/mco.js · mco" data-node-context="MCO local package / Python runtime"><title>Entry Surfaces · npm · Python CLI · MCP · MCO local package / Python runtime · bin/mco.js · mco</title>- <rect x="210" y="280" width="150" height="66" rx="6" class="c-mask"/>- <rect x="210" y="280" width="150" height="66" rx="6" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/>+ <rect x="210" y="280" width="150" height="66" rx="8" class="c-mask"/>+ <rect x="210" y="280" width="150" height="66" rx="8" class="c-frontend" data-animate="node" style="--step:1" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="frontend" class="semantic-sigil s-frontend" transform="translate(216 286) scale(0.6875)"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M2 6.5h12"/>@@ -5212,8 +5254,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-router" data-node-id="router" data-node-label="Command Router" tabindex="0" role="button" aria-label="Focus Command Router, run · review · doctor, MCO local package / Python runtime" aria-pressed="false" data-node-kind="backend" data-node-sublabel="run · review · doctor" data-node-tag="runtime.cli" data-node-context="MCO local package / Python runtime"><title>Command Router · run · review · doctor · MCO local package / Python runtime · runtime.cli</title>- <rect x="410" y="280" width="150" height="66" rx="6" class="c-mask"/>- <rect x="410" y="280" width="150" height="66" rx="6" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/>+ <rect x="410" y="280" width="150" height="66" rx="8" class="c-mask"/>+ <rect x="410" y="280" width="150" height="66" rx="8" class="c-backend" data-animate="node" style="--step:2" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(416 286) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5224,8 +5266,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-policy" data-node-id="policy" data-node-label="Config + Policy" tabindex="0" role="button" aria-label="Focus Config + Policy, scope · permissions · risk, MCO local package / Python runtime › explicit execution-policy boundary" aria-pressed="false" data-node-kind="security" data-node-sublabel="scope · permissions · risk" data-node-tag="read_only · write · yolo" data-node-context="MCO local package / Python runtime › explicit execution-policy boundary"><title>Config + Policy · scope · permissions · risk · MCO local package / Python runtime › explicit execution-policy boundary · read_only · write · yolo</title>- <rect x="610" y="280" width="158" height="66" rx="6" class="c-mask"/>- <rect x="610" y="280" width="158" height="66" rx="6" class="c-security" data-animate="node" style="--step:3" stroke-width="1.5"/>+ <rect x="610" y="280" width="158" height="66" rx="8" class="c-mask"/>+ <rect x="610" y="280" width="158" height="66" rx="8" class="c-security" data-animate="node" style="--step:3" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="security" class="semantic-sigil s-security" transform="translate(616 286) scale(0.6875)"><path d="M8 2.2 13 4v3.5c0 3.1-1.8 5.4-5 6.5-3.2-1.1-5-3.4-5-6.5V4Z"/><path d="m5.8 8 1.5 1.5 3-3"/>@@ -5237,8 +5279,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-invocation" data-node-id="invocation" data-node-label="Invocation Workflow" tabindex="0" role="button" aria-label="Focus Invocation Workflow, parallel · chain · debate, MCO local package / Python runtime › explicit execution-policy boundary" aria-pressed="false" data-node-kind="backend" data-node-sublabel="parallel · chain · debate" data-node-tag="timeouts · cancellation" data-node-context="MCO local package / Python runtime › explicit execution-policy boundary"><title>Invocation Workflow · parallel · chain · debate · MCO local package / Python runtime › explicit execution-policy boundary · timeouts · cancellation</title>- <rect x="820" y="280" width="170" height="66" rx="6" class="c-mask"/>- <rect x="820" y="280" width="170" height="66" rx="6" class="c-backend" data-animate="node" style="--step:4" stroke-width="1.5"/>+ <rect x="820" y="280" width="170" height="66" rx="8" class="c-mask"/>+ <rect x="820" y="280" width="170" height="66" rx="8" class="c-backend" data-animate="node" style="--step:4" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(826 286) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5249,8 +5291,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-adapters" data-node-id="adapters" data-node-label="Adapter Registry" tabindex="0" role="button" aria-label="Focus Adapter Registry, detect · run · poll · cancel, MCO local package / Python runtime › explicit execution-policy boundary" aria-pressed="false" data-node-kind="backend" data-node-sublabel="detect · run · poll · cancel" data-node-tag="ProviderAdapter contract" data-node-context="MCO local package / Python runtime › explicit execution-policy boundary"><title>Adapter Registry · detect · run · poll · cancel · MCO local package / Python runtime › explicit execution-policy boundary · ProviderAdapter contract</title>- <rect x="1040" y="280" width="158" height="66" rx="6" class="c-mask"/>- <rect x="1040" y="280" width="158" height="66" rx="6" class="c-backend" data-animate="node" style="--step:5" stroke-width="1.5"/>+ <rect x="1040" y="280" width="158" height="66" rx="8" class="c-mask"/>+ <rect x="1040" y="280" width="158" height="66" rx="8" class="c-backend" data-animate="node" style="--step:5" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(1046 286) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5261,8 +5303,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-transport" data-node-id="transport" data-node-label="Transport Layer" tabindex="0" role="button" aria-label="Focus Transport Layer, shim stdout · ACP JSON-RPC, MCO local package / Python runtime › explicit execution-policy boundary" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="shim stdout · ACP JSON-RPC" data-node-tag="decode_transport" data-node-context="MCO local package / Python runtime › explicit execution-policy boundary"><title>Transport Layer · shim stdout · ACP JSON-RPC · MCO local package / Python runtime › explicit execution-policy boundary · decode_transport</title>- <rect x="1240" y="280" width="166" height="66" rx="6" class="c-mask"/>- <rect x="1240" y="280" width="166" height="66" rx="6" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/>+ <rect x="1240" y="280" width="166" height="66" rx="8" class="c-mask"/>+ <rect x="1240" y="280" width="166" height="66" rx="8" class="c-messagebus" data-animate="node" style="--step:6" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="messagebus" class="semantic-sigil s-messagebus" transform="translate(1246 286) scale(0.6875)"><path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/><circle cx="5" cy="4.5" r="1" class="sigil-fill"/>@@ -5276,8 +5318,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-providers" data-node-id="providers" data-node-label="Provider CLIs" tabindex="0" role="button" aria-label="Focus Provider CLIs, Claude · Codex · Pi · 7 more, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="Claude · Codex · Pi · 7 more" data-node-tag="native auth + sandbox" data-node-context="Architecture component"><title>Provider CLIs · Claude · Codex · Pi · 7 more · Architecture component · native auth + sandbox</title>- <rect x="1460" y="280" width="176" height="66" rx="6" class="c-mask"/>- <rect x="1460" y="280" width="176" height="66" rx="6" class="c-external" data-animate="node" style="--step:7" stroke-width="1.5"/>+ <rect x="1460" y="280" width="176" height="66" rx="8" class="c-mask"/>+ <rect x="1460" y="280" width="176" height="66" rx="8" class="c-external" data-animate="node" style="--step:7" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(1466 286) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5289,8 +5331,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-session" data-node-id="session" data-node-label="Session Daemon" tabindex="0" role="button" aria-label="Focus Session Daemon, detached worker + socket, MCO local package / Python runtime" aria-pressed="false" data-node-kind="backend" data-node-sublabel="detached worker + socket" data-node-tag="queue · retry · cancel" data-node-context="MCO local package / Python runtime"><title>Session Daemon · detached worker + socket · MCO local package / Python runtime · queue · retry · cancel</title>- <rect x="405" y="500" width="160" height="66" rx="6" class="c-mask"/>- <rect x="405" y="500" width="160" height="66" rx="6" class="c-backend" data-animate="node" style="--step:8" stroke-width="1.5"/>+ <rect x="405" y="500" width="160" height="66" rx="8" class="c-mask"/>+ <rect x="405" y="500" width="160" height="66" rx="8" class="c-backend" data-animate="node" style="--step:8" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="backend" class="semantic-sigil s-backend" transform="translate(411 506) scale(0.6875)"><path d="M6 3 3 8l3 5M10 3l3 5-3 5"/></g>@@ -5301,8 +5343,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-session_state" data-node-id="session_state" data-node-label="Session State" tabindex="0" role="button" aria-label="Focus Session State, .mco/sessions, MCO local package / Python runtime" aria-pressed="false" data-node-kind="database" data-node-sublabel=".mco/sessions" data-node-tag="state · history · logs" data-node-context="MCO local package / Python runtime"><title>Session State · .mco/sessions · MCO local package / Python runtime · state · history · logs</title>- <rect x="640" y="500" width="150" height="66" rx="6" class="c-mask"/>- <rect x="640" y="500" width="150" height="66" rx="6" class="c-database" data-animate="node" style="--step:9" stroke-width="1.5"/>+ <rect x="640" y="500" width="150" height="66" rx="8" class="c-mask"/>+ <rect x="640" y="500" width="150" height="66" rx="8" class="c-database" data-animate="node" style="--step:9" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(646 506) scale(0.6875)"><ellipse cx="8" cy="4" rx="5" ry="2"/><path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>@@ -5314,8 +5356,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-artifacts" data-node-id="artifacts" data-node-label="Invocation Artifacts" tabindex="0" role="button" aria-label="Focus Invocation Artifacts, answers · result.md · run.json, MCO local package / Python runtime" aria-pressed="false" data-node-kind="database" data-node-sublabel="answers · result.md · run.json" data-node-tag="per-stage evidence" data-node-context="MCO local package / Python runtime"><title>Invocation Artifacts · answers · result.md · run.json · MCO local package / Python runtime · per-stage evidence</title>- <rect x="1240" y="500" width="166" height="66" rx="6" class="c-mask"/>- <rect x="1240" y="500" width="166" height="66" rx="6" class="c-database" data-animate="node" style="--step:10" stroke-width="1.5"/>+ <rect x="1240" y="500" width="166" height="66" rx="8" class="c-mask"/>+ <rect x="1240" y="500" width="166" height="66" rx="8" class="c-database" data-animate="node" style="--step:10" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(1246 506) scale(0.6875)"><ellipse cx="8" cy="4" rx="5" ry="2"/><path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>@@ -5327,8 +5369,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<g id="node-outputs" data-node-id="outputs" data-node-label="Output Consumers" tabindex="0" role="button" aria-label="Focus Output Consumers, terminal · agent · CI, Architecture component" aria-pressed="false" data-node-kind="external" data-node-sublabel="terminal · agent · CI" data-node-tag="text · JSON · JSONL" data-node-context="Architecture component"><title>Output Consumers · terminal · agent · CI · Architecture component · text · JSON · JSONL</title>- <rect x="1460" y="500" width="176" height="66" rx="6" class="c-mask"/>- <rect x="1460" y="500" width="176" height="66" rx="6" class="c-external" data-animate="node" style="--step:11" stroke-width="1.5"/>+ <rect x="1460" y="500" width="176" height="66" rx="8" class="c-mask"/>+ <rect x="1460" y="500" width="176" height="66" rx="8" class="c-external" data-animate="node" style="--step:11" stroke-width="1.5"/><g aria-hidden="true" data-semantic-sigil="external" class="semantic-sigil s-external" transform="translate(1466 506) scale(0.6875)"><rect x="2.5" y="5" width="8.5" height="8" rx="1.5"/><path d="M8 2.5h5.5V8M13.5 2.5 7.5 8.5"/>@@ -5456,6 +5498,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<span><kbd>E</kbd> Export</span><span><kbd>T</kbd> Theme</span><span><kbd>S</kbd> Style</span><span><kbd>0</kbd> Reset</span><span><kbd>+</kbd> Zoom in</span><span><kbd>-</kbd> Zoom out</span><span><kbd>Esc</kbd> Close</span></div><p class="diagram-guide-feedback" id="diagram-guide-feedback" aria-live="polite"></p>+ <a class="diagram-guide-credit" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener noreferrer"><span>Find Archify useful? A star on GitHub helps</span><span class="diagram-guide-credit-link"><span class="diagram-guide-star" aria-hidden="true"></span>Star <span aria-hidden="true">↗</span></span></a></div><div class="node-finder no-print" id="node-finder" hidden role="dialog" aria-modal="false" aria-labelledby="node-finder-title"><div class="node-finder-head">@@ -5576,7 +5619,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>@@ -5671,6 +5714,40 @@ OTHER DEALINGS IN THE FONT SOFTWARE..replace(/\b\w/g, function (letter) { return letter.toUpperCase(); });}+ function readerLink(state) {+ var template = document.documentElement.getAttribute('data-reading-link-template');+ if (template === null) return location.href.replace(/#.*$/, '') + '#' + state;+ if (!template || template.length > 4096 || template.split('{state}').length !== 2) return null;+ try {+ var url = new URL(template.replace('{state}', encodeURIComponent(state)));+ if (['http:', 'https:', 'file:'].indexOf(url.protocol) === -1 || url.username || url.password) return null;+ return url.href;+ } catch (_) { return null; }+ }++ function copyReaderText(value) {+ function fallbackCopy() {+ var field = document.createElement('textarea');+ field.value = value;+ field.setAttribute('readonly', '');+ field.style.position = 'fixed';+ field.style.opacity = '0';+ document.body.appendChild(field);+ field.select();+ var copied = false;+ try { copied = document.execCommand('copy'); } catch (_) {}+ field.remove();+ return copied;+ }+ var policy = document.permissionsPolicy || document.featurePolicy;+ var allowed = !policy || typeof policy.allowsFeature !== 'function' || policy.allowsFeature('clipboard-write');+ if (allowed && navigator.clipboard && typeof navigator.clipboard.writeText === 'function') {+ try { return Promise.resolve(navigator.clipboard.writeText(value)).then(function () { return true; }).catch(fallbackCopy); }+ catch (_) {}+ }+ return Promise.resolve(fallbackCopy());+ }+function hasDrawableGeometry(element) {if (!element || element.hasAttribute('data-ambient-flow-overlay')) return false;var geometries = /^(path|line|polyline)$/i.test(element.tagName)@@ -6479,7 +6556,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);@@ -6850,7 +6929,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;@@ -7007,73 +7085,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); }});}@@ -7461,36 +7565,321 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// Runtime decoration carries geometry and tree visibility only. Keep each// flow beside its authored edge so transforms, clipping and crossover// paint order apply.- // Each edge carries a small light show: a comet (halo, tail, head)- // cascading downstream on one shared cycle, a lingering wake, and a- // ripple where the comet lands. Phases follow the authored step order:- // source-node rank where known, chronological message order in sequence- // diagrams.- function readSecondsVar(name, fallback) {- var value = '';- try { value = window.getComputedStyle(svg).getPropertyValue(name); } catch (_) {}- var seconds = parseFloat(value);- return Number.isFinite(seconds) && seconds > 0 ? seconds : fallback;- }- function nodeStep(from) {- // Authored IDs follow the schema's conservative identifier pattern, so- // direct selector interpolation stays safe here. The semantic wrapper- // groups the animated shape; its authored step ranks the node.- var node = from ? svg.querySelector('[data-node-id="' + from + '"]') : null;- var shape = node ? node.querySelector('[data-animate="node"]') : null;- return shape && shape.style ? shape.style.getPropertyValue('--step') : '';- }- function edgePhase(shape, fallbackStep) {- // Sequence messages have no data-edge-from; their own authored step is- // already chronological, which is the right phase there.- var raw = nodeStep(shape.getAttribute('data-edge-from'));- if (raw === '' && shape.style) raw = shape.style.getPropertyValue('--step');- var step = parseFloat(raw);- return Number.isFinite(step) ? step : fallbackStep;+ // Each renderer may declare a choreography that matches what its diagram+ // means. Relay (the default) sends a comet from each source when the+ // signal reaches it; stream adds a packet train for continuous data; walk+ // moves one token along the main state path; sequence plays messages in+ // authored order; sweep runs a playhead along a timeline; replay fills+ // waterfall spans in proportion to their measured time. Motion Governor+ // plans the timeline and per-element keyframes; viewer.css owns looks.+ var SVG_NS = 'http://www.w3.org/2000/svg';+ var choreography = svg ? (svg.getAttribute('data-motion-choreography') || 'relay') : 'relay';+ var RELAY = {+ speed: 280,+ minTravel: 0.42,+ maxTravel: 1.5,+ handoff: 0.1,+ dwell: 0.55,+ maxSpan: 9,+ land: 0.9,+ rest: 1.4,+ minCycle: 3.6+ };+ function stepOf(element, fallback) {+ var step = parseFloat(element && element.style ? element.style.getPropertyValue('--step') : '');+ return Number.isFinite(step) ? step : fallback;+ }+ function byStep(a, b) { return a.step - b.step || a.index - b.index; }+ function addWindow(windows, id, start, end, strong) {+ if (!id) return;+ (windows[id] = windows[id] || []).push({ start: start, end: end, strong: !!strong });+ }+ function planRelay(records, windows) {+ var arrive = Object.create(null);+ var seeded = Object.create(null);+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ function seed(id) {+ if (arrive[id] !== undefined) return;+ arrive[id] = 0;+ seeded[id] = true;+ }+ function relax() {+ // Earliest arrival over a few dozen edges; a scan per settle keeps+ // cycles and fan-in deterministic without a priority queue.+ var settled = Object.create(null);+ for (;;) {+ var next = null;+ Object.keys(arrive).forEach(function (id) {+ if (!settled[id] && (next === null || arrive[id] < arrive[next])) next = id;+ });+ if (next === null) return;+ settled[next] = true;+ var depart = arrive[next] + (seeded[next] ? 0 : RELAY.handoff);+ records.forEach(function (record) {+ if (record.from !== next) return;+ var at = depart + record.travel;+ if (arrive[record.to] === undefined || at < arrive[record.to]) arrive[record.to] = at;+ });+ }+ }+ records.forEach(function (record) { if (!targets[record.from]) seed(record.from); });+ relax();+ for (;;) {+ // A closed cycle has no entry; start it at its earliest authored edge.+ var orphan = records.filter(function (record) { return arrive[record.from] === undefined; }).sort(byStep)[0];+ if (!orphan) break;+ seed(orphan.from);+ relax();+ }+ records.forEach(function (record) {+ record.depart = arrive[record.from] + (seeded[record.from] ? 0 : RELAY.handoff);+ record.active = true;+ });+ Object.keys(arrive).forEach(function (id) { addWindow(windows, id, arrive[id], arrive[id]); });+ }+ function planWalk(records, windows) {+ // A state machine is in one state at a time: follow the first authored+ // transition to an unvisited state and let the current state stay lit.+ var targets = Object.create(null);+ records.forEach(function (record) { if (record.from !== record.to) targets[record.to] = true; });+ var ordered = records.slice().sort(byStep);+ var start = (ordered.find(function (record) { return !targets[record.from]; }) || ordered[0]).from;+ var visited = Object.create(null);+ var current = start;+ var clock = 0;+ var enteredAt = 0;+ visited[start] = true;+ for (var hops = 0; hops < 16; hops += 1) {+ var next = ordered.find(function (record) { return record.from === current && !visited[record.to]; });+ if (!next) break;+ next.active = true;+ next.depart = clock + RELAY.dwell;+ addWindow(windows, current, enteredAt, next.depart, true);+ clock = next.depart + next.travel;+ enteredAt = clock;+ current = next.to;+ visited[current] = true;+ }+ addWindow(windows, current, enteredAt, enteredAt + 1.2, true);+ }+ function planSequence(records, windows) {+ var clock = 0;+ records.slice().sort(byStep).forEach(function (record) {+ record.active = true;+ record.depart = clock;+ clock += record.travel + RELAY.handoff;+ addWindow(windows, record.from, record.depart, record.depart);+ addWindow(windows, record.to, record.depart + record.travel, record.depart + record.travel);+ });+ }+ function scalePlan(records, windows, span) {+ var scale = span > RELAY.maxSpan ? RELAY.maxSpan / span : 1;+ if (scale === 1) return span;+ records.forEach(function (record) {+ if (!record.active) return;+ record.depart *= scale;+ record.travel *= scale;+ });+ Object.keys(windows).forEach(function (id) {+ windows[id].forEach(function (window) { window.start *= scale; window.end *= scale; });+ });+ return span * scale;+ }+ function nodeShapes() {+ var shapes = Object.create(null);+ Array.prototype.forEach.call(svg.querySelectorAll('[data-animate="node"]'), function (shape) {+ var wrapper = shape.closest('[data-node-id]');+ var id = wrapper ? wrapper.getAttribute('data-node-id') : '';+ if (id) (shapes[id] = shapes[id] || []).push(shape);+ });+ return shapes;+ }+ function sceneBounds(elements) {+ var box = null;+ elements.forEach(function (element) {+ var b = null;+ try { b = element.getBBox(); } catch (_) {}+ if (!b || !(b.width || b.height)) return;+ if (!box) box = { x: b.x, y: b.y, right: b.x + b.width, bottom: b.y + b.height };+ else {+ box.x = Math.min(box.x, b.x); box.y = Math.min(box.y, b.y);+ box.right = Math.max(box.right, b.x + b.width); box.bottom = Math.max(box.bottom, b.y + b.height);+ }+ });+ return box;+ }+ function overlay(tag, cls, attrs, parent, before) {+ var element = document.createElementNS(SVG_NS, tag);+ Object.keys(attrs).forEach(function (name) { element.setAttribute(name, attrs[name]); });+ element.setAttribute('class', 'ambient-edge-flow ' + cls);+ element.setAttribute('data-ambient-flow-overlay', 'true');+ element.setAttribute('aria-hidden', 'true');+ parent.insertBefore(element, before || null);+ return element;+ }+ // Timeline and waterfall share a playhead: a lit vertical rule and its+ // bloom travel the time axis linearly, because time is the subject.+ function addPlayhead(box, x0, x1, lead, sweep, extras) {+ var anchor = svg.querySelector('[data-node-id]');+ var parent = anchor ? anchor.parentNode : svg;+ var attrs = { x1: x0.toFixed(1), x2: x0.toFixed(1), y1: (box.y - 10).toFixed(1), y2: (box.bottom + 10).toFixed(1) };+ ['playhead-glow', 'playhead'].forEach(function (kind) {+ var line = overlay('line', 'ambient-flow-' + kind, attrs, parent, anchor);+ line.style.setProperty('--flow-name', 'archify-motion-playhead');+ extras.push(line);+ });+ extras.playhead = { distance: x1 - x0, lead: lead, sweep: sweep };+ }+ function planSweep(windows, extras) {+ var events = Array.prototype.filter.call(svg.querySelectorAll('[data-node-id][data-timeline-x]'), function (node) {+ return Number.isFinite(parseFloat(node.getAttribute('data-timeline-x')));+ });+ if (!events.length) return 0;+ var xs = events.map(function (node) { return parseFloat(node.getAttribute('data-timeline-x')); });+ var x0 = Math.min.apply(null, xs), x1 = Math.max.apply(null, xs);+ var lead = 0.35;+ var sweep = Math.min(7, Math.max(3.2, events.length * 0.6));+ events.forEach(function (node, index) {+ var at = lead + (x1 > x0 ? (xs[index] - x0) / (x1 - x0) : 0) * sweep;+ addWindow(windows, node.getAttribute('data-node-id'), at, at + 0.35, true);+ });+ var box = sceneBounds(Array.prototype.slice.call(svg.querySelectorAll('[data-timeline-lane]')));+ if (box && x1 > x0) addPlayhead(box, x0, x1, lead, sweep, extras);+ return lead + sweep + 0.6;+ }+ function planReplay(windows, extras) {+ var spans = [];+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id][data-waterfall-start]'), function (node) {+ var start = parseFloat(node.getAttribute('data-waterfall-start'));+ var end = parseFloat(node.getAttribute('data-waterfall-end'));+ var bar = node.querySelector('[data-animate="node"]');+ if (!bar || !Number.isFinite(start) || !(end >= start)) return;+ var width = parseFloat(bar.getAttribute('width'));+ var x = parseFloat(bar.getAttribute('x'));+ if (!(width > 0) || !Number.isFinite(x)) return;+ spans.push({ node: node, bar: bar, start: start, end: end, x: x, width: width });+ });+ if (!spans.length) return 0;+ var t0 = Math.min.apply(null, spans.map(function (span) { return span.start; }));+ var t1 = Math.max.apply(null, spans.map(function (span) { return span.end; }));+ if (!(t1 > t0)) return 0;+ var ruler = spans.reduce(function (best, span) { return span.end - span.start > best.end - best.start ? span : best; });+ var pxPerUnit = ruler.width / Math.max(ruler.end - ruler.start, 1e-9);+ var x0 = ruler.x - (ruler.start - t0) * pxPerUnit;+ var lead = 0.35;+ var replay = Math.min(6, Math.max(3.4, spans.length * 0.45));+ var at = function (t) { return lead + (t - t0) / (t1 - t0) * replay; };+ var settle = lead + replay + 0.9;+ spans.forEach(function (span) {+ var fill = overlay('rect', 'ambient-flow-fill', {+ x: span.bar.getAttribute('x'), y: span.bar.getAttribute('y'),+ width: span.bar.getAttribute('width'), height: span.bar.getAttribute('height'),+ rx: span.bar.getAttribute('rx') || '0'+ }, span.bar.parentNode, span.bar.nextSibling);+ var tone = /(?:^|\s)c-([a-z]+)(?:\s|$)/.exec(span.bar.getAttribute('class') || '');+ if (tone) fill.style.setProperty('--flow-fill', 'var(--' + tone[1] + '-stroke)');+ if (span.node.getAttribute('data-waterfall-status') && span.node.getAttribute('data-waterfall-status') !== 'ok') {+ fill.classList.add('ambient-flow-fill-failed');+ }+ fill.timing = { start: at(span.start), end: Math.max(at(span.end), at(span.start) + 0.08), settle: settle };+ extras.push(fill);+ addWindow(windows, span.node.getAttribute('data-node-id'), fill.timing.end, fill.timing.end);+ });+ var box = sceneBounds(spans.map(function (span) { return span.bar; }));+ if (box) addPlayhead(box, x0, x0 + (t1 - t0) * pxPerUnit, lead, replay, extras);+ return settle;+ }+ function writeKeyframes(records, windows, extras, cycle) {+ function at(seconds) {+ return (Math.min(100, Math.max(0, seconds / cycle * 100))).toFixed(3) + '%';+ }+ var ease = 'animation-timing-function: cubic-bezier(0.45, 0.05, 0.35, 1);';+ var rules = [+ '@keyframes archify-relay-ripple {',+ ' 0% { r: 2px; opacity: var(--flow-peak, 0.6); }',+ ' ' + at(0.75) + ', 100% { r: 20px; opacity: 0; }',+ '}'+ ];+ records.forEach(function (record) {+ if (!record.active) return;+ var travel = record.travel;+ rules.push(+ '@keyframes archify-relay-comet-' + record.index + ' {',+ ' 0% { stroke-dashoffset: calc(var(--flow-len, 0px) + var(--flow-shift, 0px)); opacity: 0; ' + ease + ' }',+ ' ' + at(Math.min(0.12, travel * 0.2)) + ' { opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel) + ' { stroke-dashoffset: var(--flow-shift, 0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(travel + 0.16) + ', 100% { stroke-dashoffset: var(--flow-shift, 0px); opacity: 0; }',+ '}',+ // A solid wake draws the travelled path behind the head on the same+ // easing; a dashed wake only brightens its authored segments.+ '@keyframes archify-relay-wake-' + record.index + ' {',+ record.dashed+ ? ' 0%, ' + at(travel * 0.3) + ' { opacity: 0; }'+ : ' 0% { stroke-dashoffset: var(--flow-len, 0px); opacity: var(--flow-peak, 0.3); ' + ease + ' }',+ record.dashed+ ? ' ' + at(travel) + ' { opacity: var(--flow-peak, 0.3); }'+ : ' ' + at(travel) + ' { stroke-dashoffset: 0px; opacity: var(--flow-peak, 0.3); }',+ ' ' + at(travel + 0.9) + ', 100% { stroke-dashoffset: 0px; opacity: 0; }',+ '}'+ );+ });+ var glow = function (strong) {+ return 'filter: var(--ambient-node-base-filter,) drop-shadow(0 0 ' + (strong ? 14 : 10) + 'px var(--arrow-emphasis));';+ };+ var base = 'filter: var(--ambient-node-base-filter, none);';+ Object.keys(windows).forEach(function (id, index) {+ var merged = [];+ windows[id].slice().sort(function (a, b) { return a.start - b.start; }).forEach(function (window) {+ var peakEnd = Math.max(window.end, window.start + 0.42);+ var last = merged[merged.length - 1];+ if (last && window.start <= last.peakEnd + 0.78) {+ last.peakEnd = Math.max(last.peakEnd, peakEnd);+ last.strong = last.strong || window.strong;+ } else merged.push({ start: window.start, peakEnd: peakEnd, strong: window.strong });+ });+ var frames = [' 0%, 100% { ' + base + ' }'];+ merged.forEach(function (window) {+ frames.push(+ ' ' + at(window.start) + ' { ' + base + ' }',+ ' ' + at(window.start + 0.12) + ', ' + at(window.peakEnd) + ' { ' + glow(window.strong) + ' }',+ ' ' + at(window.peakEnd + 0.78) + ' { ' + base + ' }'+ );+ });+ rules.push('@keyframes archify-relay-node-' + index + ' {', frames.join('\n'), '}');+ windows[id].keyframes = 'archify-relay-node-' + index;+ });+ if (extras.playhead) {+ var p = extras.playhead;+ rules.push(+ '@keyframes archify-motion-playhead {',+ ' 0% { transform: translateX(0px); opacity: 0; }',+ ' ' + at(Math.max(0.05, p.lead - 0.2)) + ' { transform: translateX(0px); opacity: 0; }',+ ' ' + at(p.lead) + ' { transform: translateX(0px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep) + ' { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: var(--flow-peak, 0.9); }',+ ' ' + at(p.lead + p.sweep + 0.45) + ', 100% { transform: translateX(' + p.distance.toFixed(1) + 'px); opacity: 0; }',+ '}'+ );+ }+ extras.forEach(function (element, index) {+ if (!element.timing) return;+ var t = element.timing;+ rules.push(+ '@keyframes archify-replay-fill-' + index + ' {',+ ' 0%, ' + at(t.start) + ' { transform: scaleX(0); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.end) + ', ' + at(t.settle) + ' { transform: scaleX(1); opacity: var(--flow-peak, 0.4); }',+ ' ' + at(t.settle + 0.7) + ', 100% { transform: scaleX(1); opacity: 0; }',+ '}'+ );+ element.style.setProperty('--flow-name', 'archify-replay-fill-' + index);+ });+ var style = document.createElement('style');+ style.setAttribute('data-ambient-flow-keyframes', 'true');+ style.textContent = rules.join('\n');+ document.head.appendChild(style);}function createFlows() {- var stepDelay = readSecondsVar('--flow-step-delay', 0.2);- var cycle = readSecondsVar('--flow-cycle', 6.4);+ var records = [];Array.prototype.forEach.call(svg.querySelectorAll('path[data-animate="edge"]'), function (shape, index) {var d = shape.getAttribute('data-motion-path') || shape.getAttribute('d');if (!d) return;@@ -7505,7 +7894,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}}function addPath(cls) {- var flow = document.createElementNS('http://www.w3.org/2000/svg', 'path');+ var flow = document.createElementNS(SVG_NS, 'path');flow.setAttribute('d', d);['transform', 'mask', 'clip-path', 'vector-effect'].forEach(function (name) {if (shape.hasAttribute(name)) flow.setAttribute(name, shape.getAttribute(name));@@ -7523,67 +7912,114 @@ OTHER DEALINGS IN THE FONT SOFTWARE.wake.remove();return;}- var halo = addPath('halo');- var tail = addPath('tail');- var head = addPath('head');- var end = null;- try { end = head.getPointAtLength(len); } catch (_) {}- // Dashed authored lines keep their dash language through the show:+ var record = {+ index: records.length,+ len: len,+ from: shape.getAttribute('data-edge-from') || shape.getAttribute('data-composition-edge-from') || '',+ to: shape.getAttribute('data-edge-to') || shape.getAttribute('data-composition-edge-to') || '',+ step: stepOf(shape, index),+ travel: Math.min(RELAY.maxTravel, Math.max(RELAY.minTravel, len / RELAY.speed)),+ depart: 0,+ active: false,+ layers: []+ };+ records.push(record);+ // Dashed authored lines keep their dash language through the relay:// the wake brightens only the authored segments and never fills the// gaps back into a solid line.var authoredDash = '';try { authoredDash = window.getComputedStyle(shape).strokeDasharray; } catch (_) {}- if (authoredDash && authoredDash !== 'none') {- wake.style.setProperty('--flow-dasharray', authoredDash);- }+ record.dashed = !!(authoredDash && authoredDash !== 'none');+ wake.style.setProperty('--flow-dasharray', record.dashed ? authoredDash : len.toFixed(1) + ' ' + len.toFixed(1));// 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));+ var headLen = Math.min(14, Math.max(7, len * 0.03));+ var haloLen = Math.min(22, Math.max(12, len * 0.07));var trail = len >= 120? { pattern: '2.5 2 4 3 5.5 4.5 8 ' + (len - 30).toFixed(1), length: 30 }: (len >= 60? { pattern: '3 3 7 ' + (len - 13).toFixed(1), length: 13 }: { pattern: '5 ' + Math.max(4, len - 5).toFixed(1), length: 5 });- var phase = edgePhase(shape, index) * stepDelay;- var configs = [- { flow: wake, dash: len, shift: 0, 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 });+ record.layers.push(+ { flow: wake, kind: 'wake', dash: len, shift: 0 },+ { flow: addPath('glow'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('halo'), kind: 'comet', dash: haloLen, shift: (haloLen - headLen) / 2 },+ { flow: addPath('tail'), kind: 'comet', dash: trail.length, shift: trail.length - headLen, dasharray: trail.pattern },+ { flow: addPath('head'), kind: 'comet', dash: headLen, shift: 0 }+ );+ if (choreography === 'stream') {+ // A packet train behind the comet reads as a continuous stream.+ [1, 2, 3].forEach(function (order) {+ record.layers.push({ flow: addPath('head packet'), kind: 'comet', dash: Math.max(4, headLen * 0.55), shift: 0, packet: order });+ });}- 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');- if (cfg.dasharray) cfg.flow.style.setProperty('--flow-dasharray', cfg.dasharray);- });- // The sonar pair lands where the comet does; keep it out of the- // edge's mask so it can bloom over the node boundary.+ // The ripple lands where the comet does; keep it out of the edge's+ // mask so it can bloom over the node boundary.+ var end = null;+ try { end = wake.getPointAtLength(len); } catch (_) {}if (end) {- ['ripple', 'ripple-echo'].forEach(function (kind) {- var ripple = document.createElementNS('http://www.w3.org/2000/svg', 'circle');- ripple.setAttribute('cx', end.x.toFixed(1));- ripple.setAttribute('cy', end.y.toFixed(1));- ripple.setAttribute('r', '2');- if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));- ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-' + kind);- tagOverlay(ripple);- ripple.style.setProperty('--flow-delay', phase.toFixed(3) + 's');- shape.parentNode.insertBefore(ripple, anchor.nextSibling);- anchor = ripple;- });+ var ripple = document.createElementNS(SVG_NS, 'circle');+ ripple.setAttribute('cx', end.x.toFixed(1));+ ripple.setAttribute('cy', end.y.toFixed(1));+ ripple.setAttribute('r', '2');+ if (shape.hasAttribute('transform')) ripple.setAttribute('transform', shape.getAttribute('transform'));+ ripple.setAttribute('class', 'ambient-edge-flow ambient-flow-ripple');+ tagOverlay(ripple);+ shape.parentNode.insertBefore(ripple, anchor.nextSibling);+ record.ripple = ripple;}- flowCount += 1;});+ var windows = Object.create(null);+ var extras = [];+ var span = 0;+ if (choreography === 'sweep') span = planSweep(windows, extras);+ else if (choreography === 'replay') span = planReplay(windows, extras);+ else if (records.length) {+ var linked = records.filter(function (record) { return record.from && record.to; });+ if (choreography === 'sequence' || linked.length < records.length) planSequence(records, windows);+ else if (choreography === 'walk') planWalk(records, windows);+ else planRelay(records, windows);+ span = records.reduce(function (max, record) {+ return record.active ? Math.max(max, record.depart + record.travel) : max;+ }, 0);+ span = scalePlan(records, windows, span);+ }+ records.forEach(function (record) {+ if (record.active) return;+ record.layers.forEach(function (layer) { layer.flow.remove(); });+ if (record.ripple) record.ripple.remove();+ });+ var active = records.filter(function (record) { return record.active; });+ if (!active.length && !extras.length) return;+ var cycle = Math.max(RELAY.minCycle, span + RELAY.land + RELAY.rest);+ writeKeyframes(active, windows, extras, cycle);+ svg.style.setProperty('--flow-cycle', cycle.toFixed(3) + 's');+ html.style.setProperty('--flow-cycle-chrome', cycle.toFixed(3) + 's');+ active.forEach(function (record) {+ var gap = Math.min(0.22, record.travel * 0.28);+ record.layers.forEach(function (layer) {+ var flow = layer.flow;+ flow.style.setProperty('--flow-len', record.len.toFixed(1) + 'px');+ flow.style.setProperty('--flow-delay', (record.depart + (layer.packet || 0) * gap).toFixed(3) + 's');+ flow.style.setProperty('--flow-dash', layer.dash.toFixed(1) + 'px');+ flow.style.setProperty('--flow-shift', layer.shift.toFixed(1) + 'px');+ flow.style.setProperty('--flow-name', 'archify-relay-' + layer.kind + '-' + record.index);+ if (layer.dasharray) flow.style.setProperty('--flow-dasharray', layer.dasharray);+ });+ if (record.ripple) {+ record.ripple.style.setProperty('--flow-delay', (record.depart + record.travel).toFixed(3) + 's');+ record.ripple.style.setProperty('--flow-name', 'archify-relay-ripple');+ }+ });+ var shapes = nodeShapes();+ Object.keys(windows).forEach(function (id) {+ (shapes[id] || []).forEach(function (shape) {+ shape.style.setProperty('--flow-node-name', windows[id].keyframes);+ });+ });+ flowCount = active.length + extras.length;}function settleEntry() {entryPending.clear();@@ -7600,7 +8036,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();@@ -7621,8 +8057,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.}function writeStored() {try {- if (readerPaused) localStorage.setItem(STORAGE_KEY, 'still');- else localStorage.removeItem(STORAGE_KEY);+ if (readerPaused) localStorage.removeItem(STORAGE_KEY);+ else localStorage.setItem(STORAGE_KEY, 'live');} catch (_) {}}function reducedMotion() {@@ -7772,7 +8208,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.createFlows();html.setAttribute('data-motion-capable', 'true');btn.hidden = false;- readerPaused = readStored() === 'still';+ readerPaused = readStored() !== 'live';btn.addEventListener('click', function () { setPaused(!readerPaused); });if (motionQuery) {if (typeof motionQuery.addEventListener === 'function') motionQuery.addEventListener('change', render);@@ -9384,31 +9820,14 @@ OTHER DEALINGS IN THE FONT SOFTWARE.return setMany([id], options);}- function fallbackCopy(value) {- var field = document.createElement('textarea');- field.value = value;- field.setAttribute('readonly', '');- field.style.position = 'fixed';- field.style.opacity = '0';- document.body.appendChild(field);- field.select();- var copied = false;- try { copied = document.execCommand('copy'); } catch (_) {}- field.remove();- return copied;- }-function copyFocusLink() {if (activeIds.length !== 1) return Promise.resolve(false);var record = pinnedRelationshipRecord();var relationId = record && record.id;- var value = location.href.replace(/#.*$/, '') + (relationId- ? '#relation=' + encodeURIComponent(relationId)- : '#focus=' + encodeURIComponent(activeIds[0]) + (reachabilityMode ? '&reach=' + reachabilityMode : ''));- var copy = navigator.clipboard && typeof navigator.clipboard.writeText === 'function'- ? navigator.clipboard.writeText(value).then(function () { return true; }).catch(function () { return fallbackCopy(value); })- : Promise.resolve(fallbackCopy(value));- return copy.then(function (copied) {+ var value = readerLink(relationId+ ? 'relation=' + encodeURIComponent(relationId)+ : 'focus=' + encodeURIComponent(activeIds[0]) + (reachabilityMode ? '&reach=' + reachabilityMode : ''));+ return (value === null ? Promise.resolve(false) : copyReaderText(value)).then(function (copied) {copyBtn.textContent = viewerText(copied ? 'viewer.common.copied' : 'viewer.common.copyFailed');copyBtn.setAttribute('aria-label', copied? viewerText(relationId ? 'viewer.passport.copy.pinned.success' : 'viewer.passport.copy.focused.success')@@ -9536,7 +9955,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 });@@ -10820,26 +11241,35 @@ OTHER DEALINGS IN THE FONT SOFTWARE.function logicalViewport() {var metrics = contentMetrics();if (!metrics) return null;+ var camera = sampleRenderedState();var x;var y;var width;var height;- if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && state.scale >= 1) {+ if (window.innerWidth <= 720 && container.hasAttribute('data-wide-diagram') && camera.scale >= 1) {x = viewBox.x + container.scrollLeft / metrics.scale;y = viewBox.y;width = Math.min(viewBox.width, Math.max(1, container.clientWidth / metrics.scale));height = viewBox.height;} else {- x = viewBox.x + (((container.scrollLeft - state.x) / state.scale) - metrics.offsetX) / metrics.scale;- y = viewBox.y + ((-state.y / state.scale) - metrics.offsetY) / metrics.scale;- width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / state.scale / metrics.scale);- height = Math.min(viewBox.height, metrics.height / state.scale / metrics.scale);+ x = viewBox.x + (((container.scrollLeft - camera.x) / camera.scale) - metrics.offsetX) / metrics.scale;+ y = viewBox.y + ((-camera.y / camera.scale) - metrics.offsetY) / metrics.scale;+ width = Math.min(viewBox.width, Math.min(metrics.width, container.clientWidth) / camera.scale / metrics.scale);+ height = Math.min(viewBox.height, metrics.height / camera.scale / metrics.scale);}width = Math.max(1, Math.min(viewBox.width, width));height = Math.max(1, Math.min(viewBox.height, height));x = Math.max(viewBox.x, Math.min(viewBox.x + viewBox.width - width, x));y = Math.max(viewBox.y, Math.min(viewBox.y + viewBox.height - height, y));- return { x: x, y: y, width: width, height: height, scale: state.scale };+ // The camera's layout box can span several browser screens. Intersect+ // its logical bounds with the actual window, including page scrolling.+ var matrix = svg.getScreenCTM();+ if (matrix && matrix.d > 0) {+ var end = y + height;+ y = Math.max(y, Math.min(end - 1, -matrix.f / matrix.d));+ height = Math.max(1, Math.min(end, (window.innerHeight - matrix.f) / matrix.d) - y);+ }+ return { x: x, y: y, width: width, height: height, scale: camera.scale };}function detailLevel() {if (state.mode === 'semantic') return 'full';@@ -10869,7 +11299,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);@@ -10900,13 +11331,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// CSS transforms keep the SVG's intrinsic layout size. Shrink only its// outer page-flow box for long ordinary diagrams, never the SVG itself:// changing its height would feed the smaller size back into camera math.- function syncPageFlow(camera) {- camera = camera || state;+ function ordinaryPage() {var html = document.documentElement;- var height = svg.clientHeight;- var ordinary = html.getAttribute('data-embed') !== 'true' &&+ return html.getAttribute('data-embed') !== 'true' &&html.getAttribute('data-present') !== 'true' &&(!window.matchMedia || !window.matchMedia('print').matches);+ }+ function syncPageFlow(camera) {+ camera = camera || state;+ var height = svg.clientHeight;+ var ordinary = ordinaryPage();// Restore ordinary flow as soon as the target reaches 100%. Chrome// uses that target to resume baseline rail measurement; retaining a// partially shrunk box during the CSS transition would inflate reserve.@@ -10931,6 +11365,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.var rendered = sampleRenderedState();syncPageFlow(rendered);clipToViewport(rendered);+ if (Archify.radar && Archify.radar.isOpen()) Archify.radar.sync();if (Archify.readerLayout && typeof Archify.readerLayout.syncLegend === 'function') Archify.readerLayout.syncLegend();if (!cameraSettled(rendered)) clipFrame = requestAnimationFrame(sample);}@@ -11068,6 +11503,17 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state = { scale: 1, x: 0, y: 0, mode: 'overview' };apply();}+ function scrollLongDiagramTo(contentY, metrics, options) {+ if (!ordinaryPage() || metrics.height <= window.innerHeight) return;+ // apply() may still be animating its CSS transform. Recover the layout+ // origin from the painted transform, then use the final camera target.+ var painted = sampleRenderedState();+ var rect = svg.getBoundingClientRect();+ var pixelScale = rect.height / metrics.height / painted.scale;+ var documentTop = window.scrollY + rect.top - painted.y * pixelScale;+ var target = documentTop + (state.y + contentY * state.scale) * pixelScale - window.innerHeight / 2;+ window.scrollTo({ left: window.scrollX, top: Math.max(0, target), behavior: options.instant ? 'instant' : 'smooth' });+ }function centerAt(logicalX, logicalY, options) {options = options || {};logicalX = Number(logicalX);@@ -11086,6 +11532,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.autoScrollUntil = Date.now() + 80;try { container.scrollTo({ left: mobileTarget, behavior: options.instant ? 'auto' : 'smooth' }); }catch (_) { container.scrollLeft = mobileTarget; }+ scrollLongDiagramTo(metrics.offsetY + (logicalY - viewBox.y) * metrics.scale, metrics, options);return true;}var minimumScale = Math.max(1, Math.min(3, Number(options.minimumScale) || 1));@@ -11097,6 +11544,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.state.y = metrics.height / 2 - contentY * state.scale;state.mode = 'manual';apply();+ scrollLongDiagramTo(contentY, metrics, options);if (Archify.focus && Archify.focus.reposition) Archify.focus.reposition();return true;}@@ -13339,26 +13787,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.if (!context || !Archify.finder) return false;return Archify.finder.open({ context: context });}- function fallbackCopy(value) {- var field = document.createElement('textarea');- field.value = value;- field.setAttribute('readonly', '');- field.style.position = 'fixed';- field.style.opacity = '0';- document.body.appendChild(field);- field.select();- var copied = false;- try { copied = document.execCommand('copy'); } catch (_) {}- field.remove();- return copied;- }function copyLink() {if (mode !== 'result') return Promise.resolve(false);- var value = location.href.replace(/#.*$/, '') + '#route=' + encodeURIComponent(startId) + '~' + encodeURIComponent(endId);- var copy = navigator.clipboard && typeof navigator.clipboard.writeText === 'function'- ? navigator.clipboard.writeText(value).then(function () { return true; }).catch(function () { return fallbackCopy(value); })- : Promise.resolve(fallbackCopy(value));- return copy.then(function (copied) {+ var value = readerLink('route=' + encodeURIComponent(startId) + '~' + encodeURIComponent(endId));+ return (value === null ? Promise.resolve(false) : copyReaderText(value)).then(function (copied) {copyBtn.textContent = viewerText(copied ? 'viewer.common.copied' : 'viewer.common.copyFailed');copyBtn.setAttribute('aria-label', viewerText(copied ? 'viewer.route.copy.success' : 'viewer.route.copy.failed'));window.setTimeout(function () {@@ -14010,28 +14442,16 @@ OTHER DEALINGS IN THE FONT SOFTWARE.if (options.closePanel === true) close({ restoreFocus: false });return false;}- function fallbackCopy(value) {- var field = document.createElement('textarea');- field.value = value;- field.setAttribute('readonly', '');- field.style.position = 'fixed';- field.style.opacity = '0';- document.body.appendChild(field);- field.select();- var copied = false;- try { copied = document.execCommand('copy'); } catch (_) {}- field.remove();- return copied;- }function copyLink() {if (!selectedKinds.length) return Promise.resolve(false);- var value = location.href.replace(/#.*$/, '') + '#lens=' + selectedKinds.map(encodeURIComponent).join('~');- var copy = navigator.clipboard && typeof navigator.clipboard.writeText === 'function'- ? navigator.clipboard.writeText(value).then(function () { return true; }).catch(function () { return fallbackCopy(value); })- : Promise.resolve(fallbackCopy(value));- return copy.then(function (copied) {+ var value = readerLink('lens=' + selectedKinds.map(encodeURIComponent).join('~'));+ return (value === null ? Promise.resolve(false) : copyReaderText(value)).then(function (copied) {copyBtn.textContent = viewerText(copied ? 'viewer.common.copied' : 'viewer.common.copyFailed');- window.setTimeout(function () { copyBtn.textContent = viewerText('viewer.common.copyLink'); }, 1600);+ copyBtn.setAttribute('aria-label', viewerText(copied ? 'viewer.common.copied' : 'viewer.common.copyFailed'));+ window.setTimeout(function () {+ copyBtn.textContent = viewerText('viewer.common.copyLink');+ copyBtn.setAttribute('aria-label', viewerText('viewer.lens.copy'));+ }, 1600);return copied;});}@@ -14216,7 +14636,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;@@ -14316,7 +14738,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();