import importlib.util
from pathlib import Path
s = importlib.util.spec_from_file_location('prior_ops', '/tmp/codex/ltb1021/2026-09-27_sender-training_r01/ops.py')
m = importlib.util.module_from_spec(s); s.loader.exec_module(m)
globals().update({k: v for k, v in vars(m).items() if not k.startswith('_')})
HERE = Path(__file__).parent
PRIVATE = Path('/workspace/contextra-runtime-config/input-lag-20260927-r01')
def save(name, data, private=False):
    with ((PRIVATE if private else HERE)/name).open('x') as f:
        json.dump(data, f, indent=2)
