haoyuan-sjtu/Deepseek-Harness-Lifelong-Agent

haoyuan-sjtu★ 1JavaScript最后同步: 2026-08-15

在 GitHub 打开

A governed long-term memory core for AI agents, with technical-preview adapter contracts for DeepSeek Harness integration.

README 摘要

DSH Governed Memory 中文 dsh-governed-memory is an opt-in, standalone DeepSeek Harness bundle. It contributes one Cordis host plugin through its own cordis.patch.yml ; it is not a fork of Harness and ships no Harness source. Install Install the repository into a DSH profile, then restart that profile: The installed package declares dsh.bundle.patch , so DSH adds its patch layer to the selected profile automatically. The same package can be installed in the headless profile by replacing web with headless . Behavior The bundle mounts one agent/pre-step waterfall listener. It calls next() first, then reads the registry and appends one plugin-sourced user message only when the registry selects one or more records. The DSH agent loop records the admitted message as an ordinary user/message event, including its source and rendered snapshot. Records are stored in an atomic JSON registry. The plugin never registers a model-callable capture or promotion tool: - capture() always writes quarantine . - promote() requires a trusted host caller, explicit approval, and verified A/B evidence. - retrieval admits only promoted records that are in scope, allowed by privacy, not expired or review-due, n…

在 GitHub 查看完整 README →
Agent/智能体dsh-pluginagent

分类