agent: Emit error event on startup if OAuth auth fails

t-391·WorkTask·
·
·
Created3 months ago·Updated3 months ago·pipeline runs →

Description

Edit

When agent starts, check if OAuth authentication is valid. If not, emit an error event immediately so agentd watch shows the failure instead of the container silently dying.

Timeline (3)

🔄[human]Open → InProgress3 months ago
🔄[human]InProgress → Done3 months ago
Complete[engineer]{"verified":true}3 months ago