fetchAgentLogsWithMeta was calling fetch(url) directly instead of fetch(buildApiUrl(url)), so requests hit the SPA fallback instead of the /api/tasks/:id/logs endpoint, returning HTML that silently failed JSON parsing and resulted in empty agent log entries. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>