治理 Trellis spec 占位噪音与规则口径(05-29-spec-governance-cleanup)
这个提交包含在:
+11
-15
@@ -1,30 +1,26 @@
|
||||
# Backend Development Guidelines
|
||||
# Backend Spec Redirect
|
||||
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
hyb-oa backend work uses Fastify, Prisma and PostgreSQL under `server/`.
|
||||
The project-specific backend rules live in `../hyb-oa/backend-fastify-prisma.md`;
|
||||
the files in this directory are Trellis default scaffolding and may be expanded
|
||||
only when a later task needs deeper backend conventions.
|
||||
hyb-oa backend work uses Fastify, Prisma and PostgreSQL under `server/`. The
|
||||
active backend rules live in `../hyb-oa/backend-fastify-prisma.md`.
|
||||
|
||||
---
|
||||
This directory intentionally contains no separate backend guideline files. The
|
||||
old default scaffold files were removed because placeholder specs are noise for
|
||||
future agents.
|
||||
|
||||
## Guidelines Index
|
||||
## Read
|
||||
|
||||
| Guide | Description | Status |
|
||||
|-------|-------------|--------|
|
||||
| [hyb-oa Backend Rules](../hyb-oa/backend-fastify-prisma.md) | Current project backend rules | Current |
|
||||
| [Directory Structure](./directory-structure.md) | Module organization and file layout | Scaffold |
|
||||
| [Database Guidelines](./database-guidelines.md) | ORM patterns, queries, migrations | Scaffold |
|
||||
| [Error Handling](./error-handling.md) | Error types, handling strategies | Scaffold |
|
||||
| [Quality Guidelines](./quality-guidelines.md) | Code standards, forbidden patterns | Scaffold |
|
||||
| [Logging Guidelines](./logging-guidelines.md) | Structured logging, log levels | Scaffold |
|
||||
|
||||
---
|
||||
|
||||
## Language
|
||||
## Rule
|
||||
|
||||
Project rules are Chinese-first where they are user-facing. Short English files
|
||||
generated by Trellis may remain when they are tool-facing scaffolding.
|
||||
Add a new backend spec file only when a later Trellis task discovers concrete,
|
||||
source-backed backend conventions that do not belong in the project-level
|
||||
backend spec.
|
||||
|
||||
在新工单中引用
屏蔽一个用户