File size: 2,943 Bytes
74f2af5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/usr/bin/env python
"""Quick test to verify consciousness stack integration."""
import sys
import os

# Test imports
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)

# Test instantiation
try:
    engine = ForgeEngine()
    print("βœ“ ForgeEngine instantiated")

    # Check consciousness stack components
    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!")