dsh-session-guard
DeepSeek Harness plugin that prevents the concurrent-write session corruption family: per-session advisory locks with stale takeover, so two dsh processes can no longer corrupt one session log
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:po-et/dsh-session-guard说明文档
阅读完整 README ↗Configuration
All optional, set on the plugin row in your profile patch:
- id: session-guard
name: dsh-session-guard
config:
mode: enforce # 'enforce' (default) fails conflicting steps; 'warn' only logs
heartbeatMs: 15000 # heartbeat refresh for held locks
staleAfterMs: 90000 # unverifiable owners expire after this silence
# lockDir: /custom # default: $DSH_HOME/session-locks