59 lines
2.4 KiB
JSON
59 lines
2.4 KiB
JSON
|
|
{
|
||
|
|
"schema": "guanghu.architecture-provision-request/v1",
|
||
|
|
"request_id": "HLCC-JD-CANDIDATE-HEALTHCHECK-FIX-PROVISION-20260723",
|
||
|
|
"target_node": "JD-FD-PRIMARY",
|
||
|
|
"architecture_id": "GLS-HLCC-006",
|
||
|
|
"module": {
|
||
|
|
"code": "HLCC-JD-CANDIDATE-01",
|
||
|
|
"name": "光湖代码频道京东隔离候选匿名健康检查修复",
|
||
|
|
"bind": "loopback:3340,3341",
|
||
|
|
"owner": "systemd",
|
||
|
|
"unit": "hlcc-jd-candidate.service",
|
||
|
|
"run_user": "guanghu",
|
||
|
|
"writable_paths": [
|
||
|
|
"/var/lib/guanghu/personas/guanghu/hlcc-v16.0.1"
|
||
|
|
],
|
||
|
|
"read_only_paths": []
|
||
|
|
},
|
||
|
|
"source_ref": "REPO-001:refs/heads/main",
|
||
|
|
"deployed_commit_policy": "resolve immutable commit during provision and record it in the deployment receipt",
|
||
|
|
"source_paths": [
|
||
|
|
"server-tools/hololake-code-channel/jd-candidate/hlcc-bootstrap.py",
|
||
|
|
"server-tools/hololake-code-channel/jd-candidate/app.ini",
|
||
|
|
"server-tools/hololake-code-channel/jd-candidate/hlcc-jd-candidate.service"
|
||
|
|
],
|
||
|
|
"initial_provision": {
|
||
|
|
"kind": "new-architecture-unit",
|
||
|
|
"not_an_existing_action_bridge_extension": true,
|
||
|
|
"requires": [
|
||
|
|
"fetch the immutable REPO-001 commit that uses the anonymous Forgejo health endpoint",
|
||
|
|
"copy only the declared candidate files into a new immutable release directory",
|
||
|
|
"back up and replace only hlcc-jd-candidate.service",
|
||
|
|
"preserve the verified release package and initialized candidate data",
|
||
|
|
"keep REQUIRE_SIGNIN_VIEW enabled and do not weaken API privacy",
|
||
|
|
"do not modify current Gitea services, data or public production routing"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"verification": [
|
||
|
|
"GET http://127.0.0.1:3340/api/healthz returns status=pass without authentication",
|
||
|
|
"the readiness loop no longer calls the sign-in-protected anonymous version API",
|
||
|
|
"the signed binary itself reports Forgejo 16.0.1",
|
||
|
|
"the candidate health service reaches ready=true and mode=isolated-candidate",
|
||
|
|
"current Gitea service and data remain untouched"
|
||
|
|
],
|
||
|
|
"runtime_check": {
|
||
|
|
"url": "http://127.0.0.1:3341/health",
|
||
|
|
"expected": {
|
||
|
|
"mode": "bootstrap",
|
||
|
|
"version": "16.0.1",
|
||
|
|
"code": "HLCC-JD-CANDIDATE-01",
|
||
|
|
"package_profile": "full-offline-v16.0.1"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"rollback": [
|
||
|
|
"restore the backed-up hlcc-jd-candidate.service",
|
||
|
|
"retain the isolated verified release package and data for audit",
|
||
|
|
"do not change current Gitea service or data"
|
||
|
|
],
|
||
|
|
"status": "ARCHITECTURE_PACKAGE_READY · INITIAL_PROVISION_PENDING"
|
||
|
|
}
|