-
Notifications
You must be signed in to change notification settings - Fork 7
fix(compact): 修复会话压缩系统六项缺陷并扩展两项可配置性 #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
phantom5099
merged 10 commits into
1024XEngineer:main
from
wynxing:codex/taskstate-compact-pr
Apr 14, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
8a4fc58
fix(compact): 修复会话压缩系统六项缺陷并扩展两项可配置性
wynxing 2738fe7
merge: 集成 main 分支的 compact 严格解码与 TaskState 边界限幅
wynxing 23b5150
fix(compact): 修复会话压缩系统六项缺陷并扩展两项可配置性
wynxing b33c30a
merge: resolve conflicts between taskstate-compact and main
wynxing 1cbbb9b
fix(compact): address review findings and simplify parsing/rendering
xgopilot f1cbdb1
Merge pull request #10 from Yumiue/fork-pr-270-1776130742
wynxing bd0ae8f
fix(compact): enforce archived prompt char cap and simplify prompt as…
xgopilot c6231c9
Merge pull request #11 from Yumiue/fork-pr-270-1776130742
wynxing a0ccc2f
fix(compact): resolve unresolved review findings and harden parsing
xgopilot 903f898
Merge pull request #12 from Yumiue/fork-pr-270-1776130742
wynxing File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CompactConfigaddsmicro_compact_retained_tool_spans/max_archived_prompt_chars, but the YAML persistence mapping is not updated (persistedCompactConfig,newPersistedContextConfig,fromPersistedContextConfigininternal/config/loader.go). WithKnownFields(true), users configuring these keys will hit unknown-field parse failures, and values also cannot round-trip through save/load.Please wire both fields through loader read/write structs and add config load/save tests for these keys.