DeepSeek Harness Plugin

18477514055/dsh-ledger-memory

Category Memory Added 2026-10-17

Project-level memory built around a ledger whose structure the AI designs per project; the plugin only handles detection, injection, write-back, archiving and git. Memories are split by meaning: the active ledger holds current state, the turn journal is append-only, and decisions, the goal tree and lessons are one-card-per-file (with a multi-dimension index over the card folders); the fundamental principles file can be changed only by the user. There is a single compaction mode: before compacting, the AI sorts the work into three buckets - what must stay in context and is re-injected verbatim, what is written to the project's _stash/ for later lookup, and what is dropped. When a conversation is opened in a container workspace holding several projects, it can be locked to one sub-project (the lock lives in the plugin's own home and survives restarts; it leaves no marker in your project). Also an activity log with five levels, where L4 stores the user's own words verbatim (never injected, queryable on demand). Before each compaction a verbatim capsule (user quotes, raw errors, changed files) is written to disk, and both the capsule and its source material survive a restart; a handoff document lets a new conversation resume the previous one. 21 tools, 12 subcommands, 39 settings (one of them switches whether the settings panel or each project's manifest wins). Runs locally, no runtime dependencies.

Install

# from a prebuilt release tarball

dsh plugin --profile web add "https://github.com/18477514055/dsh-ledger-memory/releases/download/v1.2.3/dsh-ledger-memory-1.2.3.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:18477514055/dsh-ledger-memory

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.