The send-path repair branch set _request_result but not _request_error_code, so the AGENT_REQUEST_FAILED lifecycle event fell back to the misleading 'agent lifecycle failure'. Set THREAD_REPAIRED so logs and middleware show the real outcome.
The send-path repair branch set _request_result but not _request_error_code, so the AGENT_REQUEST_FAILED lifecycle event fell back to the misleading 'agent lifecycle failure'. Set THREAD_REPAIRED so logs and middleware show the real outcome.