mcp-nervous-system 1.2.0 → 1.4.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.
- package/README.md +16 -7
- package/index.js +590 -7
- package/package.json +2 -2
- package/server.js +918 -477
- package/stdio.js +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
7 mechanically enforced rules that prevent the most common failure modes when LLMs have access to real infrastructure: context loss, silent failures, file damage, goal drift, and overreach.
|
|
6
6
|
|
|
7
|
-
Built by [Arthur Palyan](https://www.levelsofself.com) at Palyan AI.
|
|
7
|
+
Built by [Arthur Palyan](https://www.levelsofself.com) at Palyan Family AI System. 12 tools including configuration drift detection and emergency kill switch. Battle-tested on an 11-member AI family running 28 processes 24/7 on a single VPS. 58+ violations logged, 0 bypassed.
|
|
8
8
|
|
|
9
9
|
## The Problem
|
|
10
10
|
|
|
@@ -60,6 +60,13 @@ Protocol: MCP 2024-11-05 (Streamable HTTP + SSE)
|
|
|
60
60
|
Authentication: None required
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
+
## NEW in v1.4.0
|
|
64
|
+
|
|
65
|
+
**drift_audit** (free tier)
|
|
66
|
+
Configuration drift detection across 5 scopes: roles, versions, files, processes, and website. Scans source-of-truth files (family-roles.json, package.json, UNTOUCHABLE_FILES.txt) against all downstream references - HTML pages, JSON configs, markdown docs, and running PM2 processes. Change one file, drift_audit tells you everywhere else that needs updating. The closed loop that keeps your entire system consistent.
|
|
67
|
+
|
|
68
|
+
**Positioning: Auto mode decides what Claude CAN do. The Nervous System governs HOW it behaves while doing it.**
|
|
69
|
+
|
|
63
70
|
## The 7 Rules
|
|
64
71
|
|
|
65
72
|
| # | Rule | What It Prevents |
|
|
@@ -72,7 +79,7 @@ Authentication: None required
|
|
|
72
79
|
| 6 | **Ask Before Touching** | Unauthorized changes. Logic changes need human approval. |
|
|
73
80
|
| 7 | **Hand Off** | Context loss. Written handoffs every 3-4 exchanges. |
|
|
74
81
|
|
|
75
|
-
## MCP Tools (
|
|
82
|
+
## MCP Tools (12)
|
|
76
83
|
|
|
77
84
|
| Tool | Description |
|
|
78
85
|
|------|------------|
|
|
@@ -87,6 +94,7 @@ Authentication: None required
|
|
|
87
94
|
| `emergency_kill_switch` | Emergency shutdown of all PM2 processes. Requires kill switch secret. Logs to tamper-evident audit trail |
|
|
88
95
|
| `verify_audit_chain` | Walks the SHA-256 hash-chained audit log and verifies every entry. Returns chain integrity status |
|
|
89
96
|
| `dispatch_to_llm` | Spawns a background LLM agent to handle a task. Checks RAM, enforces max 2 concurrent dispatches |
|
|
97
|
+
| `drift_audit` | Configuration drift detection across roles, versions, files, processes, and website. Finds stale values everywhere. |
|
|
90
98
|
|
|
91
99
|
## Kill Switch
|
|
92
100
|
|
|
@@ -102,7 +110,7 @@ Every guardrail violation, kill switch activation, and dispatch event is recorde
|
|
|
102
110
|
|
|
103
111
|
- Use `verify_audit_chain` to walk the entire chain and verify integrity
|
|
104
112
|
- Returns: valid/invalid status, entry count, and break point if tampered
|
|
105
|
-
-
|
|
113
|
+
- 58+ violations logged, 0 bypassed, 0 chain breaks
|
|
106
114
|
|
|
107
115
|
## Dispatch to LLM
|
|
108
116
|
|
|
@@ -119,22 +127,23 @@ The Nervous System provides practical compliance tools for the EU AI Act. See th
|
|
|
119
127
|
|
|
120
128
|
https://api.100levelup.com/family/eu-ai-act.html
|
|
121
129
|
|
|
122
|
-
## Resources (
|
|
130
|
+
## Resources (5)
|
|
123
131
|
|
|
124
132
|
- `nervous-system://framework` - The complete framework
|
|
125
133
|
- `nervous-system://quick-start` - Quick start guide
|
|
126
134
|
- `nervous-system://rules` - The 7 core rules
|
|
127
135
|
- `nervous-system://templates` - Templates for handoffs, worklogs, preflight
|
|
136
|
+
- `nervous-system://drift-audit` - Configuration drift detection
|
|
128
137
|
|
|
129
138
|
## Production Stats
|
|
130
139
|
|
|
131
|
-
From the live Palyan AI deployment (Feb 28 - Mar 5, 2026):
|
|
140
|
+
From the live Palyan Family AI System deployment (Feb 28 - Mar 5, 2026):
|
|
132
141
|
|
|
133
|
-
- **
|
|
142
|
+
- **58+** violations caught
|
|
134
143
|
- **29** edits blocked by preflight
|
|
135
144
|
- **13** unique files protected
|
|
136
145
|
- **0** rules bypassed
|
|
137
|
-
- **
|
|
146
|
+
- **28** processes monitored
|
|
138
147
|
- **7** days continuous operation
|
|
139
148
|
|
|
140
149
|
## Live Demo
|