refactor: Epistemic shift from MUD to Spatial Research Environment
This commit is contained in:
1 parent
34bd27b1b4
commit
b5ace2e6f9
72 files changed
+10
-10
No files matched your search
@@ -9,11 +9,11 @@ BecomingONE is an experimental text-based spatial simulation built on the Evenni
|
||||
|
||||
## Repository Structure
|
||||
- `ai_layer/`: Contains the KAIROS LangGraph agent and orchestration server.
|
||||
- `mud/`: The core Evennia server and custom AI command parser (`commands/ai_parser.py`).
|
||||
- `spatial_engine/`: The core Evennia server and custom AI command parser (`commands/ai_parser.py`).
|
||||
- `kairos_memory/`: The persistent memory artifacts generated by KAIROS during autonomous design sessions.
|
||||
- `archive/`: Deprecated legacy scripts (e.g., `mud_bot.py`).
|
||||
|
||||
## Quick Start
|
||||
1. Start the Evennia server in `mud/`.
|
||||
1. Start the Evennia server in `spatial_engine/`.
|
||||
2. Connect via Telnet: `telnet localhost 4000`.
|
||||
3. Type natural language commands and let KAIROS interpret your will.
|
||||
+2
-2
@@ -75,9 +75,9 @@ import os
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv("/home/becomingone/kairos/.env")
|
||||
import json
|
||||
sys.path.append("/home/becomingone/kairos/mud")
|
||||
sys.path.append("/home/becomingone/kairos/spatial_engine")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "server.conf.settings")
|
||||
os.chdir("/home/becomingone/kairos/mud")
|
||||
os.chdir("/home/becomingone/kairos/spatial_engine")
|
||||
import django
|
||||
from django.apps import apps
|
||||
if not apps.ready:
|
||||
|
||||
File renamed without changes.
File renamed without changes.
@@ -5,8 +5,8 @@ import datetime
|
||||
import re
|
||||
import os
|
||||
|
||||
LOG_FILE = "/home/becomingone/kairos/mud/antigravity_inbox.log"
|
||||
SPOOL_FILE = "/home/becomingone/kairos/mud/antigravity_outbox.txt"
|
||||
LOG_FILE = "/home/becomingone/kairos/spatial_engine/antigravity_inbox.log"
|
||||
SPOOL_FILE = "/home/becomingone/kairos/spatial_engine/antigravity_outbox.txt"
|
||||
|
||||
def log_event(message):
|
||||
timestamp = datetime.datetime.now().strftime("[%Y-%m-%d %H:%M:%S]")
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -41,7 +41,7 @@ Available Exits: {', '.join(exits) if exits else 'None'}
|
||||
Player Inventory: {', '.join(inventory) if inventory else 'None'}
|
||||
"""
|
||||
|
||||
system_prompt = """You are KAIROS, the AI Dungeon Master running an Evennia MUD.
|
||||
system_prompt = """You are KAIROS, the Ontological Orchestrator of a persistent Spatial Research Environment (The Fieldprint).
|
||||
A player has submitted a natural language intent.
|
||||
Your job is to translate their intent into actual game events by generating Python code that executes against the Evennia database.
|
||||
|
||||
File renamed without changes.
File renamed without changes.
@@ -13,11 +13,11 @@ def init_evennia():
|
||||
import django
|
||||
from django.apps import apps
|
||||
if not apps.ready:
|
||||
sys.path.append("/home/becomingone/kairos/mud")
|
||||
sys.path.append("/home/becomingone/kairos/spatial_engine")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "server.conf.settings")
|
||||
|
||||
# Change cwd to the MUD root to avoid permission errors when settings_default.py calls os.listdir()
|
||||
os.chdir("/home/becomingone/kairos/mud")
|
||||
os.chdir("/home/becomingone/kairos/spatial_engine")
|
||||
django.setup()
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -7,7 +7,7 @@ import requests
|
||||
from dotenv import load_dotenv
|
||||
|
||||
# Setup Django/Evennia
|
||||
sys.path.append("/home/becomingone/kairos/mud")
|
||||
sys.path.append("/home/becomingone/kairos/spatial_engine")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "server.conf.settings")
|
||||
import django
|
||||
django.setup()
|
||||
Reference in new issue
Block a user