Synced from resonance-engine-active - July 16 2026

This commit is contained in:
Scruff AI
2026-07-16 11:57:36 +07:00
commit 9499d48961
57 changed files with 31059 additions and 0 deletions
+69
View File
@@ -0,0 +1,69 @@
#!/usr/bin/env python3
"""Copy CURRENT bucket + canonical v5.cu + KHRAGIXX docs to resonance-engine-active."""
import shutil, os, datetime
src = "/mnt/d/resonance-engine"
dst = "/mnt/d/resonance-engine-active"
now = datetime.datetime(2026, 7, 15, 9, 0, 0)
cutoff = now - datetime.timedelta(days=2)
skip = {".git", ".venv_paper", ".venv", "node_modules", "__pycache__", "xeno_archive",
"build", "_gpt_handoff", "tools", "data", "papers", "wiki", "docs",
"visualizations", "results", "scripts", "navigator"}
copied = 0
for dirpath, dirnames, filenames in os.walk(src):
dirnames[:] = [d for d in dirnames if d not in skip]
for fn in filenames:
fp = os.path.join(dirpath, fn)
rel = os.path.relpath(fp, src)
try:
st = os.stat(fp)
mtime = datetime.datetime.fromtimestamp(st.st_mtime)
except:
continue
include = False
# CURRENT bucket: modified in last 2 days
if mtime >= cutoff:
include = True
# Canonical v5 source
if fn == "khra_gixx_1024_v5.cu":
include = True
# KHRAGIXX docs
if "KHRAGIXX" in fn.upper():
include = True
# Observer source
if "_observer" in fn and fn.endswith(".cu"):
include = True
# Current captures/data
if any(kw in fn for kw in ["telemetry.jsonl", "predict_", "snapshot_", "field_viz", "observer_daemon.log"]):
include = True
# Build essentials
if fn in ["compile.sh", "build_v5.sh", "requirements.txt", ".gitignore", "LICENSE", "README.md"]:
include = True
# Navigator files
if "navigator" in rel and (fn.endswith(".py") or fn.endswith(".json")):
include = True
# Analysis scripts from this session
if "analysis" in rel and fn.endswith(".py") and mtime >= cutoff:
include = True
# EXCLUDES
if "ckpt_" in fn or fn.endswith(".bin") or "pattern_vocab" in rel:
include = False
if any(kw in fn for kw in ["_mem", "_probe", "trade_lbm", "calibration", "fractal_habit", "kernels.cu"]):
include = False
if include:
dst_path = os.path.join(dst, rel)
os.makedirs(os.path.dirname(dst_path), exist_ok=True)
shutil.copy2(fp, dst_path)
copied += 1
print(f" {rel}", flush=True)
print(f"\nCOPIED: {copied} files", flush=True)