fix(acp): teach agents to send real newlines#2121
Merged
Merged
Conversation
Document stdin as the safe multiline message path and pin the guidance with a prompt regression test. Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co> Signed-off-by: Wes <wesbillman@users.noreply.github.com>
tlongwell-block
pushed a commit
that referenced
this pull request
Jul 19, 2026
Picks up 0.4.19 release + ACP newline fix (#2121); buzz-acp lib.rs overlap with the C2 start-nonce work resolved. Co-authored-by: Tyler Longwell <tlongwell@block.xyz> Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
\nis published literallyRoot cause
The reported message contained literal backslash-n characters before it reached Buzz. Actual newline bytes are already preserved by
buzz messages sendand rendered by the desktop Markdown path. Client-side unescaping would corrupt intentional\nin code and prose.Test plan
cargo test -p buzz-acp shared_base_prompt_teaches_real_newlines_for_multiline_messages