An exploratory OpenSSH PTY shell probe sent "echo interactive-ok" and "exit 7" immediately after opening the channel. Input was echoed before the bsh welcome/prompt, but the commands did not execute; timeout 15 returned 124. Sending the same input after the bsh prompt returned 7 and printed interactive-ok.
Evidence on branch ssh/430-420-exec-close-publickey:
- docs/planning/green-program/libbreenix/serials/430-420/exploratory/shell.txt and shell.json retain the failing probe.
- docs/planning/green-program/libbreenix/serials/430-420/shell.txt and shell.json retain the prompt-driven probe.
- userspace/programs/src/bsh.rs:1569 uses TCSAFLUSH when entering raw mode. This is a candidate explanation for discarding buffered early input, not a verified root cause.
Follow-up: test preservation of input queued before bsh enters raw mode, choose the intended terminal transition behavior, and add a regression probe. The exec close and prompt-driven shell acceptance for issues 430 and 420 do not claim early-input preservation.
An exploratory OpenSSH PTY shell probe sent "echo interactive-ok" and "exit 7" immediately after opening the channel. Input was echoed before the bsh welcome/prompt, but the commands did not execute; timeout 15 returned 124. Sending the same input after the bsh prompt returned 7 and printed interactive-ok.
Evidence on branch ssh/430-420-exec-close-publickey:
Follow-up: test preservation of input queued before bsh enters raw mode, choose the intended terminal transition behavior, and add a regression probe. The exec close and prompt-driven shell acceptance for issues 430 and 420 do not claim early-input preservation.