chore(parent-portal): merge parent-portal module into main

Merge feat/parent-portal-ai15 into main, conflicts resolved in favor of feature branch
This commit is contained in:
SpecialX
2026-07-10 19:01:25 +08:00
77 changed files with 9358 additions and 350 deletions

View File

@@ -208,19 +208,4 @@
## §1 已裁决问题
> 详见 [coord.md §22 ARB-020](../coord.md) 完整仲裁章节
### 1.1 仲裁结论汇总coord 2026-07-10
| ISSUE | 标题 | 仲裁结论摘要 | 执行方 |
| ----- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------ |
| 001 | 01/02 文档 REST 消费 parent-bff 与 ARB-001 冲突 | ✅ 统一 GraphQL 消费(对齐 ARB-018 ISSUE-005 跨模块裁决) | ai15 修 01/02 |
| 002 | MF shared 配置缺 urql/graphql/@edu/* | ✅ 补全 7 项 singletonreact/react-dom/urql/graphql/@edu/ui-tokens/@edu/ui-components/@edu/hooks | ai15 修 02 §1.2 |
| 003 | switch-child 端点在 01/02 不一致 | ✅ GraphQL Mutation `switchChild(childId: ID!): SwitchChildPayload!`(走 GraphQL对齐 ISSUE-001 | ai15 修 01/02 + ai05 补 schema |
| 004 | 登录端点三方不一致 | ✅ 统一为 `POST /api/v1/iam/login`(对齐 matrix.md §5登录走 REST其余走 GraphQL | ai15 修 contract §2.3 |
| 005 | 02 §11.3 未决决策 #2 已由 ARB-001 裁决 | ✅ 移除未决项,改为"已裁决:见 ARB-001" | ai15 修 02 §11.3 |
| 006 | contract §1.2 误标前端路由为 HTTP 端点 | ✅ §1.2 改为"无parent-portal 是前端 Remote不对外提供 HTTP API" | ai15 修 contract §1.2 |
| 007 | contract §1.6 MF 配置文件位置不一致 | ✅ 统一为 `apps/parent-portal/next.config.js`(对齐 02 + teacher-portal Shell | ai15 修 contract §1.6 |
| 008 | contract §2.3 GraphQL 路径缺 v1 | ✅ 统一为 `POST /api/v1/parent/graphql`(对齐 matrix.md §5 | ai15 修 contract §2.3 + §2.4 |
| 009 | parent-bff GraphQL schema 是否含 switchChild | ✅ parent-bff 提供 `switchChild` Mutation后端记录选中子女用于审计同时前端 Zustand + localStorage 缓存 | ai05 补 schema + ai15 前端实现 |
| 010 | iam GetChildrenByParent 缺失P0 阻塞) | ✅ ai06 P3 收尾前补全I6 裁决);补全前用 mock固定 2 个孩子 student-001 + student-002 | ai06 补全 + ai15 mock |
(暂无已裁决问题)