You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Independent review of #1118 found a P1 state-ownership bug: after interactive run A is selected and exposes approval/plan/input UI, timestamp-newer external run B can become currentRunID while A pending UI remains rendered. Chat actions then target B through currentRunID, so a user response intended for A may POST to B.
Acceptance criteria
On external/local run ownership change, terminal retirement, and fallback selection, atomically clear or exact-run-own pending questions, approval, and plan state so no stale A affordance can act on B.
Add deterministic Swift regressions: A interactive -> B selected -> no A UI/action; attempting stale action causes no B endpoint request; terminal/fallback has no stale input/approval/plan.
Problem
Independent review of #1118 found a P1 state-ownership bug: after interactive run A is selected and exposes approval/plan/input UI, timestamp-newer external run B can become
currentRunIDwhile A pending UI remains rendered. Chat actions then target B throughcurrentRunID, so a user response intended for A may POST to B.Acceptance criteria
Scope
Native RunSession/Transcript/Chat UI state ownership only; no callback production changes. This blocks #1118 promotion.