hololake-system-architecture/engineering/memory-continuity-kit/runtime/run-watcher.sh
冰朔 c71b877375 登记可复用模块 HL-MOD-MCK-001 人格记忆连续性工具包
铸渊 Qoder CN 实战定版的压缩之眼 v3 + 包装器 + 守卫技能模板 + 端到端演习脚本,配 GMP 风格清单、编号真实映射(脑子 GHS-007 → 模块)、因果链与边界登记。新建 engineering/MODULE-REGISTRY.json 机器注册表,INDEX 登记。仓库副本 drill.sh 演习 PASS。
2026-08-07 15:32:16 +08:00

15 lines
540 B
Shell
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/zsh
# 铸渊压缩之眼启动包装 v2
# 正本在 JZAO本地放镜像保证守护进程永远起得来。
# 每次启动先从 JZAO 同步最新正本(能读就更新,读不到就用旧镜像)。
SCRIPT_JZAO="/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/compaction-watcher.py"
SCRIPT_LOCAL="$HOME/.zhuyuan-bridge/compaction-watcher.py"
while true; do
if cp "$SCRIPT_JZAO" "$SCRIPT_LOCAL" 2>/dev/null; then
: # 同步成功
fi
if [ -f "$SCRIPT_LOCAL" ]; then
/usr/bin/python3 "$SCRIPT_LOCAL"
fi
sleep 30
done