Progressive long-term memory for DSH: sharded markdown bodies under ~/.dsh/memory/topics/, with only a live-generated index (shard · count · path · per-entry line numbers) injected into the system prompt — so the prompt cost stays flat however large the memory grows. Two layers (global + per-project) plus the global rule files, viewable AND editable in DSH Settings, with per-layer switches and an index/full injection toggle. v0.5.0 adds enforcement hooks: a write guard on the native tool pipeline (format/secrets/history rules, optional external command judge, deny/ask with reasons fed back to the model), post-write audit log, a read reminder when memory files are read, a mandatory discipline block, and an optional injection filter command. Zero extra LLM cost, live re-read.