tmem: Repository-Level Deterministic Engineering Memory for DSH

tmem is a repository-level memory plugin provided by kentzjh-cmd for DeepSeek Harness. It performs deterministic slicing of session trajectories under the .tmem/ directory. At runtime, it injects L1/L2 memory only under strong signals such as errors, code modifications, and test verification, thereby avoiding the overhead of LLM-generated summary tokens. This article covers its mechanism, official installation commands, and common CLI usage, and discusses its applicable scenarios as well as the design limitations documented in the README.

Read More