fix(guard): CODE_PATHS补scripts/整目录+mofin_db/mo_data根文件——覆盖库文件硬链造成的合法dirty

This commit is contained in:
hmo
2026-07-21 02:08:23 +08:00
parent beee453bf3
commit 609ef06e6e
+3 -3
View File
@@ -29,9 +29,9 @@ SYNC_SCRIPT = f"{CANONICAL}/sync_profile_scripts.sh"
# 守卫范围:被 git 跟踪的【代码】路径(运行时产物 data/ logs/ static/*.json 不在其列)
CODE_PATHS = [
"deploy/profile-scripts", "deploy/bot", "prompt_manager",
"server.py", "mofin_db.py", "strategy_lifecycle.py", "xmpp_logger.py",
"mo_config.py", "scripts/mo_data.py",
"deploy/profile-scripts", "deploy/bot", "prompt_manager", "scripts",
"server.py", "mofin_db.py", "mo_data.py", "strategy_lifecycle.py", "xmpp_logger.py",
"mo_config.py",
"static/index.html", "static/mofin_health.html",
]