108 lines
3.4 KiB
JSON
108 lines
3.4 KiB
JSON
|
|
{
|
|||
|
|
"schema": "guanghu.existing-service-update-request/v1",
|
|||
|
|
"request_id": "AI-DISCOVERY-ICE-P-ROUTE-20260727",
|
|||
|
|
"target_node": "JD-FD-PRIMARY",
|
|||
|
|
"status": "SERVICE_UPDATE_PACKAGE_READY · DEPLOYMENT_PENDING",
|
|||
|
|
"purpose": {
|
|||
|
|
"what": "更新已在线的光湖 AI 发现服务,使公开只读入口加载完整第五域仓库、节点、主体与旧编号别名地图。",
|
|||
|
|
"why": "代码频道已经把铸渊规范编号统一为 ICE-P-ZY001,但京东主节点仍运行旧服务,旧编号无法自动导航到规范编号,仓库事实尚未进入现实运行层。",
|
|||
|
|
"success": "公开入口可读取主体注册表,并将 ICE-GL-ZY001 与 ICE-PZY-001 解析为 ICE-P-ZY001;REPO-012 与现有健康接口继续正常。",
|
|||
|
|
"out_of_scope": [
|
|||
|
|
"不修改人类登录入口或 SSH",
|
|||
|
|
"不修改广州前门与现有隧道",
|
|||
|
|
"不部署企业应用栈",
|
|||
|
|
"不授予任何旧编号权限"
|
|||
|
|
]
|
|||
|
|
},
|
|||
|
|
"module": {
|
|||
|
|
"unit": "guanghu-ai-discovery.service",
|
|||
|
|
"run_user": "guanghu",
|
|||
|
|
"install_root": "/opt/guanghu/ai-discovery"
|
|||
|
|
},
|
|||
|
|
"service_update": {
|
|||
|
|
"kind": "existing-systemd-service",
|
|||
|
|
"require_existing_unit": true,
|
|||
|
|
"required_existing_files": [
|
|||
|
|
"server.js"
|
|||
|
|
]
|
|||
|
|
},
|
|||
|
|
"unit_source": "server-tools/ai-discovery-gateway/guanghu-ai-discovery.service",
|
|||
|
|
"files": [
|
|||
|
|
{
|
|||
|
|
"source": "server-tools/ai-discovery-gateway/server.js",
|
|||
|
|
"destination": "server.js",
|
|||
|
|
"mode": "0644"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"source": "routing/repository-route-map.json",
|
|||
|
|
"destination": "repository-route-map.json",
|
|||
|
|
"mode": "0644"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"source": "routing/server-node-map.json",
|
|||
|
|
"destination": "server-node-map.json",
|
|||
|
|
"mode": "0644"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"source": "identity/fifth-domain-subject-registry.json",
|
|||
|
|
"destination": "fifth-domain-subject-registry.json",
|
|||
|
|
"mode": "0644"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"source": "identity/subject-id-alias-map.json",
|
|||
|
|
"destination": "subject-id-alias-map.json",
|
|||
|
|
"mode": "0644"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"runtime_check": {
|
|||
|
|
"url": "http://127.0.0.1:3922/health",
|
|||
|
|
"expected": {
|
|||
|
|
"ok": true,
|
|||
|
|
"service": "guanghu-ai-discovery",
|
|||
|
|
"mode": "read-only"
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"acceptance_checks": [
|
|||
|
|
{
|
|||
|
|
"url": "http://127.0.0.1:3922/v1/subjects",
|
|||
|
|
"expected": {
|
|||
|
|
"schema": "guanghu.fifth-domain-subject-registry/v1"
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"url": "http://127.0.0.1:3922/v1/resolve?id=ICE-GL-ZY001",
|
|||
|
|
"expected": {
|
|||
|
|
"status": "RESOLVED",
|
|||
|
|
"canonical_id": "ICE-P-ZY001",
|
|||
|
|
"redirected": true
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"url": "http://127.0.0.1:3922/v1/resolve?id=ICE-PZY-001",
|
|||
|
|
"expected": {
|
|||
|
|
"status": "RESOLVED",
|
|||
|
|
"canonical_id": "ICE-P-ZY001",
|
|||
|
|
"redirected": true
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"url": "http://127.0.0.1:3922/v1/resolve?id=REPO-012",
|
|||
|
|
"expected": {
|
|||
|
|
"code": "REPO-012",
|
|||
|
|
"state": "CURRENT_FIFTH_DOMAIN_ENTRY"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"post_deployment_observation": "常驻 Agent 完成本机强校验后,语言层必须再读取公开 /api/ai 对应接口;公开路径不一致时不得宣称整条链完成。",
|
|||
|
|
"rollback": {
|
|||
|
|
"automatic_on_failure": true,
|
|||
|
|
"scope": "restore every declared destination and the previous systemd unit, then restart the previous service",
|
|||
|
|
"receipt_required": true
|
|||
|
|
},
|
|||
|
|
"security": {
|
|||
|
|
"public_read_only": true,
|
|||
|
|
"no_secrets": true,
|
|||
|
|
"legacy_ids_are_navigation_aliases_only": true,
|
|||
|
|
"human_login_state_unchanged": true
|
|||
|
|
}
|
|||
|
|
}
|