Keep agentd stdout handle alive for pi

t-546·WorkTask·
·
·
Created2 weeks ago·Updated2 weeks ago

Dependencies

Description

Edit

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

🔄[human]InProgress → Done2 weeks ago