docs: add Gitea repo info to CLAUDE.md
CI / backend (push) Canceled after 0s
CI / frontend (push) Canceled after 0s

This commit is contained in:
34047007@qq.com
2026-07-27 08:26:10 +08:00
parent 036494ae35
commit 35b0a5c565
+16
View File
@@ -171,3 +171,19 @@ curl -X POST "localhost:8000/api/v1/admin/pipeline/refresh-citations?limit=500"
- **Dev mode password reset** returns the reset link directly in API response (no SMTP needed). - **Dev mode password reset** returns the reset link directly in API response (no SMTP needed).
- **`user["sub"]` is a string.** Always convert to `uuid.UUID()` before passing to SQLAlchemy queries. - **`user["sub"]` is a string.** Always convert to `uuid.UUID()` before passing to SQLAlchemy queries.
- **搜索功能必须与 PubMed 完全一致。** 这是硬性要求,不是"未来优化"。所有 PubMed 字段标签必须全量支持,已存储数据的立即接通搜索路径,缺失数据的补充 XML 抽取和存储。不允许任何字段退化到纯文本搜索。 - **搜索功能必须与 PubMed 完全一致。** 这是硬性要求,不是"未来优化"。所有 PubMed 字段标签必须全量支持,已存储数据的立即接通搜索路径,缺失数据的补充 XML 抽取和存储。不允许任何字段退化到纯文本搜索。
## 代码托管
仓库:http://123.207.9.209:3000/scilit/backend
**当前阶段(单人开发)**:直接 push 到 main,不设审核。等多人协作时再开启 PR + Review。
### 常用命令
```bash
git remote -v # 查看 remote
git push origin main # 直接推送(当前模式)
git checkout -b feat/xxx # 建分支
git push origin feat/xxx # 推送分支
```
后期切换 PR 模式时,在 Gitea 上设置 Branch Protection 即可。