Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD across contents and paths, upstream package/repo coordinates -> @golem15/msd-core and golem15com/msd-core. Deep links into upstream history, sibling upstream packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is. Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line, package/plugin identity, regenerated lockfile, install-tree fixtures, derived registries and benchmark baseline; migration checksum baseline re-locked (MSD keeps its own install state, so no install had applied the old sums); sort-order and regex-escaped expectations in tests adjusted.
3.2 KiB
id, title, group
| id | title | group |
|---|---|---|
| 145 | MemPalace Memory Capability | v1.43.0 Features |
Purpose: Opt-in cross-session and cross-project memory via the MemPalace external service (local-first, MCP + CLI). Wires deliberate recall before discuss/plan and verbatim capture + temporal-KG sync at phase boundaries through the ADR-857 capability mechanism. Default-resilient: disabled by default, every hook is onError: skip, and an absent MemPalace installation leaves the loop unchanged.
Commands: /msd-mempalace-recall, /msd-mempalace-capture
Requirements:
- REQ-MP-01: Opt-in via
mempalace.enabled: true. Defaultfalse— the loop is unchanged when unset. - REQ-MP-02: At
plan:pre, skillmempalace-recallproducesMEMORY-RECALL.mdfrom prior decisions, patterns, and surprises retrieved via wake-up + semantic search + KG timeline. When MemPalace is unreachable, writes an "unavailable" stub and continues. - REQ-MP-03: At
discuss:post,plan:post, andverify:post, skillmempalace-capturefiles the phase artifact verbatim into the appropriate MemPalace room (decisions,planning,milestones). Capture is idempotent viamempalace_check_duplicate. - REQ-MP-04: At
ship:post, agentmsd-mempalace-curatorwrites a diary entry, proposes cross-project tunnels (whenmempalace.cross_project_tunnels: true), and runs wing-scoped sync pruning. - REQ-MP-05:
mempalace.memory_modehas three wired values:augment(default — palace is an additive recall layer alongside MSD native memory, which stays authoritative),kg_backend(knowledge-graph queries resolve against the palace's temporal KG as the primary source,.planning/graphs/as fallback; non-KG drawer recall stays additive),replace(recall resolves through the palace as the source of truth, native memory as fallback). Every mode isonError:skipand default-resilient — an unreachable palace degrades to native memory and MSD keeps writing.planning/graphs/, so no mode loses memory. Cross-mode migration of existing.planning/graphs/into the palace is out of scope (not yet implemented). - REQ-MP-06: Every hook is
onError: skip. No hook carriesblocking: true. Memory never halts or fails a phase. - REQ-MP-07: Interactive runs prefer MCP tools; headless/cron runs prefer the MemPalace CLI (
mempalace wake-up,mempalace search,mempalace mine,mempalace sync). - REQ-MP-08:
mempalace.auto_capture_hooksis forward-declared and not yet functional. No native Claude Code hooks (stop,precompact,session-start) are installed by this key; the capability's hooks array is empty. This key is reserved for the future "Connected Capability" phase. Defaultfalse.
Configuration: mempalace.enabled, mempalace.memory_mode, mempalace.wing, mempalace.recall_on_discuss, mempalace.recall_on_plan, mempalace.capture_artifacts, mempalace.mirror_kg, mempalace.cross_project_tunnels, mempalace.diary_journal, mempalace.auto_capture_hooks
See Configuration Reference for full schema and How to enable cross-session memory with MemPalace for a setup walkthrough.