File size: 596 Bytes
bf81ba1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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()