Rename fractal-brain to Resonance_Engine: update all paths, docs, scripts, and add experiments/results/src
This commit is contained in:
@@ -55,8 +55,8 @@ COMMAND_PORT = 5557
|
||||
SNAPSHOT_PORT = 5558
|
||||
ACK_PORT = 5559
|
||||
|
||||
CHRONICLE_PATH = "/mnt/d/fractal-brain/beast-build/chronicle.jsonl"
|
||||
SOMATIC_PATH = "/mnt/d/fractal-brain/beast-build/somatic_dialogue_beast.json"
|
||||
CHRONICLE_PATH = "/mnt/d/Resonance_Engine/beast-build/chronicle.jsonl"
|
||||
SOMATIC_PATH = "/mnt/d/Resonance_Engine/beast-build/somatic_dialogue_beast.json"
|
||||
|
||||
# How many past chronicle turns to include as conversation context
|
||||
CONTEXT_TURNS = 12
|
||||
@@ -77,7 +77,7 @@ API_PORT = 28820
|
||||
# Nano Banana Pro (Gemini image generation)
|
||||
GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY", "")
|
||||
GEMINI_MODEL = "gemini-2.5-flash-image"
|
||||
IMAGE_OUTPUT_DIR = "/mnt/d/fractal-brain/beast-build/generated_images"
|
||||
IMAGE_OUTPUT_DIR = "/mnt/d/Resonance_Engine/beast-build/generated_images"
|
||||
|
||||
# ── GLOBALS ─────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ from http.server import HTTPServer, BaseHTTPRequestHandler
|
||||
from socketserver import ThreadingMixIn
|
||||
from pathlib import Path
|
||||
|
||||
sys.path.insert(0, '/mnt/d/fractal-brain/beast-build')
|
||||
sys.path.insert(0, '/mnt/d/Resonance_Engine/beast-build')
|
||||
|
||||
try:
|
||||
from golden_weave_memory import (
|
||||
@@ -30,7 +30,7 @@ except ImportError as e:
|
||||
# Configuration
|
||||
OBSERVER_URL = "http://127.0.0.1:28820"
|
||||
EXTENSION_PORT = 28821
|
||||
ATTRACTOR_DIR = "/mnt/d/fractal-brain/beast-build/attractors"
|
||||
ATTRACTOR_DIR = "/mnt/d/Resonance_Engine/beast-build/attractors"
|
||||
|
||||
# Initialize memory system
|
||||
memory_system = GoldenWeaveMemorySystem(
|
||||
|
||||
@@ -23,7 +23,7 @@ ASYM_SIGMA = 3.5 # standard deviation multiplier (was 2.0 — too twi
|
||||
WINDOW_SIZE = 100 # rolling window for stats (was 50)
|
||||
SAVE_COOLDOWN = 300.0 # seconds between triggered saves (was 30 — way too fast)
|
||||
MAX_SAVES = 200 # keep at most this many checkpoints, delete oldest
|
||||
SAVE_DIR = "/mnt/d/fractal-brain/beast-build/sentry_saves"
|
||||
SAVE_DIR = "/mnt/d/Resonance_Engine/beast-build/sentry_saves"
|
||||
|
||||
# === STATE ===
|
||||
coh_window = deque(maxlen=WINDOW_SIZE)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# telemetry_server.py
|
||||
# HTTP Telemetry Endpoint for Fractal Brain (no Flask)
|
||||
# HTTP Telemetry Endpoint for Resonance Engine (no Flask)
|
||||
|
||||
import zmq
|
||||
import json
|
||||
@@ -7,7 +7,7 @@ import threading
|
||||
import time
|
||||
from http.server import HTTPServer, BaseHTTPRequestHandler
|
||||
|
||||
# ZMQ connection to fractal brain daemon
|
||||
# ZMQ connection to Resonance Engine daemon
|
||||
context = zmq.Context()
|
||||
socket = context.socket(zmq.SUB)
|
||||
socket.connect("tcp://localhost:5556")
|
||||
@@ -53,7 +53,7 @@ class TelemetryHandler(BaseHTTPRequestHandler):
|
||||
self.end_headers()
|
||||
self.wfile.write(json.dumps({
|
||||
"status": "ok",
|
||||
"source": "beast-fractal-brain",
|
||||
"source": "beast-resonance-engine",
|
||||
"grid": latest_telemetry["grid"],
|
||||
"cycle": latest_telemetry["cycle"]
|
||||
}).encode())
|
||||
|
||||
Reference in New Issue
Block a user