docs(portal): record p4-t1 remote verification
This commit is contained in:
@@ -563,6 +563,52 @@
|
||||
- 帐号资产已不再只是“看见未归属”,而是可以直接在插件侧完成 route 归属整理
|
||||
- `shadow binding` 歧义场景已经从“只能读”升级为“可读 + 可人工收口”
|
||||
- `P3` 已具备进入下一步“更完整的运营看板”或直接切到 `P4` 的条件
|
||||
- 2026-05-29 已完成 Phase 4 / `P4-T1 portal logical group catalog API`
|
||||
- 提交:`97fd72e2 feat(portal): add logical group catalog api`
|
||||
- 新增公开聚合 API:
|
||||
- `GET /api/portal/logical-groups`
|
||||
- `GET /api/portal/logical-groups/{group_id}`
|
||||
- `GET /api/portal/logical-groups/{group_id}/models`
|
||||
- 当前公开语义已收口:
|
||||
- 只暴露插件 `logical_group` 产品层
|
||||
- 不把 `shadow_group / shadow_host / route_id` 直接暴露给普通用户前端
|
||||
- 仅返回 `status=active` 的 `logical_group`
|
||||
- 仅返回 `status=active` 的 `public_model`
|
||||
- 每个逻辑分组同时返回:
|
||||
- `route_count`
|
||||
- `active_route_count`
|
||||
- `sticky_mode`
|
||||
- `route_policy`
|
||||
- 本地门禁已通过:
|
||||
- `gofmt -l .`
|
||||
- `go vet ./...`
|
||||
- `go test -cover ./internal/...`
|
||||
- `go test ./tests/integration/... -count=1`
|
||||
- remote43 已原位升级到:
|
||||
- `repo HEAD = 97fd72e2`
|
||||
- CRM 活跃监听 PID:`2772411`
|
||||
- `http://127.0.0.1:18173/healthz` 返回 `ok`
|
||||
- remote43 真实验证已通过:
|
||||
- 通过管理员 API 临时创建:
|
||||
- `group_id=p4t1-catalog-1780055254`
|
||||
- `route_id=primary-1780055254`
|
||||
- `public_model=gpt-5.4`
|
||||
- 本机回读:
|
||||
- `GET http://127.0.0.1:18173/api/portal/logical-groups`
|
||||
- `GET http://127.0.0.1:18173/api/portal/logical-groups/p4t1-catalog-1780055254`
|
||||
- `GET http://127.0.0.1:18173/api/portal/logical-groups/p4t1-catalog-1780055254/models`
|
||||
- 公网代理回读:
|
||||
- `GET https://sub.tksea.top/portal-admin-api/api/portal/logical-groups`
|
||||
- 关键结果:
|
||||
- `route_count=1`
|
||||
- `active_route_count=1`
|
||||
- `models_count=1`
|
||||
- `first_model=gpt-5.4`
|
||||
- `public_list_contains_group=true`
|
||||
- 验证结束后已删除临时 `logical_group / route / model`,未向 remote43 留下测试垃圾
|
||||
- 当前结论:
|
||||
- 普通用户前端已经有了第一批“逻辑分组产品层”读取接口
|
||||
- 下一步可以直接做 `P4-T2`:让 `/portal/` 改吃这些聚合 API,而不是继续硬编码宿主分组目录
|
||||
- 2026-05-28 已完成 Phase 1 / `P1-T1 SQLite schema foundation`
|
||||
- 提交:`7f75d8a6 feat(routing): add logical group schema foundation`
|
||||
- 新 migration:`internal/store/migrations/0010_logical_groups_and_routes.sql`
|
||||
|
||||
Reference in New Issue
Block a user