neuralmind.uk / Release Notes — v4.3.0 Edit this page on GitHub ↗

Release Notes — v4.3.0

Date: 2026-09-25 Tag: v4.3.0 Upgrade: pip install --upgrade neuralmind


Memory Layer v4.3 — Progressive Retrieval + Session-Boundary Hooks

This release ships Components B and C of the Memory Layer build spec: the 3-layer progressive decision retrieval and the session-boundary summary hooks, plus a train of critical fixes found by CI matrix and independent adversarial QA (Qwen 3.8 Flash, 8-area risk checklist).

What the agent sees

1. 3-layer progressive decision retrieval

Agents now filter before they fetch. Three new MCP tools replace the single fat query for decision memory:

A “why did we choose JWT over sessions?” workflow now completes in ≤3 tool calls and ≤2,000 tokens on the fixture repo. The existing tools (query/audit/record/invalidate_decisions) are unchanged and backwards compatible. Tool count: 25 → 28.

2. Stop + SessionEnd hooks (HOOK_VERSION 4)

Claude Code lifecycle coverage extends to the session boundary. Hooks run one process per invocation, so both derive their view from the durable event log (.neuralmind/events.jsonl):

Both fail-open and opt-out via NEURALMIND_SESSION_END=0. install_hooks now also wires PreToolUse (the stale-decision guard was previously advertised but never installed — latent bug fixed).

Critical fixes

Numbers

Known limitations (unchanged)

What’s next

Component A of the build spec — the contamination-blocked eval harness with residual-context measurement — is queued as the next phase, followed by Component D (framework-aware invalidation edges for FastAPI/Flask/ Django routes).