The failure found while resolving a turn's route was stashed on the shared runner, so another chat resolving on another thread could clear or replace it before the turn read it, and the sign-in hint went missing or named another session's provider. It now travels in a context variable, which each gateway turn's executor copy keeps to itself.
The failure also survived later steps that move the turn onto another provider (`/model --once`, an API caller's provider, a channel override), so a failure of that route told the user to sign in to the primary. attach_primary_auth_failure now drops it unless the agent runs the backup it names.
Reported-by: greptile-apps[bot]