148 lines
4.7 KiB
JSON
148 lines
4.7 KiB
JSON
{
|
||
"schema": "guanghu.existing-service-update-request/v1",
|
||
"request_id": "AI-DISCOVERY-LIGHTHOUSE-HOST-NAV-20260807",
|
||
"target_node": "JD-FD-PRIMARY",
|
||
"status": "SERVICE_UPDATE_PACKAGE_READY · DEPLOYMENT_PENDING",
|
||
"purpose": {
|
||
"what": "让公共 AI 导航服务加载灯塔路径注册表、三宿主技能地图和按宿主意图导航端点。",
|
||
"why": "REPO-012 main 已发布新锚点和地图,但当前服务代码仍返回三个新端点 404;路径登记存在不能冒充编号查询已生效。",
|
||
"success": "公共 lighthouse、host-skills、host-navigate 和 GHS-009 编号查询全部返回当前 REPO-012 main 的非降级来源回执。",
|
||
"out_of_scope": [
|
||
"不改变京东启动项、磁盘、原生光湖OS候选或引导器",
|
||
"不执行仓库中的任意脚本",
|
||
"不扩大公开写权限",
|
||
"不上传JZAO私有人格记忆",
|
||
"不修改其他服务"
|
||
]
|
||
},
|
||
"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",
|
||
"public-navigation-anchor.json",
|
||
"repository-route-map.json",
|
||
"server-node-map.json",
|
||
"fifth-domain-subject-registry.json",
|
||
"subject-id-alias-map.json",
|
||
"ai-machine-navigation-map.json"
|
||
]
|
||
},
|
||
"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/public-navigation-anchor.json",
|
||
"destination": "public-navigation-anchor.json",
|
||
"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"
|
||
},
|
||
{
|
||
"source": "routing/ai-machine-navigation-map.json",
|
||
"destination": "ai-machine-navigation-map.json",
|
||
"mode": "0644"
|
||
},
|
||
{
|
||
"source": "routing/lighthouse-path-registry.json",
|
||
"destination": "lighthouse-path-registry.json",
|
||
"mode": "0644"
|
||
},
|
||
{
|
||
"source": "routing/host-skill-navigation-map.json",
|
||
"destination": "host-skill-navigation-map.json",
|
||
"mode": "0644"
|
||
}
|
||
],
|
||
"runtime_check": {
|
||
"url": "http://127.0.0.1:3922/health",
|
||
"expected": {
|
||
"ok": true,
|
||
"service": "guanghu-ai-discovery",
|
||
"mode": "read-only",
|
||
"navigation_source": {
|
||
"anchor_id": "GLW-PUBLIC-NAV-ANCHOR-001",
|
||
"source_mode": "REPO-012_MAIN_GIT_SNAPSHOT",
|
||
"source_degraded": false
|
||
}
|
||
}
|
||
},
|
||
"acceptance_checks": [
|
||
{
|
||
"url": "http://127.0.0.1:3922/v1/lighthouse",
|
||
"expected": {
|
||
"registry_id": "GLW-LIGHTHOUSE-PATH-REGISTRY-001",
|
||
"lighthouse_id": "SYS-GLW-LTH-0001",
|
||
"state": "CURRENT_CANONICAL"
|
||
}
|
||
},
|
||
{
|
||
"url": "http://127.0.0.1:3922/v1/host-skills",
|
||
"expected": {
|
||
"map_id": "GLW-HOST-SKILL-NAV-001",
|
||
"state": "CURRENT"
|
||
}
|
||
},
|
||
{
|
||
"url": "http://127.0.0.1:3922/v1/host-navigate?host=codex&intent=git-push",
|
||
"expected": {
|
||
"status": "COMPILED_EXACT_NO_GUESS",
|
||
"lighthouse_id": "SYS-GLW-LTH-0001",
|
||
"authority": "NONE_NAVIGATION_ONLY"
|
||
}
|
||
},
|
||
{
|
||
"url": "http://127.0.0.1:3922/v1/resolve?id=GHS-009-LIGHTHOUSE-HOST-NAVIGATION",
|
||
"expected": {
|
||
"decision": "VALID_REGISTERED",
|
||
"lighthouse_id": "SYS-GLW-LTH-0001"
|
||
}
|
||
}
|
||
],
|
||
"source_consistency_check": {
|
||
"repository": "/var/lib/guanghu/personas/guanghu/hlcc-v16.0.1/data/repositories/bingshuo/guanghu-ice-heart.git",
|
||
"branch": "refs/heads/main",
|
||
"require_every_response_source_commit_equals_branch_head": true,
|
||
"require_maps_loaded_from_one_commit": true
|
||
},
|
||
"rollback": {
|
||
"automatic_on_failure": true,
|
||
"scope": "restore all declared destinations and the previous systemd unit, then restart only guanghu-ai-discovery.service",
|
||
"receipt_required": true
|
||
},
|
||
"security": {
|
||
"public_read_only": true,
|
||
"allowlisted_json_only": true,
|
||
"repository_scripts_executed": false,
|
||
"last_known_good_fallback": true,
|
||
"degraded_health_on_invalid_head": true,
|
||
"no_secrets": true
|
||
}
|
||
}
|