docs(portal-shell): update README to v1.1 with data layer and GraphQL hardening
- 版本 1.0 -> 1.1,日期 2026-07-17 - 新增 §13 数据访问层与 GraphQL 安全栈(6 子节) - 更新 §5/§9.6/§10/§11/§12/附录 A/B/C - 修正 004 §16.5 测试数(admin 31->4,sidebar 5->9) - arch:scan 通过(TS 20 模块/4803 符号)
This commit is contained in:
1208
apps/portal-shell/README.md
Normal file
1208
apps/portal-shell/README.md
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2150,12 +2150,12 @@ graph LR
|
||||
> 来源:[spec v1.0](../superpowers/specs/2026-07-17-portal-shell-data-abstraction-and-graphql-hardening-design.md) + [plan](../superpowers/plans/2026-07-17-portal-shell-data-abstraction-and-graphql-hardening.md)
|
||||
> 关联 ADR:ADR-042(前端数据访问四层分层)、ADR-043(PQ Manifest + APQ 安全加固)
|
||||
|
||||
| 子阶段 | 内容 | 退出标准 | 状态 |
|
||||
| ------ | ------------------------------------------------------------ | --------------------------------------------------------- | ------- |
|
||||
| M1 | lib/api 四层架构 + 7 domain 迁移 + 31 widget 全量切换 | 0 处内联 gql 字面量、95/95 测试通过 | ✅ 完成 |
|
||||
| M2 | 迁移完整性验证(typecheck + lint + test 全绿) | 0 error / 0 warning / 85 测试通过(M1 收尾) | ✅ 完成 |
|
||||
| M3 | GraphQL 安全加固(APQ + PQ Manifest + router limits + 测试) | apollo-router 启用 manifest + 深度/成本限制 + 10 安全测试 | ✅ 完成 |
|
||||
| M4 | Resolver @RequirePermission 审计 + 补齐 | 50 resolver 审计完成、19 TS resolver 补齐守卫 | ✅ 完成 |
|
||||
| 子阶段 | 内容 | 退出标准 | 状态 |
|
||||
| ------ | ------------------------------------------------------------ | ------------------------------------------------------------------ | ------- |
|
||||
| M1 | lib/api 四层架构 + 7 domain 迁移 + 31 widget 全量切换 | 0 处内联 gql 字面量、55 domain 测试通过 | ✅ 完成 |
|
||||
| M2 | 迁移完整性验证(typecheck + lint + test 全绿) | 0 error / 0 warning / 95 测试通过(30 原有 + 55 domain + 10 安全) | ✅ 完成 |
|
||||
| M3 | GraphQL 安全加固(APQ + PQ Manifest + router limits + 测试) | apollo-router 启用 manifest + 深度/成本限制 + 10 安全测试 | ✅ 完成 |
|
||||
| M4 | Resolver @RequirePermission 审计 + 补齐 | 50 resolver 审计完成、19 TS resolver 补齐守卫 | ✅ 完成 |
|
||||
|
||||
**Follow-up(不阻断 M3 验收)**:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user