59 lines
2.5 KiB
JSON
59 lines
2.5 KiB
JSON
|
|
{
|
||
|
|
"schema": "guanghu.architecture-provision-request/v1",
|
||
|
|
"request_id": "HLCC-JD-CANDIDATE-CHECKSUM-FIX-PROVISION-20260723",
|
||
|
|
"target_node": "JD-FD-PRIMARY",
|
||
|
|
"architecture_id": "GLS-HLCC-005",
|
||
|
|
"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 containing the corrected 64-character release hash",
|
||
|
|
"copy only the declared candidate files into a new immutable release directory",
|
||
|
|
"back up and replace only hlcc-jd-candidate.service",
|
||
|
|
"preserve the already double-verified release package in the isolated state directory",
|
||
|
|
"do not modify current Gitea services, data or public production routing",
|
||
|
|
"restart and perform final ready=true verification only after the immutable unit update is installed"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"verification": [
|
||
|
|
"the binary hash constant exactly matches the signed offline-pack receipt and is 64 hexadecimal characters",
|
||
|
|
"all five artifact constants are checked against deployment/receipts/HLCC-BS-SG-003-OFFLINE-PACK-20260723.json by native.test.js",
|
||
|
|
"the installed unit points to this immutable corrected release",
|
||
|
|
"a separate post-provision restart must reach ready=true and report Forgejo 16.0.1",
|
||
|
|
"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 for audit",
|
||
|
|
"do not change current Gitea service or data"
|
||
|
|
],
|
||
|
|
"status": "ARCHITECTURE_PACKAGE_READY · INITIAL_PROVISION_PENDING"
|
||
|
|
}
|