dshplugin-me/dsh-precedent ↗★ 0
dsh-precedent
DeepSeek Harness 基于证据的工作区记忆账本插件
AI 分析
从历史会话日志中提取并注入已验证可行的命令账本。适合需要提升 Agent 在当前工作区操作准确性的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dshplugin-me/dsh-precedent说明文档
阅读完整 README ↗Configuration
- id: precedent
name: dsh-precedent
config:
maxEntries: 40 # ledger lines injected per session
minRuns: 2 # ignore commands seen only once
lookbackDays: 90 # ignore sessions older than this
maxSessions: 200 # upper bound on logs read in one build
buildTimeoutMs: 5000 # stop blocking the first step after this
| Key | Default | Meaning |
|---|---|---|
maxEntries | 40 | Hard cap on injected ledger lines, so the section stays a fixed, small token cost. /precedent is never capped |
minRuns | 2 | A command seen once is an anecdote, not a precedent |
lookbackDays | 90 | A convention from six months ago may no longer be true |
maxSessions | 200 | Newest sessions first; a workspace with years of history stays cheap to read |
buildTimeoutMs | 5000 | A slow build releases the first step and lands on a later one instead |
Scope is not configurable: sessions are matched on exact cwd string equality, the same conservative rule DSH's own cross-session authorization uses — a symlinked path is a different workspace.