Repository navigation
fix(s08): preserve the complete active request after compaction - #603
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
learn-claude-code | a7bbf7d | Oct 27 2026, 04:44 AM |
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.
Long tool-use sequences can archive the active request. This incorporates #578, restores the request after a real snip, and compares the complete request field in retained summaries so an older request such as
review code and rewrite itcannot stand in for the new requestreview code.Fixes #577. The original author is credited in the commit. The two independently added test groups from #561 and #578 are both retained. The EN/ZH/JA examples are synchronized. A replacement branch is used because this integration cannot write to the contributor's fork.
Validation: context-compaction/tool-pair/chapter tests: 31 passed and 34 subtests passed. The new shortened-request regression failed before the boundary fix and passes afterward. No paid model API calls. Combined queue verification before the additional two regression cases passed 498 tests and 112 subtests; final combined verification follows with the generated-content update in the workflow-discovery PR.
AI assistance: prepared and reviewed with Codex as part of the maintainer-requested PR review.