Files
orca/src/shared
Neil f0b71c9368 Fail Antigravity worker readiness fast when agy is signed out (#38901)
* fix(runtime): fail agent readiness fast when the program reports a sign-in block

agy shows its login menu when signed out and reports OSC 7501
state=blocked:kind=auth. tui-idle treated that as pending, so worker-start
waited out its whole readiness timeout and reported a vague
'Agent did not become ready'. Rank a fresh program sign-in block as a
blocked verdict (agent-sign-in-prompt) so worker-start fails at once with
Agent startup blocked: agent-sign-in-prompt and never types the task into
the login menu.

Fixes #37056 (STA-13300)

* fix(runtime): require an agy sign-in block to persist before failing readiness

agy flashes its sign-in splash at startup and then signs itself in (#28348), so a fresh OSC 7501 blocked kind=auth is not yet final. Hold the verdict pending for 3s from the first auth report (repeats keep the first stamp; idle/working supersede it) and recheck when the window ends.
2026-11-06 03:03:46 -08:00
..
…