dsh-ledger-memory

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.

Overview

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.

Installation

Install from npm

dsh plugin --profile web add dsh-ledger-memory

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

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

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands