This C++ harness tests two separate questions:
- Which terminal queries and responses are transported by a specific ConPTY implementation?
- What happens when a terminal host returns a response after the process that issued the query has exited?
The harness does not use psmux, GitHub Copilot CLI, or Windows Terminal in its data path. The shell-child tests use PowerShell only to reproduce the normal topology in which a shell launches a foreground application.