DeepSeek Harnesss local-first persistent memory infrastructure
zhujunpeng12/dsh-memory-system · skills
DeepSeek Harness' local-first persistent memory infrastructure: hot boot, Chinese BM25 cold recall, lease-locked transaction writes, read-only governance.
★ 9GitHub stars
0Forks
2026-08-15Last updated
PythonLanguage
MITLicense
Key features
- Write safetysingle writer lease lock + recoverable transaction, multi-file changes are atomic, raw only appends but does not overwrite
- Important boundariesThis repository only contains "mechanisms" and does not contain any personal data.
- What to doWhen a new session starts, compress the "memory that needs to be known most at the moment" into a ≤14KB hot packet and inject it at once, so that the Agent can start working with the context without reading the entire database.
- Chinese recallChinese bigram BM25 + exact/title/path matching + metadata rearrangement, the whole trace can be explained
Install command
dsh plugin --profile web add github:zhujunpeng12/dsh-memory-system