# Self-Heal Report: palacecode **Time:** 03/19/2026, 15:40:55 ## Agent Output (tail) ``` **Self-heal complete.** Here's what was found and fixed: **Bug Fixed:** Missing Vite pre-bundle entries in `astro.config.mjs` caused 504 errors when the browser tried to load: - `lucide-preact` (icons throughout the UI) - `@palace/sdk/speech` and `@palace/sdk/speech/preact` (speech recognizer) These packages weren't in `optimizeDeps.include`, so Vite never pre-bundled them, causing the Dashboard component to fail to mount (blank/broken UI). **Fix:** Added all three to `optimizeDeps.include`, then rebuilt and verified. **All tests passing:** - Page loads, API endpoints all return 200 - 13 threads, 5 session tails, 74 Linear issues — all returning correct data - Vite dep hashes now consistent (no more stale optimize dep errors) ```