From 1225404b7222639c80a418fa1d113b7fd790cd4c Mon Sep 17 00:00:00 2001 From: Brandon Schneider Date: Mon, 11 May 2026 22:10:55 -0500 Subject: [PATCH] Point ENE scripts at shared data --- 4-Infrastructure/infra/ene_cloud_credential_manager.py | 4 ++-- 5-Applications/scripts/mcp_ene_atlas.py | 3 ++- 5-Applications/scripts/mcp_server.py | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/4-Infrastructure/infra/ene_cloud_credential_manager.py b/4-Infrastructure/infra/ene_cloud_credential_manager.py index e3bb0c98..6c27c455 100644 --- a/4-Infrastructure/infra/ene_cloud_credential_manager.py +++ b/4-Infrastructure/infra/ene_cloud_credential_manager.py @@ -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() diff --git a/5-Applications/scripts/mcp_ene_atlas.py b/5-Applications/scripts/mcp_ene_atlas.py index 4354a4ac..8fb97a8c 100644 --- a/5-Applications/scripts/mcp_ene_atlas.py +++ b/5-Applications/scripts/mcp_ene_atlas.py @@ -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" diff --git a/5-Applications/scripts/mcp_server.py b/5-Applications/scripts/mcp_server.py index 0250d452..d3037cfa 100644 --- a/5-Applications/scripts/mcp_server.py +++ b/5-Applications/scripts/mcp_server.py @@ -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)