[argus] patch #63: summarization must not resurrect answered user turns - #34
Merged
Conversation
… user turns Cherry-pick of upstream bytedance/deer-flow 0a3c04e (PR bytedance#4882): _preserve_dynamic_context_reminders rescues only tagged reminders plus the LATEST real user message (by exact id); stale untagged __user peers compress like any other history. Kills the observed failure where a compaction re-planted the thread's first, long-answered question as the apparent live request (atlas-nicholas thread bacbf501, 2026-08-22) and the lead agent re-answered it twice mid-task. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PLxkmVqa1q48F284vByc3Q
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PLxkmVqa1q48F284vByc3Q
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PLxkmVqa1q48F284vByc3Q
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.
Cherry-pick of upstream bytedance/deer-flow 0a3c04e (upstream PR #4882, merged 2026-08-22): the dynamic-context reminder rescue now keeps only tagged reminders plus the latest real user message; stale untagged
__userpeers compress like any other history.Field motivation: atlas-nicholas thread
bacbf501(2026-08-22) — every compaction re-planted the thread's first, long-answered user question as the apparent live request; the lead agent broke off its task and re-answered it twice. Full analysis: argusplans/2026-08-22-compaction-robustness-survey.md.Applies clean on
argustip 027f826 (verified with git apply --check before cherry-picking). Ships as the 32nd pin bump AFTER the running thinking A/B campaign completes (gateway restarts would corrupt the arms).🤖 Generated with Claude Code
https://claude.ai/code/session_01PLxkmVqa1q48F284vByc3Q