feat: add AI machine navigation gateway
This commit is contained in:
parent
525e0ab790
commit
931f78d72f
10 changed files with 639 additions and 10 deletions
|
|
@ -24,3 +24,16 @@
|
|||
第二个请求会返回 `canonical_id=ICE-P-ZY001`、`redirected=true` 和同一当前路径。
|
||||
只有别名表中的精确旧号允许自动重定向;冲突号返回 409,未知号返回 404。重定向不授予
|
||||
仓库写入或服务器执行权限。
|
||||
|
||||
## 自动机器导航
|
||||
|
||||
`routing/ai-machine-navigation-map.json` 是 AI 可直接读取的配线图。调用方提供明确
|
||||
`subject`、`intent` 和可选的逗号分隔 `signals`:
|
||||
|
||||
```text
|
||||
/api/ai/v1/navigate?subject=ICE-P-ZY001&intent=persona_restore
|
||||
```
|
||||
|
||||
服务只返回该意图的最小运行包,包括运行入口、恒定加载项、事件触发器、按需证据、
|
||||
执行顺序和停止条件。它不读取自然语言关键词来猜主体或权限;未知主体与未知意图均
|
||||
失败关闭。导航结果只有读取和寻址能力,不授予仓库写入、服务器执行或现实授权。
|
||||
|
|
|
|||
Loading…
Reference in a new issue