Fix duplicate gateway spawning and add extension unit tests in pi-coding-agent (0xKobold)
Takeaway: I'd start by naming the exact env vars and lifecycle hook I suspect (session_start firing per-subagent) so the agent goes straight to gateway/update/self-update extensions instead of spending a dozen turns on lsof and pstree.