Skip to content

Hide duplicate bootstrap echo from terminal history - #70

Merged
R055LE merged 1 commit into
mainfrom
internal-input-echo
Oct 1, 2026
Merged

R055LE merged 1 commit into
mainfrom
internal-input-echo

Conversation

@R055LE

@R055LE R055LE commented Oct 1, 2026

Copy link
Copy Markdown
Owner

At shell startup, the real OpenSSH fixture emitted two exact copies of Threadline's bootstrap line. The filter removed the first and left the generated script in raw terminal history.

Allow at most two exact bootstrap echoes before the existing lifecycle cancellation or bootstrap timeout. Ordinary wrapper input still allows one exact echo; raw input and replies use no echo expectation. The byte matching and fail-open handling remain unchanged.

Validation:

  • The new duplicate-bootstrap JVM regression failed with the old filter and passes with this change. Coverage includes every byte split, surrounding output, the ordinary single-echo limit, and partial or mismatched bytes.
  • ./gradlew test lint assembleDebug passed.
  • fixtures/openssh/test-android-structured.sh passed all three real-SSH Android tests on API 35, including bootstrap and command echo suppression, direct raw input followed by a structured command, replies, and encrypted-key authentication.

Refs #66. Signed owner-device acceptance remains open on that issue.

@R055LE
R055LE merged commit 64fb975 into main Oct 1, 2026
1 check passed
@R055LE
R055LE deleted the internal-input-echo branch October 1, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant