Point ENE scripts at shared data

This commit is contained in:
Brandon Schneider 2026-05-11 22:10:55 -05:00
parent a60b092cff
commit 1225404b72
3 changed files with 5 additions and 4 deletions

View file

@ -78,7 +78,7 @@ class ENENodeBalancer:
- Latency-aware routing
"""
def __init__(self, db_path: str = "/home/allaun/Documents/Research Stack/data/ene_cloud_nodes.db"):
def __init__(self, db_path: str = "/home/allaun/Documents/Research Stack/shared-data/data/ene_cloud_nodes.db"):
self.db_path = db_path
self.nodes: Dict[str, NodeStats] = {}
self.active_connections: Dict[str, NodeConnection] = {}
@ -318,7 +318,7 @@ class ENECloudCredentialManager:
- Access control
"""
def __init__(self, db_path: str = "/home/allaun/Documents/Research Stack/data/ene_cloud_credentials.db"):
def __init__(self, db_path: str = "/home/allaun/Documents/Research Stack/shared-data/data/ene_cloud_credentials.db"):
self.db_path = db_path
self.security = ENESecurityManager()
self.balancer = ENENodeBalancer()

View file

@ -44,7 +44,8 @@ except ImportError:
sys.exit(1)
# ── Atlas dependencies (live components) ─────────────────────────────────────
SUBSTRATE_DB = ROOT / "data" / "substrate_index.db"
# Point to the actual database location in shared-data
SUBSTRATE_DB = Path("/home/allaun/Documents/Research Stack/shared-data/data/substrate_index.db")
# Local Ollama IPv6 carrier — sovereignty rule (see MEMORY.md)
OLLAMA_USER = "http://[::1]:11435"

View file

@ -138,7 +138,7 @@ async def call_tool(name: str, arguments: Dict[str, Any]) -> List[TextContent]:
return [TextContent(type="text", text=f"Error: {module} not found.")]
elif name == "get_academic_validation":
papers_file = Path("/home/allaun/Documents/Research Stack/data/academic_papers_validation.json")
papers_file = Path("/home/allaun/Documents/Research Stack/shared-data/data/academic_papers_validation.json")
if papers_file.exists():
with open(papers_file) as f:
data = json.load(f)