Skip to content

fix(tui): clear stale suggestion prefill after turns - #1062

Merged
edwin-zvs merged 1 commit into
mainfrom
fix/tui-clear-suggestion-prefill
Aug 1, 2026
Merged

fix(tui): clear stale suggestion prefill after turns#1062
edwin-zvs merged 1 commit into
mainfrom
fix/tui-clear-suggestion-prefill

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

  • clear the TUI suggestion keyword draft at turn completion and when the session returns to awaiting input
  • prevent stale adapter editor snapshots from repopulating Generate keywords
  • document the turn-boundary behavior and add a regression test

Validation

  • cargo test -p construct-cli --bin construct suggestion_draft_clears_at_turn_completion
  • cargo test -p construct-cli --bin construct suggest_deck (19 passed)
  • cargo build (passed; relevant binary: construct)
  • full CLI tests: 1234 passed, 1 unrelated pre-existing color backend test failed (color::tests::truecolor_backend_still_emits_rgb)

Relevant binary: target/debug/construct.

@edwin-zvs
edwin-zvs merged commit 6e3b98c into main Aug 1, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the fix/tui-clear-suggestion-prefill branch August 1, 2026 03:39
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