59 lines
2.3 KiB
JSON
59 lines
2.3 KiB
JSON
{
|
|
"schema": "guanghu.architecture-provision-request/v1",
|
|
"request_id": "HLCC-JD-CANDIDATE-INITIAL-PROVISION-20260723",
|
|
"target_node": "JD-FD-PRIMARY",
|
|
"architecture_id": "GLS-HLCC-001",
|
|
"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 bound REPO-001 commit",
|
|
"copy only declared source files",
|
|
"install a hardened non-root systemd unit",
|
|
"stage the complete-pack downloader relayed from canonical node BS-SG-003",
|
|
"do not restart the already running isolated candidate during this staging request",
|
|
"retain the existing bootstrap health response until the separately approved activation request",
|
|
"write a private staging receipt"
|
|
]
|
|
},
|
|
"verification": [
|
|
"GET http://127.0.0.1:3341/health returns ok=true and mode=bootstrap immediately",
|
|
"the separately approved activation becomes ready only after the complete pack, v16.0.1 hash and GPG checks pass",
|
|
"the staged candidate definition preserves isolated SQLite and repository paths",
|
|
"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"
|
|
}
|
|
},
|
|
"rollback": [
|
|
"disable and stop only hlcc-jd-candidate.service",
|
|
"remove only its unit file",
|
|
"retain isolated candidate state for audit",
|
|
"do not change current Gitea service or data"
|
|
],
|
|
"status": "ARCHITECTURE_PACKAGE_READY · INITIAL_PROVISION_PENDING"
|
|
}
|