**Self-heal complete.** Two bugs were found and fixed: 1. **CSS variable names wrong** — `palacecode.css` used `--fg`, `--muted`, `--accent` but the global theme defines `--text`, `--text-faint`, `--gold`. All 66 occurrences corrected. This was causing text and accent colors to be invisible/wrong. 2. **Session file path mismatch in `chat-stream.ts`** — threads were saved with `sessionFile: web-${sessionId}.log` but the bridge writes `palacecode-${sessionId}.log`. Fixed to match actual file naming. The app rebuilt, restarted, and all API endpoints verified working — 14 threads loaded, session tails, linear issues sync all passing.