Team A (core-platform): backend/, scripts/, docker, nginx Team B (delivery-app): frontend/ Shared: API contract files require both team review Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
37 lines
1.6 KiB
Plaintext
37 lines
1.6 KiB
Plaintext
# ============================================================
|
|
# 天普EMS 代码归属 (Code Ownership)
|
|
# ============================================================
|
|
# Team A (核心平台组 Core Platform): 后端、数据库、IoT采集
|
|
# Team B (交付应用组 Delivery & App): 前端、客户交付、现场部署
|
|
# ============================================================
|
|
|
|
# ---- Team A: 核心平台组 ----
|
|
/backend/ @core-platform
|
|
/backend/app/api/ @core-platform
|
|
/backend/app/collectors/ @core-platform
|
|
/backend/app/core/ @core-platform
|
|
/backend/app/models/ @core-platform
|
|
/backend/app/services/ @core-platform
|
|
/backend/app/tasks/ @core-platform
|
|
/backend/app/templates/ @core-platform
|
|
/backend/alembic/ @core-platform
|
|
/backend/tests/ @core-platform
|
|
/scripts/seed_data.py @core-platform
|
|
/scripts/backfill_data.py @core-platform
|
|
/scripts/init_db.py @core-platform
|
|
|
|
# ---- Team B: 交付应用组 ----
|
|
/frontend/ @delivery-app
|
|
/frontend/src/ @delivery-app
|
|
/frontend/public/ @delivery-app
|
|
|
|
# ---- Shared: API contract (breaking changes need both teams) ----
|
|
/backend/app/api/v1/ @core-platform @delivery-app
|
|
/frontend/src/services/api.ts @delivery-app @core-platform
|
|
|
|
# ---- Infrastructure (Team A writes, Team B validates) ----
|
|
/docker-compose*.yml @core-platform
|
|
/nginx/ @core-platform
|
|
/scripts/quick-start.sh @core-platform
|
|
/.env.example @core-platform
|