From 48f6990c2d68b550ae889142d3f3ca532bc038a6 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 5 Jun 2026 05:39:07 -0400 Subject: [PATCH] =?UTF-8?q?sandbox:=20PLAN=5FRUNNER=20=E2=80=94=20multi-li?= =?UTF-8?q?ne=20briefs=20now=20paste=20directly,=20no=20tempfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit claude-screen pastes multi-line prompts directly: bracketed-paste markers keep embedded newlines literal, and the submit \r is sent as a separate keystroke a beat later (the concatenated \r was what raced the paste and submitted mid-prompt). Verified live — a 3-line prompt lands as one message. Doc no longer mentions any file-handoff. Co-Authored-By: Claude Opus 4.7 --- sandbox/plans/PLAN_RUNNER.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sandbox/plans/PLAN_RUNNER.md b/sandbox/plans/PLAN_RUNNER.md index 319c66f83487..29810d237e68 100644 --- a/sandbox/plans/PLAN_RUNNER.md +++ b/sandbox/plans/PLAN_RUNNER.md @@ -36,9 +36,9 @@ Hard rules every brief repeats: ### 2. Spawn the session -Pipe the brief straight in. `claude-screen` detects a multi-line prompt and -auto-stashes it to a tempfile, pasting a single-line `Read … and follow it` -pointer for you (a multi-line paste would otherwise submit mid-prompt): +Pipe the brief straight in. `claude-screen` pastes it directly — multi-line +included — using bracketed paste and a separate submit keystroke, so the whole +brief lands as one message: ```bash ~/dev/claude-screen /home/paulus/dev/hass/core < /tmp/-brief.md @@ -97,8 +97,8 @@ Then advance to the next plan. ## Gotchas (all bit at least once) - **Confirm the prompt submitted** — a first-run banner can swallow it; send - `$'\r'` to nudge. (`claude-screen` handles the multi-line→file stashing - itself, so you just pipe the brief.) + `$'\r'` to nudge. (`claude-screen` pastes multi-line briefs directly via + bracketed paste, so you just pipe the brief — no tempfile dance.) - **`screen -p` is prefix-match** — use full, distinct window names. - **STATUS is written last** — its presence means done; nothing earlier does. - **Avoid git ops in the repo while a sub-session is mid-write** — index