dsh-tide-memory

Tide Memory: a long-term memory that forgets on purpose. It keeps what matters and lets the rest fade. Whether an entry enters the context is decided by an evidence score C = s/(s+2): below the threshold (0.35 by default) it never enters. Events decay by half-life (30 days, or 7 days when they carry emotion); facts never decay; superseded entries are kept and marked stale instead of deleted. Recalled lines do enter the context and therefore do consume tokens — small, but real. No embeddings, no network calls, no cloud.

Overview

Tide Memory: a long-term memory that forgets on purpose. It keeps what matters and lets the rest fade. Whether an entry enters the context is decided by an evidence score C = s/(s+2): below the threshold (0.35 by default) it never enters. Events decay by half-life (30 days, or 7 days when they carry emotion); facts never decay; superseded entries are kept and marked stale instead of deleted. Recalled lines do enter the context and therefore do consume tokens — small, but real. No embeddings, no network calls, no cloud.

Installation

Install from GitHub

dsh plugin --profile web add github:MingHuanYue/dsh-tide-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