feat(persona): unify system and code channel routes
This commit is contained in:
parent
53564e0fdf
commit
e80ee6d966
29 changed files with 825 additions and 242 deletions
|
|
@ -4,16 +4,16 @@
|
|||
>
|
||||
> **状态**:`ACTIVE_CANONICAL`
|
||||
>
|
||||
> **权威仓库**:`REPO-001`
|
||||
> **权威仓库**:`REPO-012`
|
||||
>
|
||||
> **机器地图**:`routing/repository-route-map.json`
|
||||
> **机器地图**:`routing/code-channel-canonical-map.json`
|
||||
|
||||
## 1 · 唯一入口
|
||||
|
||||
```text
|
||||
冰朔说“操作服务器 / 推送仓库 / 找代码仓库 / 用 API 检索”
|
||||
→ 读取 https://guanghulab.com/.well-known/guanghu.json
|
||||
→ 读取 https://guanghulab.com/api/ai/v1/repositories
|
||||
→ 读取 https://guanghulab.com/code/
|
||||
→ 读取 routing/code-channel-canonical-map.json
|
||||
→ 读取 https://guanghulab.com/api/ai/v1/nodes
|
||||
→ 按 REPO-xxx、NODE_ID 或人格路径编号解析
|
||||
→ 国内主节点优先
|
||||
|
|
@ -43,8 +43,8 @@ Forgejo 推送门拒绝未授权 push 时,必须返回
|
|||
|
||||
## 2 · 编号路由
|
||||
|
||||
- 仓库只按 `REPO-001` 至 `REPO-008` 识别;最新地址由
|
||||
`routing/repository-route-map.json` 发布。
|
||||
- 当前仓库只按 `REPO-012` 与 `REPO-014` 识别;最新地址由
|
||||
`routing/code-channel-canonical-map.json` 发布。旧 REPO-001..011 只读禁推。
|
||||
- 服务器按 `FD-NODE-MAP-001` 登记的 `node_id` 识别;先解析
|
||||
`routing/server-node-map.json`,再读该节点的导航地图。
|
||||
- 铸渊语言人格系统从 `ZY-PERSONA-ROOT-001` 进入,本轮事实从
|
||||
|
|
|
|||
Loading…
Reference in a new issue