Prepare agent-neutral hardening release

This commit is contained in:
Sam Valladares 2026-05-24 16:09:44 -05:00
parent 9936928be9
commit 7eba0b1e97
117 changed files with 3679 additions and 513 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
import{a as r}from"../chunks/BTwePnbx.js";import{w as t}from"../chunks/BdslOLCg.js";export{t as load_css,r as start};

View file

@ -1 +0,0 @@
import{a as r}from"../chunks/BHGLDPij.js";import{w as t}from"../chunks/BskPcZf7.js";export{t as load_css,r as start};

View file

@ -1 +1 @@
import"../chunks/Bzak7iHL.js";import{i as h}from"../chunks/BUoSzNdg.js";import{p as g,f as d,t as l,a as v,d as s,r as o,e as _}from"../chunks/CpWkWWOo.js";import{s as p}from"../chunks/BlVfL1ME.js";import{a as x,f as $}from"../chunks/CHOnp4oo.js";import{p as m}from"../chunks/BskPcZf7.js";import{s as k}from"../chunks/BHGLDPij.js";const b={get error(){return m.error},get status(){return m.status}};k.updated.check;const i=b;var E=$("<h1> </h1> <p> </p>",1);function C(f,n){g(n,!1),h();var t=E(),r=d(t),c=s(r,!0);o(r);var a=_(r,2),u=s(a,!0);o(a),l(()=>{var e;p(c,i.status),p(u,(e=i.error)==null?void 0:e.message)}),x(f,t),v()}export{C as component};
import"../chunks/Bzak7iHL.js";import{i as h}from"../chunks/BUoSzNdg.js";import{p as g,f as d,t as l,a as v,d as s,r as o,e as _}from"../chunks/CpWkWWOo.js";import{s as p}from"../chunks/BlVfL1ME.js";import{a as x,f as $}from"../chunks/CHOnp4oo.js";import{p as m}from"../chunks/BdslOLCg.js";import{s as k}from"../chunks/BTwePnbx.js";const b={get error(){return m.error},get status(){return m.status}};k.updated.check;const i=b;var E=$("<h1> </h1> <p> </p>",1);function C(f,n){g(n,!1),h();var t=E(),r=d(t),c=s(r,!0);o(r);var a=_(r,2),u=s(a,!0);o(a),l(()=>{var e;p(c,i.status),p(u,(e=i.error)==null?void 0:e.message)}),x(f,t),v()}export{C as component};

View file

@ -1,4 +1,4 @@
var Bc=Object.defineProperty;var zc=(i,t,e)=>t in i?Bc(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var kt=(i,t,e)=>zc(i,typeof t!="symbol"?t+"":t,e);import"../chunks/Bzak7iHL.js";import{o as jl,a as Zl}from"../chunks/GG5zm9kr.js";import{s as me,c as va,h as zt,g as B,p as ys,aB as kc,a as Es,d as yt,e as bt,n as Hc,r as xt,t as Ke,u as Gn,f as Kl,j as Vc}from"../chunks/CpWkWWOo.js";import{s as fe,d as $l,a as Fe}from"../chunks/BlVfL1ME.js";import{i as kn}from"../chunks/B4yTwGkE.js";import{e as _s,i as hr}from"../chunks/CGEBXrjl.js";import{a as _e,f as Se,c as Gc}from"../chunks/CHOnp4oo.js";import{s as ve,r as xa}from"../chunks/A7po6GxK.js";import{s as Us}from"../chunks/aVbAZ-t7.js";import{s as Sr}from"../chunks/Cx-f-Pzo.js";import{b as Ma}from"../chunks/sZcqyNBA.js";import{b as Jl}from"../chunks/BnXDGOmJ.js";import{s as Wc,a as Xc}from"../chunks/C6HuKgyx.js";import{b as Do}from"../chunks/BskPcZf7.js";import{b as Yc}from"../chunks/CJsMJEun.js";import{p as vs}from"../chunks/V6gjw5Ec.js";import{N as Sa}from"../chunks/DzfRjky4.js";import{i as qc}from"../chunks/BUoSzNdg.js";import{a as gi}from"../chunks/DNjM5a-l.js";import{e as jc}from"../chunks/MAY1QfFZ.js";/**
var Bc=Object.defineProperty;var zc=(i,t,e)=>t in i?Bc(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var kt=(i,t,e)=>zc(i,typeof t!="symbol"?t+"":t,e);import"../chunks/Bzak7iHL.js";import{o as jl,a as Zl}from"../chunks/GG5zm9kr.js";import{s as me,c as va,h as zt,g as B,p as ys,aB as kc,a as Es,d as yt,e as bt,n as Hc,r as xt,t as Ke,u as Gn,f as Kl,j as Vc}from"../chunks/CpWkWWOo.js";import{s as fe,d as $l,a as Fe}from"../chunks/BlVfL1ME.js";import{i as kn}from"../chunks/B4yTwGkE.js";import{e as _s,i as hr}from"../chunks/CGEBXrjl.js";import{a as _e,f as Se,c as Gc}from"../chunks/CHOnp4oo.js";import{s as ve,r as xa}from"../chunks/A7po6GxK.js";import{s as Us}from"../chunks/aVbAZ-t7.js";import{s as Sr}from"../chunks/Cx-f-Pzo.js";import{b as Ma}from"../chunks/sZcqyNBA.js";import{b as Jl}from"../chunks/BnXDGOmJ.js";import{s as Wc,a as Xc}from"../chunks/C6HuKgyx.js";import{b as Do}from"../chunks/BdslOLCg.js";import{b as Yc}from"../chunks/CJsMJEun.js";import{p as vs}from"../chunks/V6gjw5Ec.js";import{N as Sa}from"../chunks/DzfRjky4.js";import{i as qc}from"../chunks/BUoSzNdg.js";import{a as gi}from"../chunks/DNjM5a-l.js";import{e as jc}from"../chunks/MAY1QfFZ.js";/**
* @license
* Copyright 2010-2024 Three.js Authors
* SPDX-License-Identifier: MIT

View file

@ -1 +1 @@
import"../chunks/Bzak7iHL.js";import{i as p}from"../chunks/BUoSzNdg.js";import{o as r}from"../chunks/GG5zm9kr.js";import{p as t,a}from"../chunks/CpWkWWOo.js";import{g as m}from"../chunks/BHGLDPij.js";function g(i,o){t(o,!1),r(()=>m("/graph",{replaceState:!0})),p(),a()}export{g as component};
import"../chunks/Bzak7iHL.js";import{i as p}from"../chunks/BUoSzNdg.js";import{o as r}from"../chunks/GG5zm9kr.js";import{p as t,a}from"../chunks/CpWkWWOo.js";import{g as m}from"../chunks/BTwePnbx.js";function g(i,o){t(o,!1),r(()=>m("/graph",{replaceState:!0})),p(),a()}export{g as component};

View file

@ -1 +1 @@
{"version":"1778051833240"}
{"version":"2.1.21"}

View file

@ -11,13 +11,13 @@
<link rel="icon" type="image/svg+xml" href="/dashboard/favicon.svg" />
<link rel="apple-touch-icon" href="/dashboard/favicon.svg" />
<link rel="manifest" href="/dashboard/manifest.json" />
<link href="/dashboard/_app/immutable/entry/start.gT92nAJC.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/chunks/BHGLDPij.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/entry/start.DfC8txIX.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/chunks/BTwePnbx.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/chunks/CpWkWWOo.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/chunks/BeMFXnHE.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/chunks/BskPcZf7.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/chunks/BdslOLCg.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/chunks/GG5zm9kr.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/entry/app.CYIcgKkt.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/entry/app.DRELdRUq.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/chunks/BlVfL1ME.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/chunks/CHOnp4oo.js" rel="modulepreload">
<link href="/dashboard/_app/immutable/chunks/Bzak7iHL.js" rel="modulepreload">
@ -33,7 +33,7 @@
<div style="display: contents">
<script>
{
__sveltekit_10kbxme = {
__sveltekit_1qjqcdh = {
base: "/dashboard",
assets: "/dashboard"
};
@ -41,8 +41,8 @@
const element = document.currentScript.parentElement;
Promise.all([
import("/dashboard/_app/immutable/entry/start.gT92nAJC.js"),
import("/dashboard/_app/immutable/entry/app.CYIcgKkt.js")
import("/dashboard/_app/immutable/entry/start.DfC8txIX.js"),
import("/dashboard/_app/immutable/entry/app.DRELdRUq.js")
]).then(([kit, app]) => {
kit.start(app, element);
});

Binary file not shown.

Binary file not shown.

View file

@ -1,12 +1,12 @@
{
"name": "@vestige/dashboard",
"version": "2.1.0",
"version": "2.1.21",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@vestige/dashboard",
"version": "2.1.0",
"version": "2.1.21",
"dependencies": {
"three": "^0.172.0"
},

View file

@ -1,6 +1,6 @@
{
"name": "@vestige/dashboard",
"version": "2.1.2",
"version": "2.1.21",
"private": true,
"type": "module",
"scripts": {

View file

@ -173,14 +173,14 @@ describe('buildTransferMatrix', () => {
it('aggregates transfer counts directionally', () => {
const m = buildTransferMatrix(PROJECTS, PATTERNS);
// vestige → api-gateway: Result<T,E> + proptest = 2
expect(m.vestige.api-gateway.count).toBe(2);
expect(m.vestige['api-gateway'].count).toBe(2);
// vestige → desktop-app: Result<T,E> only = 1
expect(m.vestige.desktop-app.count).toBe(1);
expect(m.vestige['desktop-app'].count).toBe(1);
// api-gateway → vestige: Axum middleware = 1
expect(m.api-gateway.vestige.count).toBe(1);
expect(m['api-gateway'].vestige.count).toBe(1);
// desktop-app → anywhere: zero (no origin in desktop-app in fixtures)
expect(m.desktop-app.vestige.count).toBe(0);
expect(m.desktop-app.api-gateway.count).toBe(0);
expect(m['desktop-app'].vestige.count).toBe(0);
expect(m['desktop-app']['api-gateway'].count).toBe(0);
});
it('treats (A, B) and (B, A) as distinct directions (asymmetry confirmed)', () => {
@ -189,7 +189,7 @@ describe('buildTransferMatrix', () => {
// bug that aggregates both directions into the same cell would pass
// the "count" test above but fail this symmetry check.
const m = buildTransferMatrix(PROJECTS, PATTERNS);
expect(m.vestige.api-gateway.count).not.toBe(m.api-gateway.vestige.count);
expect(m.vestige['api-gateway'].count).not.toBe(m['api-gateway'].vestige.count);
});
it('records self-transfer on the diagonal', () => {
@ -207,9 +207,9 @@ describe('buildTransferMatrix', () => {
transfer_count: 1,
}));
const m = buildTransferMatrix(['vestige', 'api-gateway'], manyPatterns);
expect(m.vestige.api-gateway.count).toBe(5);
expect(m.vestige.api-gateway.topNames).toHaveLength(3);
expect(m.vestige.api-gateway.topNames).toEqual(['pattern-0', 'pattern-1', 'pattern-2']);
expect(m.vestige['api-gateway'].count).toBe(5);
expect(m.vestige['api-gateway'].topNames).toHaveLength(3);
expect(m.vestige['api-gateway'].topNames).toEqual(['pattern-0', 'pattern-1', 'pattern-2']);
});
it('silently drops patterns whose origin is not in the projects axis', () => {
@ -238,7 +238,7 @@ describe('buildTransferMatrix', () => {
};
const m = buildTransferMatrix(PROJECTS, [strayDest]);
// The known destination counts; the ghost doesn't.
expect(m.vestige.api-gateway.count).toBe(1);
expect(m.vestige['api-gateway'].count).toBe(1);
expect((m.vestige as Record<string, unknown>)['ghost-project']).toBeUndefined();
});
@ -260,7 +260,7 @@ describe('buildTransferMatrix', () => {
},
];
const m = buildTransferMatrix(['vestige', 'api-gateway'], pats, 1);
expect(m.vestige.api-gateway.topNames).toEqual(['a']);
expect(m.vestige['api-gateway'].topNames).toEqual(['a']);
});
});

View file

@ -1,6 +1,8 @@
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
const appVersion = process.env.VESTIGE_DASHBOARD_VERSION ?? process.env.npm_package_version ?? 'dev';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
@ -15,6 +17,9 @@ const config = {
paths: {
base: '/dashboard'
},
version: {
name: appVersion
},
alias: {
$lib: 'src/lib',
$components: 'src/lib/components',