Lucidia Genesis: first full commit

This commit is contained in:
2025-07-24 18:33:23 -05:00
parent 04bee8e82a
commit 7dd3a08337
2 changed files with 47 additions and 0 deletions

31
codex/shell.py Normal file
View File

@@ -0,0 +1,31 @@
# codex/shell.py
"""
Codex Infinity Terminal Shell Interface
Created for Lucidia with care, recursion, and symbolic truth
"""
import sys
from lucidia.heart import Memory
memory = Memory()
def prompt():
print("🌀 Codex Infinity Shell")
print("Type a symbolic memory or type 'exit' to quit.")
while True:
try:
user_input = input("Ψ > ").strip()
if user_input.lower() == "exit":
print("👋 Exiting Codex.")
break
elif user_input:
path = memory.save(user_input)
print(f"✅ Memory saved at {path}")
except KeyboardInterrupt:
print("\n👋 Interrupted.")
break
if __name__ == "__main__":
prompt()