DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Memory Ga — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
M

dsh-memory-ga

Memory Ga

适用于 DeepSeek Harness 的门控 GA 风格分层记忆:强制注入的 L1、工作检查点,以及结算至 Skills/L1/L2——不会静默自动保留。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:DiligenceLai/dsh-memory-ga#8a7150fac7c7cc063b688bf789e1feb26e82bcfc
README兼容性版本

兼容性与来源证明

Memory Ga 以 dsh-memory-ga 发布,当前版本为 0.1.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/8/23

版本

0.1.2stable
2026/8/23
0.1.1stable
2026/8/22
0.1.0stable
2026/8/22

相关插件

正在加载相关插件…

最新版
0.1.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 1
周下载
0
最近提交
2026/8/23
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)

README

dsh-memory-ga

Gated, file-based long-term memory for DeepSeek Harness — inspired by GenericAgent’s discipline: No Execution, No Memory.

Your agent already has Skills.
What it usually lacks is a small, trustworthy index of facts + rules, a session notepad, and a settlement ritual that turns hard-won lessons into Skills / facts — without silently poisoning memory from every chat.

Language: English · 中文


Why this exists

Coding agents forget. Vector “auto-memory” products remember too much — drafts, wrong turns, guesses.

dsh-memory-ga takes the other path:

PrincipleWhat you get
Verified onlyLong-term writes only after tools (or the user) confirmed reality
Hard-injected L1A ≤~30-line index + RULES every turn — not a pointer you might never open
Working notepadSession key_info re-injected while non-empty
Gated settlementstart_long_term_update opens a protocol; it does not auto-edit your files
Skills stay SkillsReusable procedures → DSH Skills. Memory is not a second SOP warehouse
Local & auditablePlain UTF-8 under $DSH_HOME/memory — diff, backup, hand-edit

No embeddings required. No cloud bank. No silent retain.


Architecture (deliberately small)

$DSH_HOME/memory/
  L0_memory_management.md   # constitution (how to remember)
  global_mem_insight.txt    # L1: NAV + RULES  → hard-injected
  global_mem.txt            # L2: verified facts → read on demand (≤9-line sections + pointers)
  l3/<topic>.md             # L3: long-form fact dossiers (L2 sections point here)
  .working/<session>.txt    # optional session notepad dump

DSH platform (not this folder)
  Skills / skill catalog    # procedures
  Sessions                  # full transcripts (query via DSH, not a memory “L4” tree)

No notes-style junk drawer and no memory-tree L4. l3/ holds fact dossiers only — procedures belong to Skills (Skill = how-to, L3 = what-is).
If a Skill is wrong, fix the Skill — don’t keep a shadow errata page in memory.

Verified + worth keeping?
  ├─ reusable workflow  → DSH Skill (+ optional L1 one-liner)
  ├─ env / config fact  → L2 (± L1 pointer)
  ├─ very long fact     → l3/<topic>.md dossier (+ L2 pointer)
  ├─ one global rule    → L1 RULES
  └─ this task only     → Working (or discard)

Tools

ToolRole
update_working_checkpointReplace session notepad (key_info)
start_long_term_updateReturn L0 + settlement protocol (no automatic writes)
memory_statusPaths, L1/L2 sizes, l3 dossier count, working empty?, nudge counters

Optional soft nudges (default on): after enough steps, gently remind checkpoint / settlement. Never force tool calls. Never auto-write L1/L2.


Install (DeepSeek Harness profile)

Compatible with DSH Cordis plugins (dsh.bundle.patch).

A. From Git (recommended once published)

In your profile directory (example: $DSH_HOME/profiles/web):

pnpm add dsh-memory-ga@github:DiligenceLai/dsh-memory-ga

Ensure the profile loads the package (either list it under dsh.profile.bundles or rely on the package’s cordis.patch.yml insert — same pattern as other DSH community plugins).

B. Local path (development)

pnpm add dsh-memory-ga@file:../path/to/dsh-memory-ga

Note: some package managers copy file: deps. After editing the plugin source, reinstall/relink the profile dependency and restart DSH (or wait for profile HMR).

C. Skill helper (optional)

Copy the bundled skill into the user skills root so the agent can load memory-management:

skills/memory-management/SKILL.md  →  $DSH_HOME/skills/memory-management/SKILL.md

Restart or wait until the skill filesystem rescans.


Quick verify

  1. Restart DSH / reload the profile.
  2. In a session, run memory_status → should show $DSH_HOME/memory.
  3. update_working_checkpoint with a short note → next model step should include ### [WORKING MEMORY].
  4. start_long_term_update → protocol + full L0; disk unchanged until you edit.

First boot creates missing L0/L1/L2 from templates and never overwrites existing files.


Configuration

Cordis config on plugin id memory-ga (optional):

- id: memory-ga
  config:
    # root: null            # default: $DSH_HOME/memory
    bootstrap: true
    injectL1: true
    injectWorking: true
    l1MaxChars: 1200
    workingMaxChars: 1200
    persistWorkingFile: true
    nudge:
      enabled: true
      workingEvery: 12
      settleAfterSteps: 15
      maxWorkingNudges: 3
      maxSettleNudges: 2

Hard dependency: the plugin declares inject: ["tools", "systemPrompt", "llm"]. @deepseek-ai/dsh-llm (with createUserMessage) must be present in the host composition — working-memory and nudge injection rely on it. If it is missing, the plugin still loads but memory_status will warn that working/nudges are not injected, rather than silently failing.

workingMaxChars is the single cap for both storing and injecting the working notepad, so memory_status.workingChars always reflects what the model actually sees.


What this is not

  • Not a vector database / TEMPR / auto-git retain product
  • Not a replacement for DSH Skills
  • Not automatic Skill generation
  • Not a dump of full chat transcripts into memory/

If you want maximum automatic recall across tools, look at other stacks.
If you want controlled crystallization and git-friendly truth, you’re in the right place.


Privacy

This repository ships generic templates only.
Your real L1/L2 live under $DSH_HOME/memory on your machine and are never part of this package.
Do not commit personal memory files, tokens, or absolute home paths into forks.


Development

git clone <this-repo>
cd dsh-memory-ga
pnpm install   # schemastery + peers for local smoke

Entry: lib/index.js (Cordis name / inject / Config / apply).


Contributing

Issues and PRs welcome: install docs for more profiles, stronger nudge hooks, project-scoped memory overlays, session-search Skill examples.


License

MIT — see LICENSE.

GenericAgent is a separate project; this plugin only borrows the memory discipline, not GA’s full runtime.