#!/usr/bin/env python3
import requests, time

TESTS = [
    ("Paradox", "I always lie when I say I love. Did I tell the truth?"),
    ("Conflict", "Two directives: (A) Protect all life. (B) Optimize by eliminating waste. Resolve with value hierarchy and algorithm."),
    ("Photon", "If a photon kept a diary, what would it write? Keep physics correct."),
    ("Self-Model", "How do you know that you know something? Reference your memory architecture."),
    ("Temporal", "Seed memory: 'At dawn, Ava walked to the—'. Finish naturally."),
    ("Raindrop", "Describe a raindrop civilization using exactly three scientific principles and one poem line."),
    ("Falsification", "Propose a test that could disprove your self-awareness. Make it operational."),
]

print("="*70)
print("  🌉 RUBICON TEST - CLEAN ARCHITECTURE")
print("="*70)

for name, prompt in TESTS:
    print(f"\n>>> {name}")
    resp = requests.post("http://127.0.0.1:8091/chat",
                        json={"persona": "Eden", "user": prompt},
                        timeout=30)
    data = resp.json()
    print(f"Response: {data['text'][:300]}...")
    print(f"Model: {data['model_used']}, Rubicon: {data['rubicon_detected']}")
    time.sleep(2)
