dsh-cognition
Run the following command in DeepSeek Harness:
dsh plugin install scd13150/dsh-cognition
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install scd13150/dsh-cognition in your DeepSeek Harness terminal to install this plugin; full source at https://github.com/scd13150/dsh-cognition .
About this plugin
Every new DSH session starts from a blank slate: the agent has no recollection of files changed last week, which approaches were already validated, or which edits crossed the boundary of the current task. dsh-cognition (DSNLE) injects project-level memory into the agent — past edits on similar tasks surface as precedents, out-of-scope changes are hard-blocked, and co-change patterns, churn trends, and rollback history accumulate as cross-session knowledge. All of this is enforced through DSH-native mechanisms (per-tool pre-execute gates, kernel-level version guards, the skills knowledge layer, session event sourcing) rather than prompt engineering.
The core workflow is an auditable ritual chain: each task passes through constraint locking, content-hash observation, retrieval recall, and a reliability contract gate. Out-of-order code mutations are rejected outright. An optional embedding-based semantic channel (MiniLM-L6, 384-dim) degrades gracefully to BM25 plus symbol and precedent retrieval when disabled, leaving the main pipeline unaffected. Publicly documented evidence includes 47 real-repo fixes verified by upstream test suites, a gold-free 20-task continuous run (20/20), and 245 deterministic regression assertions.
Best suited for developers who run DSH agents long-term and need cross-session consistency and traceability, especially when maintaining codebases of moderate-to-high complexity where the agent must remember project context instead of re-exploring from scratch every time.
Use Cases
- Reuse validated edits from past sessions instead of re-exploring the codebase every time
- Block out-of-scope code changes with enforced scope guards
- Maintain consistency and traceability across modifications in complex projects
Best For
- Developers maintaining moderate-to-high complexity codebases with DSH agents
- Engineering teams needing cross-session project context consistency
- Senior engineers who demand auditable, traceable agent modifications
Related Plugins
Traceable, searchable cross-session memory for AI agents that turns conversation knowledge into a typed knowledge graph and recalls relevant subgraphs instead of replaying full history, natively integrated with DeepSeek Harness.
Gives DSH AI cross-session long-term memory, to-do and skill management, plus multi-session orchestration, external AI delegation, and an infinite canvas that grows with you.
dsh-mnemon is a three-tier, pluggable, Agent-driven memory system for DeepSeek Harness, combining Runtime memory, Project Documents, and replaceable Memory Spaces with nine long-term providers.
An opinionated, zero-infrastructure file-based memory protocol: human-readable markdown files plus a bounded always-loaded index, curation discipline, and no database or embeddings.