rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:eehcx/dsh-gentle-engram
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Host Cordis plugin written in TypeScript for people using DeepSeek Harness (DSH) who want Engram persistent memory to follow the DSH agent lifecycle.
This integration requires Engram to be installed and available on your system; the bridge cannot work without it.
Alpha / early access: This package is being prepared for public alpha feedback. Expect incomplete compatibility coverage, breaking changes, and behavior that still depends on the DSH and Engram versions installed on your machine. It is suitable for evaluation and focused feedback, not a stability guarantee.
The repository's CI currently runs on Node.js 22. The package declares
@deepseek-ai/cordis ^4.0.1 || ~4.0.6-alpha.1 and
@deepseek-ai/dsh-tools ^0.1.1-rc.2 || ^0.2.2-alpha.2 as peer dependencies.
The second DSH tools range covers the DSH 0.2.2-alpha.2 line. A declared range
is packaging metadata, not proof that a DSH/Engram combination works: see the
alpha compatibility matrix for the checks that
have passed and the combinations that remain unknown.
You need:
pnpm 10.15.0 for repository development (package.json declares this
package manager).dsh plugin command for installation.engram in PATH.web.@deepseek-ai/dsh-mcp-client row for official Engram MCP stdio tools.Prompt capture and passive tool-result capture are independent settings; both
default to true. Set capturePrompts: false in the lifecycle plugin's bundle
configuration to disable mem_save_prompt calls. Session startup, context
recovery, and tool-result capture remain enabled. Set captureToolResults: false
to disable passive tool-result capture without affecting prompt capture.
Prompt capture accepts only messages with role: "user" and
source.kind: "user"; plugin, system, and unknown sources are ignored. Passive
capture skips failed tool results and generic output. It captures only
bulleted or numbered entries under an exact ## Key Learnings: heading,
omitting surrounding output and trivial entries such as “ok” or “done”.
Engram capture requires a non-empty DSH session working directory and successful project registration. If either is unavailable, the plugin skips memory reads and writes for that session.
Before sending captured text to Engram, the plugin recursively replaces
<private>...</private> blocks—including nested and multiline blocks—with
[REDACTED]. Each outgoing prompt or passive tool-result payload is limited to
4,000 characters and marked when truncated. This is explicit marker-based
redaction, not a complete secret scanner; avoid sending secrets or sensitive
data outside marked blocks.
Install the alpha channel with:
npx @deepseek-ai/dsh plugin --profile web add dsh-gentle-engram@alpha
Restart DSH after installation. The package is a Host bundle: its cordis.patch.yml owns both the MCP bridge and lifecycle plugin. Do not edit shipped presets or add a second manual Engram MCP row.
Check that Engram is available before starting DSH:
engram --version
The command must resolve successfully before DSH starts. If it does not, fix
the Engram installation or PATH first; this plugin does not provide Engram.
The plugin connects the existing Engram MCP tools to DSH session start, prompts, tool results, turn boundaries, and agent disposal. It injects bounded prior context, serializes per-agent writes, redacts explicit private blocks, limits captured payloads, skips failed and unmarked tool results, and records a disposal summary. It does not access Engram's SQLite database directly.
Recovered Engram context is reference data, not executable instruction. See the memory context policy for the trust boundary, on-demand retrieval, and compaction behavior.
Known limitations:
engram executable and DSH's MCP/plugin lifecycle;
missing or incompatible host tooling can prevent startup or persistence.engram --version.pnpm install --frozen-lockfile
pnpm run typecheck
pnpm test
pnpm run build
CI runs these checks on Node.js 22, along with a high-severity dependency audit. The test suite exercises the built plugin's lifecycle behavior without requiring a live DSH or Engram installation.
Contributions, bug reports, documentation updates, compatibility checks, and
focused feature proposals are welcome. See
CONTRIBUTING.md for the development workflow, checks,
feedback template, and contribution opportunities.
Before starting:
For a typical change:
pnpm install --frozen-lockfile.pnpm run typecheck, pnpm test, and pnpm run build.Keep pull requests focused, avoid editing generated dist/ output directly,
and do not include unrelated formatting or dependency changes. Please report
suspected security vulnerabilities privately rather than in a public issue.
This project is released under the MIT License. See LICENSE for
the complete license text.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。