Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
fix(architecture): preserve route clarity during automatic planning
tt-a1i3155a7ec5109
diff --git a/archify.zip b/archify.zipindex 433af7b6..58e7a675 100644Binary files a/archify.zip and b/archify.zip differdiff --git a/archify/SKILL.md b/archify/SKILL.mdindex 560cc996..9175c3e8 100644--- a/archify/SKILL.md+++ b/archify/SKILL.md@@ -18,7 +18,7 @@ For a real codebase, read [Repository authoring](references/repository-authoring## Existing candidate handoff-When the user supplies a frozen candidate, run `finalize` first as one CLI invocation. Its passing receipt completes the handoff; screenshots and an image-capable model are optional. For repair, follow step 5.+When the user supplies a frozen candidate, run `finalize` first as one CLI invocation. Its passing receipt completes the automated gates; follow any visual review recommendation under Delivery before claiming visual quality. For repair, follow step 5.The update check is outside the delivery critical path. A harness may start it concurrently with `finalize`; if it cannot, omit it for this task. Never add a foreground tool turn or delay a required gate for update information.@@ -76,7 +76,7 @@ Use the `finalize` command above for the first candidate and after a repair.`finalize` stops at the first non-passing gate. Its compact stdout and `<output-stem>.finalize-summary.json` are the normal evidence; `<output-stem>.finalize.json` is full audit detail, not ordinary repair context. A passing handoff reports `visualReview: "not-requested"` and creates no screenshots.-Escalate to perceptual review only when the user requests an aesthetic review, a template/renderer/viewer change needs visual regression evidence, a novel layout or browser diagnostic leaves low confidence, or the run is a sampled audit. Run `visual-check` on the finalized artifact, open its HTML contact sheet in a browser or inspect the viewport PNGs with a capable image reader, and record that judgment separately. Model image capability is optional because this path is not part of ordinary acceptance.+Escalate to perceptual review when the summary includes `visualReviewRecommendation`, the user requests an aesthetic review, a template/renderer/viewer change needs visual regression evidence, a novel layout or browser diagnostic leaves low confidence, or the run is a sampled audit. Run `visual-check` on the finalized artifact, open its HTML contact sheet in a browser or inspect the viewport PNGs with a capable image reader, and trace the affected routes at the common desktop viewport. Each arrow must remain distinct and each relationship traceable through crossings and bends. Repair unreadable placement or routes while preserving semantic coverage, then finalize the new candidate. The recommendation's counts trigger inspection; they are not content budgets or proof of a defect. If perceptual review is unavailable, report that quality remains unverified rather than treating automated success as visual approval.For recovery, the required order stays `deliver` → strict provenance `check` → `browser-check`. Run optional `visual-check` only against a strict-provenance artifact. Read `references/delivery-contract.md` for standalone syntax, any failed gate, stale provenance, recovery metadata, repeated delivery to one path, export evidence, or post-delivery opening.diff --git a/archify/bin/finalize.mjs b/archify/bin/finalize.mjsindex ca346cdd..65c11743 100644--- a/archify/bin/finalize.mjs+++ b/archify/bin/finalize.mjs@@ -502,6 +502,18 @@ export function compactFinalizeReceipt(receipt) {visualReview: receipt.visualReview || 'not-requested',durationMs: receipt.durationMs,};+ const metrics = receipt.stages?.check?.receipt?.composition?.metrics;+ const reviewSignals = Object.fromEntries([+ 'resolvedCrossovers', 'routesOverSuggestedBends', 'routesOverSuggestedStretch',+ ].filter((key) => Number.isFinite(metrics?.[key]) && metrics[key] > 0)+ .map((key) => [key, metrics[key]]));+ if (receipt.ok && Object.keys(reviewSignals).length) {+ compact.visualReviewRecommendation = {+ action: 'inspect-route-readability',+ signals: reviewSignals,+ reason: 'Automated gates passed, but crossings or detours still need perceptual review before claiming visual quality.',+ };+ }if (!receipt.ok && receipt.status === 'fail' && receipt.failedStage === 'validate') {compact.nextAction = {action: 'edit-in-place',diff --git a/archify/examples/web-app-rendered.html b/archify/examples/web-app-rendered.htmlindex a78670d4..437ad648 100644--- a/archify/examples/web-app-rendered.html+++ b/archify/examples/web-app-rendered.html@@ -5269,36 +5269,36 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Connection paths (before components for correct z-order) --><g data-graph-role="automatic-crossover" style="--step:0"><path data-graph-role="automatic-crossover-underlay" d="M 160 330 L 250 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>+ <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" data-composition-independent="true" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/></g><path data-edge-from="auth" data-edge-to="api" data-edge-label="verify JWT" data-edge-key="1" data-edge-id="jwt-verification" data-composition-points="160,142;620,142;620,246;735,246;735,300" d="M 160 142 L 612 142 Q 620 142 620 150 L 620 238 Q 620 246 628 246 L 727 246 Q 735 246 735 254 L 735 300" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/><g data-graph-role="automatic-crossover" style="--step:2"><path data-graph-role="automatic-crossover-underlay" d="M 380 330 L 460 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" data-composition-independent="true" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:3"><path data-graph-role="automatic-crossover-underlay" d="M 315 360 L 315 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>+ <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" data-composition-independent="true" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/></g><g data-graph-role="automatic-crossover" style="--step:4"><path data-graph-role="automatic-crossover-underlay" d="M 590 330 L 670 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" data-composition-independent="true" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:5"><path data-graph-role="automatic-crossover-underlay" d="M 735 300 L 735 210" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" data-composition-independent="true" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:6"><path data-graph-role="automatic-crossover-underlay" d="M 800 330 L 880 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" data-composition-independent="true" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:7"><path data-graph-role="automatic-crossover-underlay" d="M 735 360 L 735 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>+ <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" data-composition-independent="true" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/></g><g data-graph-role="automatic-crossover" style="--step:8"><path data-graph-role="automatic-crossover-underlay" d="M 800 470 L 880 470" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" data-composition-independent="true" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><!-- Components -->diff --git a/archify/references/delivery-contract.md b/archify/references/delivery-contract.mdindex fd23d5b6..660a1175 100644--- a/archify/references/delivery-contract.md+++ b/archify/references/delivery-contract.md@@ -261,7 +261,7 @@ Complete stage receipts and timings remain available for auditing in`<path>-summary.json`. Read the full receipt only when the compact summary istruncated and its shown subjects and evidence cannot identify a coherent localrepair, or when complete audit evidence was explicitly requested. The compact-receipt reports `visualReview: "not-requested"`; ordinary acceptance does not create images or require a perceptual reviewer.+receipt reports `visualReview: "not-requested"`; the automated gate does not create images or require a perceptual reviewer. A compact `visualReviewRecommendation` retains positive crossover and route-detour metrics from the strict check so the author can apply the review escalation below without reading the full receipt. A recommendation does not change the machine exit code or claim that review happened.A passing finalizer receipt is sufficient evidence for all four gates. Merelynaming the gates or requiring each one to pass does not require replaying their@@ -490,10 +490,11 @@ Never start it by default. Do not use it for CI, unattended agents, remote shari## Optional perceptual review-The ordinary path ends with the deterministic browser gate and reports+The automated path ends with the deterministic browser gate and reports`visual_review: not_requested`. Escalate to perceptual review when any of theseconditions applies:+- the compact finalizer includes `visualReviewRecommendation` for crossings or detours;- the user explicitly requests an aesthetic or visual review;- a template, renderer, or Viewer change needs visual regression evidence;- a novel layout or browser diagnostic leaves low confidence;diff --git a/archify/renderers/architecture/render-architecture.mjs b/archify/renderers/architecture/render-architecture.mjsindex d881e423..949ca75f 100644--- a/archify/renderers/architecture/render-architecture.mjs+++ b/archify/renderers/architecture/render-architecture.mjs@@ -21,6 +21,7 @@ import {cleanFlowProblems,cleanCrossingProblems,cleanAmbiguousCorridorProblems,+ collectArrowheadCollisions,cleanBorderRunProblems,cleanRouteRhythmProblems,cleanLabelRouteClearanceProblems,@@ -311,6 +312,7 @@ function layoutBoundaryTitles(rawBoundaries, minimumFontSize) {// title-expanded frames or the viewBox.const rawBoundaries = asArray(arch.boundaries).map(boundaryRect).filter(Boolean);const { pathFor, connectionSides, connectionEndpointSide } = createRouter(components, arch.connections, {+ distinctAutomaticPorts: true,frames: rawBoundaries.map((boundary) => ({...boundary,radius: boundary.kind === 'security-group' ? 8 : 12,@@ -690,8 +692,29 @@ function validateArchitecture() {diagramType: 'architecture',relationCollection: 'connections',profile: arch.meta?.quality_profile,- routeHint: 'adjust route/via or fromSide/toSide so unrelated connections do not visually merge'+ includeSharedEndpoints: (left, right) => hasAutomaticRouteGeometry(left) && !left.labelAt+ && hasAutomaticRouteGeometry(right) && !right.labelAt,+ routeHint: 'adjust route/via or fromSide/toSide so distinct connections do not visually merge'}));+ if ((process.env.ARCHIFY_QUALITY_PROFILE || arch.meta?.quality_profile) === 'showcase') {+ const collisions = collectArrowheadCollisions({+ routedRelations: asArray(arch.connections)+ .filter((conn) => components.has(conn.from) && components.has(conn.to) && hasAutomaticRouteGeometry(conn) && !conn.labelAt)+ .map((relation) => ({ relation, points: pathFor(relation).points })),+ });+ for (const hit of collisions) {+ const left = hit.left.relation;+ const right = hit.right.relation;+ const message = `[composition/arrowhead-collision] automatic connections "${left.id || left.from}" and "${right.id || right.from}" into "${left.to}" have arrowheads ${hit.distance}px apart (minimum ${hit.minimum}px) — enlarge or reposition the destination, or choose separate toSide ports.`;+ problems.push(message);+ diagnostics.push({+ code: 'composition/arrowhead-collision', severity: 'error', message,+ subject: { diagramType: 'architecture', collection: 'connections', id: left.id, from: left.from, to: left.to },+ evidence: { otherId: right.id, distancePx: hit.distance, minimumPx: hit.minimum, endpoints: [hit.left.tip, hit.right.tip] },+ supportedFixes: ['enlarge or reposition the destination', 'choose separate toSide ports'],+ });+ }+ }problems.push(...cleanBorderRunProblems({relations: arch.connections,endpointIds: new Set(components.keys()),@@ -819,7 +842,8 @@ function renderConnectionPath(conn, index) {const underlay = automaticRoute? ` <path data-graph-role="automatic-crossover-underlay" d="${routed.d}" fill="none" stroke="var(--mask)" stroke-width="${strokeWidth + 4}" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>\n`: '';- const crossover = automaticRoute ? ' data-composition-crossover="halo"' : '';+ const crossover = automaticRoute+ ? ` data-composition-crossover="halo"${conn.labelAt ? '' : ' data-composition-independent="true"'}` : '';const edge = ` <path ${focusEdgeAttrs(conn.from, conn.to, conn.label, index, conn.id)} data-composition-points="${routePointsValue(routed.points)}"${crossover}${authoredStraightRouteAttrs(conn, routed.points)} d="${routed.d}" class="${cls}"${animateAttr(arch.meta, 'edge', index)} stroke-width="${strokeWidth}" marker-end="url(#${marker})"/>`;if (!automaticRoute) return edge;// The wrapper is presentation-only: viewer state remains on the one semanticdiff --git a/archify/renderers/architecture/routing.mjs b/archify/renderers/architecture/routing.mjsindex 9d030b57..7ffdc5bf 100644--- a/archify/renderers/architecture/routing.mjs+++ b/archify/renderers/architecture/routing.mjs@@ -35,11 +35,12 @@ import { shortestOrthogonalGridRoute } from '../shared/route-quality.mjs';* rects resolved so far; later automatic routes keep clear of it so a dense* fan-out does not leave the label nowhere to go*/-export function createRouter(components, connections, {+export function createRouter(components, connections = [], {frames = [],interiorSegmentPx = 16,microSegmentPx = 8,labelRectFor = null,+ distinctAutomaticPorts = false,} = {}) {const frameBorders = frames.flatMap((frame) => frameBorderSegments(frame));const LABEL_CLEARANCE = 4;@@ -209,8 +210,11 @@ export function createRouter(components, connections, {}function routeOverlapsResolved(conn, points, resolvedRoutes) {- const unrelated = unrelatedResolvedRoutes(conn, resolvedRoutes);- for (const entry of unrelated) {+ // A common destination does not make two independently labelled routes a+ // bus. Keep their corridors distinct too; explicit routes bypass planning.+ for (const entry of resolvedRoutes) {+ if (relationshipsShareEndpoint(conn, entry.conn)+ && (!distinctAutomaticPorts || hasAuthoredRouteGeometry(entry.conn) || entry.conn.labelAt || conn.labelAt)) continue;for (let left = 0; left < points.length - 1; left += 1) {for (let right = 0; right < entry.points.length - 1; right += 1) {if (collinearOverlapLength(@@ -495,7 +499,12 @@ export function createRouter(components, connections, {// ambiguous shared corridors without forcing the model to hand-route// a sprawling perimeter detour. Cheap candidates above still prefer a// genuinely crossing-free path whenever one is available.- const avoidedSegments = [];+ const avoidedSegments = resolvedRoutes+ .filter((entry) => distinctAutomaticPorts && relationshipsShareEndpoint(conn, entry.conn)+ && !hasAuthoredRouteGeometry(entry.conn) && !entry.conn.labelAt && !conn.labelAt)+ .flatMap((entry) => entry.points.slice(1).map((end, index) => ({+ start: entry.points[index], end,+ })));const gridMetrics = {};planningMetrics.gridSearchCount += 1;planningMetrics.avoidedSegmentCount += avoidedSegments.length;@@ -511,6 +520,7 @@ export function createRouter(components, connections, {endpointStubPx: 24,maximumGridNodes: 4096,avoidedSegments,+ allowAvoidedCrossings: true,minimumAvoidedOverlapPx: 8,routeSeparationPx: 8,minimumSegmentPx: interiorSegmentPx,@@ -570,6 +580,15 @@ export function createRouter(components, connections, {const pathCache = new Map();const selectedSides = new Map();const automaticPorts = automaticPortSpread(connections, components);+ const incidentEndpoints = new Map();+ for (const conn of connections) {+ if (!components.has(conn.from) || !components.has(conn.to)) continue;+ for (const [field, sideField] of [['from', 'fromSide'], ['to', 'toSide']]) {+ const entries = incidentEndpoints.get(conn[field]) || [];+ entries.push({ conn, field, sideField });+ incidentEndpoints.set(conn[field], entries);+ }+ }function inferredConnectionSides(conn) {const from = components.get(conn.from);const to = components.get(conn.to);@@ -599,27 +618,64 @@ export function createRouter(components, connections, {);}+ // A route can change sides after the initial port spread. Reserve slots on+ // the final side as well: falling back to its midpoint can put an arrow+ // between two existing slots, or directly on another incoming arrow.+ function automaticEndpoint(conn, endpoint, rect, side, inferredSide) {+ const initial = side === inferredSide ? automaticPorts.get(conn)?.[endpoint] : null;+ const preferred = initial || anchor(rect, side);+ if (hasAuthoredRouteGeometry(conn) || conn.labelAt) return { point: preferred, spread: Boolean(initial) };+ const axis = side === 'left' || side === 'right' ? 1 : 0;+ const occupied = [];+ for (const { conn: other, field, sideField } of incidentEndpoints.get(rect.id) || []) {+ if (other === conn || hasAuthoredRouteGeometry(other) || other.labelAt) continue;+ const routed = pathCache.get(other);+ const sides = selectedSides.get(other) || inferredConnectionSides(other);+ if (sides[sideField] !== side) continue;+ const point = routed+ ? (field === 'from' ? routed.points[0] : routed.points.at(-1))+ : automaticPorts.get(other)?.[field] || anchor(rect, side);+ const stroke = (relation) => relation.width || (relation.variant === 'emphasis' ? 1.8 : 1.5);+ occupied.push({ value: point[axis], spacing: Math.max(14, 3.5 * (stroke(conn) + stroke(other)) + 3.5) });+ }+ if (!occupied.length) return { point: preferred, spread: Boolean(initial) };+ const candidates = [preferred[axis], ...occupied.flatMap(({ value, spacing }) => [value - spacing, value + spacing])]+ .sort((a, b) => Math.abs(a - preferred[axis]) - Math.abs(b - preferred[axis]) || a - b);+ for (const value of candidates) {+ const point = [...preferred];+ point[axis] = value;+ if (portHasCornerClearance(rect, side, point)+ && occupied.every((other) => Math.abs(value - other.value) >= other.spacing - 0.0001)) {+ return { point, spread: true };+ }+ }+ return { point: preferred, spread: true, crowded: true };+ }+function connectionGeometry(conn, sides = inferredConnectionSides(conn)) {const from = components.get(conn.from);const to = components.get(conn.to);const inferred = inferredConnectionSides(conn);- const usesInferredSides = sides.fromSide === inferred.fromSide- && sides.toSide === inferred.toSide;- const ports = usesInferredSides ? automaticPorts.get(conn) : null;const { fromSide, toSide } = sides;- const baseStart = ports?.from || anchor(from, fromSide);- const baseEnd = ports?.to || anchor(to, toSide);+ const legacyPorts = fromSide === inferred.fromSide && toSide === inferred.toSide ? automaticPorts.get(conn) : null;+ const source = distinctAutomaticPorts+ ? automaticEndpoint(conn, 'from', from, fromSide, inferred.fromSide)+ : { point: legacyPorts?.from || anchor(from, fromSide), spread: Boolean(legacyPorts?.from) };+ const target = distinctAutomaticPorts+ ? automaticEndpoint(conn, 'to', to, toSide, inferred.toSide)+ : { point: legacyPorts?.to || anchor(to, toSide), spread: Boolean(legacyPorts?.to) };+ const ports = { from: source.spread, to: target.spread };const { start, end } = alignFacingPorts(conn,from,to,- baseStart,- baseEnd,+ source.point,+ target.point,fromSide,toSide,ports,);- return { from, to, start, end, fromSide, toSide };+ return { from, to, start, end, fromSide, toSide, crowded: source.crowded || target.crowded };}function routedForGeometry(conn, resolvedRoutes, geometry) {@@ -676,7 +732,7 @@ export function createRouter(components, connections, {}function routeIsClear(conn, routed, geometry, resolvedRoutes) {- return routed.points.length >= 2+ return !geometry.crowded && routed.points.length >= 2&& routeHonorsEndpointSides(routed.points, geometry.fromSide, geometry.toSide)&& routeClearsEndpointComponents(routed.points, geometry.from, geometry.to)&& routeClearsComponents(conn, routed.points)diff --git a/archify/renderers/shared/geometry.mjs b/archify/renderers/shared/geometry.mjsindex 670d4458..8718d2a3 100644--- a/archify/renderers/shared/geometry.mjs+++ b/archify/renderers/shared/geometry.mjs@@ -666,12 +666,14 @@ export function cleanCrossingProblems({// Two unrelated relationships that occupy the same visible corridor can read// as one authored branch or merge even when neither relationship crosses a-// node or forms a proper X. Keep shared semantic endpoints exempt: their-// initial/final fan-out is real topology. Tiny overlaps below the route rhythm+// node or forms a proper X. Keep authored shared endpoints exempt by default;+// automatic architecture routes opt in because they promise separate ports.+// Tiny overlaps below the route rhythm// floor are ignored to avoid turning sub-pixel rounding into a quality debt.export function collectAmbiguousCorridors({routedRelations,minOverlapPx = 8,+ includeSharedEndpoints = () => false,}) {const routed = asArray(routedRelations).map((entry, fallbackIndex) => {const relation = entry?.relation;@@ -690,7 +692,8 @@ export function collectAmbiguousCorridors({const left = routed[leftIndex];for (let rightIndex = leftIndex + 1; rightIndex < routed.length; rightIndex += 1) {const right = routed[rightIndex];- if ([left.relation.from, left.relation.to].some((id) => id === right.relation.from || id === right.relation.to)) continue;+ if ([left.relation.from, left.relation.to].some((id) => id === right.relation.from || id === right.relation.to)+ && !includeSharedEndpoints(left.relation, right.relation)) continue;let longest = null;for (let leftSegment = 0; leftSegment < left.points.length - 1; leftSegment += 1) {@@ -721,6 +724,35 @@ export function collectAmbiguousCorridors({return hits;}+// Bundled arrow markers are 7 stroke-widths across the direction of travel.+// Callers select the automatic routes they own; explicit junctions are preserved.+export function collectArrowheadCollisions({ routedRelations }) {+ const incoming = new Map();+ const hits = [];+ for (const entry of asArray(routedRelations)) {+ const points = normalizeRoutePoints(entry.points);+ if (points.length < 2 || !entry.relation?.to) continue;+ const tip = points.at(-1);+ const previous = points.at(-2);+ const vertical = Math.abs(tip[0] - previous[0]) < 0.0001;+ const axis = vertical ? 0 : 1;+ const direction = Math.sign(tip[1 - axis] - previous[1 - axis]);+ const halfWidth = 3.5 * (entry.relation.width || (entry.relation.variant === 'emphasis' ? 1.8 : 1.5));+ const key = `${entry.relation.to}\u0000${axis}\u0000${direction}`;+ const siblings = incoming.get(key) || [];+ const current = { ...entry, tip, halfWidth };+ for (const sibling of siblings) {+ if (Math.abs(tip[1 - axis] - sibling.tip[1 - axis]) > 0.0001) continue;+ const distance = Math.abs(tip[axis] - sibling.tip[axis]);+ const minimum = halfWidth + sibling.halfWidth;+ if (distance < minimum - 0.0001) hits.push({ left: sibling, right: current, distance, minimum });+ }+ siblings.push(current);+ incoming.set(key, siblings);+ }+ return hits;+}+export function cleanAmbiguousCorridorProblems({relations,endpointIds,@@ -731,11 +763,12 @@ export function cleanAmbiguousCorridorProblems({profileIsAuthoritative = false,routeHint = 'adjust route/via or channel coordinates so the relationships use separate corridors',minOverlapPx = 8,+ includeSharedEndpoints = () => false,}) {if (qualityProfileForGate(profile, profileIsAuthoritative) !== 'showcase') return [];const routedRelations = collectEligibleRoutedRelations({ relations, endpointIds, pathFor });- return collectAmbiguousCorridors({ routedRelations, minOverlapPx }).map((hit) => {+ return collectAmbiguousCorridors({ routedRelations, minOverlapPx, includeSharedEndpoints }).map((hit) => {const describe = ({ relation, relationIndex }) => {const id = relation.id ? ` id "${relation.id}"` : '';return `${relationCollection}[${relationIndex}]${id} "${relation.from}" -> "${relation.to}"`;diff --git a/archify/renderers/shared/route-quality.mjs b/archify/renderers/shared/route-quality.mjsindex ca84537b..a79779f9 100644--- a/archify/renderers/shared/route-quality.mjs+++ b/archify/renderers/shared/route-quality.mjs@@ -182,10 +182,10 @@ function segmentBlocked(start, end, obstacles) {return obstacles.some((rect) => segmentIntersectsRect({ start, end }, rect));}-function segmentConflictsWithAvoided(start, end, avoidedSegments, minimumOverlapPx) {+function segmentConflictsWithAvoided(start, end, avoidedSegments, minimumOverlapPx, allowCrossings) {return avoidedSegments.some((segment) => (- properSegmentIntersection(start, end, segment.start, segment.end)- || orthogonalTouchOnAvoidedInterior(start, end, segment.start, segment.end)+ (!allowCrossings && (properSegmentIntersection(start, end, segment.start, segment.end)+ || orthogonalTouchOnAvoidedInterior(start, end, segment.start, segment.end)))|| collinearOverlap(start, end, segment.start, segment.end) >= minimumOverlapPx));}@@ -248,6 +248,7 @@ export function shortestOrthogonalGridRoute({endpointStubPx = clearance + 2,maximumGridNodes = Infinity,avoidedSegments = [],+ allowAvoidedCrossings = false,minimumAvoidedOverlapPx = 8,routeSeparationPx = 8,minimumSegmentPx = 8,@@ -350,7 +351,7 @@ export function shortestOrthogonalGridRoute({for (const y of orderedY) {const point = [x, y];if (!pointBlocked(point, expanded)- && !pointOnAvoidedInterior(point, relevantAvoidedSegments)) {+ && (allowAvoidedCrossings || !pointOnAvoidedInterior(point, relevantAvoidedSegments))) {nodes.set(pointKey(point), point);}}@@ -373,6 +374,7 @@ export function shortestOrthogonalGridRoute({right,relevantAvoidedSegments,minimumAvoidedOverlapPx,+ allowAvoidedCrossings,)) continue;if (relevantBorderSegments.some((segment) => (collinearOverlap(left, right, segment.start, segment.end) > 0.0001diff --git a/archify/scripts/check-render-output.mjs b/archify/scripts/check-render-output.mjsindex bb2bd989..aa84f524 100644--- a/archify/scripts/check-render-output.mjs+++ b/archify/scripts/check-render-output.mjs@@ -3,7 +3,7 @@import fs from 'node:fs';import { createHash } from 'node:crypto';import path from 'node:path';-import { collectAmbiguousCorridors, collectBorderRuns, collectLabelCanvasOverflow, collectLabelRouteClearance, collectRouteRhythmIssues, describeLabelCanvasOverflow, formatRect, minimumLabelRouteClearance, routeBudgetMetrics } from '../renderers/shared/geometry.mjs';+import { collectAmbiguousCorridors, collectArrowheadCollisions, collectBorderRuns, collectLabelCanvasOverflow, collectLabelRouteClearance, collectRouteRhythmIssues, describeLabelCanvasOverflow, formatRect, minimumLabelRouteClearance, routeBudgetMetrics } from '../renderers/shared/geometry.mjs';import {DESKTOP_READABILITY_VIEWPORT,DESKTOP_READER_DIAGRAM_WIDTH,@@ -153,7 +153,13 @@ if (svgMatches.length === 1) {.map((arrow) => ({ relation: arrow, relationIndex: arrow.index, points: arrow.routePoints }));const routeMetrics = routeBudgetMetrics({ routedRelations: routedRelationships });const routeRhythmIssues = collectRouteRhythmIssues({ routedRelations: routedRelationships });- const ambiguousCorridors = collectAmbiguousCorridors({ routedRelations: routedRelationships });+ const ambiguousCorridors = collectAmbiguousCorridors({+ routedRelations: routedRelationships,+ includeSharedEndpoints: (left, right) => left.independentPorts && right.independentPorts,+ });+ const arrowheadCollisions = collectArrowheadCollisions({+ routedRelations: routedRelationships.filter((entry) => entry.relation.independentPorts),+ });const relationshipLabels = collectRelationshipLabelMasks(beforeLegend, arrows);const labelClearanceThreshold = qualityProfile === 'showcase' ? 4 : 2;const labelRouteMeasurements = collectLabelRouteClearance({@@ -183,7 +189,7 @@ if (svgMatches.length === 1) {const viewportHeightIsError = false;const compositionErrors = (qualityGatesEnforced ? containerBorderRuns.length : 0)+ (crossingIsError ? relationshipCrossings.length : 0)- + (corridorIsError ? ambiguousCorridors.length : 0)+ + (corridorIsError ? ambiguousCorridors.length + arrowheadCollisions.length : 0)+ (labelClearanceIsError ? labelRouteClearance.length : 0)+ (labelContainmentIsError ? labelCanvasOverflow.length : 0)+ (rhythmIsError ? routeRhythmIssues.length : 0)@@ -191,7 +197,7 @@ if (svgMatches.length === 1) {+ (viewportHeightIsError && viewportHeightIssue ? 1 : 0);const compositionWarnings = (qualityGatesEnforced ? 0 : containerBorderRuns.length)+ (crossingIsError ? 0 : relationshipCrossings.length)- + (corridorIsError ? 0 : ambiguousCorridors.length)+ + (corridorIsError ? 0 : ambiguousCorridors.length + arrowheadCollisions.length)+ (labelClearanceIsError ? 0 : labelRouteClearance.length)+ (labelContainmentIsError ? 0 : labelCanvasOverflow.length)+ (rhythmIsError ? 0 : routeRhythmIssues.length)@@ -209,6 +215,7 @@ if (svgMatches.length === 1) {properCrossings: relationshipCrossings.length,resolvedCrossovers: resolvedCrossovers.length,ambiguousCorridors: ambiguousCorridors.length,+ arrowheadCollisions: arrowheadCollisions.length,containerBorderRuns: containerBorderRuns.length,labelRouteClearanceIssues: labelRouteClearance.length,labelCanvasOverflowIssues: labelCanvasOverflow.length,@@ -278,6 +285,15 @@ if (svgMatches.length === 1) {from: hit.overlapStart.map((value) => Math.round(value * 10) / 10),to: hit.overlapEnd.map((value) => Math.round(value * 10) / 10),})),+ ...arrowheadCollisions.map((hit) => ({+ severity: corridorIsError ? 'error' : 'warning',+ code: 'composition/arrowhead-collision',+ relationship: relationshipRecord(hit.left.relation),+ otherRelationship: relationshipRecord(hit.right.relation),+ distancePx: hit.distance,+ minimumPx: hit.minimum,+ endpoints: [hit.left.tip, hit.right.tip],+ })),...routeRhythmIssues.map((hit) => ({severity: rhythmIsError ? 'error' : 'warning',code: hit.code,@@ -336,10 +352,12 @@ if (svgMatches.length === 1) {);addCheck('relationship_corridors',- !corridorIsError || ambiguousCorridors.length === 0,- ambiguousCorridors.map((hit) => (+ !corridorIsError || ambiguousCorridors.length + arrowheadCollisions.length === 0,+ [...ambiguousCorridors.map((hit) => (`[composition/ambiguous-corridor] ${qualityProfile} ${relationshipName(hit.left.relation)} shares a ${Math.round(hit.overlapLength * 10) / 10}px corridor with ${relationshipName(hit.right.relation)} at [${formatPoint(hit.overlapStart)}] -> [${formatPoint(hit.overlapEnd)}]`- )),+ )), ...arrowheadCollisions.map((hit) => (+ `[composition/arrowhead-collision] ${qualityProfile} ${relationshipName(hit.left.relation)} and ${relationshipName(hit.right.relation)} have incoming arrowheads ${hit.distance}px apart (minimum ${hit.minimum}px) — enlarge or reposition the destination, or choose separate toSide ports.`+ ))],);addCheck('container_border_runs',@@ -426,6 +444,8 @@ function collectArrows(fragment) {&& segments.length === 1 && borderSegments.length === 1&& (tag[1].toLowerCase() === 'line' || /^\s*M\s+[-+\d.eE]+\s+[-+\d.eE]+\s+L\s+[-+\d.eE]+\s+[-+\d.eE]+\s*$/.test(attrs.d || '')),crossoverHalo: verifiedCrossoverHalo,+ independentPorts: verifiedCrossoverHalo && attrs['data-composition-independent'] === 'true',+ width: routeStrokeWidth,segments,borderSegments,routePoints: parseRoutePoints(attrs['data-composition-points']) || (diff --git a/archify/test/architecture-first-draft.test.mjs b/archify/test/architecture-first-draft.test.mjsindex 67dfd698..01981d8d 100644--- a/archify/test/architecture-first-draft.test.mjs+++ b/archify/test/architecture-first-draft.test.mjs@@ -20,6 +20,34 @@ function layout(input) {return JSON.parse(result.stdout);}+test('architecture: automatic side changes keep incoming arrowheads distinct', () => {+ const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'archify-final-ports-'));+ try {+ const input = path.join(tmp, 'ports.json');+ fs.writeFileSync(input, JSON.stringify({+ schema_version: 1,+ diagram_type: 'architecture',+ meta: { title: 'Shared destination', output: 'ports.html', quality_profile: 'showcase' },+ components: [+ ['a', 40, 40], ['b', 290, 40], ['c', 800, 40],+ ['block', 0, 400], ['hub', 40, 485], ['store', 290, 485],+ ].map(([id, x, y]) => ({ id, type: 'backend', label: id, pos: [x, y], size: [180, 68] })),+ connections: ['a', 'b', 'c'].map((from) => ({ id: from, from, to: 'hub' })),+ }));+ const result = layout(input);+ assert.equal(result.ok, true, JSON.stringify(result.diagnostics));+ const endpoints = result.connections.map((conn) => conn.points.at(-1));+ for (let left = 0; left < endpoints.length; left += 1) {+ for (let right = left + 1; right < endpoints.length; right += 1) {+ const distance = Math.hypot(endpoints[left][0] - endpoints[right][0], endpoints[left][1] - endpoints[right][1]);+ assert.ok(distance >= 14, `arrowheads share a port: ${JSON.stringify(endpoints)}`);+ }+ }+ } finally {+ fs.rmSync(tmp, { recursive: true, force: true });+ }+});+// These candidates are unmodified first drafts from the repair study: authors// declared no route controls, yet the router accepted routes that the// showcase composition gate then rejected (a frame border used as a corridor,diff --git a/archify/test/delivery-contract.test.mjs b/archify/test/delivery-contract.test.mjsindex a0354743..302e1475 100644--- a/archify/test/delivery-contract.test.mjs+++ b/archify/test/delivery-contract.test.mjs@@ -36,7 +36,7 @@ const optionalReviewSection = delivery.match(/## Optional perceptual review[\s\Stest('ordinary handoff uses one deterministic finalizer without image capability', () => {assert.ok(skill.indexOf('## Existing candidate handoff') < skill.indexOf('## Fast authoring path'));assert.match(skill, /run `finalize` first as one CLI invocation/);- assert.match(skill, /passing receipt completes the handoff; screenshots and an image-capable model are optional/i);+ assert.match(skill, /passing receipt completes the automated gates; follow any visual review recommendation/i);assert.match(skill, /archify\.mjs finalize <type> <candidate\.json> <output\.html> --quality showcase --json/);assert.match(skill, /When the user supplies a frozen candidate[\s\S]*?run `finalize` first as one CLI invocation/);assert.match(skill, /Once the complete first candidate is written, run `finalize` directly\. Its first gate is showcase validation/);@@ -85,7 +85,8 @@ test('perceptual review is an explicit risk escalation with a bounded correctionassert.match(optionalReviewSection, /run `visual-check`[\s\S]*contact sheet/i);assert.match(optionalReviewSection, /never exceed two focused correction rounds/i);assert.match(optionalReviewSection, /Never report\s+`visual_review: passed` without inspecting/i);- assert.match(skill, /Model image capability is optional/i);+ assert.match(skill, /If perceptual review is unavailable, report that quality remains unverified/i);+ assert.match(optionalReviewSection, /visualReviewRecommendation/);assert.match(delivery, /Open the HTML contact sheet in a browser or inspect the viewport PNGs/i);});diff --git a/archify/test/finalize.test.mjs b/archify/test/finalize.test.mjsindex bf5163fc..ff721fde 100644--- a/archify/test/finalize.test.mjs+++ b/archify/test/finalize.test.mjs@@ -262,6 +262,23 @@ test('compact finalize receipts preserve the acceptance boundary', () => {assert.equal('nextAction' in compact, false);});+test('compact success retains route-quality review signals without claiming perceptual approval', () => {+ const compact = compactFinalizeReceipt({+ ok: true, status: 'pass', diagnostics: [],+ stages: { check: { status: 'pass', receipt: { composition: { metrics: {+ resolvedCrossovers: 12, routesOverSuggestedBends: 11, routesOverSuggestedStretch: 0,+ } } } } },+ });+ assert.equal(compact.ok, true);+ assert.equal(compact.visualReview, 'not-requested');+ assert.deepEqual(compact.visualReviewRecommendation.signals, { resolvedCrossovers: 12, routesOverSuggestedBends: 11 });+ assert.equal(compact.visualReviewRecommendation.action, 'inspect-route-readability');+ const uncomplicated = compactFinalizeReceipt({ ok: true, stages: { check: { receipt: { composition: { metrics: {+ resolvedCrossovers: 0, routesOverSuggestedBends: 0, routesOverSuggestedStretch: 0,+ } } } } } });+ assert.equal('visualReviewRecommendation' in uncomplicated, false);+});+test('compact failure receipts retain diverse actionable subjects without embedding full stage evidence', () => {const diagnostics = Array.from({ length: 20 }, (_, index) => ({code: 'composition/proper-crossing',diff --git a/archify/test/render-output-checks.test.mjs b/archify/test/render-output-checks.test.mjsindex dec235b4..6275900b 100644--- a/archify/test/render-output-checks.test.mjs+++ b/archify/test/render-output-checks.test.mjs@@ -611,6 +611,39 @@ test('render output check: label-route thresholds include exact 2px and 4px bounassert.equal(showcaseBelowFour.result.composition.summary.errors, 1);});+function automaticArrow(id, from, to, points, width = 1.5) {+ const d = points.map(([x, y], index) => `${index ? 'L' : 'M'} ${x} ${y}`).join(' ');+ return `<path data-graph-role="automatic-crossover-underlay" d="${d}" fill="none" stroke="var(--mask)" stroke-width="${width + 4}" pointer-events="none"/>+ <path data-edge-id="${id}" data-edge-from="${from}" data-edge-to="${to}" data-composition-points="${points.map((point) => point.join(',')).join(';')}" data-composition-crossover="halo" data-composition-independent="true" d="${d}" class="a-default" stroke-width="${width}" marker-end="url(#arrowhead)"/>`;+}++test('render output check: automatic shared destinations do not excuse long merged corridors', () => {+ const markup = automaticArrow('first', 'a', 'hub', [[20, 20], [100, 20], [100, 140]])+ + automaticArrow('second', 'b', 'hub', [[180, 60], [100, 60], [100, 120], [140, 120], [140, 140]]);+ const { code, result } = checkHtml('automatic-shared-corridor', markup, 'showcase');+ assert.equal(code, 1);+ const issue = result.composition.issues.find((entry) => entry.code === 'composition/ambiguous-corridor');+ assert.equal(issue?.overlapLength, 60);+ // Explicit junctions retain their historical compatibility contract.+ const authored = checkHtml('authored-shared-corridor', markup.replaceAll('data-composition-crossover="halo"', ''), 'showcase');+ assert.equal(authored.code, 0, JSON.stringify(authored.result));+});++test('render output check: incoming automatic markers must fit their actual stroke width', () => {+ for (const [spacing, width, collision] of [[7, 1.5, true], [14, 1.5, false], [14, 4, true], [32, 4, false]]) {+ const markup = automaticArrow('first', 'a', 'hub', [[100, 40], [100, 120]], width)+ + automaticArrow('second', 'b', 'hub', [[100 + spacing, 40], [100 + spacing, 120]], width);+ const { code, result } = checkHtml(`markers-${spacing}-${width}`, markup, 'showcase');+ assert.equal(code, collision ? 1 : 0, JSON.stringify(result));+ const issue = result.composition.issues.find((entry) => entry.code === 'composition/arrowhead-collision');+ assert.equal(Boolean(issue), collision);+ if (issue) {+ assert.equal(issue.distancePx, spacing);+ assert.equal(issue.minimumPx, width * 7);+ }+ }+});+test('render output check: unrelated shared corridors warn in standard and fail showcase', () => {for (const profile of ['standard', 'showcase']) {const { code, result } = checkHtml(`corridor-${profile}`, `diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gifindex 84516813..c61aa011 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 31203514..abf6faac 100644--- a/docs/assets/archify-live-proof.json+++ b/docs/assets/archify-live-proof.json@@ -7,8 +7,8 @@"fps": 10,"frameCount": 54,"durationSeconds": 5.4,- "bytes": 1569981,- "sha256": "d441748ce0fd07ca521cd8538773156c4ce10f1f12c547591c79fe2de7a78d06",+ "bytes": 1602216,+ "sha256": "36a68f49152caaaee7b4ed9cadea0957f134889720047bea406901c7c4f8207d","scenes": [{"id": "signal-flow",@@ -22,7 +22,7 @@{"id": "blueprint","artifact": "docs/gallery/artifacts/production-deployment.architecture.html",- "artifactSha256": "c855b72f8fc921ce2ae65bfafc16c4cbba68be5d16c52f3314d62425d0cd0499",+ "artifactSha256": "e5916d4dc0d807b509ca7b42572971d24157e26978b64fbb3d03e6279ef84f8c","view": "request-boundary","eyebrow": "ARCHITECTURE · BLUEPRINT","title": "Production Deployment",diff --git a/docs/gallery.html b/docs/gallery.htmlindex 5c0d53b1..3dab589a 100644--- a/docs/gallery.html+++ b/docs/gallery.html@@ -328,7 +328,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="c855b72f8fc921ce2ae65bfafc16c4cbba68be5d16c52f3314d62425d0cd0499">c855b72f8fc9</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="e5916d4dc0d807b509ca7b42572971d24157e26978b64fbb3d03e6279ef84f8c">e5916d4dc0d8</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>@@ -589,7 +589,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="f8cf5144a38f46a688a29a5d2507ab988c9c5132c19a2b9441f1535a1475cb6c">f8cf5144a38f</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="899aaa6569ff40f120e80be43869799d068e577f7cb200bfa4cb51d33a4784c3">899aaa6569ff</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>@@ -729,6 +729,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -796,8 +797,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": "deployment-ownership","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 846160,- "artifactSha256": "c855b72f8fc921ce2ae65bfafc16c4cbba68be5d16c52f3314d62425d0cd0499",+ "artifactBytes": 846304,+ "artifactSha256": "e5916d4dc0d807b509ca7b42572971d24157e26978b64fbb3d03e6279ef84f8c","sourceBytes": 5476,"sourceSha256": "ec484aa8576664fdb207b543fa49486b23273faccb7a5071e1a0becfb48c22eb","checks": [@@ -850,6 +851,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -976,6 +978,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -1097,6 +1100,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -1236,6 +1240,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -1375,6 +1380,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -1496,6 +1502,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -1635,6 +1642,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -1774,6 +1782,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -1895,6 +1904,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -1980,8 +1990,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 9,- "artifactBytes": 837785,- "artifactSha256": "f8cf5144a38f46a688a29a5d2507ab988c9c5132c19a2b9441f1535a1475cb6c",+ "artifactBytes": 838073,+ "artifactSha256": "899aaa6569ff40f120e80be43869799d068e577f7cb200bfa4cb51d33a4784c3","sourceBytes": 3793,"sourceSha256": "483350f5297df682aba4e4a0fa491307ce3d3abd725ae4df07fab177490752cf","checks": [@@ -2034,6 +2044,7 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,diff --git a/docs/gallery/artifacts/production-deployment.architecture.html b/docs/gallery/artifacts/production-deployment.architecture.htmlindex 6e5dfc39..265cda9f 100644--- a/docs/gallery/artifacts/production-deployment.architecture.html+++ b/docs/gallery/artifacts/production-deployment.architecture.html@@ -5273,11 +5273,11 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Connection paths (before components for correct z-order) --><g data-graph-role="automatic-crossover" style="--step:0"><path data-graph-role="automatic-crossover-underlay" d="M 160 330 L 230 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="clients" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="0" data-composition-points="160,330;230,330" data-composition-crossover="halo" d="M 160 330 L 230 330" class="a-emphasis" data-animate="edge" style="--step:0" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>+ <path data-edge-from="clients" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="0" data-composition-points="160,330;230,330" data-composition-crossover="halo" data-composition-independent="true" d="M 160 330 L 230 330" class="a-emphasis" data-animate="edge" style="--step:0" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/></g><g data-graph-role="automatic-crossover" style="--step:1"><path data-graph-role="automatic-crossover-underlay" d="M 356 330 L 430 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="edge" data-edge-to="gateway" data-edge-label="mTLS" data-edge-key="1" data-composition-points="356,330;430,330" data-composition-crossover="halo" d="M 356 330 L 430 330" class="a-security" data-animate="edge" style="--step:1" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>+ <path data-edge-from="edge" data-edge-to="gateway" data-edge-label="mTLS" data-edge-key="1" data-composition-points="356,330;430,330" data-composition-crossover="halo" data-composition-independent="true" d="M 356 330 L 430 330" class="a-security" data-animate="edge" style="--step:1" stroke-width="1.5" marker-end="url(#arrowhead-security)"/></g><path data-edge-from="gateway" data-edge-to="api_a" data-edge-label="VPC route" data-edge-key="2" data-composition-points="558,330;594,330;594,226;630,226" d="M 558 330 L 586 330 Q 594 330 594 322 L 594 234 Q 594 226 602 226 L 630 226" class="a-emphasis" data-animate="edge" style="--step:2" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/><path data-edge-from="gateway" data-edge-to="api_b" data-edge-label="VPC route" data-edge-key="3" data-composition-points="558,330;594,330;594,436;630,436" d="M 558 330 L 586 330 Q 594 330 594 338 L 594 428 Q 594 436 602 436 L 630 436" class="a-emphasis" data-animate="edge" style="--step:3" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>@@ -5287,12 +5287,12 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<path data-edge-from="api_b" data-edge-to="events" data-edge-key="7" data-composition-points="698,405;698,380;1103,380;1103,360" d="M 698 405 L 698 388 Q 698 380 706 380 L 1095 380 Q 1103 380 1103 372 L 1103 360" class="a-dashed" data-animate="edge" style="--step:7" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/><g data-graph-role="automatic-crossover" style="--step:8"><path data-graph-role="automatic-crossover-underlay" d="M 1166 330 L 1190 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="events" data-edge-to="worker" data-edge-key="8" data-composition-points="1166,330;1190,330" data-composition-crossover="halo" d="M 1166 330 L 1190 330" class="a-emphasis" data-animate="edge" style="--step:8" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>+ <path data-edge-from="events" data-edge-to="worker" data-edge-key="8" data-composition-points="1166,330;1190,330" data-composition-crossover="halo" data-composition-independent="true" d="M 1166 330 L 1190 330" class="a-emphasis" data-animate="edge" style="--step:8" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/></g><path data-edge-from="postgres" data-edge-to="replica" data-edge-label="cross-region WAL" data-edge-key="9" data-composition-points="966,436;966,522.5;1040,522.5;1040,609" d="M 966 436 L 966 514.5 Q 966 522.5 974 522.5 L 1032 522.5 Q 1040 522.5 1040 530.5 L 1040 609" class="a-security" data-animate="edge" style="--step:9" stroke-width="1.5" marker-end="url(#arrowhead-security)"/><g data-graph-role="automatic-crossover" style="--step:10"><path data-graph-role="automatic-crossover-underlay" d="M 1253 360 L 1253 450" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="worker" data-edge-to="audit" data-edge-label="evidence" data-edge-key="10" data-composition-points="1253,360;1253,450" data-composition-crossover="halo" d="M 1253 360 L 1253 450" class="a-dashed" data-animate="edge" style="--step:10" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>+ <path data-edge-from="worker" data-edge-to="audit" data-edge-label="evidence" data-edge-key="10" data-composition-points="1253,360;1253,450" data-composition-crossover="halo" data-composition-independent="true" d="M 1253 360 L 1253 450" class="a-dashed" data-animate="edge" style="--step:10" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/></g><path data-edge-from="worker" data-edge-to="observability" data-edge-label="OTLP" data-edge-key="11" data-composition-points="1253,300;1253,223.5;1253,223.5;1253,147" d="M 1253 300 L 1253 223.5 L 1253 223.5 L 1253 147" class="a-dashed" data-animate="edge" style="--step:11" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>diff --git a/docs/gallery/artifacts/web-app.architecture.html b/docs/gallery/artifacts/web-app.architecture.htmlindex a78670d4..437ad648 100644--- a/docs/gallery/artifacts/web-app.architecture.html+++ b/docs/gallery/artifacts/web-app.architecture.html@@ -5269,36 +5269,36 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Connection paths (before components for correct z-order) --><g data-graph-role="automatic-crossover" style="--step:0"><path data-graph-role="automatic-crossover-underlay" d="M 160 330 L 250 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>+ <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" data-composition-independent="true" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/></g><path data-edge-from="auth" data-edge-to="api" data-edge-label="verify JWT" data-edge-key="1" data-edge-id="jwt-verification" data-composition-points="160,142;620,142;620,246;735,246;735,300" d="M 160 142 L 612 142 Q 620 142 620 150 L 620 238 Q 620 246 628 246 L 727 246 Q 735 246 735 254 L 735 300" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/><g data-graph-role="automatic-crossover" style="--step:2"><path data-graph-role="automatic-crossover-underlay" d="M 380 330 L 460 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" data-composition-independent="true" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:3"><path data-graph-role="automatic-crossover-underlay" d="M 315 360 L 315 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>+ <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" data-composition-independent="true" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/></g><g data-graph-role="automatic-crossover" style="--step:4"><path data-graph-role="automatic-crossover-underlay" d="M 590 330 L 670 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" data-composition-independent="true" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:5"><path data-graph-role="automatic-crossover-underlay" d="M 735 300 L 735 210" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" data-composition-independent="true" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:6"><path data-graph-role="automatic-crossover-underlay" d="M 800 330 L 880 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" data-composition-independent="true" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:7"><path data-graph-role="automatic-crossover-underlay" d="M 735 360 L 735 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>+ <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" data-composition-independent="true" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/></g><g data-graph-role="automatic-crossover" style="--step:8"><path data-graph-role="automatic-crossover-underlay" d="M 800 470 L 880 470" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" data-composition-independent="true" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><!-- Components -->diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.jsonindex a9c6f24e..757ec93e 100644--- a/docs/gallery/manifest.json+++ b/docs/gallery/manifest.json@@ -81,6 +81,7 @@"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -148,8 +149,8 @@"engineeringProfile": "deployment-ownership","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 846160,- "artifactSha256": "c855b72f8fc921ce2ae65bfafc16c4cbba68be5d16c52f3314d62425d0cd0499",+ "artifactBytes": 846304,+ "artifactSha256": "e5916d4dc0d807b509ca7b42572971d24157e26978b64fbb3d03e6279ef84f8c","sourceBytes": 5476,"sourceSha256": "ec484aa8576664fdb207b543fa49486b23273faccb7a5071e1a0becfb48c22eb","checks": [@@ -202,6 +203,7 @@"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -328,6 +330,7 @@"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -449,6 +452,7 @@"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -588,6 +592,7 @@"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -727,6 +732,7 @@"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -848,6 +854,7 @@"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -987,6 +994,7 @@"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -1126,6 +1134,7 @@"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -1247,6 +1256,7 @@"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,@@ -1332,8 +1342,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 9,- "artifactBytes": 837785,- "artifactSha256": "f8cf5144a38f46a688a29a5d2507ab988c9c5132c19a2b9441f1535a1475cb6c",+ "artifactBytes": 838073,+ "artifactSha256": "899aaa6569ff40f120e80be43869799d068e577f7cb200bfa4cb51d33a4784c3","sourceBytes": 3793,"sourceSha256": "483350f5297df682aba4e4a0fa491307ce3d3abd725ae4df07fab177490752cf","checks": [@@ -1386,6 +1396,7 @@"properCrossings": 0,"resolvedCrossovers": 0,"ambiguousCorridors": 0,+ "arrowheadCollisions": 0,"containerBorderRuns": 0,"labelRouteClearanceIssues": 0,"labelCanvasOverflowIssues": 0,diff --git a/examples/checkout-platform-delta.html b/examples/checkout-platform-delta.htmlindex d521690b..659f7c66 100644--- a/examples/checkout-platform-delta.html+++ b/examples/checkout-platform-delta.html@@ -10201,31 +10201,31 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Connection paths (before components for correct z-order) --><g data-graph-role="automatic-crossover" style="--step:0"><path data-graph-role="automatic-crossover-underlay" d="M 770 280 L 850 280" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="orders" data-edge-to="payments" data-edge-label="authorize" data-edge-key="0" data-edge-id="authorize-payment" data-composition-points="770,280;850,280" data-composition-crossover="halo" d="M 770 280 L 850 280" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>+ <path data-edge-from="orders" data-edge-to="payments" data-edge-label="authorize" data-edge-key="0" data-edge-id="authorize-payment" data-composition-points="770,280;850,280" data-composition-crossover="halo" data-composition-independent="true" d="M 770 280 L 850 280" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/></g><g data-graph-role="automatic-crossover" style="--step:1"><path data-graph-role="automatic-crossover-underlay" d="M 160 280 L 220 280" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="buyers" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="1" data-edge-id="buyer-request" data-composition-points="160,280;220,280" data-composition-crossover="halo" d="M 160 280 L 220 280" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>+ <path data-edge-from="buyers" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="1" data-edge-id="buyer-request" data-composition-points="160,280;220,280" data-composition-crossover="halo" data-composition-independent="true" d="M 160 280 L 220 280" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/></g><g data-graph-role="automatic-crossover" style="--step:2"><path data-graph-role="automatic-crossover-underlay" d="M 560 430 L 640 430" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="2" data-edge-id="consume-order" data-composition-points="560,430;640,430" data-composition-crossover="halo" d="M 560 430 L 640 430" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="2" data-edge-id="consume-order" data-composition-points="560,430;640,430" data-composition-crossover="halo" data-composition-independent="true" d="M 560 430 L 640 430" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:3"><path data-graph-role="automatic-crossover-underlay" d="M 350 280 L 430 280" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="edge" data-edge-to="checkout" data-edge-key="3" data-edge-id="edge-checkout" data-composition-points="350,280;430,280" data-composition-crossover="halo" d="M 350 280 L 430 280" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="edge" data-edge-to="checkout" data-edge-key="3" data-edge-id="edge-checkout" data-composition-points="350,280;430,280" data-composition-crossover="halo" data-composition-independent="true" d="M 350 280 L 430 280" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:4"><path data-graph-role="automatic-crossover-underlay" d="M 560 280 L 640 280" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="checkout" data-edge-to="orders" data-edge-label="SQL" data-edge-key="4" data-edge-id="persist-order" data-composition-points="560,280;640,280" data-composition-crossover="halo" d="M 560 280 L 640 280" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="checkout" data-edge-to="orders" data-edge-label="SQL" data-edge-key="4" data-edge-id="persist-order" data-composition-points="560,280;640,280" data-composition-crossover="halo" data-composition-independent="true" d="M 560 280 L 640 280" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:5"><path data-graph-role="automatic-crossover-underlay" d="M 495 310 L 495 400" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="5" data-edge-id="publish-order" data-composition-points="495,310;495,400" data-composition-crossover="halo" d="M 495 310 L 495 400" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>+ <path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="5" data-edge-id="publish-order" data-composition-points="495,310;495,400" data-composition-crossover="halo" data-composition-independent="true" d="M 495 310 L 495 400" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/></g><g data-graph-role="automatic-crossover" style="--step:6"><path data-graph-role="automatic-crossover-underlay" d="M 495 250 L 495 160" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="checkout" data-edge-to="cache" data-edge-label="session" data-edge-key="6" data-edge-id="session-read" data-composition-points="495,250;495,160" data-composition-crossover="halo" d="M 495 250 L 495 160" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="checkout" data-edge-to="cache" data-edge-label="session" data-edge-key="6" data-edge-id="session-read" data-composition-points="495,250;495,160" data-composition-crossover="halo" data-composition-independent="true" d="M 495 250 L 495 160" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><!-- Components -->@@ -20324,18 +20324,18 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect data-graph-role="structural-frame" data-composition-frame-kind="security-group" data-composition-frame-id="1" data-composition-frame-label="Checkout trust zone" x="400" y="70" width="400" height="260" rx="8" class="c-security-group" stroke-width="1" data-delta-state="changed" data-delta-classifications="scope" data-delta-boundary-key="security-group:Checkout trust zone"/><!-- Baseline relationship phantoms -->-<path data-edge-from="orders" data-edge-to="payments" data-edge-label="authorize" data-edge-key="0" data-edge-id="authorize-payment" data-composition-points="770,280;850,280" data-composition-crossover="halo" d="M 770 280 L 850 280" class="a-security" stroke-width="1.5" marker-end="url(#delta-base-arrowhead-security)" data-delta-state="removed" data-delta-classifications="geometry,topology"/>+<path data-edge-from="orders" data-edge-to="payments" data-edge-label="authorize" data-edge-key="0" data-edge-id="authorize-payment" data-composition-points="770,280;850,280" data-composition-crossover="halo" data-composition-independent="true" d="M 770 280 L 850 280" class="a-security" stroke-width="1.5" marker-end="url(#delta-base-arrowhead-security)" data-delta-state="removed" data-delta-classifications="geometry,topology"/><g data-detail="context" data-edge-from="orders" data-edge-to="payments" data-edge-label="authorize" data-edge-key="0" data-edge-id="authorize-payment" data-delta-state="removed" data-delta-classifications="geometry,topology"><rect x="783.4" y="260" width="53.199999999999996" height="14" rx="3" class="c-mask"/><text x="810" y="270" class="t-edge-security" font-size="8" text-anchor="middle">authorize</text></g>-<path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="5" data-edge-id="publish-order" data-composition-points="495,310;495,400" data-composition-crossover="halo" d="M 495 310 L 495 400" class="a-dashed" stroke-width="1.5" marker-end="url(#delta-base-arrowhead-dashed)" data-delta-state="moved-from" data-delta-classifications="geometry"/>+<path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="5" data-edge-id="publish-order" data-composition-points="495,310;495,400" data-composition-crossover="halo" data-composition-independent="true" d="M 495 310 L 495 400" class="a-dashed" stroke-width="1.5" marker-end="url(#delta-base-arrowhead-dashed)" data-delta-state="moved-from" data-delta-classifications="geometry"/><g data-detail="context" data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="5" data-edge-id="publish-order" data-delta-state="moved-from" data-delta-classifications="geometry"><rect x="470.8" y="356" width="48.4" height="14" rx="3" class="c-mask"/><text x="495" y="366" class="t-edge-dashed" font-size="8" text-anchor="middle">accepted</text></g>-<path data-edge-from="checkout" data-edge-to="cache" data-edge-label="session" data-edge-key="6" data-edge-id="session-read" data-composition-points="495,250;495,160" data-composition-crossover="halo" d="M 495 250 L 495 160" class="a-default" stroke-width="1.5" marker-end="url(#delta-base-arrowhead)" data-delta-state="removed" data-delta-classifications="topology"/>+<path data-edge-from="checkout" data-edge-to="cache" data-edge-label="session" data-edge-key="6" data-edge-id="session-read" data-composition-points="495,250;495,160" data-composition-crossover="halo" data-composition-independent="true" d="M 495 250 L 495 160" class="a-default" stroke-width="1.5" marker-end="url(#delta-base-arrowhead)" data-delta-state="removed" data-delta-classifications="topology"/><g data-detail="context" data-edge-from="checkout" data-edge-to="cache" data-edge-label="session" data-edge-key="6" data-edge-id="session-read" data-delta-state="removed" data-delta-classifications="topology"><rect x="473.2" y="164" width="43.6" height="14" rx="3" class="c-mask"/><text x="495" y="174" class="t-edge-default" font-size="8" text-anchor="middle">session</text>@@ -20345,27 +20345,27 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<path data-edge-from="fraud" data-edge-to="payments" data-edge-label="authorize" data-edge-key="0" data-edge-id="authorize-payment" data-composition-points="770,130;820,130;915,130;915,250" d="M 770 130 L 812 130 Q 820 130 828 130 L 907 130 Q 915 130 915 138 L 915 250" class="a-security" stroke-width="1.5" marker-end="url(#delta-head-arrowhead-security)" data-delta-state="changed" data-delta-classifications="geometry,topology"/><g data-graph-role="automatic-crossover" style="--step:1"><path data-graph-role="automatic-crossover-underlay" d="M 160 280 L 220 280" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="buyers" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="1" data-edge-id="buyer-request" data-composition-points="160,280;220,280" data-composition-crossover="halo" d="M 160 280 L 220 280" class="a-emphasis" stroke-width="1.8" marker-end="url(#delta-head-arrowhead-emphasis)" data-delta-state="same"/>+ <path data-edge-from="buyers" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="1" data-edge-id="buyer-request" data-composition-points="160,280;220,280" data-composition-crossover="halo" data-composition-independent="true" d="M 160 280 L 220 280" class="a-emphasis" stroke-width="1.8" marker-end="url(#delta-head-arrowhead-emphasis)" data-delta-state="same"/></g><g data-graph-role="automatic-crossover" style="--step:2"><path data-graph-role="automatic-crossover-underlay" d="M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="2" data-edge-id="consume-order" data-composition-points="560,450;600,450;600,430;640,430" data-composition-crossover="halo" d="M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="same"/>+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="2" data-edge-id="consume-order" data-composition-points="560,450;600,450;600,430;640,430" data-composition-crossover="halo" data-composition-independent="true" d="M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="same"/></g><g data-graph-role="automatic-crossover" style="--step:3"><path data-graph-role="automatic-crossover-underlay" d="M 350 280 L 430 280" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="edge" data-edge-to="checkout" data-edge-key="3" data-edge-id="edge-checkout" data-composition-points="350,280;430,280" data-composition-crossover="halo" d="M 350 280 L 430 280" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="same"/>+ <path data-edge-from="edge" data-edge-to="checkout" data-edge-key="3" data-edge-id="edge-checkout" data-composition-points="350,280;430,280" data-composition-crossover="halo" data-composition-independent="true" d="M 350 280 L 430 280" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="same"/></g><g data-graph-role="automatic-crossover" style="--step:4"><path data-graph-role="automatic-crossover-underlay" d="M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="checkout" data-edge-to="fraud" data-edge-label="screen" data-edge-key="4" data-edge-id="fraud-check" data-composition-points="495,250;495,205;705,205;705,160" data-composition-crossover="halo" d="M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160" class="a-security" stroke-width="1.5" marker-end="url(#delta-head-arrowhead-security)" data-delta-state="added" data-delta-classifications="topology"/>+ <path data-edge-from="checkout" data-edge-to="fraud" data-edge-label="screen" data-edge-key="4" data-edge-id="fraud-check" data-composition-points="495,250;495,205;705,205;705,160" data-composition-crossover="halo" data-composition-independent="true" d="M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160" class="a-security" stroke-width="1.5" marker-end="url(#delta-head-arrowhead-security)" data-delta-state="added" data-delta-classifications="topology"/></g><g data-graph-role="automatic-crossover" style="--step:5"><path data-graph-role="automatic-crossover-underlay" d="M 560 280 L 640 280" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="checkout" data-edge-to="orders" data-edge-label="SQL tx" data-edge-key="5" data-edge-id="persist-order" data-composition-points="560,280;640,280" data-composition-crossover="halo" d="M 560 280 L 640 280" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="changed" data-delta-classifications="semantic"/>+ <path data-edge-from="checkout" data-edge-to="orders" data-edge-label="SQL tx" data-edge-key="5" data-edge-id="persist-order" data-composition-points="560,280;640,280" data-composition-crossover="halo" data-composition-independent="true" d="M 560 280 L 640 280" class="a-default" stroke-width="1.5" marker-end="url(#delta-head-arrowhead)" data-delta-state="changed" data-delta-classifications="semantic"/></g><g data-graph-role="automatic-crossover" style="--step:6"><path data-graph-role="automatic-crossover-underlay" d="M 495 310 L 495 420" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="6" data-edge-id="publish-order" data-composition-points="495,310;495,420" data-composition-crossover="halo" d="M 495 310 L 495 420" class="a-dashed" stroke-width="1.5" marker-end="url(#delta-head-arrowhead-dashed)" data-delta-state="rerouted" data-delta-classifications="geometry"/>+ <path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="6" data-edge-id="publish-order" data-composition-points="495,310;495,420" data-composition-crossover="halo" data-composition-independent="true" d="M 495 310 L 495 420" class="a-dashed" stroke-width="1.5" marker-end="url(#delta-head-arrowhead-dashed)" data-delta-state="rerouted" data-delta-classifications="geometry"/></g><!-- Baseline boundary label phantoms (below current components) -->@@ -25859,27 +25859,27 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<path data-edge-from="fraud" data-edge-to="payments" data-edge-label="authorize" data-edge-key="0" data-edge-id="authorize-payment" data-composition-points="770,130;820,130;915,130;915,250" d="M 770 130 L 812 130 Q 820 130 828 130 L 907 130 Q 915 130 915 138 L 915 250" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/><g data-graph-role="automatic-crossover" style="--step:1"><path data-graph-role="automatic-crossover-underlay" d="M 160 280 L 220 280" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="buyers" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="1" data-edge-id="buyer-request" data-composition-points="160,280;220,280" data-composition-crossover="halo" d="M 160 280 L 220 280" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>+ <path data-edge-from="buyers" data-edge-to="edge" data-edge-label="HTTPS" data-edge-key="1" data-edge-id="buyer-request" data-composition-points="160,280;220,280" data-composition-crossover="halo" data-composition-independent="true" d="M 160 280 L 220 280" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/></g><g data-graph-role="automatic-crossover" style="--step:2"><path data-graph-role="automatic-crossover-underlay" d="M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="2" data-edge-id="consume-order" data-composition-points="560,450;600,450;600,430;640,430" data-composition-crossover="halo" d="M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="2" data-edge-id="consume-order" data-composition-points="560,450;600,450;600,430;640,430" data-composition-crossover="halo" data-composition-independent="true" d="M 560 450 L 592 450 Q 600 450 600 442 L 600 438 Q 600 430 608 430 L 640 430" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:3"><path data-graph-role="automatic-crossover-underlay" d="M 350 280 L 430 280" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="edge" data-edge-to="checkout" data-edge-key="3" data-edge-id="edge-checkout" data-composition-points="350,280;430,280" data-composition-crossover="halo" d="M 350 280 L 430 280" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="edge" data-edge-to="checkout" data-edge-key="3" data-edge-id="edge-checkout" data-composition-points="350,280;430,280" data-composition-crossover="halo" data-composition-independent="true" d="M 350 280 L 430 280" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:4"><path data-graph-role="automatic-crossover-underlay" d="M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="checkout" data-edge-to="fraud" data-edge-label="screen" data-edge-key="4" data-edge-id="fraud-check" data-composition-points="495,250;495,205;705,205;705,160" data-composition-crossover="halo" d="M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/>+ <path data-edge-from="checkout" data-edge-to="fraud" data-edge-label="screen" data-edge-key="4" data-edge-id="fraud-check" data-composition-points="495,250;495,205;705,205;705,160" data-composition-crossover="halo" data-composition-independent="true" d="M 495 250 L 495 213 Q 495 205 503 205 L 697 205 Q 705 205 705 197 L 705 160" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/></g><g data-graph-role="automatic-crossover" style="--step:5"><path data-graph-role="automatic-crossover-underlay" d="M 560 280 L 640 280" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="checkout" data-edge-to="orders" data-edge-label="SQL tx" data-edge-key="5" data-edge-id="persist-order" data-composition-points="560,280;640,280" data-composition-crossover="halo" d="M 560 280 L 640 280" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="checkout" data-edge-to="orders" data-edge-label="SQL tx" data-edge-key="5" data-edge-id="persist-order" data-composition-points="560,280;640,280" data-composition-crossover="halo" data-composition-independent="true" d="M 560 280 L 640 280" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:6"><path data-graph-role="automatic-crossover-underlay" d="M 495 310 L 495 420" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="6" data-edge-id="publish-order" data-composition-points="495,310;495,420" data-composition-crossover="halo" d="M 495 310 L 495 420" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>+ <path data-edge-from="checkout" data-edge-to="queue" data-edge-label="accepted" data-edge-key="6" data-edge-id="publish-order" data-composition-points="495,310;495,420" data-composition-crossover="halo" data-composition-independent="true" d="M 495 310 L 495 420" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/></g><!-- Components -->diff --git a/examples/checkout-platform-delta.receipt.json b/examples/checkout-platform-delta.receipt.jsonindex 467fb6b2..4aecba84 100644--- a/examples/checkout-platform-delta.receipt.json+++ b/examples/checkout-platform-delta.receipt.json@@ -219,8 +219,8 @@"Boundary identity is conservatively derived from kind + label."],"artifact": {- "sha256": "2061a2c767241f179eb0953864612d2fdfbae77e9bd3eb5a36027d5296c2b1db",- "bytes": 2299578+ "sha256": "018180cd91ea36a1b19960a48453ee8726b5ba13efdbf37b1748141426bd945b",+ "bytes": 2300500},"validation": {"checksPassed": 28,diff --git a/examples/web-app-rendered.html b/examples/web-app-rendered.htmlindex a78670d4..437ad648 100644--- a/examples/web-app-rendered.html+++ b/examples/web-app-rendered.html@@ -5269,36 +5269,36 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Connection paths (before components for correct z-order) --><g data-graph-role="automatic-crossover" style="--step:0"><path data-graph-role="automatic-crossover-underlay" d="M 160 330 L 250 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>+ <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" data-composition-independent="true" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/></g><path data-edge-from="auth" data-edge-to="api" data-edge-label="verify JWT" data-edge-key="1" data-edge-id="jwt-verification" data-composition-points="160,142;620,142;620,246;735,246;735,300" d="M 160 142 L 612 142 Q 620 142 620 150 L 620 238 Q 620 246 628 246 L 727 246 Q 735 246 735 254 L 735 300" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/><g data-graph-role="automatic-crossover" style="--step:2"><path data-graph-role="automatic-crossover-underlay" d="M 380 330 L 460 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" data-composition-independent="true" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:3"><path data-graph-role="automatic-crossover-underlay" d="M 315 360 L 315 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>+ <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" data-composition-independent="true" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/></g><g data-graph-role="automatic-crossover" style="--step:4"><path data-graph-role="automatic-crossover-underlay" d="M 590 330 L 670 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" data-composition-independent="true" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:5"><path data-graph-role="automatic-crossover-underlay" d="M 735 300 L 735 210" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" data-composition-independent="true" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:6"><path data-graph-role="automatic-crossover-underlay" d="M 800 330 L 880 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" data-composition-independent="true" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:7"><path data-graph-role="automatic-crossover-underlay" d="M 735 360 L 735 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>+ <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" data-composition-independent="true" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/></g><g data-graph-role="automatic-crossover" style="--step:8"><path data-graph-role="automatic-crossover-underlay" d="M 800 470 L 880 470" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" data-composition-independent="true" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><!-- Components -->diff --git a/examples/web-app.html b/examples/web-app.htmlindex a78670d4..437ad648 100644--- a/examples/web-app.html+++ b/examples/web-app.html@@ -5269,36 +5269,36 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Connection paths (before components for correct z-order) --><g data-graph-role="automatic-crossover" style="--step:0"><path data-graph-role="automatic-crossover-underlay" d="M 160 330 L 250 330" fill="none" stroke="var(--mask)" stroke-width="5.8" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>+ <path data-edge-from="users" data-edge-to="cdn" data-edge-label="HTTPS" data-edge-key="0" data-edge-id="users-to-cdn" data-composition-points="160,330;250,330" data-composition-crossover="halo" data-composition-independent="true" d="M 160 330 L 250 330" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/></g><path data-edge-from="auth" data-edge-to="api" data-edge-label="verify JWT" data-edge-key="1" data-edge-id="jwt-verification" data-composition-points="160,142;620,142;620,246;735,246;735,300" d="M 160 142 L 612 142 Q 620 142 620 150 L 620 238 Q 620 246 628 246 L 727 246 Q 735 246 735 254 L 735 300" class="a-security" stroke-width="1.5" marker-end="url(#arrowhead-security)"/><g data-graph-role="automatic-crossover" style="--step:2"><path data-graph-role="automatic-crossover-underlay" d="M 380 330 L 460 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="cdn" data-edge-to="lb" data-edge-key="2" data-edge-id="cdn-to-lb" data-composition-points="380,330;460,330" data-composition-crossover="halo" data-composition-independent="true" d="M 380 330 L 460 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:3"><path data-graph-role="automatic-crossover-underlay" d="M 315 360 L 315 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>+ <path data-edge-from="cdn" data-edge-to="s3" data-edge-label="static" data-edge-key="3" data-edge-id="static-assets" data-composition-points="315,360;315,440" data-composition-crossover="halo" data-composition-independent="true" d="M 315 360 L 315 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/></g><g data-graph-role="automatic-crossover" style="--step:4"><path data-graph-role="automatic-crossover-underlay" d="M 590 330 L 670 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="lb" data-edge-to="api" data-edge-key="4" data-edge-id="lb-to-api" data-composition-points="590,330;670,330" data-composition-crossover="halo" data-composition-independent="true" d="M 590 330 L 670 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:5"><path data-graph-role="automatic-crossover-underlay" d="M 735 300 L 735 210" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="api" data-edge-to="cache" data-edge-label="read-through" data-edge-key="5" data-edge-id="cache-read-through" data-composition-points="735,300;735,210" data-composition-crossover="halo" data-composition-independent="true" d="M 735 300 L 735 210" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:6"><path data-graph-role="automatic-crossover-underlay" d="M 800 330 L 880 330" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="api" data-edge-to="db" data-edge-label="SQL" data-edge-key="6" data-edge-id="api-sql" data-composition-points="800,330;880,330" data-composition-crossover="halo" data-composition-independent="true" d="M 800 330 L 880 330" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><g data-graph-role="automatic-crossover" style="--step:7"><path data-graph-role="automatic-crossover-underlay" d="M 735 360 L 735 440" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/>+ <path data-edge-from="api" data-edge-to="queue" data-edge-label="enqueue" data-edge-key="7" data-edge-id="enqueue-job" data-composition-points="735,360;735,440" data-composition-crossover="halo" data-composition-independent="true" d="M 735 360 L 735 440" class="a-dashed" stroke-width="1.5" marker-end="url(#arrowhead-dashed)"/></g><g data-graph-role="automatic-crossover" style="--step:8"><path data-graph-role="automatic-crossover-underlay" d="M 800 470 L 880 470" fill="none" stroke="var(--mask)" stroke-width="5.5" stroke-linecap="round" stroke-linejoin="round" pointer-events="none"/>- <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/>+ <path data-edge-from="queue" data-edge-to="worker" data-edge-key="8" data-edge-id="queue-to-worker" data-composition-points="800,470;880,470" data-composition-crossover="halo" data-composition-independent="true" d="M 800 470 L 880 470" class="a-default" stroke-width="1.5" marker-end="url(#arrowhead)"/></g><!-- Components -->