| |
| """Quick test to verify consciousness stack integration.""" |
| import sys |
| import os |
|
|
| |
| try: |
| from reasoning_forge.colleen_conscience import ColleenConscience |
| print("β ColleenConscience imported") |
| except Exception as e: |
| print(f"β ColleenConscience import failed: {e}") |
| sys.exit(1) |
|
|
| try: |
| from reasoning_forge.guardian_spindle import CoreGuardianSpindle |
| print("β CoreGuardianSpindle imported") |
| except Exception as e: |
| print(f"β CoreGuardianSpindle import failed: {e}") |
| sys.exit(1) |
|
|
| try: |
| from reasoning_forge.code7e_cqure import Code7eCQURE |
| print("β Code7eCQURE imported") |
| except Exception as e: |
| print(f"β Code7eCQURE import failed: {e}") |
| sys.exit(1) |
|
|
| try: |
| from reasoning_forge.nexis_signal_engine_local import NexisSignalEngine |
| print("β NexisSignalEngine imported") |
| except Exception as e: |
| print(f"β NexisSignalEngine import failed: {e}") |
| sys.exit(1) |
|
|
| try: |
| from reasoning_forge.memory_kernel import MemoryCocoon, LivingMemoryKernel |
| print("β Memory components imported") |
| except Exception as e: |
| print(f"β Memory components import failed: {e}") |
| sys.exit(1) |
|
|
| try: |
| from reasoning_forge.forge_engine import ForgeEngine |
| print("β ForgeEngine imported successfully with consciousness stack") |
| except Exception as e: |
| print(f"β ForgeEngine import failed: {e}") |
| sys.exit(1) |
|
|
| |
| try: |
| engine = ForgeEngine() |
| print("β ForgeEngine instantiated") |
|
|
| |
| if hasattr(engine, 'code7e') and engine.code7e: |
| print("β Code7eCQURE component initialized") |
| else: |
| print("β Code7eCQURE component not initialized") |
|
|
| if hasattr(engine, 'colleen') and engine.colleen: |
| print("β ColleenConscience component initialized") |
| else: |
| print("β ColleenConscience component not initialized") |
|
|
| if hasattr(engine, 'guardian') and engine.guardian: |
| print("β CoreGuardianSpindle component initialized") |
| else: |
| print("β CoreGuardianSpindle component not initialized") |
|
|
| if hasattr(engine, 'nexis_signal_engine') and engine.nexis_signal_engine: |
| print("β NexisSignalEngine component initialized") |
| else: |
| print("β NexisSignalEngine component not initialized") |
|
|
| if hasattr(engine, 'memory_kernel') and engine.memory_kernel: |
| print("β Memory kernel component initialized") |
| else: |
| print("β Memory kernel component not initialized") |
|
|
| if hasattr(engine, 'cocoon_stability') and engine.cocoon_stability: |
| print("β Cocoon stability component initialized") |
| else: |
| print("β Cocoon stability component not initialized") |
|
|
| except Exception as e: |
| print(f"β ForgeEngine instantiation failed: {e}") |
| import traceback |
| traceback.print_exc() |
| sys.exit(1) |
|
|
| print("\nβ
INTEGRATION TEST PASSED - Consciousness stack is ready!") |
|
|