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
import { expect, it, vi } from 'vitest';
vi.mock('./productionReview.js', async (load) => ({ ...await load(), assertProductionApproval: vi.fn() }));
vi.mock('./projects.js', () => ({ getProject: vi.fn(async () => ({ id: 'reviewed-project' })), updateProject: vi.fn() }));
const { renderMusicVideo } = await import('./render.js');
it('refuses an unbound directory override instead of rendering different content under a project approval', async () => {
await expect(renderMusicVideo('reviewed-project', { codeDirectory: 'compositions/unreviewed' }))
.rejects.toMatchObject({ code: 'MUSIC_VIDEO_UNREVIEWED_DIRECTORY' });
});