fix(framework): 宪法+目录框架整改——统一权限体系、覆盖后端路径、补齐提示词、工作流闭环

- 权限矩阵: RL/R/W/RW 四态替代 /,三文件语义对齐
- 目录重构: server/config/types 移入 src/,projects/*/src/ 全覆盖
- 提示词库: 新增 code-style.md / doc-template.md / bug-report.md
- 工作流: 8阶段→4阶段,新增 retry 循环 + escalation 升级规则
- 审核报告: reports/quality-reports/framework-review-2026-05-23.md
This commit is contained in:
2026-05-23 20:55:12 +08:00
parent 63038dd124
commit 4083fadb2a
26 changed files with 554 additions and 107 deletions
@@ -82,25 +82,25 @@ P01_errlens_app/
│ │
│ └── network.ts # API 请求封装
├── server/ # 后端源码 (NestJS)
│ ├── src/
│ │ ├── app.module.ts # 根模块
│ │ ├── app.controller.ts # 根控制器
│ │ ├── app.service.ts # 根服务
│ │ └── main.ts # 入口文件
├── server/ # 后端源码 (NestJS)
│ ├── src/
│ │ ├── app.module.ts # 根模块
│ │ ├── app.controller.ts# 根控制器
│ │ ├── app.service.ts # 根服务
│ │ └── main.ts # 入口文件
│ │ │
│ │ ├── nest-cli.json
│ │ ├── tsconfig.json
│ │ └── package.json
│ │
│ ├── nest-cli.json
│ ├── tsconfig.json
└── package.json
├── config/ # 构建配置
│ ├── index.ts # 通用配置
│ ├── dev.ts # 开发环境配置
│ └── prod.ts # 生产环境配置
├── types/ # 类型定义
│ ├── global.d.ts
│ └── lucide.d.ts
│ ├── config/ # 构建配置
│ ├── index.ts # 通用配置
│ ├── dev.ts # 开发环境配置
│ └── prod.ts # 生产环境配置
│ │
│ ├── types/ # 类型定义
│ ├── global.d.ts
│ └── lucide.d.ts
├── tests/ # 测试代码
│ ├── unit/ # 单元测试
@@ -160,7 +160,7 @@ P01_errlens_app/
### 4. 后端模块
```
server/src/
src/server/src/
├── controllers/ # 控制器
├── services/ # 业务逻辑
├── modules/ # NestJS 模块