Add vector infrastructure maps and persistent location experience

This commit is contained in:
DCCONSTRUCTIONS
2026-10-10 14:35:50 +03:00
parent e095a43f00
commit 55f64f195b
38 changed files with 2317 additions and 14 deletions
+6
View File
@@ -1,6 +1,7 @@
"""Package current source plus simulation adapters into a digest-addressed archive."""
import argparse
import ast
import hashlib
import json
import tarfile
@@ -23,6 +24,11 @@ for profile in (root / "simulation/ai-polygon/robots").glob("*.json"):
asset = root / json.loads(profile.read_text())["visual"]["source"]
if asset not in files:
files.append(asset)
# Reject a broken Python artifact before staging or touching the running worker.
for source in files:
if source.suffix == ".py":
ast.parse(source.read_bytes(), filename=str(source))
manifest = {
p.relative_to(root).as_posix(): hashlib.sha256(p.read_bytes()).hexdigest() for p in files
}