Skip to content

fix(sandbox): keep leading blank lines in cleaned output; drop unused dep - #466

Merged
mrnasil merged 2 commits into
mainfrom
fix/clean-leading-blank-futures
Nov 25, 2026
Merged

mrnasil merged 2 commits into
mainfrom
fix/clean-leading-blank-futures

Conversation

@mrnasil

@mrnasil mrnasil commented Nov 25, 2026

Copy link
Copy Markdown
Member

Two small cleanups noticed while working on #461.

  • clean_terminal_output dropped leading blank lines ("\n\nx" → "x"): it decided whether to write a separator by checking whether the output was still empty, which is also true after an empty first line. It now tracks the first line explicitly. Blank lines elsewhere were already kept.
  • whycodes-session listed futures without using it, which produced an unused-dependency warning on every build of the crate.

Checks: sandbox (63), session (175), agent (769), tools (539) --lib tests pass; fmt, clippy (sandbox, session), ratchets.

🤖 Generated with Claude Code

mrnasil and others added 2 commits November 25, 2026 03:25
… dep

clean_terminal_output decided whether to write a line separator by
checking whether the output was still empty, so leading blank lines
vanished ("\n\nx" became "x"). It now tracks the first line explicitly.

whycodes-session no longer uses futures; the manifest entry only
produced an unused-dependency warning.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mrnasil
mrnasil merged commit 753357a into main Nov 25, 2026
7 checks passed
@mrnasil
mrnasil deleted the fix/clean-leading-blank-futures branch November 25, 2026 00:48
@mrnasil mrnasil mentioned this pull request Nov 26, 2026
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