jisi71/dsh-memories
Dual-ledger cross-session memory: MEMORY.md for project facts, PROGRESS.md for where the work stands, recalled into each new session.
Maintains two ledgers per project and recalls both into the system context of every new session: MEMORY.md for stable facts in four fixed categories (preference, project, environment, lesson) and PROGRESS.md for completed, doing and next. A /memories command reports processed counts, draft files, ledger previews and the last error, and /progress appends a manual note, so the state is inspectable rather than implicit. The README credits OpenAI's Codex agent memory pipeline as the inspiration.
Install
dsh plugin --profile web add dsh-memoriesThe npm line. One caveat in the README is now stale and worth knowing: it says the plugin-manager path needs a release that ships the bundle manifest, and that the npm 0.1.2 of the time predated it — the registry now serves 0.2.1. If the plugin-manager add does not wire the bundle, the README's Option A still applies: add the npm package, then reference its entry file by relative path in the profile's cordis.patch.yml, because bare package names in patch rows are not reliably resolved in pnpm-managed profiles.
Compatibility
Requires the services bundled with dsh-base, and the README tested it on dsh 0.1.0-rc.9. Extraction runs at most once per 30 minutes, reads recent sessions from the same workspace (last 14 days, at most two per run), and only message text — no tool payloads. A strict no-op gate keeps one-off task details, code dumps and secrets out of the ledgers, and LLM failures leave no trace so those sessions retry next round. Progress consolidation is instructed, not guaranteed, to respect a 60-line budget. Remove an older dynamic-plugin installation of this capability first, or tools register twice. The previous version is kept as MEMORY.md.bak on every rewrite.
Details
- Repo: jisi71/dsh-memories
- Category: Memory
- Stars: 2
- Version: 0.2.1 (npm); README tested on dsh 0.1.0-rc.9
Alternatives
icearia0219/dsh-memory-spaces · Yiipu/dsh-agentmemory · ICCuse/dsh-file-memory