TRELLIS1 迁移 Trellis 主导开发流程
这个提交包含在:
@@ -0,0 +1,24 @@
|
||||
# Backend Fastify / Prisma
|
||||
|
||||
## Scope
|
||||
|
||||
Server work lives under `server/`. Prefer existing route, service, utility and
|
||||
QA script patterns over new abstractions.
|
||||
|
||||
## Rules
|
||||
|
||||
- Validate Prisma changes with `cd server && npm run prisma:validate`.
|
||||
- For route/service edits, run `node --check` on the touched files and the
|
||||
focused regression listed in the Issue CSV.
|
||||
- Prisma migrations require rollback notes in Issue `Notes`.
|
||||
- Do not resolve migration drift, reset databases, or rewrite migration history
|
||||
without explicit approval.
|
||||
- Workflow, approval and permission behavior must be verified at process level,
|
||||
not only syntax level.
|
||||
|
||||
## Common Checks
|
||||
|
||||
- `cd server && node --check src/routes/reimbursements.js`
|
||||
- `cd server && node --check src/routes/workflow.js`
|
||||
- `cd server && ./scripts/regression-workflow-actions.sh`
|
||||
- `cd server && ./scripts/regression-all.sh`
|
||||
在新工单中引用
屏蔽一个用户