Skip to content

v2.10.0 — fact merge preview + experience candidates

Choose a tag to compare

@kiefeng kiefeng released this 23 Oct 00:55
· 5 commits to master since this release

v2.10.0 — fact merge preview + experience candidates

Fact consolidation

  • The memory tab now exposes 合并相似事实 / merge similar facts.
  • The preview is computed locally with the existing CJK bigram similarity (≥0.85), no model call.
  • Each suggested cluster shows the canonical (longest) fact and how many entries it would merge.
  • Applying a cluster keeps the longest fact, merges its tags, and tombstones the rest so the next compile cannot resurrect them.
  • Snapshots now cover facts, tombstones, and all four profile sections, so 撤销上次整理 restores them together.

Experience candidates

  • Compiling the profile now also asks the model for at most 0–1 reusable lesson/method (not user facts, not a diary).
  • Candidates are stored in experience-candidates.json; nothing enters experience.jsonl automatically.
  • The Experience tab shows pending candidates with 接受 / 忽略.
  • Dismissed candidates are marked dismissed and are deduplicated against later compiles, so they do not keep reappearing.

Verification

71 node:test checks pass, including new cases for fact clustering/merge/undo, candidate accept/dismiss, and API authorization. node --check passes on the client and host modules.

Upgrade

Restart DSH Desktop to load the host changes; the settings page is a client bundle and updates on refresh after the host is current.