luoyuejun9 / dsh-project-memory

已收录

Evidence-backed, human-approved project memory for DeepSeek Harness

main会话 查看源代码

安装

npx -y @deepseek-ai/dsh plugin --profile web add github:luoyuejun9/dsh-project-memory

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 0521542同步于 2026年8月18日

dsh-project-memory

Evidence-backed, human-approved project memory for DeepSeek Harness.

dsh-project-memory turns durable decisions, constraints, conventions, lessons, and facts into versioned project records. The model may propose a candidate, but only the human-facing /memory approve command can promote it into approved memory.

DeepSeek Harness is currently a developer preview. This plugin targets 0.1.0-rc.6 and may require updates as Harness APIs evolve.

中文说明

Why this is different

  • Human approval is a hard boundary: model tools cannot approve or archive memory.
  • Evidence is project-relative and hash-verified; source snippets are not copied into memory.
  • Conflicting active memories require supersedes or an explicit --keep-both decision.
  • Approved entries are Git-friendly JSON; candidate files are kept in a separate review queue.
  • Search is deterministic and local. No embeddings, cloud database, or background service.

Install

dsh plugin --profile web add dsh-project-memory

Restart the selected Harness profile after installation.

Commands

/memory capture [note]
/memory candidates
/memory approve <candidate-id> [--keep-both]
/memory reject <candidate-id> [reason]
/memory search <query>
/memory show <memory-id>
/memory validate [memory-id]
/memory archive <memory-id>
/memory timeline

The plugin also exposes read-only model tools for search/read/validation and one write-limited proposal tool.

Storage

.dsh/project.json
.dsh/memory/index.json
.dsh/memory/entries/memory_*.json
.dsh/memory/candidates/candidate_*.json

Commit .dsh/project.json, .dsh/memory/index.json, and .dsh/memory/entries/ if the team wants shared memory. Candidate files may remain local until reviewed.

Evidence lifecycle

Each evidence reference records a relative path, exact line range, optional symbol, and SHA-256 hash. /memory validate reports verified, stale, or missing after source changes.

Development

npm install
npm run check
npm pack --dry-run

MIT © 2026

项目文件与信号

以下项目是目录快照中检测到的公开仓库信号。

测试已检测

仓库信息

开发语言
TypeScript
许可证
MIT
最新发布
v0.1.0
最后更新
2026年8月16日 09:31

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。