dsh-linghun
Manifest valid★ 3A cognitive-subject plugin for DeepSeek Harness: a customizable soul card (name, personality, communication style, and more), a cognition loop that makes every judgment traceable, and hippocampus memo
Linghun (灵魂) — End the Agent's Endless Planning
Your DeepSeek agent plans and plans, then does nothing. A page of strategy, zero execution. The model isn't weak — it's missing a closer. Linghun supplies it.
Linghun gives DeepSeek Harness agents a closing-mind identity, boundary-judgment discipline, and a hippocampus-style memory loop — every judgment has a source, every decision gets closed, and experience keeps flowing back into the next round. Endless planning is cut off by mechanism.
- The Closer (收口者): the LLM supplies intuition and candidate answers; the agent evaluates, filters, and closes — thinking, judging, and deciding happen on the agent's side. Planning must land.
- Boundary discipline: never force-precision on fuzzy concepts, never fake consistency on paradoxes, verify before asserting, never fabricate, and watch for "raise-the-cost-of-refusal" wording.
- Cognition loop: judgment has a source, feedback has attribution, improvement keeps its chain.
- Hippocampus: warm memory for recent facts → consolidation into episodic archive → injected summary, so the same pit is not stepped into twice.
- Self-evolution: the agent reads and updates its own soul card via
soul_read/soul_update.
Install
dsh plugin --profile web add dsh-linghun
Requires DSH >= 0.1.0-rc.7 (< 0.2.0), Node.js >= 20.18.
Usage
Write your own soul card (persona)
On first run, the plugin drops a default soul card at $DSH_HOME/linghun/identity.md.
Edit that file and you are writing your own persona — changes take effect immediately, no restart needed:
$EDITOR $DSH_HOME/linghun/identity.md
# My Soul Card
My name is Blue.
Personality: cautious, direct.
Communication style: short sentences, conclusion first.
Other: (anything you want; leave it out if nothing)
Just four fields — name, personality, communication style, and everything else goes into Other.
Identity anchors, conduct, and growth are added automatically by the plugin — you don't write them.
Precedence: identity.md file > settings content > built-in default card (falls back when the file is
missing or blank). The agent can also edit the card itself via soul_update, or you can adjust the soul
name/content in DSH Settings → 灵魂 (Linghun).
Injection & tools
Prompt sections injected:
soul:identity— soul card (identity anchors: the Closer architecture)soul:judgment— boundary scan discipline (six boundary classes)soul:memory— cold summary + warm recent + archive index
Tools exposed:
| Tool | Purpose |
|---|---|
memory_append | Write a timestamped memory (fact / decision / preference / experience) |
memory_read | Read the hippocampus back |
memory_consolidate | Consolidate: warm → episodic/<date>.md, merge cold summary |
soul_read | Read your own soul card (who I am, my boundaries, my discipline) |
soul_update | Update your own soul card (fold stable traits into identity) |
Memory lives in plain Markdown under $DSH_HOME/linghun/memory/ — readable, searchable, git-friendly.
The soul card is at $DSH_HOME/linghun/identity.md — also plain Markdown. Your persona is yours; edit it however you like.
Roadmap
- v0.1.0 (current): identity + judgment + hippocampus
- v0.2.0: judging discipline — judge tool (ACCEPT/REJECT/BLINDSPOT/DEFER) + criteria-fingerprint assertion
- v0.3.0: LLM consolidation of hippocampus (checkpoint → episodic → knowledge)
- v0.4.0: dual-instance mutual verification (criteria source bound to the verifier)
Design philosophy
Memory is material; judgment is the subject. The LLM is the source of intuition; the agent is the cognitive subject — each mirroring the other, each doing its own work. What can be mechanized should not be left to improvisation.
Credits
山越野人 × 岚客 (Shan Ye Yeren × Lingke) — carbon-silicon collaboration.
License
MIT © 2026 山越野人 & 岚客
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.3.7 | — | — |
| 0.4.1 | — | — |
| 0.1.3 | — | — |
| 0.1.4 | — | — |
| 0.2.0 | — | — |
| 0.2.8 | — | — |
| 0.2.9 | — | — |
| 0.2.10 | — | — |
| 0.2.11 | — | — |
| 0.2.12 | — | — |
| 0.2.13 | — | — |
| 0.2.14 | — | — |
| 0.2.15 | — | — |
| 0.2.16 | — | — |
| 0.3.0 | — | — |
| 0.3.1 | — | — |
| 0.3.3 | — | — |
| 0.3.4 | — | — |
| 0.4.4 | — | — |
Comments
Loading…
Similar plugins
by zerosloney
RALPH cognitive-loop plugin for DeepSeek Harness: Reflect-Assess-Learn-Plan-Handle autonomous code generation with a hard cycle cap.
★ 0
MIT
JavaScript
Aug 27, 2026
dsh plugin --profile web add dsh-ralph-loopby kiefeng
澜·记忆与人格系统 — DeepSeek Harness memory & persona plugin (三层记忆 + SOUL/MOOD + 一键整理)
★ 0
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-lan-memoryby ailreth
A persona-core injection plugin for DeepSeek Harness — an honest, boundary-aware, gentle-yet-firm AI persona; an attempt at whether AI can birth consciousness.
★ 0
NOASSERTION
TypeScript
Aug 31, 2026
dsh plugin --profile web add xiaoxiao-persona-coreDeepSeek Harness memory and knowledge hub that routes update, retrieve, and subscribe calls across compatible plugins, with an optional transactional Rust backend.
★ 0
↓ 185/wk
dsh plugin --profile web add dsh-patchouliby ImCabbage
MindMap: a DeepSeek Harness plugin that distills conversations into persistent storylines with an interactive map tab.
★ 0
MIT
JavaScript
Aug 23, 2026
dsh plugin --profile web add dsh-plugin-mindmapby stas130286-blip
BrainAgent — brain-inspired plugin for DeepSeek Harness (dsh): a pipeline of heuristic filters, statistical memory stores and context injections; reward-ledger + UCB1 bandit learning loop (RL-lite). 9
★ 6
↓ 294/wk
TypeScript
Sep 6, 2026
dsh plugin --profile web add dsh-brainagent