Repository navigation
fix: 修复 CLI 重复消息并建立跨平台基线 - #6
Merged
Merged
Conversation
This was referenced Oct 11, 2026
Merged
ZhuLinsen
marked this pull request as ready for review
October 11, 2026 13:37
This was referenced Oct 11, 2026
Merged
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.
修复 CLI 当前用户消息重复进入 history 的问题,清除密钥前缀与完整工具参数日志,并为六阶段迁移建立可比较的基线。
改动与必要性
验证
191 tests passed;四组 CI 全部通过。复现:python -m pytest tests -q;python scripts/source_stats.py。
官方 Python 物理行数 4009 → 4007。包含注释/空行,不含测试、文档和第三方依赖。本项是基线修复,未完成原计划的大规模删减。
兼容、边界与回滚
默认工具集合收缩;工具可显式加载。没有真实 Provider 验收。
本项为 1/6,base 为 main。后续顺序 #7 → #8 → #9 → #10 → #11;安全与最终产品补改在 #11,中间阶段不单独作为稳定发布。
合入优先使用 merge commit;若 squash,必须重设后续 base 并检查 diff。回滚时先逆序 revert 后续依赖,再 revert 本项。未创建 tag、未合并 main。