The build script now runs 'routify build' before svelte-check so the generated routes module exists when type-checking. vite build still runs last to produce dist/client/, which tauri::generate_context! needs at compile time for jarvis-gui.