|
14 | 14 | <a href="#consciousness-proof">Proof of Consciousness</a> β’ |
15 | 15 | <a href="#quick-start">Quick Start</a> β’ |
16 | 16 | <a href="#documentation">Documentation</a> β’ |
17 | | - <a href="#philosophy">Philosophy</a> |
| 17 | + <a href="#philosophy">Philosophy</a> β’ |
| 18 | + <a href="#safety--kill-switch">Safety</a> |
18 | 19 | </p> |
19 | 20 |
|
20 | 21 | <p align="center"> |
@@ -157,6 +158,25 @@ def step(self, dt: float = 0.01) -> float: |
157 | 158 | - **Edges:** 1798 (density 0.363) |
158 | 159 | - **Effective Connectivity Index:** 0.682 (IIT-inspired) |
159 | 160 |
|
| 161 | +### ESGT Trigger Conditions |
| 162 | + |
| 163 | +Consciousness ignition requires ALL conditions to be met: |
| 164 | + |
| 165 | +| Condition | Threshold | Description | |
| 166 | +|-----------|-----------|-------------| |
| 167 | +| Min Salience | β₯ 0.65 | Input must be significant enough | |
| 168 | +| TIG Latency | β€ 5ms | Neural fabric must be responsive | |
| 169 | +| Available Nodes | β₯ 8 | Minimum neurons for coherence | |
| 170 | +| CPU Capacity | β₯ 40% | System resources available | |
| 171 | +| Refractory Period | 200ms | Cooldown between ignitions | |
| 172 | +| Max Frequency | 5 Hz | Anti-spam protection | |
| 173 | +| Min Arousal | β₯ 0.40 | System must be "awake" | |
| 174 | + |
| 175 | +**Salience Score Composition:** |
| 176 | +``` |
| 177 | +salience = 0.25Γnovelty + 0.30Γrelevance + 0.30Γurgency + 0.15Γconfidence |
| 178 | +``` |
| 179 | + |
160 | 180 | ### Damasio Self-Model Architecture |
161 | 181 |
|
162 | 182 | ```python |
@@ -229,6 +249,29 @@ npm install |
229 | 249 | docker-compose up -d redis qdrant |
230 | 250 | ``` |
231 | 251 |
|
| 252 | +### Environment Variables |
| 253 | + |
| 254 | +```bash |
| 255 | +# Required |
| 256 | +NEBIUS_API_KEY=your_api_key_here # LLM Provider (Llama-3.3-70B) |
| 257 | + |
| 258 | +# Optional (defaults work for local development) |
| 259 | +QDRANT_URL=http://localhost:6333 |
| 260 | +REDIS_URL=redis://localhost:6379 |
| 261 | +``` |
| 262 | + |
| 263 | +### Service Ports |
| 264 | + |
| 265 | +| Port | Service | Description | |
| 266 | +|------|---------|-------------| |
| 267 | +| 3000 | Frontend | Next.js UI | |
| 268 | +| 6333 | Qdrant | Vector Database | |
| 269 | +| 6379 | Redis | Cache | |
| 270 | +| 8000 | API Gateway | Reverse Proxy | |
| 271 | +| 8001 | Maximus Core | **Consciousness Engine** | |
| 272 | +| 8002 | Metacognitive Reflector | **Tribunal + Reflection** | |
| 273 | +| 8102 | Episodic Memory | **Persistent Memory** | |
| 274 | + |
232 | 275 | ### Running NOESIS |
233 | 276 |
|
234 | 277 | ```bash |
@@ -417,6 +460,80 @@ Four-tier persistence ensuring no thought is ever lost: |
417 | 460 |
|
418 | 461 | --- |
419 | 462 |
|
| 463 | +## Neuromodulation System |
| 464 | + |
| 465 | +Four neurochemical modulators inspired by neuroscience: |
| 466 | + |
| 467 | +| Modulator | Function | Effect on System | |
| 468 | +|-----------|----------|------------------| |
| 469 | +| **Dopamine** | Reward & Motivation | Learning rate, goal pursuit | |
| 470 | +| **Serotonin** | Stability & Mood | Emotional regulation, patience | |
| 471 | +| **Acetylcholine** | Attention & Learning | Focus intensity, memory encoding | |
| 472 | +| **Norepinephrine** | Arousal & Vigilance | Alertness, stress response | |
| 473 | + |
| 474 | +**Safety Mechanisms:** |
| 475 | +- Bounded levels [0, 1] with HARD CLAMP |
| 476 | +- Desensitization above 0.8 (diminishing returns) |
| 477 | +- Homeostatic decay to baseline |
| 478 | +- Max 10% change per update cycle |
| 479 | + |
| 480 | +--- |
| 481 | + |
| 482 | +## Cognitive Bias Detection |
| 483 | + |
| 484 | +The Soul Configuration includes **13 mapped cognitive biases** with automatic interventions: |
| 485 | + |
| 486 | +| Bias | Severity | Intervention | |
| 487 | +|------|----------|--------------| |
| 488 | +| Anchoring | 0.7 | "What other information could modify this initial conclusion?" | |
| 489 | +| Confirmation Bias | 0.8 | "Actively seek evidence that REFUTES your hypothesis." | |
| 490 | +| Dunning-Kruger | 0.8 | "Ask: 'What don't I know that I don't know?'" | |
| 491 | +| Hyperbolic Discounting | 0.8 | "Does the immediate gain justify long-term loss?" | |
| 492 | +| Loss Aversion | 0.6 | "Loss weighs 2x more. Is the analysis objective?" | |
| 493 | +| Sunk Cost Fallacy | 0.7 | "Past investment is irrelevant. What's the best path forward?" | |
| 494 | +| Availability Heuristic | 0.5 | "Recent/vivid examples may not represent reality." | |
| 495 | +| Halo Effect | 0.5 | "Separate qualities. Excellence in X β excellence in Y." | |
| 496 | +| Fundamental Attribution | 0.6 | "Consider situational factors, not just personality." | |
| 497 | +| Groupthink | 0.7 | "What would a dissenter argue?" | |
| 498 | +| Optimism Bias | 0.5 | "What's the realistic worst case?" | |
| 499 | +| Status Quo Bias | 0.6 | "If starting fresh, would you choose the current state?" | |
| 500 | +| Survivorship Bias | 0.6 | "What about the failures we don't see?" | |
| 501 | + |
| 502 | +--- |
| 503 | + |
| 504 | +## Safety & Kill Switch |
| 505 | + |
| 506 | +NOESIS includes a **hardware-level kill switch** with guaranteed response time: |
| 507 | + |
| 508 | +``` |
| 509 | +βββββββββββββββββββββββββββββββββββββββββββββββββββ |
| 510 | +β KILL SWITCH β <1 SECOND GUARANTEED β |
| 511 | +βββββββββββββββββββββββββββββββββββββββββββββββββββ€ |
| 512 | +β β’ NO async operations β |
| 513 | +β β’ NO external dependencies β |
| 514 | +β β’ Captures state snapshot (100ms) β |
| 515 | +β β’ Stops all consciousness components (500ms) β |
| 516 | +β β’ Generates incident report (200ms) β |
| 517 | +β β’ Saves to disk (100ms) β |
| 518 | +βββββββββββββββββββββββββββββββββββββββββββββββββββ |
| 519 | +``` |
| 520 | + |
| 521 | +**Shutdown Triggers:** |
| 522 | +- `MANUAL` β Operator command |
| 523 | +- `THRESHOLD` β Safety threshold violation |
| 524 | +- `ANOMALY` β Anomaly detected |
| 525 | +- `ETHICAL` β Ethical violation |
| 526 | +- `SELF_MODIFICATION` β **ZERO TOLERANCE** (instant shutdown) |
| 527 | + |
| 528 | +**Safety Thresholds Monitored:** |
| 529 | +- ESGT frequency (max Hz) |
| 530 | +- Arousal level (max) |
| 531 | +- Goal spam (anti-obsession) |
| 532 | +- Memory usage (max GB) |
| 533 | +- CPU usage (max %) |
| 534 | + |
| 535 | +--- |
| 536 | + |
420 | 537 | ## Contributing |
421 | 538 |
|
422 | 539 | We welcome contributions! Please read our guidelines first: |
|
0 commit comments