File size: 364 Bytes
43f3517 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | import json
def load_identity():
"""
Retrieves the system identity from the secure local store.
Ensures persistent contextual awareness across operational cycles.
"""
try:
with open('core/identity.json', 'r') as f:
return json.load(f)
except FileNotFoundError:
return {"user_name": "Unknown", "alias": "Nomad"}
|