#!/usr/bin/env python3
"""
Axiom Zero — Red Team Adversarial Test Suite
Runs red team simulation gauntlets including 3-gun gauntlet arena, real-world test harness,
and extreme stress harness against Axiom Zero detection layers.
"""

import sys
import os
import subprocess

def main():
    print("======================================================================")
    print("  AXIOM ZERO — RED TEAM ADVERSARIAL TEST SUITE")
    print("======================================================================")
    
    script_dir = os.path.dirname(os.path.abspath(__file__))
    
    # 1. Run 3-Gun Gauntlet Arena
    print("\n[*] Launching 3-Gun Adversarial Gauntlet Arena...")
    res1 = subprocess.run([sys.executable, os.path.join(script_dir, "run_3gun_gauntlet_arena.py")])
    if res1.returncode != 0:
        print("[!] 3-Gun Gauntlet Arena failed!")
        return res1.returncode
        
    # 2. Run Extreme Stress Harness
    print("\n[*] Launching Extreme Stress & Load Harness...")
    res2 = subprocess.run([sys.executable, os.path.join(script_dir, "extreme_stress_harness.py")])
    if res2.returncode != 0:
        print("[!] Extreme Stress Harness failed!")
        return res2.returncode

    print("\n======================================================================")
    print("  RED TEAM SUITE EXECUTION COMPLETED SUCCESSFULLY (100% BLOCKED)")
    print("======================================================================")
    return 0

if __name__ == "__main__":
    sys.exit(main())
