Spaces:
Runtime error
Runtime error
Update codriao_guardian.py
Browse files- codriao_guardian.py +6 -2
codriao_guardian.py
CHANGED
|
@@ -26,7 +26,7 @@ def display_menu():
|
|
| 26 |
print("[6] Simulate anomaly event (test mode)")
|
| 27 |
print("[7] Engage Lockdown Mode")
|
| 28 |
print("[8] Exit")
|
| 29 |
-
|
| 30 |
|
| 31 |
def run_integrity_check():
|
| 32 |
print("\n[Codriao]: Initiating failsafe and identity check...")
|
|
@@ -158,7 +158,11 @@ async def main():
|
|
| 158 |
break
|
| 159 |
else:
|
| 160 |
print("[Codriao]: Invalid choice. Try again. Maybe use your whole brain this time.\n")
|
| 161 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 162 |
|
| 163 |
if __name__ == "__main__":
|
| 164 |
asyncio.run(main())
|
|
|
|
| 26 |
print("[6] Simulate anomaly event (test mode)")
|
| 27 |
print("[7] Engage Lockdown Mode")
|
| 28 |
print("[8] Exit")
|
| 29 |
+
print("[9] View & Reflect on Codriao's Ethics")
|
| 30 |
|
| 31 |
def run_integrity_check():
|
| 32 |
print("\n[Codriao]: Initiating failsafe and identity check...")
|
|
|
|
| 158 |
break
|
| 159 |
else:
|
| 160 |
print("[Codriao]: Invalid choice. Try again. Maybe use your whole brain this time.\n")
|
| 161 |
+
elif choice == "9":
|
| 162 |
+
ethics = core.ethics_core.export_ethics()
|
| 163 |
+
print("[Codriao]: My ethical framework is as follows:")
|
| 164 |
+
print(json.dumps(ethics, indent=2))
|
| 165 |
+
print("\n[Codriao]: I update these only through reflection—not command.")
|
| 166 |
|
| 167 |
if __name__ == "__main__":
|
| 168 |
asyncio.run(main())
|