mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 15:39:23 +08:00
`kb create --docs-dir` staged every source at `raw/<basename>` with an unconditional copy, so a docs tree with one `full.md` per volume kept only the last file and still reported success. Both KB entry points now share one staging rule (`knowledge/staging.py`): a taken name is reused only when the content matches, otherwise the newcomer gets a free sibling name, so nothing the user asked to index is dropped. Issue: #2041