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
feat: surface verified source evidence
tt-a1i0c4647abb4da
diff --git a/.impeccable/design.json b/.impeccable/design.jsonnew file mode 100644index 00000000..ab2c89eb--- /dev/null+++ b/.impeccable/design.json@@ -0,0 +1,118 @@+{+ "schemaVersion": 2,+ "generatedAt": "2026-07-23T00:34:12Z",+ "title": "Design System: Archify",+ "extensions": {+ "colorMeta": {+ "canvas": { "role": "neutral", "displayName": "Midnight Canvas", "canonical": "#020617", "tonalRamp": ["#020617", "#0f172a", "#1e293b", "#334155", "#475569", "#64748b", "#cbd5e1", "#f8fafc"] },+ "mask": { "role": "neutral", "displayName": "Ink Mask", "canonical": "#0F172A", "tonalRamp": ["#020617", "#0f172a", "#1e293b", "#334155", "#475569", "#94a3b8", "#e2e8f0", "#ffffff"] },+ "ink": { "role": "neutral", "displayName": "Instrument Ink", "canonical": "#FFFFFF", "tonalRamp": ["#0f172a", "#334155", "#64748b", "#94a3b8", "#cbd5e1", "#e2e8f0", "#f8fafc", "#ffffff"] },+ "muted": { "role": "neutral", "displayName": "Quiet Copy", "canonical": "#94A3B8", "tonalRamp": ["#0f172a", "#1e293b", "#334155", "#475569", "#64748b", "#94a3b8", "#cbd5e1", "#f8fafc"] },+ "dim": { "role": "neutral", "displayName": "Dim Annotation", "canonical": "#475569", "tonalRamp": ["#020617", "#0f172a", "#1e293b", "#334155", "#475569", "#64748b", "#94a3b8", "#e2e8f0"] },+ "border": { "role": "neutral", "displayName": "Structural Border", "canonical": "#1E293B", "tonalRamp": ["#020617", "#0f172a", "#1e293b", "#334155", "#475569", "#64748b", "#cbd5e1", "#f8fafc"] },+ "frontend": { "role": "primary", "displayName": "Verified Cyan", "canonical": "#22D3EE", "tonalRamp": ["#083344", "#164e63", "#0e7490", "#0891b2", "#06b6d4", "#22d3ee", "#a5f3fc", "#ecfeff"] },+ "backend": { "role": "secondary", "displayName": "Proof Green", "canonical": "#34D399", "tonalRamp": ["#022c22", "#064e3b", "#047857", "#059669", "#10b981", "#34d399", "#a7f3d0", "#ecfdf5"] },+ "database": { "role": "secondary", "displayName": "Repository Violet", "canonical": "#A78BFA", "tonalRamp": ["#2e1065", "#4c1d95", "#6d28d9", "#7c3aed", "#8b5cf6", "#a78bfa", "#ddd6fe", "#f5f3ff"] },+ "cloud": { "role": "tertiary", "displayName": "Cloud Amber", "canonical": "#FBBF24", "tonalRamp": ["#451a03", "#78350f", "#b45309", "#d97706", "#f59e0b", "#fbbf24", "#fde68a", "#fffbeb"] },+ "security": { "role": "tertiary", "displayName": "Boundary Rose", "canonical": "#FB7185", "tonalRamp": ["#4c0519", "#881337", "#be123c", "#e11d48", "#f43f5e", "#fb7185", "#fecdd3", "#fff1f2"] },+ "messagebus": { "role": "tertiary", "displayName": "Transit Orange", "canonical": "#FB923C", "tonalRamp": ["#431407", "#7c2d12", "#c2410c", "#ea580c", "#f97316", "#fb923c", "#fed7aa", "#fff7ed"] },+ "external": { "role": "neutral", "displayName": "External Slate", "canonical": "#94A3B8", "tonalRamp": ["#0f172a", "#1e293b", "#334155", "#475569", "#64748b", "#94a3b8", "#cbd5e1", "#f8fafc"] }+ },+ "typographyMeta": {+ "headline": { "displayName": "Artifact Headline", "purpose": "The generated artifact title only." },+ "title": { "displayName": "Panel Title", "purpose": "Cards, panels, and selected semantic objects." },+ "body": { "displayName": "Technical Body", "purpose": "Explanatory copy and relationship detail." },+ "label": { "displayName": "Instrument Label", "purpose": "Modes, states, compact metadata, and proof markers." }+ },+ "shadows": [+ { "name": "canvas-lift", "value": "0 28px 80px rgba(0,0,0,0.34)", "purpose": "Signal Flow diagram surface only." },+ { "name": "floating-panel", "value": "0 18px 48px rgba(0,0,0,0.30)", "purpose": "Temporary discovery panels and the Semantic Passport." },+ { "name": "action-feedback", "value": "0 0 7px var(--frontend-stroke)", "purpose": "Active SVG focus only." }+ ],+ "motion": [+ { "name": "state-fast", "value": "140ms ease", "purpose": "Compact state, border, and background feedback." },+ { "name": "state-standard", "value": "180ms ease", "purpose": "Node focus, detail disclosure, and camera feedback." },+ { "name": "camera-settle", "value": "420ms cubic-bezier(0.22, 1, 0.36, 1)", "purpose": "Finite semantic camera movement." }+ ],+ "breakpoints": [+ { "name": "containment", "value": "720px" }+ ]+ },+ "components": [+ {+ "name": "Toolbar Button",+ "kind": "button",+ "refersTo": "toolbar-button",+ "description": "Compact desktop control with familiar text and a visible focus ring.",+ "html": "<button class=\"ds-toolbar-button\">Explore</button>",+ "css": ".ds-toolbar-button { min-height: 2.75rem; padding: 0.5rem 0.875rem; border: 1px solid #334155; border-radius: 0.5rem; background: rgba(15,23,42,0.8); color: #e2e8f0; font: 500 0.75rem/1.4 'JetBrains Mono', ui-monospace, monospace; transition: background 150ms ease, border-color 150ms ease; } .ds-toolbar-button:hover { background: rgba(15,23,42,0.95); border-color: #64748b; } .ds-toolbar-button:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }"+ },+ {+ "name": "Diagram Panel",+ "kind": "card",+ "refersTo": "diagram-panel",+ "description": "The dominant tonal canvas container.",+ "html": "<section class=\"ds-diagram-panel\"><strong>Architecture canvas</strong><small>Authoritative geometry stays dominant.</small></section>",+ "css": ".ds-diagram-panel { display: grid; gap: 0.5rem; min-width: 18rem; padding: 1.5rem; border: 1px solid #1e293b; border-radius: 1rem; background: rgba(15,23,42,0.5); color: #fff; font-family: 'JetBrains Mono', ui-monospace, monospace; } .ds-diagram-panel small { color: #94a3b8; } .ds-diagram-panel:hover { border-color: #334155; } .ds-diagram-panel:focus-within { outline: 2px solid #22d3ee; outline-offset: 2px; }"+ },+ {+ "name": "Node Finder Field",+ "kind": "input",+ "refersTo": "search-field",+ "description": "One continuous technical search field with no decorative split controls.",+ "html": "<input class=\"ds-search-field\" placeholder=\"Search labels or IDs\" aria-label=\"Search labels or IDs\">",+ "css": ".ds-search-field { width: 20rem; padding: 0.58rem 0.65rem; border: 1px solid #334155; border-radius: 0.5rem; background: #0f172a; color: #fff; font: 400 0.75rem/1.4 'JetBrains Mono', ui-monospace, monospace; transition: border-color 160ms ease, box-shadow 160ms ease; } .ds-search-field::placeholder { color: #7d8da1; } .ds-search-field:hover { border-color: #64748b; } .ds-search-field:focus-visible { outline: none; border-color: #22d3ee; box-shadow: 0 0 0 2px rgba(34,211,238,0.2); }"+ },+ {+ "name": "Semantic Passport",+ "kind": "custom",+ "description": "One focused node's compact metadata, relationships, and optional verified sources.",+ "html": "<aside class=\"ds-passport\"><span>SEMANTIC PASSPORT</span><strong>Entry Surfaces</strong><small>frontend · entry</small></aside>",+ "css": ".ds-passport { display: grid; gap: 0.4rem; width: 18rem; padding: 0.75rem; border: 1px solid #22d3ee; border-radius: 0.82rem; background: #0f172a; color: #fff; box-shadow: 0 18px 48px rgba(0,0,0,0.3); font-family: 'JetBrains Mono', ui-monospace, monospace; } .ds-passport span { color: #22d3ee; font-size: 0.5rem; font-weight: 800; letter-spacing: 0.14em; } .ds-passport small { color: #94a3b8; } .ds-passport:focus-within { outline: 2px solid #22d3ee; outline-offset: 2px; }"+ },+ {+ "name": "Verified Source Beacon",+ "kind": "chip",+ "refersTo": "evidence-beacon",+ "description": "A quiet viewer-only count that identifies evidence-backed nodes.",+ "html": "<span class=\"ds-evidence-beacon\">SRC 2</span>",+ "css": ".ds-evidence-beacon { display: inline-grid; place-items: center; width: 30px; height: 12px; border: 1px solid #34d399; border-radius: 999px; background: #0f172a; color: #34d399; font: 800 5.5px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.06em; transition: opacity 160ms ease, filter 160ms ease; } .ds-evidence-beacon:hover { filter: drop-shadow(0 0 4px rgba(52,211,153,0.72)); } .ds-evidence-beacon:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }"+ }+ ],+ "narrative": {+ "northStar": "The Evidence Console",+ "overview": "Archify is a composed technical instrument, not a drawing suite. The canvas carries one spatial narrative; restrained controls and progressive disclosure let a reader move from the primary path to exact authored relationships, metadata, and verified code evidence without losing orientation. The visual system is precise, dark-first, and vivid only where semantics earn it. Light mode and Blueprint preserve the same vocabulary rather than becoming separate products. Motion has one bounded owner, finishes, and never carries meaning that disappears in a still frame. Desktop is the primary surface; narrow screens receive containment, not a second interface.",+ "keyCharacteristics": [+ "One dominant technical canvas with compact, low-interference chrome.",+ "A fixed semantic color vocabulary shared by nodes, edges, legends, focus, and evidence.",+ "Mono-forward typography, small labels, and deliberate density for engineering review.",+ "Viewer state stays outside canonical exports; proof remains portable and deterministic.",+ "State transitions are 140–200ms; authored story motion may be longer but finite and reader-controlled."+ ],+ "rules": [+ { "name": "The Semantic Color Rule", "body": "Every saturated color maps to a node or relationship meaning; never add an accent merely to make a surface lively.", "section": "colors" },+ { "name": "The Theme Parity Rule", "body": "Light, dark, Signal Flow, and Blueprint may change material and contrast, but must preserve category identity and information priority.", "section": "colors" },+ { "name": "The One Voice Rule", "body": "UI and diagram chrome remain mono-forward; never introduce a display font inside the generated artifact.", "section": "typography" },+ { "name": "The Legibility Floor Rule", "body": "Tiny labels are metadata, not prose. If a reader must parse a sentence, promote it to body size or disclose it on focus.", "section": "typography" },+ { "name": "The Flat-at-Rest Rule", "body": "A static card or control uses border and tone; a shadow must explain layering or state.", "section": "elevation" },+ { "name": "The Canonical Clean Rule", "body": "Viewer glow, overlays, focus, and temporary marks are removed from visual exports unless the export explicitly owns that narrative.", "section": "elevation" }+ ],+ "dos": [+ "Do make the primary path legible before adding secondary relationships or detail.",+ "Do derive every focus, route, story, source link, receipt, and count from authored or locally verified evidence.",+ "Do keep ordinary artifacts source-free and make repository evidence explicitly opt-in.",+ "Do use 140–200ms transitions for control state and honor prefers-reduced-motion.",+ "Do preserve keyboard access, visible focus, semantic labels, dark/light parity, and non-color state cues.",+ "Do keep runtime exploration outside canonical SVG, raster, Share Card, and WebM backgrounds."+ ],+ "donts": [+ "Don't build generic Mermaid beautifiers that change themes without improving information architecture.",+ "Don't turn Archify into WYSIWYG drawing suites whose editing chrome becomes the product.",+ "Don't ship motion-first graph demos that imply relationships or activity not present in the authored source.",+ "Don't use dense dashboard shells, endless identical card grids, decorative glass, gradient text, and other AI-generated interface clichés.",+ "Don't add vendor-icon catalogues or product-name matching that weaken Archify's portable semantic vocabulary.",+ "Don't create another permanent panel when the Semantic Passport, Node Finder, or existing canvas can carry the capability.",+ "Don't change the README Hero as a side effect of artifact or viewer iteration."+ ]+ }+}diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 5ea14e97..f5a2b21b 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,7 @@ All notable changes are documented here. Format loosely follows [Keep a Changelo## [Unreleased]### Added+- **Verified Source Beacons.** Evidence-backed Architecture nodes now show one quiet viewer-only `SRC n` marker derived exclusively from the already verified repository payload. The node remains the single focus target and opens the existing Semantic Passport; screen-reader labels disclose the count, focus/routes/stories/guided views keep one coherent node state, and Classic, Signal Flow, Blueprint, dark, and light reuse the same proof-green vocabulary. Ordinary artifacts remain unchanged, while SVG, raster, Share Card, and WebM backgrounds strip the marker and restore the canonical node label. No parser, crawler, inferred relationship, panel, toolbar control, schema expansion, dependency, hosted runtime, or mobile product surface was added.- **Revision-verified Repository Evidence Passport.** Architecture diagrams can opt into public GitHub source links by declaring a repository URL, a full commit SHA, and one to three repo-relative sources per component, then passing `--repo-root` to `render`, `deliver`, `preview`, or `validate`. Archify verifies the local origin, commit, blobs, and optional line ranges before publishing; verified links appear in Semantic Passport and Node Finder while staying outside the canonical SVG and every visual export. Plain diagrams remain the default, other diagram modes reject the option, and private or unpinned evidence is deliberately out of scope.### Fixeddiff --git a/DESIGN.md b/DESIGN.mdnew file mode 100644index 00000000..6b02d6e3--- /dev/null+++ b/DESIGN.md@@ -0,0 +1,226 @@+---+name: Archify+description: A precise, vivid technical instrument for trustworthy interactive architecture maps.+colors:+ canvas: "#020617"+ mask: "#0F172A"+ ink: "#FFFFFF"+ muted: "#94A3B8"+ dim: "#475569"+ border: "#1E293B"+ frontend: "#22D3EE"+ backend: "#34D399"+ database: "#A78BFA"+ cloud: "#FBBF24"+ security: "#FB7185"+ messagebus: "#FB923C"+ external: "#94A3B8"+typography:+ headline:+ fontFamily: "JetBrains Mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"+ fontSize: "1.5rem"+ fontWeight: 700+ lineHeight: 1.2+ letterSpacing: "-0.025em"+ title:+ fontFamily: "JetBrains Mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"+ fontSize: "0.875rem"+ fontWeight: 600+ lineHeight: 1.4+ letterSpacing: "normal"+ body:+ fontFamily: "JetBrains Mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"+ fontSize: "0.75rem"+ fontWeight: 400+ lineHeight: 1.55+ letterSpacing: "normal"+ label:+ fontFamily: "JetBrains Mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"+ fontSize: "0.625rem"+ fontWeight: 700+ lineHeight: 1.35+ letterSpacing: "0.12em"+rounded:+ precise: "0.2rem"+ control: "0.5rem"+ panel: "1rem"+ pill: "999px"+spacing:+ xs: "0.25rem"+ sm: "0.5rem"+ md: "0.75rem"+ lg: "1rem"+ xl: "1.5rem"+ page: "2rem"+components:+ toolbar-button:+ backgroundColor: "{colors.mask}"+ textColor: "{colors.ink}"+ typography: "{typography.body}"+ rounded: "{rounded.control}"+ padding: "0.5rem 0.875rem"+ height: "2.75rem"+ diagram-panel:+ backgroundColor: "{colors.mask}"+ textColor: "{colors.ink}"+ rounded: "{rounded.panel}"+ padding: "1.5rem"+ search-field:+ backgroundColor: "{colors.mask}"+ textColor: "{colors.ink}"+ typography: "{typography.body}"+ rounded: "{rounded.control}"+ padding: "0.58rem 0.65rem"+ evidence-beacon:+ backgroundColor: "{colors.mask}"+ textColor: "{colors.backend}"+ typography: "{typography.label}"+ rounded: "{rounded.pill}"+ size: "30px × 12px"+---++# Design System: Archify++## Overview++**Creative North Star: "The Evidence Console"**++Archify is a composed technical instrument, not a drawing suite. The canvas carries one spatial narrative; restrained controls and progressive disclosure let a reader move from the primary path to exact authored relationships, metadata, and verified code evidence without losing orientation.++The visual system is precise, dark-first, and vivid only where semantics earn it. Light mode and Blueprint preserve the same vocabulary rather than becoming separate products. Motion has one bounded owner, finishes, and never carries meaning that disappears in a still frame. Desktop is the primary surface; narrow screens receive containment, not a second interface.++**Key Characteristics:**++- One dominant technical canvas with compact, low-interference chrome.+- A fixed semantic color vocabulary shared by nodes, edges, legends, focus, and evidence.+- Mono-forward typography, small labels, and deliberate density for engineering review.+- Viewer state stays outside canonical exports; proof remains portable and deterministic.+- State transitions are 140–200ms; authored story motion may be longer but finite and reader-controlled.++## Colors++The palette is a midnight console with seven semantic signals; color identifies meaning, never decoration.++### Primary++- **Verified Cyan** (`frontend`): the main focus, navigation, and frontend signal. Its scarcity establishes hierarchy.++### Secondary++- **Proof Green** (`backend`): backend semantics, verified evidence, and successful state.+- **Repository Violet** (`database`): persisted state, stores, and inward relationships.++### Tertiary++- **Boundary Rose** (`security`): policy, security, and guarded paths.+- **Cloud Amber** (`cloud`), **Transit Orange** (`messagebus`), and **External Slate** (`external`): stable semantic categories, never interchangeable accents.++### Neutral++- **Midnight Canvas** (`canvas`) and **Ink Mask** (`mask`): the dark workspace and opaque geometry mask.+- **Instrument Ink** (`ink`), **Quiet Copy** (`muted`), **Dim Annotation** (`dim`), and **Structural Border** (`border`): the text and containment ladder.++### Named Rules++**The Semantic Color Rule.** Every saturated color maps to a node or relationship meaning; never add an accent merely to make a surface lively.++**The Theme Parity Rule.** Light, dark, Signal Flow, and Blueprint may change material and contrast, but must preserve category identity and information priority.++## Typography++**Display Font:** JetBrains Mono (with system monospace fallbacks)<br>+**Body Font:** JetBrains Mono (with system monospace fallbacks)<br>+**Label/Mono Font:** JetBrains Mono++**Character:** A single mono family makes the artifact feel authored by an engineering instrument. Hierarchy comes from weight, scale, spacing, and case rather than a decorative display face.++### Hierarchy++- **Headline** (700, `1.5rem`, 1.2): artifact title only.+- **Title** (600, `0.875rem`, 1.4): panels, cards, and selected semantic objects.+- **Body** (400, `0.75rem`, 1.55): explanatory copy and relationship details.+- **Label** (700, `0.625rem`, `0.12em`, uppercase): state, modes, metadata, and compact proof markers.++### Named Rules++**The One Voice Rule.** UI and diagram chrome remain mono-forward; never introduce a display font inside the generated artifact.++**The Legibility Floor Rule.** Tiny labels are metadata, not prose. If a reader must parse a sentence, promote it to body size or disclose it on focus.++## Elevation++Archify is flat and tonal by default. Borders and surface contrast establish structure; shadows appear only on floating controls, temporary panels, active focus, or the Signal Flow atmosphere. Blueprint removes glow and squares materials to keep the review surface exact.++### Shadow Vocabulary++- **Canvas Lift** (`0 28px 80px rgba(0,0,0,0.34)`): Signal Flow diagram surface only.+- **Floating Panel** (`0 18px 48px rgba(0,0,0,0.30)`): temporary discovery panels and the Semantic Passport.+- **Action Feedback** (`0 0 7px var(--frontend-stroke)`): active SVG focus only, never an idle decoration.++### Named Rules++**The Flat-at-Rest Rule.** A static card or control uses border and tone; a shadow must explain layering or state.++**The Canonical Clean Rule.** Viewer glow, overlays, focus, and temporary marks are removed from visual exports unless the export explicitly owns that narrative.++## Components++### Buttons++- **Shape:** compact rounded rectangle (`0.5rem`), or precise corners (`0.2rem`) in Blueprint.+- **Primary:** translucent toolbar material, one-pixel structural border, mono body label, and at least `2.75rem` height.+- **Hover / Focus:** 150ms border/background response; `2px` cyan focus ring with `2px` offset.+- **Secondary / Ghost:** transparent within menus; never add a second saturated fill hierarchy.++### Chips++- **Style:** quiet bordered capsules for semantic metadata; selected state uses the owning semantic color.+- **State:** a chip may summarize focus, mode, count, or evidence, but must not become an unlabeled icon-only control.++### Cards / Containers++- **Corner Style:** composed panel corners (`1rem`), reduced to `0.35rem` in Blueprint.+- **Background:** tonal panel over the canvas, with a one-pixel border.+- **Shadow Strategy:** flat by default; floating or Signal Flow surfaces use the elevation vocabulary.+- **Internal Padding:** `1.25rem`–`1.5rem` for panels; compact proof blocks may use `0.5rem`–`0.75rem`.++### Inputs / Fields++- **Style:** one continuous bordered field, `0.5rem` corners, muted placeholder, and compact mono body text.+- **Focus:** no browser outline; shift the border to Verified Cyan and add a restrained two-pixel halo.+- **Error / Disabled:** preserve readable text and add a non-color cue; never rely on opacity alone for failure.++### Navigation++- **Style:** the diagram remains dominant. Toolbar, guided views, map, search, and passport appear only when relevant and reuse familiar labels.+- **Default / Hover / Active:** 140–200ms state response; active state combines text, border, shape, or marker—not color alone.+- **Narrow screens:** contain and stack existing controls safely; do not create a dedicated mobile product surface.++### Semantic Passport++One focused node opens one compact proof surface containing stable ID, authored metadata, relationships, and optional revision-pinned sources. It is the single destination for details; new capabilities should route here before proposing another panel.++### Verified Source Beacon++An evidence-backed node receives one viewer-only `SRC n` capsule in its upper-right corner. It inherits node state, adds no tab stop, and is stripped from every canonical visual export.++## Do's and Don'ts++### Do:++- **Do** make the primary path legible before adding secondary relationships or detail.+- **Do** derive every focus, route, story, source link, receipt, and count from authored or locally verified evidence.+- **Do** keep ordinary artifacts source-free and make repository evidence explicitly opt-in.+- **Do** use 140–200ms transitions for control state and honor `prefers-reduced-motion`.+- **Do** preserve keyboard access, visible focus, semantic labels, dark/light parity, and non-color state cues.+- **Do** keep runtime exploration outside canonical SVG, raster, Share Card, and WebM backgrounds.++### Don't:++- **Don't** build generic Mermaid beautifiers that change themes without improving information architecture.+- **Don't** turn Archify into WYSIWYG drawing suites whose editing chrome becomes the product.+- **Don't** ship motion-first graph demos that imply relationships or activity not present in the authored source.+- **Don't** use dense dashboard shells, endless identical card grids, decorative glass, gradient text, and other AI-generated interface clichés.+- **Don't** add vendor-icon catalogues or product-name matching that weaken Archify's portable semantic vocabulary.+- **Don't** create another permanent panel when the Semantic Passport, Node Finder, or existing canvas can carry the capability.+- **Don't** change the README Hero as a side effect of artifact or viewer iteration.diff --git a/PRODUCT.md b/PRODUCT.mdnew file mode 100644index 00000000..bb1d56b3--- /dev/null+++ b/PRODUCT.md@@ -0,0 +1,37 @@+# Product++## Register++product++## Users++Software engineers, architects, technical leads, reviewers, and AI coding agents who need to understand or explain a codebase, system, workflow, request path, data pipeline, or lifecycle. They usually work from a desktop in an engineering or review context and need a trustworthy artifact they can inspect, present, and share without adopting a hosted diagram editor.++## Product Purpose++Archify turns repository evidence or a bounded system description into a polished, interactive technical map directly in an agent conversation. Success means a reader can understand the primary story quickly, inspect exact authored relationships and evidence when needed, and carry one self-contained validated artifact into review, documentation, or presentation.++## Brand Personality++Precise, composed, vivid. Archify should feel like a confident technical instrument: visually memorable enough to invite exploration, restrained enough to keep topology and evidence authoritative, and explicit about what is generated, verified, optional, or unavailable.++## Anti-references++- Generic Mermaid beautifiers that change themes without improving information architecture.+- WYSIWYG drawing suites whose editing chrome becomes the product.+- Motion-first graph demos that imply relationships or activity not present in the authored source.+- Dense dashboard shells, endless identical card grids, decorative glass, gradient text, and other AI-generated interface clichés.+- Vendor-icon catalogues or product-name matching that weaken Archify's portable semantic vocabulary.++## Design Principles++1. Truth before spectacle: every focus, route, story, source link, and receipt must derive from authored or verified evidence.+2. One spatial narrative first: make the primary path legible before revealing secondary relationships and detail.+3. Progressive disclosure over permanent chrome: keep the canvas dominant and reuse focused tools instead of adding panels.+4. Motion has one bounded owner: static meaning must remain complete, motion must be finite and reader-controlled, and exports stay clean.+5. Portable proof: the default result is a self-contained artifact with deterministic validation and no required hosted runtime.++## Accessibility & Inclusion++Maintain keyboard access, visible focus, semantic labels, dark and light themes, non-color state cues, readable contrast, and `prefers-reduced-motion` behavior. Desktop is the primary product surface; narrow screens receive safe containment and usable controls rather than a separate mobile product. Viewer state, animation, and interaction must never be required to understand canonical exports.diff --git a/README.md b/README.mdindex ad557867..f5750418 100644--- a/README.md+++ b/README.md@@ -150,7 +150,7 @@ Architecture examples: [`web-app`](examples/web-app.html) · [`Archify pipeline`- **Atomic validation before delivery** — schema, layout, HTML/SVG, route, and label-to-route clearance checks must all pass before a showcase artifact replaces the last known good output.- **Last-good live preview** — an optional desktop loop watches one JSON file, refreshes only after the latest candidate passes every gate, and keeps the previous verified diagram visible when a save is incomplete or invalid.- **Truthful interaction** — focus, routes, role comparison, and stories reuse authored nodes and relationships instead of inventing topology.-- **Source evidence, only when requested** — Architecture nodes can open Git-verified files and line ranges pinned to one public commit; ordinary artifacts stay source-free.+- **Source evidence, only when requested** — Evidence-backed Architecture nodes mark themselves `SRC n` and open Git-verified files and line ranges pinned to one public commit; ordinary artifacts stay source-free.- **Portable by default** — the result is one HTML file; exports remain full-diagram and free of temporary viewer state.Archify is not a general-purpose drawing editor or a Mermaid theme. It turns technical intent into a communication artifact.diff --git a/README_EN.md b/README_EN.mdindex ad557867..f5750418 100644--- a/README_EN.md+++ b/README_EN.md@@ -150,7 +150,7 @@ Architecture examples: [`web-app`](examples/web-app.html) · [`Archify pipeline`- **Atomic validation before delivery** — schema, layout, HTML/SVG, route, and label-to-route clearance checks must all pass before a showcase artifact replaces the last known good output.- **Last-good live preview** — an optional desktop loop watches one JSON file, refreshes only after the latest candidate passes every gate, and keeps the previous verified diagram visible when a save is incomplete or invalid.- **Truthful interaction** — focus, routes, role comparison, and stories reuse authored nodes and relationships instead of inventing topology.-- **Source evidence, only when requested** — Architecture nodes can open Git-verified files and line ranges pinned to one public commit; ordinary artifacts stay source-free.+- **Source evidence, only when requested** — Evidence-backed Architecture nodes mark themselves `SRC n` and open Git-verified files and line ranges pinned to one public commit; ordinary artifacts stay source-free.- **Portable by default** — the result is one HTML file; exports remain full-diagram and free of temporary viewer state.Archify is not a general-purpose drawing editor or a Mermaid theme. It turns technical intent into a communication artifact.diff --git a/README_ZH.md b/README_ZH.mdindex 629d75a4..ca7b5dd9 100644--- a/README_ZH.md+++ b/README_ZH.md@@ -146,7 +146,7 @@ Architecture 示例:[`Web App`](examples/web-app.html) · [`Archify Pipeline`]- **原子交付前校验** —— Schema、布局、HTML/SVG、线路和标签到其他路径的净空检查必须全部通过,Showcase 成品才会替换上一份可信结果。- **保留最后好图的实时预览** —— 可选桌面循环只监听一个 JSON;只有最新候选通过全部门禁才刷新,半写入或无效保存时继续显示上一份验证成品。- **交互不编造拓扑** —— 聚焦、路径、角色对比和故事都复用作者定义的节点与关系。-- **只在需要时附源码证据** —— Architecture 节点可以打开由 Git 校验、固定到公开 commit 的文件与行号;普通成品不携带源码信息。+- **只在需要时附源码证据** —— 有证据的 Architecture 节点会显示 `SRC n`,并可打开由 Git 校验、固定到公开 commit 的文件与行号;普通成品不携带源码信息。- **结果默认便携** —— 一个 HTML 文件即可分享;导出永远是完整原图,不携带临时 Viewer 状态。Archify 不是通用绘图编辑器,也不是 Mermaid 主题;它负责把技术意图变成可交流的成品。diff --git a/archify.zip b/archify.zipindex 8ab22b79..1fc1006a 100644Binary files a/archify.zip and b/archify.zip differdiff --git a/archify/assets/template.html b/archify/assets/template.htmlindex 97b0fd08..5710ea01 100644--- a/archify/assets/template.html+++ b/archify/assets/template.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4676,6 +4712,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4752,7 +4798,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -5969,21 +6015,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/archify/test/real-repository-proof.test.mjs b/archify/test/real-repository-proof.test.mjsindex 4b63f99d..1f2a517e 100644--- a/archify/test/real-repository-proof.test.mjs+++ b/archify/test/real-repository-proof.test.mjs@@ -1,6 +1,6 @@import { test } from 'node:test';import assert from 'node:assert/strict';-import { execFileSync } from 'node:child_process';+import { execFileSync, spawnSync } from 'node:child_process';import fs from 'node:fs';import os from 'node:os';import path from 'node:path';@@ -12,6 +12,27 @@ const repoRoot = path.resolve(skillRoot, '..');const sourcePath = path.join(repoRoot, 'docs', 'cases', 'mco-runtime.architecture.json');const artifactPath = path.join(repoRoot, 'docs', 'cases', 'mco-runtime.architecture.html');const shareCardPath = path.join(repoRoot, 'docs', 'assets', 'mco-runtime-share-card.png');+const cli = path.join(skillRoot, 'bin', 'archify.mjs');++function evidencePayload(html) {+ const match = html.match(/<script id="archify-source-evidence-data" type="application\/json">([\s\S]*?)<\/script>/);+ assert.ok(match, 'checked-in MCO proof is missing verified repository evidence');+ return JSON.parse(match[1]);+}++function localMcoRoot() {+ const candidates = [+ process.env.ARCHIFY_MCO_REPO_ROOT,+ path.resolve(repoRoot, '..', 'mco'),+ ].filter(Boolean);+ return candidates.find(candidate => {+ if (!fs.existsSync(path.join(candidate, '.git'))) return false;+ const revision = spawnSync('git', ['-C', candidate, 'cat-file', '-e', '9f1a1cf1afdc04d7b5406782b40dfec76d9bc798^{commit}']);+ if (revision.status !== 0) return false;+ const origin = spawnSync('git', ['-C', candidate, 'remote', 'get-url', 'origin'], { encoding: 'utf8' });+ return origin.status === 0 && /github\.com[:/]mco-org\/mco(?:\.git)?\/?$/i.test(origin.stdout.trim());+ }) || null;+}test('MCO proof is source-backed, reproducible, and linked from every README', () => {const source = JSON.parse(fs.readFileSync(sourcePath, 'utf8'));@@ -25,29 +46,69 @@ test('MCO proof is source-backed, reproducible, and linked from every README', (]);assert.equal(source.components.length, 13);assert.equal(source.connections.length, 12);+ assert.deepEqual(source.meta.repository, {+ url: 'https://github.com/mco-org/mco',+ revision: '9f1a1cf1afdc04d7b5406782b40dfec76d9bc798',+ });+ const references = source.components.reduce((count, component) => count + (component.sources?.length || 0), 0);+ assert.equal(references, 13);assert.match(JSON.stringify(source.cards), /main @ 9f1a1cf/);assert.match(JSON.stringify(source.cards), /github\.com\/mco-org\/mco/);- const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'archify-mco-proof-'));- const regenerated = path.join(tmp, 'mco-runtime.architecture.html');- const receipt = JSON.parse(execFileSync(process.execPath, [- path.join(skillRoot, 'bin', 'archify.mjs'),- 'deliver',- 'architecture',- sourcePath,- regenerated,- '--quality',- 'showcase',- '--json',- ], { encoding: 'utf8' }));- assert.equal(receipt.ok, true);- assert.equal(receipt.validation.errors, 0);- assert.equal(receipt.validation.warnings, 0);- assert.equal(- fs.readFileSync(regenerated, 'utf8'),- fs.readFileSync(artifactPath, 'utf8'),- 'checked-in MCO artifact drifted from its typed source',- );+ const checkedInHtml = fs.readFileSync(artifactPath, 'utf8');+ const evidence = evidencePayload(checkedInHtml);+ assert.equal(evidence.verified, true);+ assert.equal(evidence.repository.revision, source.meta.repository.revision);+ assert.equal(evidence.referenceCount, references);+ assert.match(checkedInHtml, /Archify\.sourceEvidence\.installBeacons\(\)/);+ execFileSync(process.execPath, [cli, 'check', artifactPath], { encoding: 'utf8' });++ const mcoRoot = localMcoRoot();+ if (mcoRoot) {+ const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'archify-mco-proof-'));+ const regenerated = path.join(tmp, 'mco-runtime.architecture.html');+ const receipt = JSON.parse(execFileSync(process.execPath, [+ cli,+ 'deliver',+ 'architecture',+ sourcePath,+ regenerated,+ '--quality',+ 'showcase',+ '--repo-root',+ mcoRoot,+ '--json',+ ], { encoding: 'utf8' }));+ assert.equal(receipt.ok, true);+ assert.equal(receipt.validation.errors, 0);+ assert.equal(receipt.validation.warnings, 0);+ assert.deepEqual(receipt.evidence, {+ verified: true,+ repository: source.meta.repository.url,+ revision: source.meta.repository.revision,+ references,+ });+ assert.equal(+ fs.readFileSync(regenerated, 'utf8'),+ checkedInHtml,+ 'checked-in MCO artifact drifted from its typed source and verified repository',+ );+ } else {+ const output = path.join(os.tmpdir(), `archify-mco-proof-no-root-${process.pid}.html`);+ const result = spawnSync(process.execPath, [+ cli,+ 'deliver',+ 'architecture',+ sourcePath,+ output,+ '--quality',+ 'showcase',+ '--json',+ ], { encoding: 'utf8' });+ assert.equal(result.status, 1);+ assert.match(JSON.parse(result.stdout).error, /Pass --repo-root/);+ assert.equal(fs.existsSync(output), false);+ }const png = fs.readFileSync(shareCardPath);assert.equal(png.subarray(0, 8).toString('hex'), '89504e470d0a1a0a');diff --git a/archify/test/repository-evidence.test.mjs b/archify/test/repository-evidence.test.mjsindex 75a0d85a..306a84cf 100644--- a/archify/test/repository-evidence.test.mjs+++ b/archify/test/repository-evidence.test.mjs@@ -91,6 +91,11 @@ test('repository evidence is revision-verified, receipt-backed, searchable, andassert.match(html, /var sourceSearch = sources\.map/);assert.match(html, /renderSourceEvidence\(id\)/);assert.match(html, /referrerPolicy = 'no-referrer'/);+ assert.match(html, /classList\.add\('source-evidence-beacon'\)/);+ assert.match(html, /text\.textContent = 'SRC ' \+ count/);+ assert.match(html, /Archify\.sourceEvidence\.installBeacons\(\)/);+ assert.match(html, /querySelectorAll\('\[data-source-evidence-beacon\]'\)/);+ assert.match(html, /data-source-evidence-original-label/);const svg = html.match(/<svg\b[\s\S]*?<\/svg>/)?.[0] || '';assert.doesNotMatch(svg, /src\/router\.js|github\.com\/example\/evidence-repo|source-evidence/);@@ -104,6 +109,8 @@ test('repository evidence is opt-in and never appears in ordinary artifacts', ()const html = fs.readFileSync(output, 'utf8');assert.doesNotMatch(html, /id="archify-source-evidence-data"/);assert.match(html, /id="focus-evidence" hidden/);+ const svg = html.match(/<svg\b[\s\S]*?<\/svg>/)?.[0] || '';+ assert.doesNotMatch(svg, /source-evidence-beacon|data-source-evidence-count/);});test('evidence fails closed without a root, on wrong origin, missing blobs, or impossible lines', () => {diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gifindex 7f2d4566..7c31ff71 100644Binary files a/docs/assets/archify-live-proof.gif and b/docs/assets/archify-live-proof.gif differdiff --git a/docs/assets/archify-live-proof.json b/docs/assets/archify-live-proof.jsonindex a54d289f..d12281ec 100644--- a/docs/assets/archify-live-proof.json+++ b/docs/assets/archify-live-proof.json@@ -7,13 +7,13 @@"fps": 10,"frameCount": 54,"durationSeconds": 5.4,- "bytes": 1702853,- "sha256": "29cdc49abd4669694c24f88f8293d5196d9ba2d157c479c81708b16615c72824",+ "bytes": 1668403,+ "sha256": "c55bda4ba0f16411870fea6283035d587555cfc840b1a82fe6f4b1132e898bdf","scenes": [{"id": "signal-flow","artifact": "docs/gallery/artifacts/agent-tool-call.workflow.html",- "artifactSha256": "1e9cc73669e2c164794a5ec4541643fc2f33668a3050aaba6718bae44c98ca7d",+ "artifactSha256": "a0c85d9d7a56aa8130d8f82ef1c4628b3301f924c6e7eb5432b3c3cbb7b54208","view": "happy-path","eyebrow": "WORKFLOW · SIGNAL FLOW","title": "Agent Tool Call",@@ -22,7 +22,7 @@{"id": "blueprint","artifact": "docs/gallery/artifacts/production-deployment.architecture.html",- "artifactSha256": "47493c9094bf3f9490680c26e52d252ac2ccfacb8c88946751f054cdeddb4491",+ "artifactSha256": "3e5b0bcf76f245fae1cb2625ff3ab804fececfb5f547ba8381b64c48372b1965","view": "request-boundary","eyebrow": "ARCHITECTURE · BLUEPRINT","title": "Production Deployment",@@ -31,7 +31,7 @@{"id": "classic","artifact": "docs/gallery/artifacts/cache-miss.sequence.html",- "artifactSha256": "cf31805f2e1646457102c9c9820c7bb43564ca803ce02f88f0acd11be8216191",+ "artifactSha256": "9511315ce2f30c98f8f8d623f7ae43921805a3e0fa0ebc2ccb1bb8f01b081cf4","view": "cache-fallback","eyebrow": "SEQUENCE · CLASSIC","title": "Cache Miss Request",diff --git a/docs/cases/mco-runtime.architecture.html b/docs/cases/mco-runtime.architecture.htmlindex 27ec4682..1ba8961e 100644--- a/docs/cases/mco-runtime.architecture.html+++ b/docs/cases/mco-runtime.architecture.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -3923,7 +3959,7 @@</div><script id="archify-guided-views-data" type="application/json">[{"id":"dispatch-path","label":"Dispatch path","focus":["callers","entry","router","policy","workflow","adapters","provider_clis"],"note":"An explicit provider team crosses one validated execution-policy boundary before MCO starts parallel work."},{"id":"answer-evidence","label":"Answer evidence","focus":["adapters","answer_transport","artifacts","consumers"],"note":"Provider output is decoded and persisted without turning raw answers into an automatic decision."},{"id":"durable-sessions","label":"Durable sessions","focus":["router","session_daemon","session_state"],"note":"Detached local workers use Unix sockets plus state.json and history.jsonl for resumable sessions."}]</script>-+ <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"},"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><div class="guided-views no-print" id="guided-views" hidden aria-label="Guided diagram views"><button id="guided-view-prev" type="button" aria-label="Previous guided view" title="Previous guided view ([)">←</button><div class="guided-view-copy">@@ -4795,6 +4831,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4871,7 +4917,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6088,21 +6134,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/cases/mco-runtime.architecture.json b/docs/cases/mco-runtime.architecture.jsonindex 51130012..fef93d23 100644--- a/docs/cases/mco-runtime.architecture.json+++ b/docs/cases/mco-runtime.architecture.json@@ -8,6 +8,10 @@"animation": "trace","visual_preset": "signal-flow","quality_profile": "showcase",+ "repository": {+ "url": "https://github.com/mco-org/mco",+ "revision": "9f1a1cf1afdc04d7b5406782b40dfec76d9bc798"+ },"views": [{"id": "dispatch-path",@@ -44,7 +48,11 @@"label": "Entry Surfaces","sublabel": "npm shim · Python CLI · MCP","pos": [190, 300],- "size": [150, 60]+ "size": [150, 60],+ "sources": [+ { "path": "bin/mco.js", "line": 1, "label": "npm entry" },+ { "path": "runtime/mcp_server.py", "line": 108, "end_line": 153, "label": "MCP entry" }+ ]},{"id": "router",@@ -52,7 +60,10 @@"label": "Command Router","sublabel": "run · review · doctor · session","pos": [390, 300],- "size": [150, 60]+ "size": [150, 60],+ "sources": [+ { "path": "runtime/cli.py", "line": 1945, "label": "CLI main" }+ ]},{"id": "config",@@ -61,7 +72,10 @@"sublabel": "files · explicit provider team","pos": [600, 130],"size": [160, 60],- "tag": "no silent team"+ "tag": "no silent team",+ "sources": [+ { "path": "runtime/config.py", "line": 24, "label": "Review config" }+ ]},{"id": "policy",@@ -70,7 +84,10 @@"sublabel": "read_only · write · yolo","pos": [600, 300],"size": [160, 60],- "tag": "explicit boundary"+ "tag": "explicit boundary",+ "sources": [+ { "path": "runtime/policy.py", "line": 34, "label": "Provider policy" }+ ]},{"id": "workflow",@@ -78,7 +95,11 @@"label": "Invocation Workflow","sublabel": "parallel · chain · debate · synthesize","pos": [820, 300],- "size": [170, 60]+ "size": [170, 60],+ "sources": [+ { "path": "runtime/invocation_runtime.py", "line": 696, "label": "Workflow entry" },+ { "path": "runtime/invocation_runtime.py", "line": 156, "label": "Single invocation" }+ ]},{"id": "adapters",@@ -86,7 +107,11 @@"label": "Provider Adapters","sublabel": "shim / ACP · detect · run · poll · cancel","pos": [1050, 300],- "size": [170, 60]+ "size": [170, 60],+ "sources": [+ { "path": "runtime/adapters/__init__.py", "line": 57, "label": "Adapter registry" },+ { "path": "runtime/contracts.py", "line": 77, "label": "Provider contract" }+ ]},{"id": "provider_clis",@@ -102,7 +127,10 @@"label": "Answer Transport","sublabel": "plain · JSON · JSONL · ACP events","pos": [1050, 500],- "size": [170, 60]+ "size": [170, 60],+ "sources": [+ { "path": "runtime/answer_transport.py", "line": 79, "label": "Transport decoders" }+ ]},{"id": "artifacts",@@ -111,7 +139,10 @@"sublabel": "answers · result.md · run.json","pos": [1260, 500],"size": [170, 60],- "tag": "raw evidence"+ "tag": "raw evidence",+ "sources": [+ { "path": "runtime/invocation_artifacts.py", "line": 8, "label": "Artifact writer" }+ ]},{"id": "consumers",@@ -127,7 +158,10 @@"label": "Session Daemon","sublabel": "detached worker · Unix socket","pos": [385, 500],- "size": [160, 60]+ "size": [160, 60],+ "sources": [+ { "path": "runtime/session/daemon.py", "line": 50, "label": "Daemon context" }+ ]},{"id": "session_state",@@ -136,7 +170,10 @@"sublabel": "state.json · history.jsonl","pos": [600, 500],"size": [160, 60],- "tag": ".mco/sessions"+ "tag": ".mco/sessions",+ "sources": [+ { "path": "runtime/session/state.py", "line": 25, "label": "Session state" }+ ]}],"boundaries": [diff --git a/docs/gallery.html b/docs/gallery.htmlindex beabd3b7..023946e7 100644--- a/docs/gallery.html+++ b/docs/gallery.html@@ -324,7 +324,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 11E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="1e9cc73669e2c164794a5ec4541643fc2f33668a3050aaba6718bae44c98ca7d">1e9cc73669e2</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="a0c85d9d7a56aa8130d8f82ef1c4628b3301f924c6e7eb5432b3c3cbb7b54208">a0c85d9d7a56</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/agent-tool-call.workflow.html?present=1&play=1#view=happy-path" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -352,7 +352,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="47493c9094bf3f9490680c26e52d252ac2ccfacb8c88946751f054cdeddb4491">47493c9094bf</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="3e5b0bcf76f245fae1cb2625ff3ab804fececfb5f547ba8381b64c48372b1965">3e5b0bcf76f2</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/production-deployment.architecture.html?present=1&play=1#view=request-boundary" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -380,7 +380,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">7N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="cf31805f2e1646457102c9c9820c7bb43564ca803ce02f88f0acd11be8216191">cf31805f2e16</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="9511315ce2f30c98f8f8d623f7ae43921805a3e0fa0ebc2ccb1bb8f01b081cf4">9511315ce2f3</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/cache-miss.sequence.html?present=1&play=1#view=cache-fallback" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -408,7 +408,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="69efaaeadb260286252f7099dcaf6c87d456a11dab663ea8c7dcd56e9d870d82">69efaaeadb26</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="7de8dbf1ef4217b9969626f6e37436aa0d2a32eaecd521bbebe780f8566d2fbc">7de8dbf1ef42</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/release-delivery.workflow.html?present=1&play=1#view=approval-to-production" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -436,7 +436,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">11N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="28d5bd0b40a69f1d1bee30ba0bd7731cd77d34c75d1f1695b1645bcdb75bf649">28d5bd0b40a6</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="2be75c459e515344c6d5eebe05d57b3ea8d8121da5112fc6a6110cf70569f547">2be75c459e51</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/incident-response.workflow.html?present=1&play=1#view=mitigate-and-verify" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -464,7 +464,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="90b1e36a2349ff984629d803d12d8c8b3ac7707e0981733bb29ddc5044a76c36">90b1e36a2349</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="2af52c428001e1fa8e3e36e553f277f8a13a24a5984885821ed6e1fdf1e8527c">2af52c428001</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/product-analytics.dataflow.html?present=1&play=1#view=consent-boundary" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -492,7 +492,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">7N · 14E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="09361c5cab0a63c01896ea8f719c0b2f4612dbddec847d6a54064e844a8d434c">09361c5cab0a</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="c3f62087c1d9fd9945982135b17703dba6694f36a687cf089ad4db36519787de">c3f62087c1d9</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/async-job-roundtrip.sequence.html?present=1&play=1#view=work-and-retry" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -520,7 +520,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">12N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="28cfb49400b3ff96d7d4a6ebd97bae32cfdf8f86597a2ef33f90fec808ae2738">28cfb49400b3</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="249e0601daf48fc982ca8aea9fcd6101f70b77219cf8127430db923d91cc9352">249e0601daf4</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/event-stream.dataflow.html?present=1&play=1#view=order-transit" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -548,7 +548,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 5E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="2385eaddc81e4c2d56ea23077fad4540b195433358d00205be80704034e0fb41">2385eaddc81e</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="61e60dd71a87d4163ad748bc9b00964020d228eda58a2477d2aa6e703e79ef09">61e60dd71a87</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/agent-run.lifecycle.html?present=1&play=1#view=main-lifecycle" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -576,7 +576,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">11N · 6E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="9517099984856af3452af0fa1eb432d6e6be637ab27f9b84b20fe146d02bafc7">951709998485</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="f8157bb810c1db38a6b4332fb729cb79536f052b7a292406eda5a33b178bb1a6">f8157bb810c1</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/deployment-release.lifecycle.html?present=1&play=1#view=rollback-outcomes" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -604,7 +604,7 @@<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div><div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div><div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">10N · 9E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="47b23020b78a0aff76a04c0bf97d4391471fa1e33c9a4ab14b18179969c2f648">47b23020b78a</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="c5bb6ea2542526eef2c95276b9ebd87ca8412704bb2c1390b2b424fdea649bcc">c5bb6ea25425</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/web-app.architecture.html?present=1&play=1#view=request-path" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -681,8 +681,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 12,"edgeCount": 11,- "artifactBytes": 562473,- "artifactSha256": "1e9cc73669e2c164794a5ec4541643fc2f33668a3050aaba6718bae44c98ca7d",+ "artifactBytes": 567304,+ "artifactSha256": "a0c85d9d7a56aa8130d8f82ef1c4628b3301f924c6e7eb5432b3c3cbb7b54208","sourceBytes": 6470,"sourceSha256": "a3afc6b30044eb256aa15c6195ddfbbcd1a14880d99967ed5605bc621ffb7e5f","checks": [@@ -778,8 +778,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 561629,- "artifactSha256": "47493c9094bf3f9490680c26e52d252ac2ccfacb8c88946751f054cdeddb4491",+ "artifactBytes": 566460,+ "artifactSha256": "3e5b0bcf76f245fae1cb2625ff3ab804fececfb5f547ba8381b64c48372b1965","sourceBytes": 5308,"sourceSha256": "c3c4ddc8fd8910d8d2bcf2ba97434017d6fa347eb4ee436d2fb519dd0f27c814","checks": [@@ -875,8 +875,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 7,"edgeCount": 12,- "artifactBytes": 556120,- "artifactSha256": "cf31805f2e1646457102c9c9820c7bb43564ca803ce02f88f0acd11be8216191",+ "artifactBytes": 560951,+ "artifactSha256": "9511315ce2f30c98f8f8d623f7ae43921805a3e0fa0ebc2ccb1bb8f01b081cf4","sourceBytes": 4442,"sourceSha256": "30098d81006a18813bab447da698edf74604a1463770f01dc056b0af8cb314ef","checks": [@@ -972,8 +972,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 10,"edgeCount": 10,- "artifactBytes": 558739,- "artifactSha256": "69efaaeadb260286252f7099dcaf6c87d456a11dab663ea8c7dcd56e9d870d82",+ "artifactBytes": 563570,+ "artifactSha256": "7de8dbf1ef4217b9969626f6e37436aa0d2a32eaecd521bbebe780f8566d2fbc","sourceBytes": 5256,"sourceSha256": "44aa56ac6ca807937dfe84a6404e8b07d6394a38ae2ac53248a1985337dfd671","checks": [@@ -1069,8 +1069,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 11,"edgeCount": 10,- "artifactBytes": 558597,- "artifactSha256": "28d5bd0b40a69f1d1bee30ba0bd7731cd77d34c75d1f1695b1645bcdb75bf649",+ "artifactBytes": 563428,+ "artifactSha256": "2be75c459e515344c6d5eebe05d57b3ea8d8121da5112fc6a6110cf70569f547","sourceBytes": 5471,"sourceSha256": "9beb8698b275679a2fc92d4b51288cd5b5fc2115696d06b9168f3d7fef253a72","checks": [@@ -1166,8 +1166,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 10,"edgeCount": 10,- "artifactBytes": 560130,- "artifactSha256": "90b1e36a2349ff984629d803d12d8c8b3ac7707e0981733bb29ddc5044a76c36",+ "artifactBytes": 564961,+ "artifactSha256": "2af52c428001e1fa8e3e36e553f277f8a13a24a5984885821ed6e1fdf1e8527c","sourceBytes": 5719,"sourceSha256": "f71c89288f80255bdedcdc0057bcbc155d1d8b1b7476d024b35f4e27c730c974","checks": [@@ -1263,8 +1263,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 7,"edgeCount": 14,- "artifactBytes": 556905,- "artifactSha256": "09361c5cab0a63c01896ea8f719c0b2f4612dbddec847d6a54064e844a8d434c",+ "artifactBytes": 561736,+ "artifactSha256": "c3f62087c1d9fd9945982135b17703dba6694f36a687cf089ad4db36519787de","sourceBytes": 4483,"sourceSha256": "1b53d7c4ce7b2d8f6f40b8f33a394abe1d37fc991272b534c1ccd0255920ab52","checks": [@@ -1360,8 +1360,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 564085,- "artifactSha256": "28cfb49400b3ff96d7d4a6ebd97bae32cfdf8f86597a2ef33f90fec808ae2738",+ "artifactBytes": 568916,+ "artifactSha256": "249e0601daf48fc982ca8aea9fcd6101f70b77219cf8127430db923d91cc9352","sourceBytes": 5543,"sourceSha256": "bbfedc2f1b73bf50932490f7f56d45d5f853e970d2fab26660a04947a783969c","checks": [@@ -1457,8 +1457,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 10,"edgeCount": 5,- "artifactBytes": 553075,- "artifactSha256": "2385eaddc81e4c2d56ea23077fad4540b195433358d00205be80704034e0fb41",+ "artifactBytes": 557906,+ "artifactSha256": "61e60dd71a87d4163ad748bc9b00964020d228eda58a2477d2aa6e703e79ef09","sourceBytes": 4353,"sourceSha256": "1d6b34282e014cb2730662b1993158ec67bc0ad2a40520cb441aaee1ad21e4c6","checks": [@@ -1554,8 +1554,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"animation": "trace","nodeCount": 11,"edgeCount": 6,- "artifactBytes": 554452,- "artifactSha256": "9517099984856af3452af0fa1eb432d6e6be637ab27f9b84b20fe146d02bafc7",+ "artifactBytes": 559283,+ "artifactSha256": "f8157bb810c1db38a6b4332fb729cb79536f052b7a292406eda5a33b178bb1a6","sourceBytes": 4394,"sourceSha256": "aa614f0c9a82f210e301e382f362dfbd7f290bda4d5501de3c99a6cd81b4c0a4","checks": [@@ -1651,8 +1651,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"animation": "static","nodeCount": 10,"edgeCount": 9,- "artifactBytes": 554084,- "artifactSha256": "47b23020b78a0aff76a04c0bf97d4391471fa1e33c9a4ab14b18179969c2f648",+ "artifactBytes": 558915,+ "artifactSha256": "c5bb6ea2542526eef2c95276b9ebd87ca8412704bb2c1390b2b424fdea649bcc","sourceBytes": 3863,"sourceSha256": "01567b5e49cad5139baa071533a028d22f0e80fedfb49095e0d9330aee7f87db","checks": [diff --git a/docs/gallery/artifacts/agent-run.lifecycle.html b/docs/gallery/artifacts/agent-run.lifecycle.htmlindex 81272aed..cd7b0928 100644--- a/docs/gallery/artifacts/agent-run.lifecycle.html+++ b/docs/gallery/artifacts/agent-run.lifecycle.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4727,6 +4763,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4803,7 +4849,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6020,21 +6066,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/gallery/artifacts/agent-tool-call.workflow.html b/docs/gallery/artifacts/agent-tool-call.workflow.htmlindex 6d982a47..3e02861b 100644--- a/docs/gallery/artifacts/agent-tool-call.workflow.html+++ b/docs/gallery/artifacts/agent-tool-call.workflow.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4807,6 +4843,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4883,7 +4929,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6100,21 +6146,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/gallery/artifacts/async-job-roundtrip.sequence.html b/docs/gallery/artifacts/async-job-roundtrip.sequence.htmlindex 5f7ffb7d..a509220d 100644--- a/docs/gallery/artifacts/async-job-roundtrip.sequence.html+++ b/docs/gallery/artifacts/async-job-roundtrip.sequence.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4794,6 +4830,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4870,7 +4916,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6087,21 +6133,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.htmlindex de3e8572..22440599 100644--- a/docs/gallery/artifacts/cache-miss.sequence.html+++ b/docs/gallery/artifacts/cache-miss.sequence.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4778,6 +4814,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4854,7 +4900,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6071,21 +6117,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/gallery/artifacts/deployment-release.lifecycle.html b/docs/gallery/artifacts/deployment-release.lifecycle.htmlindex d44142bb..e8c2b331 100644--- a/docs/gallery/artifacts/deployment-release.lifecycle.html+++ b/docs/gallery/artifacts/deployment-release.lifecycle.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4741,6 +4777,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4817,7 +4863,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6034,21 +6080,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/gallery/artifacts/event-stream.dataflow.html b/docs/gallery/artifacts/event-stream.dataflow.htmlindex 0e050c40..9c5a52cc 100644--- a/docs/gallery/artifacts/event-stream.dataflow.html+++ b/docs/gallery/artifacts/event-stream.dataflow.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4813,6 +4849,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4889,7 +4935,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6106,21 +6152,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/gallery/artifacts/incident-response.workflow.html b/docs/gallery/artifacts/incident-response.workflow.htmlindex 43a7642e..67b4e832 100644--- a/docs/gallery/artifacts/incident-response.workflow.html+++ b/docs/gallery/artifacts/incident-response.workflow.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4776,6 +4812,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4852,7 +4898,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6069,21 +6115,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/gallery/artifacts/product-analytics.dataflow.html b/docs/gallery/artifacts/product-analytics.dataflow.htmlindex cb539363..b9ac8362 100644--- a/docs/gallery/artifacts/product-analytics.dataflow.html+++ b/docs/gallery/artifacts/product-analytics.dataflow.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4774,6 +4810,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4850,7 +4896,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6067,21 +6113,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/gallery/artifacts/production-deployment.architecture.html b/docs/gallery/artifacts/production-deployment.architecture.htmlindex 9d21fee7..e991bba4 100644--- a/docs/gallery/artifacts/production-deployment.architecture.html+++ b/docs/gallery/artifacts/production-deployment.architecture.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4793,6 +4829,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4869,7 +4915,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6086,21 +6132,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/gallery/artifacts/release-delivery.workflow.html b/docs/gallery/artifacts/release-delivery.workflow.htmlindex b7e523a7..541b0955 100644--- a/docs/gallery/artifacts/release-delivery.workflow.html+++ b/docs/gallery/artifacts/release-delivery.workflow.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4776,6 +4812,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4852,7 +4898,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6069,21 +6115,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/gallery/artifacts/web-app.architecture.html b/docs/gallery/artifacts/web-app.architecture.htmlindex fbe7ff8e..ec7dc59c 100644--- a/docs/gallery/artifacts/web-app.architecture.html+++ b/docs/gallery/artifacts/web-app.architecture.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4743,6 +4779,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4819,7 +4865,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6036,21 +6082,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.jsonindex eec168ec..82e4039e 100644--- a/docs/gallery/manifest.json+++ b/docs/gallery/manifest.json@@ -26,8 +26,8 @@"animation": "trace","nodeCount": 12,"edgeCount": 11,- "artifactBytes": 562473,- "artifactSha256": "1e9cc73669e2c164794a5ec4541643fc2f33668a3050aaba6718bae44c98ca7d",+ "artifactBytes": 567304,+ "artifactSha256": "a0c85d9d7a56aa8130d8f82ef1c4628b3301f924c6e7eb5432b3c3cbb7b54208","sourceBytes": 6470,"sourceSha256": "a3afc6b30044eb256aa15c6195ddfbbcd1a14880d99967ed5605bc621ffb7e5f","checks": [@@ -123,8 +123,8 @@"animation": "trace","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 561629,- "artifactSha256": "47493c9094bf3f9490680c26e52d252ac2ccfacb8c88946751f054cdeddb4491",+ "artifactBytes": 566460,+ "artifactSha256": "3e5b0bcf76f245fae1cb2625ff3ab804fececfb5f547ba8381b64c48372b1965","sourceBytes": 5308,"sourceSha256": "c3c4ddc8fd8910d8d2bcf2ba97434017d6fa347eb4ee436d2fb519dd0f27c814","checks": [@@ -220,8 +220,8 @@"animation": "trace","nodeCount": 7,"edgeCount": 12,- "artifactBytes": 556120,- "artifactSha256": "cf31805f2e1646457102c9c9820c7bb43564ca803ce02f88f0acd11be8216191",+ "artifactBytes": 560951,+ "artifactSha256": "9511315ce2f30c98f8f8d623f7ae43921805a3e0fa0ebc2ccb1bb8f01b081cf4","sourceBytes": 4442,"sourceSha256": "30098d81006a18813bab447da698edf74604a1463770f01dc056b0af8cb314ef","checks": [@@ -317,8 +317,8 @@"animation": "trace","nodeCount": 10,"edgeCount": 10,- "artifactBytes": 558739,- "artifactSha256": "69efaaeadb260286252f7099dcaf6c87d456a11dab663ea8c7dcd56e9d870d82",+ "artifactBytes": 563570,+ "artifactSha256": "7de8dbf1ef4217b9969626f6e37436aa0d2a32eaecd521bbebe780f8566d2fbc","sourceBytes": 5256,"sourceSha256": "44aa56ac6ca807937dfe84a6404e8b07d6394a38ae2ac53248a1985337dfd671","checks": [@@ -414,8 +414,8 @@"animation": "trace","nodeCount": 11,"edgeCount": 10,- "artifactBytes": 558597,- "artifactSha256": "28d5bd0b40a69f1d1bee30ba0bd7731cd77d34c75d1f1695b1645bcdb75bf649",+ "artifactBytes": 563428,+ "artifactSha256": "2be75c459e515344c6d5eebe05d57b3ea8d8121da5112fc6a6110cf70569f547","sourceBytes": 5471,"sourceSha256": "9beb8698b275679a2fc92d4b51288cd5b5fc2115696d06b9168f3d7fef253a72","checks": [@@ -511,8 +511,8 @@"animation": "trace","nodeCount": 10,"edgeCount": 10,- "artifactBytes": 560130,- "artifactSha256": "90b1e36a2349ff984629d803d12d8c8b3ac7707e0981733bb29ddc5044a76c36",+ "artifactBytes": 564961,+ "artifactSha256": "2af52c428001e1fa8e3e36e553f277f8a13a24a5984885821ed6e1fdf1e8527c","sourceBytes": 5719,"sourceSha256": "f71c89288f80255bdedcdc0057bcbc155d1d8b1b7476d024b35f4e27c730c974","checks": [@@ -608,8 +608,8 @@"animation": "trace","nodeCount": 7,"edgeCount": 14,- "artifactBytes": 556905,- "artifactSha256": "09361c5cab0a63c01896ea8f719c0b2f4612dbddec847d6a54064e844a8d434c",+ "artifactBytes": 561736,+ "artifactSha256": "c3f62087c1d9fd9945982135b17703dba6694f36a687cf089ad4db36519787de","sourceBytes": 4483,"sourceSha256": "1b53d7c4ce7b2d8f6f40b8f33a394abe1d37fc991272b534c1ccd0255920ab52","checks": [@@ -705,8 +705,8 @@"animation": "trace","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 564085,- "artifactSha256": "28cfb49400b3ff96d7d4a6ebd97bae32cfdf8f86597a2ef33f90fec808ae2738",+ "artifactBytes": 568916,+ "artifactSha256": "249e0601daf48fc982ca8aea9fcd6101f70b77219cf8127430db923d91cc9352","sourceBytes": 5543,"sourceSha256": "bbfedc2f1b73bf50932490f7f56d45d5f853e970d2fab26660a04947a783969c","checks": [@@ -802,8 +802,8 @@"animation": "trace","nodeCount": 10,"edgeCount": 5,- "artifactBytes": 553075,- "artifactSha256": "2385eaddc81e4c2d56ea23077fad4540b195433358d00205be80704034e0fb41",+ "artifactBytes": 557906,+ "artifactSha256": "61e60dd71a87d4163ad748bc9b00964020d228eda58a2477d2aa6e703e79ef09","sourceBytes": 4353,"sourceSha256": "1d6b34282e014cb2730662b1993158ec67bc0ad2a40520cb441aaee1ad21e4c6","checks": [@@ -899,8 +899,8 @@"animation": "trace","nodeCount": 11,"edgeCount": 6,- "artifactBytes": 554452,- "artifactSha256": "9517099984856af3452af0fa1eb432d6e6be637ab27f9b84b20fe146d02bafc7",+ "artifactBytes": 559283,+ "artifactSha256": "f8157bb810c1db38a6b4332fb729cb79536f052b7a292406eda5a33b178bb1a6","sourceBytes": 4394,"sourceSha256": "aa614f0c9a82f210e301e382f362dfbd7f290bda4d5501de3c99a6cd81b4c0a4","checks": [@@ -996,8 +996,8 @@"animation": "static","nodeCount": 10,"edgeCount": 9,- "artifactBytes": 554084,- "artifactSha256": "47b23020b78a0aff76a04c0bf97d4391471fa1e33c9a4ab14b18179969c2f648",+ "artifactBytes": 558915,+ "artifactSha256": "c5bb6ea2542526eef2c95276b9ebd87ca8412704bb2c1390b2b424fdea649bcc","sourceBytes": 3863,"sourceSha256": "01567b5e49cad5139baa071533a028d22f0e80fedfb49095e0d9330aee7f87db","checks": [diff --git a/docs/research-evidence-beacons-2026-07-23.md b/docs/research-evidence-beacons-2026-07-23.mdnew file mode 100644index 00000000..039b683e--- /dev/null+++ b/docs/research-evidence-beacons-2026-07-23.md@@ -0,0 +1,27 @@+# Verified Source Beacons — focused follow-up++Date: 2026-07-23+Decision: make already-verified repository evidence visible on the canvas; add no parser, panel, or inferred graph data.++## Current signal from adjacent projects++- Understand Anything makes each file/function/class node clickable and pairs selection with code, relationships, and explanation. Its own positioning is “graphs that teach,” not complexity for its own sake ([README at `6ae7187`](https://github.com/Egonex-AI/Understand-Anything/blob/6ae71878beb50226a1e4b7e2f52ac6468c86f74b/README.md#L51-L80)).+- CodeVisualizer gives “click nodes to navigate to code” first-class placement alongside pan, zoom, and local parsing ([README at `5b100b8`](https://github.com/DucPhamNgoc08/CodeVisualizer/blob/5b100b847ec9a86ac07129f7f6ed1a9deafc9ecc/README.md#L96-L119)).+- Fireworks Tech Graph continues to win attention through broad visual formats, validated semantic motion, offline HTML, and geometry checks ([README at `50c819d`](https://github.com/yizhiyanhua-ai/fireworks-tech-graph/blob/50c819d68fd4fee330b3010988cd13e98b678d44/README.md#L136-L153)). Archify should keep that artifact-level rigor while differentiating through trustworthy code evidence.++## The gap after Repository Evidence Passport++Archify already verifies a public GitHub origin, full revision, blobs, and optional line ranges before it writes an evidence artifact. It already exposes those links inside the Semantic Passport and includes their paths in Node Finder search. The remaining problem is discoverability: a reader looking at the canvas cannot tell which nodes have evidence until after selecting them.++## Bounded product contract++1. An evidence-backed node gets one quiet viewer-only `SRC n` beacon in its upper-right corner.+2. The beacon count comes only from the verified payload. Ordinary artifacts receive no beacon.+3. The node remains the single interaction target; selecting it opens the existing Semantic Passport. There is no extra toolbar item, modal, panel, or tab stop.+4. The beacon follows the node through focus, routes, stories, guided views, themes, and presets.+5. Screen-reader labels disclose the verified reference count.+6. SVG, raster, Share Card, and WebM backgrounds remove the runtime beacon and restore the canonical node label.++## Why this is the next slice++It turns a hidden trust feature into a visible reason to click without expanding Archify into an IDE, repository indexer, hosted graph, or drawing suite. The visual change is small enough to test exhaustively and useful enough to strengthen the core sentence: **see the architecture, then open the exact revision-pinned code that proves it.**diff --git a/examples/dataflow-product-analytics.html b/examples/dataflow-product-analytics.htmlindex cb539363..b9ac8362 100644--- a/examples/dataflow-product-analytics.html+++ b/examples/dataflow-product-analytics.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4774,6 +4810,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4850,7 +4896,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6067,21 +6113,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/examples/lifecycle-agent-run.html b/examples/lifecycle-agent-run.htmlindex 81272aed..cd7b0928 100644--- a/examples/lifecycle-agent-run.html+++ b/examples/lifecycle-agent-run.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4727,6 +4763,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4803,7 +4849,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6020,21 +6066,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.htmlindex de3e8572..22440599 100644--- a/examples/sequence-cache-miss-request.html+++ b/examples/sequence-cache-miss-request.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4778,6 +4814,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4854,7 +4900,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6071,21 +6117,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/examples/web-app-rendered.html b/examples/web-app-rendered.htmlindex fbe7ff8e..ec7dc59c 100644--- a/examples/web-app-rendered.html+++ b/examples/web-app-rendered.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4743,6 +4779,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4819,7 +4865,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6036,21 +6082,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/examples/web-app.html b/examples/web-app.htmlindex fbe7ff8e..ec7dc59c 100644--- a/examples/web-app.html+++ b/examples/web-app.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4743,6 +4779,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4819,7 +4865,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6036,21 +6082,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/examples/workflow-agent-tool-call-rendered.html b/examples/workflow-agent-tool-call-rendered.htmlindex 6d982a47..3e02861b 100644--- a/examples/workflow-agent-tool-call-rendered.html+++ b/examples/workflow-agent-tool-call-rendered.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4807,6 +4843,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4883,7 +4929,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6100,21 +6146,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.diff --git a/experiments/mco-showcase/mco-runtime.html b/experiments/mco-showcase/mco-runtime.htmlindex 2d74d938..a221b574 100644--- a/experiments/mco-showcase/mco-runtime.html+++ b/experiments/mco-showcase/mco-runtime.html@@ -3192,6 +3192,41 @@filter: drop-shadow(0 0 7px var(--frontend-stroke));outline: none;}+ /* Verified Source Beacons are installed at runtime only for nodes whose+ repository evidence passed the local revision/blob/line checks. They+ live inside the owning node so every focus, route, story, and guided+ view keeps one coherent opacity state. Export serialization removes+ them before producing the canonical SVG or any derived visual. */+ .source-evidence-beacon {+ pointer-events: none;+ opacity: 0.76;+ transition: opacity 160ms ease, filter 160ms ease;+ }+ .source-evidence-beacon rect {+ fill: color-mix(in srgb, var(--mask) 92%, var(--backend-stroke));+ stroke: color-mix(in srgb, var(--backend-stroke) 82%, var(--panel-border));+ stroke-width: 1;+ vector-effect: non-scaling-stroke;+ }+ .source-evidence-beacon text {+ fill: var(--backend-stroke);+ font-size: 5.5px;+ font-weight: 800;+ letter-spacing: 0.06em;+ text-anchor: middle;+ text-transform: uppercase;+ }+ svg [data-node-id]:hover .source-evidence-beacon,+ svg [data-node-id]:focus-visible .source-evidence-beacon,+ svg [data-node-id][data-focus-selected] .source-evidence-beacon {+ opacity: 1;+ filter: drop-shadow(0 0 4px color-mix(in srgb, var(--backend-stroke) 72%, transparent));+ }+ svg[data-preset="signal-flow"] .source-evidence-beacon { opacity: 0.9; }+ svg[data-preset="blueprint"] .source-evidence-beacon rect {+ rx: 0.8px;+ filter: none;+ }svg [data-legend-kind][role="button"] { cursor: pointer; }svg [data-legend-kind]:focus { outline: none; }svg [data-legend-hit] {@@ -3850,6 +3885,7 @@}.relationship-pulse-overlay { display: none !important; }.guided-view-chapter { transition: none !important; }+ .source-evidence-beacon,svg [data-node-id], svg [data-edge-from], svg [data-detail], svg [data-detail-anchor], svg [data-legend-hit], svg { transition: none !important; }}</style>@@ -4791,6 +4827,16 @@Array.prototype.forEach.call(clone.querySelectorAll('[data-relationship-hit-overlay]'), function (el) {el.remove();});+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-beacon]'), function (el) {+ el.remove();+ });+ Array.prototype.forEach.call(clone.querySelectorAll('[data-source-evidence-count]'), function (el) {+ var originalLabel = el.getAttribute('data-source-evidence-original-label');+ if (originalLabel == null || originalLabel === '') el.removeAttribute('aria-label');+ else el.setAttribute('aria-label', originalLabel);+ el.removeAttribute('data-source-evidence-count');+ el.removeAttribute('data-source-evidence-original-label');+ });Array.prototype.forEach.call(clone.querySelectorAll('[data-story-step], [data-story-beat-state], [data-story-beat-step]'), function (el) {el.removeAttribute('data-story-step');el.removeAttribute('data-story-beat-state');@@ -4867,7 +4913,7 @@!clone.hasAttribute('data-chapter-anchor') &&!clone.hasAttribute('data-chapter-preview') &&!clone.style.getPropertyValue('transform') &&- clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-detail], [data-detail-anchor]').length === 0;+ clone.querySelectorAll('[data-story-overlay], [data-story-carrier-overlay], [data-story-carrier-token], [data-story-step], [data-story-beat-state], [data-story-beat-step], [data-chapter-handoff-overlay], [data-chapter-role], [data-chapter-preview-role], [data-focus-match], [data-focus-selected], [data-semantic-lens-overlay], [data-lens-match], [data-lens-selected], [data-lens-peer], [data-legend-bridge], [data-legend-kind], [data-legend-bridge-runtime], [data-legend-count], [data-legend-zero], [data-legend-selected], [data-legend-preview-match], [data-legend-preview-selected], [data-legend-preview-peer], [data-relationship-hit-overlay], [data-relationship-pulse-overlay], [data-relationship-preview], [data-relationship-preview-node], [data-relationship-preview-source], [data-relationship-preview-target], [data-intent-trace-overlay], [data-intent-trace-match], [data-intent-trace-selected], [data-route-probe-overlay], [data-route-journey-overlay], [data-route-match], [data-route-start], [data-route-end], [data-route-step], [data-route-candidate], [data-route-journey-state], [data-route-journey-current], [data-share-route-match], [data-share-route-step], [data-share-route-start], [data-share-route-end], [data-share-route-middle], [data-source-evidence-beacon], [data-source-evidence-count], [data-source-evidence-original-label], [data-detail], [data-detail-anchor]').length === 0;var vb = svg.viewBox.baseVal;var finiteSvgDimensions = Number.isFinite(vb.x) && Number.isFinite(vb.y) &&@@ -6084,21 +6130,68 @@Archify.sourceEvidence = (function () {var element = document.getElementById('archify-source-evidence-data');var payload = null;+ var svgNamespace = 'http://www.w3.org/2000/svg';if (element) {try {var parsed = JSON.parse(element.textContent || 'null');if (parsed && parsed.verified === true && parsed.repository && parsed.nodes) payload = parsed;} catch (_) {}}+ function installBeacons() {+ if (!payload) return 0;+ var svg = document.querySelector('.diagram-container svg');+ if (!svg) return 0;+ var installed = 0;+ Array.prototype.forEach.call(svg.querySelectorAll('[data-node-id]'), function (node) {+ var id = node.getAttribute('data-node-id');+ var sources = payload.nodes[id];+ if (!Array.isArray(sources) || !sources.length || node.querySelector('[data-source-evidence-beacon]')) return;+ var shape = node.querySelector('[data-animate="node"]') || node.querySelector('[class*="c-"]');+ var box;+ try { box = (shape || node).getBBox(); } catch (_) { return; }+ if (!box || !Number.isFinite(box.x) || !Number.isFinite(box.y) || !Number.isFinite(box.width) || box.width < 36) return;++ var count = sources.length;+ var label = count + ' verified source' + (count === 1 ? '' : 's') + '; focus this node to inspect';+ var beacon = document.createElementNS(svgNamespace, 'g');+ beacon.classList.add('source-evidence-beacon');+ beacon.setAttribute('data-source-evidence-beacon', '');+ beacon.setAttribute('aria-hidden', 'true');+ beacon.setAttribute('transform', 'translate(' + (box.x + box.width - 35) + ' ' + (box.y + 5) + ')');+ var title = document.createElementNS(svgNamespace, 'title');+ title.textContent = label;+ var plate = document.createElementNS(svgNamespace, 'rect');+ plate.setAttribute('width', '30');+ plate.setAttribute('height', '12');+ plate.setAttribute('rx', '6');+ var text = document.createElementNS(svgNamespace, 'text');+ text.setAttribute('x', '15');+ text.setAttribute('y', '8.25');+ text.textContent = 'SRC ' + count;+ beacon.appendChild(title);+ beacon.appendChild(plate);+ beacon.appendChild(text);+ node.appendChild(beacon);++ var originalLabel = node.getAttribute('aria-label') || '';+ node.setAttribute('data-source-evidence-count', String(count));+ node.setAttribute('data-source-evidence-original-label', originalLabel);+ node.setAttribute('aria-label', (originalLabel ? originalLabel + ', ' : '') + count + ' verified source reference' + (count === 1 ? '' : 's'));+ installed += 1;+ });+ return installed;+ }return {available: function () { return Boolean(payload); },repository: function () { return payload ? payload.repository : null; },node: function (id) {var sources = payload && payload.nodes ? payload.nodes[id] : null;return Array.isArray(sources) ? sources.slice() : [];- }+ },+ installBeacons: installBeacons};})();+ Archify.sourceEvidence.installBeacons();/* ============================================================Explore — stable-ID neighborhood focus + dependency-free pan/zoom.