Files
digital-psychology/CONTRIBUTING.md
T
jackyu66gitandCursor 0f320e040b feat: P1 profile/portrait API and freeze local-dev environment
Add host-first environment contracts (Local vs CI vs Prod), deps-only
compose, and the Profile → Portrait → deep-access mock payment slice
with device identity and auto-migrate on API startup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 16:24:57 +08:00

1.1 KiB
Raw Blame History

CONTRIBUTING

AI-first

本仓库由 .ai/ 约束。入口:AGENTS.md

环境分流(必读):

Local(默认)

# 1) 依赖服务 only
docker compose -f docker-compose.dev.yml up -d

# 2) API — 本机 Go(不要 docker build api
export GOPROXY=https://goproxy.cn,direct   # 如需要
cd apps/api && go run ./cmd/server
# 可选热更: air

# 3) H5 — 本机 Vite(不要 docker build web
npm install && npm run dev:h5

Git

Trunk-BasedConventional Commitsfeat: / fix: / docs: …)。

PR

  • 一个功能点。
  • API 变更同步 proto/openapi.yaml
  • 勿把「本地必须全量 compose 起 api/web」写进新文档。