## Palace Code Self-Heal Complete **What was tested:** - Layout rendering at `/code/` — all elements present (title, split panel, nav) - All API endpoints: threads, session-tails, linear-issues, attach-thread, update-thread, delete-thread **One issue found and fixed:** `apps/palacecode` was running a stale build from March 17 20:13, but 8 source files had been modified after that build (thread-store.ts, types.ts, format.ts, chat-stream.ts, chat.ts, Dashboard.tsx, and more). The live API server was serving outdated code. **Fix:** Rebuilt `apps/palacecode` and restarted the `com.manglasabang.palacecode` service. All 15 threads, session logs, and 74 Linear issues now served from fresh code.