bd remember and bd forget called store.SetConfig/DeleteConfig without
store.CommitPending, so memories were silently lost on push/clone
round-trips. Apply the same CommitPending pattern used by all other
write commands (40+ call sites).
Also fixes bd config set, bd config unset, and bd config set-many
which had the same missing auto-commit.
Replaces Claude Code filesystem-based auto-memory (MEMORY.md) with
bead-backed semantic memory using the existing k/v store.
New commands:
- bd remember insight [--key slug] - store a memory (auto-generates key)
- bd memories [search] - list/search memories by keyword
- bd recall key - retrieve full content of a memory
- bd forget key - remove a memory
Storage: k/v store with memory. key prefix (config table). No new schema.
Prime-time injection: bd prime now appends memories to its output, so
agents receive their memories automatically at session start. Supports
both MCP (compact) and CLI (full) formats.
Fixes: gt-tit8
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>