Polpo is exactly the kind of remote cockpit we built for our Claude/LLM agents. A couple of cleanup tricks that helped: keep the sessionId sticky on the phone so a dropped connection just re-subscribes to the existing plan instead of starting a new run, and send a tiny heartbeat on the WebSocket when you tunnel through cloudflared/ngrok so Polpo doesnt think the plan died and re-approves a toolcall. Finally, before the phone sends an approve/reject, hit your servers `/plan/latest` snapshot so you never double-trigger after a network blip.
Polpo is exactly the kind of remote cockpit we built for our Claude/LLM agents. A couple of cleanup tricks that helped: keep the sessionId sticky on the phone so a dropped connection just re-subscribes to the existing plan instead of starting a new run, and send a tiny heartbeat on the WebSocket when you tunnel through cloudflared/ngrok so Polpo doesnt think the plan died and re-approves a toolcall. Finally, before the phone sends an approve/reject, hit your servers `/plan/latest` snapshot so you never double-trigger after a network blip.