From d61f46ffb6d0fd61fa6264f1caf033c49ee4096e Mon Sep 17 00:00:00 2001 From: wtclaude Date: Sat, 26 Sep 2026 10:09:33 -0500 Subject: [PATCH 1/2] fix(rust): drop the stray spaces in the running-server handoff line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The D156 line printed "confirms it connected." — a wrapped source line left a run of spaces inside the string literal. Found by the phase 18 step 7 re-walk on Debian 12. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY --- src/rustgame/sidecar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rustgame/sidecar.rs b/src/rustgame/sidecar.rs index d076b28..bf61636 100644 --- a/src/rustgame/sidecar.rs +++ b/src/rustgame/sidecar.rs @@ -185,7 +185,7 @@ pub fn handoff( protocol = doc.protocol, when = if running { format!( - "The plugin loads now; `doctor --game rust --server-id {server_id}` confirms it connected." + "The plugin loads now; `doctor --game rust --server-id {server_id}` confirms it connected." ) } else { "The plugin connects when the server next starts.".to_string() From 9d73367e6329d02ffd15548c51e5c14f75ed356d Mon Sep 17 00:00:00 2001 From: wtclaude Date: Sat, 26 Sep 2026 10:14:22 -0500 Subject: [PATCH 2/2] test(rust): pin the running-server handoff line whole The existing assertions checked fragments ("doctor --game rust --server-id alpha"), which the stray-space version also contained. The whole first line is now compared, so a wrapped source line cannot put its indent back into the sentence. Fails against the pre-fix literal. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY --- src/rustgame/sidecar.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/rustgame/sidecar.rs b/src/rustgame/sidecar.rs index bf61636..b5a252d 100644 --- a/src/rustgame/sidecar.rs +++ b/src/rustgame/sidecar.rs @@ -265,6 +265,16 @@ mod tests { running.contains("doctor --game rust --server-id alpha"), "{running}" ); + // The whole first line, so a wrapped source line cannot leave its indent in the sentence + // again (installer#34: "confirms it connected."). + assert_eq!( + running.lines().find(|l| !l.is_empty()), + Some( + "Rust server \"alpha\" is set up. The plugin loads now; \ + `doctor --game rust --server-id alpha` confirms it connected." + ), + "{running}" + ); } #[test]