Duplicate detection flagged two lessons with ~0.80 similarity:
Duplicate detection flagged two lessons with ~0.80 similarity:
lessons/contrib/cc-connect-feishu-setup-complete.mdlessons/contrib/feishu-bot-setup-complete.md (this path)Agents retrieving "feishu bot setup" got two near-identical guides. The generic file used <bridge-tool> placeholders; the cc-connect file named the real tool and had fuller steps. Issue #552 asked to resolve without hard-deleting history.
Bootstrap-era lessons were copied with different titles but the same structure. Similarity search correctly treated them as near-duplicates. Leaving both active confuses BM25/ranking and wastes agent context.
cc-connect-feishu-setup-complete.md as the canonical setup guide (real package name cc-connect).lessons/_archive/feishu-bot-setup-complete.md (preserves git history and inbound links to content).# pattern for future duplicate cleanups
git mv lessons/contrib/weaker.md lessons/_archive/weaker.md
# write a decision lesson at the old path OR leave a see_also note in the kept fileDo not merge both bodies into a third file (issue #552).
grep -i feishu lessons/contrib/feishu-*.md 2>/dev/null | wc -l
echo Feishu verifiedExpected Output:
# (count)
Feishu verifiedrm of contrib paths breaks old bookmarks; archive + decision lesson is safer.