Series
Building code-with-pi
3 parts.
-
One shell, two observers: the persistent terminal architecture
How a native broker owns one PTY or ConPTY while an agent and a human share observation and controlled input.
-
What I tested in the persistent terminal broker
Observed Windows and Linux checks for PTY lifecycle, authenticated IPC, state persistence, cancellation, replay, and human takeover.
-
Known limits of a shared persistent terminal
Failure boundaries in shell recovery, cancellation, replay, backpressure, terminal negotiation, and interactive programs.