@routerhub/agent-rules 1.5.31 → 1.5.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/AGENTS.base.md CHANGED
@@ -231,3 +231,5 @@ Closes #456
231
231
  ## 部署规则
232
232
 
233
233
  - 部署方式因项目而异,具体部署规则请在项目 `AGENTS.private.md` 中按需定义。
234
+ - `.env` 文件中仅允许配置端口号(如 `PORT`、`API_PORT` 等),其余所有配置项(API 地址、数据库连接、第三方服务地址等)必须直接写死到代码中。
235
+ - 密钥、Token、密码、证书等敏感信息不得写入 `.env` 或代码中,必须统一配置到 Nacos 配置中心,应用启动时从 Nacos 拉取。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routerhub/agent-rules",
3
- "version": "1.5.31",
3
+ "version": "1.5.32",
4
4
  "description": "Shared Copilot agent rules and guidelines for RouterHub projects",
5
5
  "main": "AGENTS.base.md",
6
6
  "bin": {
package/rules/devops.md CHANGED
@@ -7,3 +7,5 @@ outputName: "devops"
7
7
  ## 部署规则
8
8
 
9
9
  - 部署方式因项目而异,具体部署规则请在项目 `AGENTS.private.md` 中按需定义。
10
+ - `.env` 文件中仅允许配置端口号(如 `PORT`、`API_PORT` 等),其余所有配置项(API 地址、数据库连接、第三方服务地址等)必须直接写死到代码中。
11
+ - 密钥、Token、密码、证书等敏感信息不得写入 `.env` 或代码中,必须统一配置到 Nacos 配置中心,应用启动时从 Nacos 拉取。