DashboardopencodePTY event priority ordering

PTY event priority ordering

Category: preference
Confidence: 1.00
ID: 01a07f3f-8845-7e32-a4d3-326747130efa
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 1NVyZh8FhrP3Z3Yh1
Created: 2026-09-08 04:21:05
Updated: 2026-09-15 01:18:16

Content

Always process PTY events before system-bus events in the supervisor event loop. Equal or bus-first priority looks simpler, but can report lifecycle completion before buffered terminal output is drained; exit must be emitted only after both output descriptors reach EOF.

Move to: