Repository navigation
Releases
Releases · kysr04/dsh-pitfall-memory
v0.1.0 — first public cut
A local mistake ledger for DeepSeek Harness: what the agent got wrong, written down in a form that makes it recognisable next time.
The point is not the stack trace. It is the detection signal — the thing you see in the first three seconds that tells you this is the same wall again — plus the command that gets you off it.
Install
# Windows (PowerShell)
git clone https://github.com/kysr04/dsh-pitfall-memory "$env:USERPROFILE\.dsh\skills\dsh-pitfall-memory"# macOS / Linux
git clone https://github.com/kysr04/dsh-pitfall-memory ~/.dsh/skills/dsh-pitfall-memoryDSH discovers <skills-root>/<name>/SKILL.md on its own (Chokidar watcher, no restart). The directory name becomes the skill name and must stay kebab-case. The repo root is the skill root, so the clone target above is all there is — no npm, no build.
What actually works
- The entry format, the three rules, hit counting, and index-based search. All platform-neutral.
scripts/pitfall.ps1— Windows convenience wrapper fornew/index/search/bump/show/list/retire/stats.- On macOS and Linux, follow the same procedure by hand with
read/write/grep. The procedure is written out step by step inSKILL.md; the.ps1is a shortcut, not a dependency.
Known limits — read this before installing
- It does not auto-load. DSH treats a skill as optional instructions, not a session event: the agent has to decide to load it. Nothing in this repo injects itself into every turn. If you want the ledger consulted automatically before every task, you need a memory plugin on top, and that plugin is not included here.
scripts/restart-dsh.ps1andscripts/meow-memory-setup.ps1are my own machine's ops helpers. They are in the repo for transparency, not because you need them. Ignore them.SKILL.mdis written in Chinese. There is no English edition in this release.- Windows is the only platform with real mileage on it so far. The format is portable; the testing is not.
Contribute a pitfall
Open Submit a pitfall and fill two fields: the detection signal and the fix. You do not need to know the file format.