Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: pin the client ports mirror against server/lib/ports.js so mirrorCoverage stops failing on main
[._.]/ Adam Eivy3fdb2b7be153
diff --git a/client/src/lib/ports.parity.test.js b/client/src/lib/ports.parity.test.jsindex 41a0981d04..09ae412df6 100644--- a/client/src/lib/ports.parity.test.js+++ b/client/src/lib/ports.parity.test.js@@ -2,6 +2,7 @@import { describe, it, expect } from 'vitest';import { createRequire } from 'node:module';import { PORTS, DEFAULT_PEER_PORT } from './ports.js';+import { PORTS as SERVER_PORTS } from '../../../server/lib/ports.js';const require = createRequire(import.meta.url);// ecosystem.config.cjs is the source of truth for every PortOS port.@@ -15,6 +16,12 @@ describe('client/src/lib/ports.js mirror parity', () => {}});+ it('matches the server mirror in server/lib/ports.js for every mirrored port', () => {+ for (const key of Object.keys(PORTS)) {+ expect(PORTS[key], `server mirror PORTS.${key} drifted`).toBe(SERVER_PORTS[key]);+ }+ });+it('mirrors only the UI-facing subset', () => {expect(Object.keys(PORTS).sort()).toEqual(['API', 'API_LOCAL', 'UI']);});