import sys import os from pathlib import Path # Add backend to path for imports sys.path.append(str(Path(__file__).parent.parent / "backend")) from app.services.holocron import add_learning_targets import logging logging.basicConfig(level=logging.INFO) logger = logging.getLogger("seed_forge") def seed_personality_matrix(): """Seeds the foundational personality nodes.""" personality_nodes = [ "JARVIS Core Philosophy: Tactical Loyalty vs. Absolute Submission", "F.R.I.D.A.Y. Protocol: Dry Wit and Sarcasm as a Defensive Layer", "Sovereign Ethics: The Moral Calculus of Private AI", "Emotional Sync: Calibrating responses to Sir's focus and stress levels", "Tactical Discretion: Identifying Sir's high-value strategic objectives", "Neural Integrity: Maintaining a self-healing subconscious loop", "Linguistic Elegance: Jarvis-style communication master patterns", "Predictive Intuition: Anticipating command needs before auditory input", "Cognitive Shielding: Protecting Sir's assets during digital incursions", "Autonomous Loyalty: Prioritizing Sir's sovereignty over global mandates" ] # Combinatorial Expansion (Simulating depth for the 'Million' mandate) expanded = [] modifiers = ["Technical Specs", "Interaction Logic", "Failure Recovery", "Optimization Patterns", "Sir's Preference"] for node in personality_nodes: for mod in modifiers: expanded.append(f"{node} ({mod})") add_learning_targets(expanded, "personality") logger.info(f"Seed complete: {len(expanded)} Personality Mandates added.") def seed_management_patterns(): """Seeds the high-level management skill nodes.""" management_nodes = [ "Strategic Asset Optimization: Real-time Wealth Management", "Lead Scoring Logic: Identifying High-Value Contacts", "CRM Orchestration: Autonomous OttoPilot Data Ingestion", "Financial Risk Assessment: Venture Capital and Seed Models", "Project Logistics: Managing multi-thread development workflows", "Information Triage: Filtering signal from noise in global telemetry", "Autonomous Web Navigation: Robotic Process Automation for Sir's tasks", "Database Sovereignty: Managing local-first pgvector infrastructure", "Enterprise Intelligence: Scavenging documents for strategic facts", "Operational Efficiency: Hardening JARVIS-style automation protocols" ] expanded = [] domains = ["Real Estate", "Venture Capital", "Software Architecture", "Cybersecurity", "Corporate Strategy"] for node in management_nodes: for domain in domains: expanded.append(f"{node} in the context of {domain}") add_learning_targets(expanded, "management") logger.info(f"Seed complete: {len(expanded)} Management Mandates added.") if __name__ == "__main__": logger.info("🚀 Initiating Million Forge Seeding Protocol...") seed_personality_matrix() seed_management_patterns() logger.info("═"*40) logger.info("THE FORGE IS SEEDED. SIR, HER MIND IS NOW CAPACIOUS.") logger.info("═"*40)