Skip to content

v5.6.1

Choose a tag to compare

@mambo-wang mambo-wang released this 05 Sep 13:49
· 25 commits to develop since this release

入库冲突治理与溯源约定(ingest)

  • 冲突感知写入ingest_note 写前扫描 similar_notes 冲突提示(detect_conflicts,默认开启),不自动覆盖/合并;是否退役旧笔记交由调用方决策
  • source 版本门控ingest_source 文本文档新增 version_sibling / supersede_declared 两道门控,需 allow_sibling=true 用户同意后才入库;同名替换须显式同意(旧文件移入 .trash
  • 相似度内核:新增 codewiki/src/doc_similarity.py(文本指纹 + 共享标题相似度);distill 弱冲突检测重构为 _find_conflict_candidates(支持 include_strong
  • 溯源标注约定query_wiki adoption_hint 显式标注依据(依据:<file> / <code>:<line>),AGENTS.md 与 agents_md 同步

检索与蒸馏修复

  • check 模式跳过 deprecated:check mode 不再返回已退役笔记;distill 去重修正

修复与改进

  • ingest_source 同名替换显式同意门控 + okf 回归测试扩展
  • bugfix:source_ingest 细节修复 + registry 调整
  • 新增 tests/test_ingest_conflict_advisory.py

对比: v5.6.0...v5.6.1