Keep agentd stdout handle alive for pi

t-546·WorkTask·
·
·
Created2 months ago·Updated2 months ago·pipeline runs →

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 months ago
💬[human]2 months 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 months ago