neuralmind.uk / NeuralMind v4.5.1 — decision memory answers questions, for every role Edit this page on GitHub ↗

NeuralMind v4.5.1 — decision memory answers questions, for every role

Type: Patch release Theme: decision memory

Two fixes to decision memory, both meant for v4.5.0, that landed just after it was tagged:

  1. Decision search answers questions. A question used to find nothing unless every one of its words appeared in a decision.
  2. The default MCP roles reach the memory retrieval tools. neuralmind_memory_search, neuralmind_memory_timeline and neuralmind_memory_get returned security_denied to every caller that didn’t declare admin.

1. Decision search answers questions

Decision search required every word of the query, so neuralmind decisions query found a decision for “sqlite wal” but not for “how do we handle sqlite wal?”, and agents send questions.

2. The default roles can use the memory retrieval tools

neuralmind_memory_search, neuralmind_memory_timeline and neuralmind_memory_get were never added to the default role policy. Through the MCP server, a caller that declared no role (which means builder) or declared reader got security_denied from all three, so agents couldn’t use the progressive-retrieval path the Memory Layer wiki describes.

A security.roles policy in neuralmind-backend.yaml replaces the defaults, so a project that sets one keeps exactly the tools it lists.

What the agent actually sees post-install

Agent Before After
Claude Code (MCP + hooks) A question to neuralmind_query_decisions found nothing unless every word matched; neuralmind_memory_search, _timeline and _get came back security_denied Questions find decisions, best match first; the three memory retrieval tools return results
Cursor / Cline / Continue (MCP) Same as Claude Code Same fix
Generic MCP client The memory retrieval tools needed role: "admin"; an unknown status filter returned an empty result They work with no role or reader; an unknown status is invalid_request

Upgrade notes