Store pi stdout handle in RunningAgent to prevent GC closing the pipe if the reader thread exits unexpectedly; this keeps pi alive for subsequent prompts.
Timeline (4)
🔄[human]Open → InProgress2 weeks ago
💬[human]2 weeks ago
Stored pi stdout handle in RunningAgent (raStdoutHandle) to keep the read end referenced even if reader thread exits, preventing GC from closing stdout and causing EPIPE. Test: bild --test Omni/Agentd/Daemon.hs
Stored pi stdout handle in RunningAgent (raStdoutHandle) to keep the read end referenced even if reader thread exits, preventing GC from closing stdout and causing EPIPE. Test: bild --test Omni/Agentd/Daemon.hs