diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b240a96 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +hr_sync_cookie.txt diff --git a/AGENTS.md b/AGENTS.md index 1423ed5..8618c7a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -26,6 +26,14 @@ ## 配置与安全 不要提交真实密码、数据库连接串或生产环境地址。`DATABASE_URL`、会话密钥、认证模式等应通过环境变量管理。修改 `docker-compose.yml`、认证配置或对外端口时,先确认是否会影响本地联调和线上部署。 +## 远程操作规则 +服务器 `1.13.22.133` 同时运行两套系统: + +- 固定资产系统:`/opt/equipment-management`,对应 `equipment-*` 容器 +- 摄影棚摄影器材借还系统:`/opt/shebeiguanli`,对应 `shebeiguanli-*` 容器 + +后续远程自动化默认统一优先使用 `plink`,避免依赖人工输入密码。对服务器的代码同步、部署、日志查看和数据库检查,只能操作固定资产系统这套资源,不能进入 `shebeiguanli` 目录,也不能重建、停止或修改 `shebeiguanli-*` 容器。 + ## Multi-Agent 团队分工 推荐使用 4 个角色,保持团队小而清晰。