8babcdcbd2
Reviewer flagged that the bracketed-paste path is untrusted terminal input — ANSI escapes, control chars, newlines/tabs, or a multi-hundred-char path would corrupt the status line (per AGENTS.md TUI sanitization rules) and leak the absolute home-dir path. The new ENOENT diagnostic now feeds the path through sanitizeText (strip ANSI/C0/C1 controls), collapses CR/LF/TAB to single spaces, runs it through shortenPath (collapse home → '~'), and truncateToWidth-clamps it to TRUNCATE_LENGTHS.CONTENT (80) before interpolating into either the SSH or local status string. Added a third assertion to the repro test defending the contract: ANSI/control bytes never reach the status, and the displayed path is bounded below the input length. Refs PR #2376