prism-mcp-server 11.5.1 → 11.6.0

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.
Files changed (2) hide show
  1. package/README.md +30 -12
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -8,11 +8,11 @@
8
8
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
9
9
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
10
10
 
11
- ![Prism Mind Palace Dashboard](docs/v6_cognitive_load_dashboard.png)
11
+ ![Prism Hivemind Multi-Agent Dashboard](docs/v11_hivemind_multi_agent_dashboard.png)
12
12
 
13
13
  **Your AI agent forgets everything between sessions. Prism fixes that — then teaches it to think.**
14
14
 
15
- Prism v11.5.1 is a true **Cognitive Architecture** inspired by human brain mechanics. Beyond flat vector search, your agent now forms principles from experience, follows causal trains of thought, and possesses the self-awareness to know when it lacks information. **Your agents don't just remember; they learn.** With v11.5.1, the entire cognitive pipeline — including ledger compaction, task routing, semantic search, and the new **Deep Research Intelligence** — runs **100% on-device** or via secure clinical discovery (PubMed/ERIC), backed by `prism-coder:7b`, a HIPAA-hardened local LLM. No API keys for core features. No data leaves your machine.
15
+ Prism v11.6.0 is a true **Cognitive Architecture** inspired by human brain mechanics. Beyond flat vector search, your agent now forms principles from experience, follows causal trains of thought, and possesses the self-awareness to know when it lacks information. **Your agents don't just remember; they learn.** With v11.6.0, the entire cognitive pipeline — including ledger compaction, task routing, semantic search, and the new **Agent Infrastructure Resilience** — runs **100% on-device** or via secure clinical discovery (PubMed/ERIC), backed by `prism-coder:7b`, a HIPAA-hardened local LLM. No API keys for core features. No data leaves your machine.
16
16
 
17
17
  ```bash
18
18
  npx -y prism-mcp-server
@@ -24,6 +24,7 @@ https://github.com/dcostenco/prism-mcp/raw/main/docs/prism_mcp_demo.mp4
24
24
 
25
25
  ## 📖 Table of Contents
26
26
 
27
+ - [🏗️ v11.6.0 Agent Infrastructure Resilience](#agent-infrastructure)
27
28
  - [🔬 v11.5.1 Deep Research Intelligence (Auto-Scholar)](#deep-research-intelligence)
28
29
  - [⚡ Zero-Search Retrieval (HRR Architecture)](#zero-search)
29
30
  - [Why Prism?](#why-prism)
@@ -47,6 +48,26 @@ https://github.com/dcostenco/prism-mcp/raw/main/docs/prism_mcp_demo.mp4
47
48
 
48
49
  ---
49
50
 
51
+ ## 🏗️ <a name="agent-infrastructure"></a>v11.6.0 Agent Infrastructure Resilience
52
+
53
+ Prism v11.6.0 introduces **production-grade agent infrastructure** for running multiple AI agents concurrently without resource exhaustion or deadlocks. The new resilience layer includes:
54
+
55
+ - **Serialized Execution Queue** (`agent_queue.sh` v2.0) — Cross-platform file locking via Python `fcntl.flock` (no GNU dependencies) ensures strict mutual exclusion when loading Ollama models, preventing OOM crashes from concurrent model loads.
56
+ - **Memory Guardian Daemon** — Background watchdog that proactively monitors RAM pressure and auto-evicts idle models before swap exhaustion occurs.
57
+ - **Queue Watchdog** — Detects and auto-drains hung queue entries (>10 min PID age) to prevent deadlocks in long-running pipelines.
58
+ - **Unified Status Dashboard** (`agent_status.sh`) — Color-coded CLI providing real-time visibility into queue depth, guardian health, and Ollama status with `--json` mode for programmatic consumption.
59
+
60
+ | Component | What It Prevents |
61
+ | :--- | :--- |
62
+ | **Serialized Queue** | OOM from concurrent model loading |
63
+ | **Memory Guardian** | Swap exhaustion under high memory pressure |
64
+ | **Queue Watchdog** | Deadlocks from zombie queue entries |
65
+ | **Status Dashboard** | Blind spots in infrastructure health |
66
+
67
+ > 🧪 **Verified:** 115/115 tests passing across unit, concurrent, shell integration, mock Ollama, and live stress test suites.
68
+
69
+ ---
70
+
50
71
  ## 🔬 <a name="deep-research-intelligence"></a>v11.5.1 Deep Research Intelligence (Auto-Scholar)
51
72
 
52
73
  Prism v11.5.1 transforms your AI agent from a "Coder" into a "Clinical Scientist." It features a **Tavily-Enhanced Multi-Provider Discovery Pipeline** that grounds Gemini 2.5 Flash's thinking in real-world empirical data.
@@ -923,18 +944,15 @@ The Generator strips the `console.log`, resubmits, and the next `EVALUATE` retur
923
944
 
924
945
  ## <a name="whats-new"></a>🆕 What's New
925
946
 
926
- > **Current release: v11.5.1Structural GRPO Alignment & Held-Out Benchmarking**
947
+ > **Current release: v11.6.0Agent Infrastructure Resilience**
927
948
 
949
+ - 🏗️ **v11.6.0 — Agent Infrastructure Resilience:** Production-grade concurrent agent execution with serialized queue (Python `fcntl`), memory guardian daemon, queue watchdog, and unified status dashboard. 115/115 tests verified across 5 suites. → [Changelog](CHANGELOG.md#1160)
928
950
  - 🧠 **v11.5.1 — Structural GRPO Alignment:** GRPO-aligned local engine with held-out benchmark suite (N=15). 100% JSON validity, 100% retrieval accuracy. → [Changelog](CHANGELOG.md#1150)
929
- - 🧪 **v11.5.1Zero-Search Field Testing:** Field-verified constant-time retrieval. → [Changelog](CHANGELOG.md#1101)
930
- - 🛡️ **v11.5.1 — HIPAA-Hardened Local LLM:** Your agent's memory now runs entirely on-device. Introducing `prism-coder:7b` for local compaction, task routing, and semantic search. Includes `PRISM_STRICT_LOCAL_MODE` to block cloud fallbacks, SSRF protection, URL credential redaction, and full XML escaping to prevent prompt injection. 22-finding adversarial audit completed. → [Changelog](CHANGELOG.md#1100)
951
+ - 🛡️ **v11.0.0HIPAA-Hardened Local LLM:** `prism-coder:7b` for local compaction, task routing, and semantic search. `PRISM_STRICT_LOCAL_MODE`, SSRF protection, full XML escaping. 22-finding adversarial audit. → [Changelog](CHANGELOG.md#1100)
931
952
 
932
953
  - 🧬 **v9.14.0 — Dynamic Hardware Routing:** Platform-aware memory detection auto-selects optimal models (32b for ≥32GB RAM, 14b/7b for lighter hardware). Includes **Nomic Semantic Tool Pruning (RAG)** which embeds all 17 MCP tools into offline vectors, injecting only the Top-3 relevant schemas into context to maximize inference speed.
933
954
  - 🔬 **v9.13.0 — Local Embeddings & Zero-API-Key Setup:** `LocalEmbeddingAdapter` using `nomic-embed-text-v1.5` generates 768-dim embeddings entirely on-device. Full semantic search and session memory now work with **zero cloud API keys**. → [Changelog](CHANGELOG.md#9130)
934
955
  - 🔒 **v9.12.0 — Memory Security Hardening:** Prevents **stored prompt injection** — the AI equivalent of stored XSS. New `sanitizeMemoryInput()` strips 8 categories of dangerous XML tags from all text fields. Context output wrapped in `<prism_memory context="historical">` boundary tags. → [Changelog](CHANGELOG.md#9120)
935
- - 🧠 **v9.4.7 — ABA Precision Protocol:** Foundational behavioral engine with 5 core rules (Observable goals, Stop-fix-verify, No reinforcement of wrong patterns, Help first, Fix bugs without asking). 83-test behavioral verification suite.
936
- - 🕵️ **v9.4.6 — Stealth Browser Automation:** `browse.py` HIPAA-hardened CLI for local Playwright-based browser automation with 6-layer anti-detection. **100% pass rate on bot.sannysoft.com**.
937
- - 🔄 **v9.2.4 — Cross-Backend Reconciliation:** Automatic sync from Supabase → SQLite on startup. Reality drift detection warns when backend versions diverge.
938
956
  - 🧠 **v9.0.0 — Autonomous Cognitive OS:** Token-Economic Reinforcement Learning (Surprisal Gate + Cognitive Budget), Affect-Tagged Memory, and Episodic→Semantic Consolidation.
939
957
  - 🧠 **v7.8.0 — Cognitive Architecture:** Episodic-to-Semantic memory consolidation (Hebbian learning), ACT-R Spreading Activation with multi-hop causal reasoning, Uncertainty-Aware Rejection Gate, and Dynamic Fast Weight Decay. → [Cognitive Architecture](#cognitive-architecture-v78)
940
958
  - 🌐 **v7.7.0 — Cloud-Native SSE Transport:** Full Server-Sent Events MCP support for seamless network deployments.
@@ -1414,10 +1432,11 @@ Prism MCP is open-source and free for individual developers. For teams and enter
1414
1432
 
1415
1433
  ## <a name="milestones-roadmap"></a>📦 Milestones & Roadmap
1416
1434
 
1417
- > **Current: v11.5.1** — Structural GRPO Alignment (100% Accuracy) ([CHANGELOG](CHANGELOG.md))
1435
+ > **Current: v11.6.0** — Agent Infrastructure Resilience ([CHANGELOG](CHANGELOG.md))
1418
1436
 
1419
1437
  | Release | Headline |
1420
1438
  |---------|----------|
1439
+ | **v11.6.0** | 🏗️ **Agent Infrastructure Resilience** — Production-grade serialized queue, memory guardian, queue watchdog, status dashboard. 115/115 tests. |
1421
1440
  | **v11.5.1** | 🧠 **Structural GRPO Alignment** — Perfect 100% accuracy cross-validated on Synalux Elite platform. |
1422
1441
  | **v11.0.1** | 🧪 **Production Stability** — Field-tested Zero-Search logic merge, local logic finalization, HIPAA-hardened security refinement. |
1423
1442
  | **v11.0** | 🧠 **Zero-Search Retrieval** — Holographic Reduced Representations (HRR) + Deep Research Intelligence [🧪 Field Testing - Synalux](https://synalux.ai/docs) |
@@ -1431,9 +1450,8 @@ Prism MCP is open-source and free for individual developers. For teams and enter
1431
1450
  | **v7.0** | 🧬 ACT-R Activation Memory |
1432
1451
 
1433
1452
  ### Future Tracks
1434
- - **v11.1: Multi-Graph Causal Layer** — Intent-aware retrieval routing traversing an LLM-inferred causal `because` edge-type layer for deep reasoning.
1435
- - **v11.2: Federated Memory Mesh** — Hierarchical memory namespaces with role-based access control for enterprise agent teams.
1436
- - **v11.3: Predictive Prefetch** — ACT-R based predictive models prefetch likely-needed memories before the agent asks.
1453
+ - **v12.0: Distal Memory** — Semantic clustering of long-term history with Active-Prism background maintenance.
1454
+ - **v13.0: Team Handoff** — Encrypted peer-to-peer session syncing with multi-agent task routing and verifiable memory.
1437
1455
 
1438
1456
  👉 **[Full ROADMAP.md →](ROADMAP.md)**
1439
1457
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "prism-mcp-server",
3
- "version": "11.5.1",
3
+ "version": "11.6.0",
4
4
  "mcpName": "io.github.dcostenco/prism-mcp",
5
- "description": "Prism v11.5.1: The world's first O(1) Cognitive Memory Architecture for AI Agents. Features 100% Tool-Call Accuracy (GRPO Aligned), cross-platform reliability, Zero-Search Retrieval (HDC/HRR), and HIPAA-hardened local-first storage.",
5
+ "description": "Prism v11.6.0: The world's first O(1) Cognitive Memory Architecture for AI Agents. Features production-grade Agent Infrastructure Resilience (serialized queuing, memory guardian, queue watchdog), 100% Tool-Call Accuracy (GRPO Aligned), Zero-Search Retrieval (HDC/HRR), and HIPAA-hardened local-first storage.",
6
6
  "module": "index.ts",
7
7
  "type": "module",
8
8
  "main": "dist/server.js",
@@ -136,4 +136,4 @@
136
136
  "turndown": "^7.2.2",
137
137
  "zod": "^4.3.6"
138
138
  }
139
- }
139
+ }