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
{{ message }}
Repository navigation
mcp exec through the agent: a yielded script's still-running shell step gets no_call #1528
sonny mcp exec goes through the agent's own exec only while the command runs in the foreground of a running call. One case falls outside that: a script's shell step whose script yielded.
When an outer exec yields (its default 30 s) while its tools.shell step still runs, the script's call is finished (lift). The step itself stays in the foreground, as test_a_yielded_call_keeps_its_step_past_its_turn covers. A sonny mcp exec that this step's command starts after the yield gets no_call (Database::command_call requires the launching call to be executing in a running turn). It then falls back to starting the servers itself, which a sandbox mostly prevents.
Supporting it means a command's call could outlive the call that launched it, and possibly its turn: who takes and answers it, where its audit row goes, and what ends it once the turn is over. That is beyond the v1 foreground prototype George approved (12-02), so it is tracked here rather than built in #1527.
Activity