import logging
from genesis_v2.core.jules_bridge import JulesBridge

logging.basicConfig(level=logging.INFO)

PROMPT = """
Perform a Deep Think analysis on the Sunaiva Memory MCP using the provided context. 

Your goal is to rewrite the memory consolidation logic to make it:
1. 5x faster in execution
2. Completely resilient to session drops
3. Optimized specifically for our Telnyx Voice Widget workflow.

Please provide the concrete architectural improvements and any code required.
"""

bridge = JulesBridge()
success = bridge.create_session(prompt=PROMPT.strip(), context_file="e:/genesis-system/JULES_SUNAIVA_CONTEXT.md")

if success:
    print("Optimization session successfully dispatched to Jules.")
else:
    print("Failed to dispatch session to Jules.")
