import hashlib import os FILES = [ "app.py", "agent_loop.py", "omega_memory.py", "CodexQuantum3D_Engine.py", "codexmesh_sync.py", "ws_router.py" ] def sha256_file(path): h = hashlib.sha256() with open(path, "rb") as f: while chunk := f.read(8192): h.update(chunk) return h.hexdigest() def main(): print("🔐 CodexMesh Runtime Fingerprint — v1.0.0") for f in FILES: if os.path.exists(f): print(f"{f}: {sha256_file(f)}") else: print(f"{f}: MISSING") if __name__ == "__main__": main()