feat(assets): protect referenced stickers from deletion
Build, Push and Deploy / build (push) Successful in 9s
Build, Push and Deploy / deploy (push) Successful in 9s

This commit is contained in:
2026-09-11 20:18:10 +08:00
parent c26de1f498
commit 0877ae73e8
3 changed files with 135 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# AGENTS.md
## 工作方式
- 修复 bug 或添加新功能时,先在本机完成实现、编译和运行验证,不要把半成品直接交给服务器。
- 优先使用仓库内的 Docker / Docker Compose 做构建和本地运行;如果本地环境缺依赖,也优先补齐本地容器化环境,而不是直接部署到服务器。
- 只有在本地构建、测试和人工检查都完成后,才建议把代码推送到 Gitea,并提醒用户在服务器上拉取、重新构建或更新服务。
- 没有用户明确确认,不要重启 Docker Desktop,也不要重启或更新线上服务。
- 提交前至少跑通与改动直接相关的测试;涉及 Dockerfile / compose / 容器行为时,用本地 Docker 验证。