feat(memory): wire moraine-mcp as recall tool source, gate legacy pus…#3575
feat(memory): wire moraine-mcp as recall tool source, gate legacy pus…#3575pkeging wants to merge 1 commit into
Conversation
…h/inject Item 6: Wire moraine-mcp (stdio MCP server, `moraine mcp`) as a recall tool source via CodeWhale's default MCP config template so agents gain the Moraine recall tools (searchsessions, open, list_sessions, file_attention). Item 7: Add `[memory] moraine_fallback` config gate that deprecates the legacy memory.rs push/inject path (`<user_memory>` block, `remember` tool, `# foo` quick-add) in favor of Moraine pull/recall via MCP. - MemoryConfig: add moraine_fallback field + Config accessor - EngineConfig: add moraine_fallback bool - Gate compose_block at engine.rs:834, :3056 - Gate compose_block at context_report.rs:205 - Gate remember tool registration at tool_setup.rs:125 - Gate #foo quick-add at ui.rs:4609 - Add moraine-mcp to MCP templates (mcp.rs + main.rs, disabled by default) - memory_guidance.md: add Moraine MCP recall guidance section - memory.rs: add deprecation notice + migration guide
|
Thanks @pkeging for taking the time to contribute. This repository is observing a maintainer-managed PR intake gate in dry-run mode, so this pull request is staying open. This note helps maintainers prepare the allowlist before any enforcement is considered. Please read |
This is great!!! I'm going to hold off on moraine until 66 or 67 so will use this soon |
…h/inject
Item 6: Wire moraine-mcp (stdio MCP server,
moraine mcp) as a recall tool source via CodeWhale's default MCP config template so agents gain the Moraine recall tools (searchsessions, open, list_sessions, file_attention).Item 7: Add
[memory] moraine_fallbackconfig gate that deprecates the legacy memory.rs push/inject path (<user_memory>block,remembertool,# fooquick-add) in favor of Moraine pull/recall via MCP.Summary
Testing
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-featurescargo test --workspace --all-featuresChecklist