Repository navigation
fix: 蒸馏不再采集私有推理块(CWE-200,CodeRabbit #76 评审)+ v0.7.14 - #78
Conversation
- collectMessages 原把 assistant/message 的 reasoning block 作「助手思考」送进蒸馏上下文,生成的记忆可能沉淀模型私有思考链 - 现只采集公开 text 块;私有 reasoning 不进记忆库(同步 CODING_SUMMARY_PROMPT/注释措辞) - 新增回归测试:reasoning 不进蒸馏上下文、公开文本照常蒸馏 - 617 测试全绿;CHANGELOG/README 补 v0.7.14 Co-Authored-By: Anans-Ivresse <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe summarization flow now excludes assistant ChangesDistillation privacy
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This change prevents private assistant reasoning from entering distilled memories while preserving public replies and tool context. The intended privacy behavior is covered without an identified current-head merge risk. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
Note Docstrings generation - SUCCESS |
Docstrings generation was requested by @modusensus. * #78 (comment) The following files were modified: * `dsh-mneme/lib/summarize.js` * `dsh-mneme/src/summarize.js`
fix: 蒸馏不再采集私有推理块(CWE-200)
承接 CodeRabbit 在 #76 的评审意见(🟠 Major / Sensitive Data Exposure):
codingRetrospect蒸馏的完整转录会把assistant/message里的reasoning(私有推理)block 送进蒸馏模型,生成的记忆可能沉淀模型私有思考链;而记忆库经外部 API/CLI 可被读取、无租户隔离。修复
collectMessages只采集公开text块,私有reasoning块一律不进蒸馏上下文(含CODING_SUMMARY_PROMPT与注释措辞同步)工程
说明
Summary by CodeRabbit