nomadro/.cursor/rules/hackrobot-vip-git.mdc
Eric 1dac5fd5fd Sync vip.hackrobot.cn and admin.hackrobot.cn into apps/hackrobot with mandatory server backups.
Keep VIP stack isolated from Nomadro admin; pull/deploy scripts always snapshot /opt/hackrobot-backup first.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-22 10:48:49 +08:00

23 lines
1.0 KiB
Plaintext
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.

# 异度星球 VIP(hackrobot)本地 SoT
## 源码位置(本仓)
| 线上 | 本地 |
|---|---|
| vip.hackrobot.cn(`/www/wwwroot/nomadvip` · `:4007`) | `apps/hackrobot/vip/` |
| admin.hackrobot.cn(静态 SPA) | `apps/hackrobot/admin-site/` |
| LIVE API `:8010` | `apps/hackrobot/nomadmini/` |
| 埋点 `:4011` | `apps/hackrobot/vip-track/` |
同步:`python apps/hackrobot/deploy/pull_from_129.py`
发版:`deploy_admin_site.py` / `deploy_vip.py` / `deploy_nomadmini.py`(**一律先** `hackrobot-backup`)
## 铁律
- **禁止**把 `apps/admin`(Nomadro 微信/抖音壳)部署到 `admin.hackrobot.cn`
- 改 VIP / 运营台只动 `apps/hackrobot/**`,勿与 `apps/admin` / `apps/com/admin` 混用
- 发版前服务器必须有快照:`/opt/hackrobot-backup/snapshots/`
- 前端上线仍受 `no-frontend-deploy-without-ok` 约束;未明确允许勿跑 `deploy_vip.py --build` / 上传 admin 静态站以外的擅自覆盖
详见 `apps/hackrobot/README.md` 与 `admin-hosts-never-confuse.mdc`。