mirror of
https://github.com/stablyai/orca.git
synced 2026-10-25 08:04:05 +00:00
Gate-level ablation of the six-clause capacity condition found the six conjuncts each individually pinned, but two neighbouring arms free: - the `session.deps.onPaneProcessDied` presence check. The callback is optional on PaneConnectionDeps; without the guard a capacity exit calls `undefined` and throws out of the exit handler, leaving the pane neither retained nor torn down. - the per-PTY keying in `noteTerminalInputForPty`. A generation installs its exit state when its callbacks are captured, before the transport rebinds its PTY id; a write in that window would be credited to the incoming PTY and silently suppress its capacity overlay. Both new tests fail with their own arm reverted and pass with it restored. No production change.