@neruva/mcp 0.30.1 → 0.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,11 +41,13 @@ const ENV_DEFAULTS = {
41
41
  NERUVA_AUTO_RECALL: '20',
42
42
  NERUVA_PER_TURN_RECALL: '5',
43
43
  NERUVA_AUTO_EXTRACT: '1',
44
- NERUVA_AUTO_ROUTE: '1',
45
- NERUVA_AUTO_REFLECT: '1',
46
44
  NERUVA_PRE_ACTION_RECALL: '1',
47
45
  NERUVA_PRE_ACTION_THRESHOLD: '0.08',
48
46
  NERUVA_POST_INGEST_CONSISTENCY: '1',
47
+ // NERUVA_AUTO_ROUTE / NERUVA_AUTO_REFLECT removed (v0.31): proven dead nudge
48
+ // layers (<0.15% usage) that injected a ~6KB block into EVERY turn's context.
49
+ // Push (recall/code-graph/consistency) works; nudge-to-pull does not. Opt back
50
+ // in with NERUVA_AUTO_ROUTE=1 / NERUVA_AUTO_REFLECT=1 if you want to experiment.
49
51
  };
50
52
 
51
53
  const isOurEntry = (entry) =>
@@ -63,6 +65,9 @@ function buildHooks(cmd) {
63
65
  PreToolUse: [syncM('*')],
64
66
  UserPromptSubmit: [sync()],
65
67
  PostToolUse: [syncM('mcp__neruva__records_ingest', '--context-only'), async_('--record-only', '*')],
68
+ // Capture failures (kind=tool_failure) so the reliability loop self-feeds:
69
+ // a failed action is auto-recorded and surfaces before a similar action next time.
70
+ PostToolUseFailure: [async_('--record-only')],
66
71
  Stop: [async_('--record-only')],
67
72
  SessionStart: [sync()],
68
73
  SessionEnd: [async_('--record-only')],
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@neruva/mcp",
3
- "version": "0.30.1",
4
- "description": "MCP server for Neruva -- reliability infrastructure for production AI agents. One install, agent stops forgetting / drifting / repeating mistakes, every failure replayable bit-for-bit. v0.27 ships the qbound KG engine -- pick engine='qbound' on hd_kg_add_facts when document-stated facts must override LLM training-time priors. Now 6 KG engines (hadamard, opb, qbound, multishard, quorum, feature_bundle). v0.26 ships agent_recall_full -- 7-layer federated semantic recall across records, KG, learned rules, CBR episodes, SCM variables, belief tracking, and continual learners in parallel (one question, seven buckets, ~150ms p95). INSTALL: npx -y -p @neruva/mcp@latest neruva-mcp. BUNDLES the neruva-record-hook native binary (Rust, in-binary HTTPS hot path, ~1.5-2MB) for all 6 platforms. v0.30 adds ONE-COMMAND full-takeover install (npx -p @neruva/mcp neruva-mcp-install) -- wires the complete memory+reasoning auto-pilot (per-turn recall, auto-route, auto-reflect, code-graph, consistency, secret redaction, recording) with ZERO Python or daemon. Cache-hit p95 ~80ms via warm daemon + TTL cache. AUTO-PILOT: agent_route_intent_prompt + agent_reflect_prompt + auto-extract on records_ingest. Plus typed Records, federated agent_remember/recall/context, counterfactual rollouts, rule induction, code_kg_* navigation, .neruva V3 container. Pattern-C: substrate stays $0/call. Free tier, no card.",
3
+ "version": "0.31.1",
4
+ "description": "Autonomous memory + reliability for AI agents -- one command, zero tools to learn. A native Rust hook (full-takeover mode) silently records everything your agent does, surfaces relevant PAST MISTAKES before each action, and -- new in the bundled v0.32 binary -- BLOCKS the agent from repeating a known destructive mistake so it self-corrects from past learning (default-on, autonomous deny, no human prompt). Push not pull: it works in the background, fast, with no MCP tool-calling required. INSTALL: npx -p @neruva/mcp neruva-mcp-install (wires the complete auto-pilot -- per-turn recall, code-graph, consistency, secret redaction, recording, enforcing mistake-recall -- with ZERO Python and ZERO daemon). Native binary bundled for all 6 platforms (~1.5-2MB). The MCP server is INCLUDED as an OPTIONAL explicit interface (npx -y -p @neruva/mcp@latest neruva-mcp) for clients that want to call tools directly: typed Records, 6 KG engines, federated agent_recall, code_kg_* navigation, .neruva V3 container -- but the product is the auto/silent binary, not the tool surface. Substrate stays deterministic + $0/call. Free tier, no card.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "bin": {