@routerhub/agent-rules 1.4.13 → 1.4.14

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.
Files changed (2) hide show
  1. package/AGENTS.base.md +1 -0
  2. package/package.json +1 -1
package/AGENTS.base.md CHANGED
@@ -46,6 +46,7 @@
46
46
  ## Go 语言规则
47
47
 
48
48
  - 优先值传递与局部变量生命周期控制,避免内存逃逸;无必要不返回局部变量指针。
49
+ - 所有删除操作必须使用软删除机制;`DeletedAt` 字段类型必须用 `gorm.DeletedAt`,禁止用 `*time.Time`(后者不实现 `DeleteClausesInterface`,会导致硬删除)。
49
50
 
50
51
  ## Git 规范
51
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routerhub/agent-rules",
3
- "version": "1.4.13",
3
+ "version": "1.4.14",
4
4
  "description": "Shared Copilot agent rules and guidelines for RouterHub projects",
5
5
  "main": "AGENTS.base.md",
6
6
  "bin": {