JingxuanC/causal-memory

C3

Causal memory layer for AI agents — MCP server that records decision→outcome relationships. Survives compaction.

★ 50+ · JingxuanC/causal-memory source on GitHub · this plugin in the registry

JingxuanC/causal-memory is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, can rewrite the system prompt, executes system commands.

Installable plugin — declares a dsh.bundle manifest

What it can do

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./cordis.patch.yml
can rewrite the system promptprompt_surfacesystemPrompt
executes system commandsexec×2 in authored code, e.g. dsh-plugin/index.js:18, dsh-plugin/index.js:60

Services it injects

systemPrompt tools

Environment variables it reads

CAUSAL_MEMORY_BIN CAUSAL_MEMORY_DB

How to read this

Levels measure capability surface and transparency, not maliciousness. A C3 plugin can be entirely legitimate — a desktop shell genuinely needs subprocesses. The point is that you can see this before installing. See the levels explained and how dsh plugins work.

Findings come from static analysis of shipped code; nothing is executed. Think a flag is wrong? Open an issue — every flag cites the file and line it came from.