Repository navigation
fix: preserve aborted stream attempts and compaction history - #190
Merged
Merged
Conversation
Not merge-ready: tracked by follow-up issues. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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
Preserve sampled provider output and tool calls when a stream stalls, fails, or is cancelled. Reconcile finalized attempts into the transcript without duplicate or empty retry assistants, and replace history only after a complete compaction summary.
Context
Changes
Validation
All Rust commands used stable Rust 1.99.0 with an external target directory.
git diff origin/main --checkrustup run stable cargo fmt --all --checkrustup run stable cargo check --workspacerustup run stable cargo clippy --workspace --all-targets -- -D warningsrustup run stable cargo test --workspace— 2,073 passed, seven ignored, zero failures, including PR test: freeze engine, command, keybinding and Classic TUI contracts (TUI restart step 1) #189 contract fixtures.rustup run stable cargo build --package claurstthenCOVEN_BIN=<debug binary> REQUIRE_TMUX=1 scripts/tui-tests/run.sh— 45 passed, zero failed/skipped.PR Readiness
Coven-Harness: Codex / GPT-6