docs(guanghu-os): register JD cross-root proof
This commit is contained in:
parent
9db3ecd2e7
commit
d2686f8cb3
5 changed files with 85 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"schema": "guanghu.os-control-architecture/v1",
|
||||
"record_id": "HLP-GUANGHU-OS-CONTROL-001",
|
||||
"version": "2026-08-15.12",
|
||||
"version": "2026-08-15.13",
|
||||
"state": "CURRENT_CANONICAL",
|
||||
"final_topology": "GUANGHU_MASTER_WITH_ON_DEMAND_LINUX_SUBCONTROL_AND_RESCUE",
|
||||
"control_ownership": {
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
"linux_on_demand_subcontrol": 0,
|
||||
"linux_rescue_preserved": 100,
|
||||
"final_guanghu_os_master": 0,
|
||||
"next_engineering_gate": "BUILD_AND_VERIFY_CROSS_SWITCH_ROOT_PERSISTENT_GUANGHU_SUPERVISOR_IN_JD_HOST_QEMU"
|
||||
"next_engineering_gate": "IMPLEMENT_AND_VERIFY_BOUNDED_ROOT_SUPERVISOR_TO_LINUX_REPOSITORY_BRIDGE_LIFECYCLE_IN_ISOLATION"
|
||||
},
|
||||
"implementation": {
|
||||
"guanghu_supervisor_lifecycle_contract_source": 100,
|
||||
|
|
@ -76,7 +76,8 @@
|
|||
"guanghu_root_supervisor_contract_source": 100,
|
||||
"guanghu_root_supervisor_systemd_unit_source": 100,
|
||||
"guanghu_cross_root_fixture_builder_source": 100,
|
||||
"jd_host_qemu_cross_switch_root_supervisor": 0,
|
||||
"jd_host_qemu_cross_switch_root_supervisor": 100,
|
||||
"cross_switch_root_persistent_supervisor": 100,
|
||||
"independent_guanghu_first_boot_supervisor": 0,
|
||||
"jd_physical_deployment": 0
|
||||
},
|
||||
|
|
@ -111,6 +112,21 @@
|
|||
"final_guanghu_os_master": 0,
|
||||
"observed_at": "2026-08-15T23:45:00+08:00"
|
||||
},
|
||||
"cross_root_supervisor_qemu_evidence": {
|
||||
"source_commit": "9db3ecd2e71374e6a2721f193e3360d73de342ba",
|
||||
"source_tree": "a018fb6ab0ec2362ca0efc364269c62d73b32330",
|
||||
"repository_receipt": "product-source/hololake-platform/guanghu-os/deployments/JD-FD-PRIMARY/CROSS-ROOT-SUPERVISOR-QEMU-RECEIPT-20260815.hldp",
|
||||
"server_receipt": "/guanghu/recovery/JD-FD-PRIMARY-cross-root-qemu-5b040ca/DEPLOYMENT-RECEIPT.hldp",
|
||||
"server_receipt_sha256": "47da5144d0f9b91140033080626205224961ed8dbf4624c9cd60fdd00bb6a57c",
|
||||
"root_image_sha256": "e45f7557997a3c7884fcd5d4252300462fb7a15ceebdf2d3a588606d08aa0ed3",
|
||||
"switch_root_entered": 100,
|
||||
"root_supervisor_resident": 100,
|
||||
"physical_boot_files_changed": false,
|
||||
"physical_reboot_performed": false,
|
||||
"linux_on_demand_subcontrol": 0,
|
||||
"final_guanghu_os_master": 0,
|
||||
"observed_at": "2026-08-15T23:55:00+08:00"
|
||||
},
|
||||
"current_target_evidence": {
|
||||
"server_receipt": "/guanghu/recovery/JD-FD-PRIMARY-linux-subcontrol-f5217fe/DEPLOYMENT-RECEIPT.hldp",
|
||||
"server_receipt_sha256": "4a7d0cb354ff0472dbd8e2e43d89021d65b21f0beea3c702dcbeacdd1c73bfbc",
|
||||
|
|
|
|||
|
|
@ -43,12 +43,12 @@ test("current JD state stays transitional and cannot impersonate final master co
|
|||
assert.equal(contract.jd_fd_primary.final_guanghu_os_master, 0);
|
||||
assert.equal(
|
||||
contract.jd_fd_primary.next_engineering_gate,
|
||||
"BUILD_AND_VERIFY_CROSS_SWITCH_ROOT_PERSISTENT_GUANGHU_SUPERVISOR_IN_JD_HOST_QEMU",
|
||||
"IMPLEMENT_AND_VERIFY_BOUNDED_ROOT_SUPERVISOR_TO_LINUX_REPOSITORY_BRIDGE_LIFECYCLE_IN_ISOLATION",
|
||||
);
|
||||
});
|
||||
|
||||
test("the physical shadow and host QEMU cycles are registered without impersonating Guanghu-owned boot control", () => {
|
||||
assert.equal(contract.version, "2026-08-15.12");
|
||||
assert.equal(contract.version, "2026-08-15.13");
|
||||
assert.equal(contract.implementation.guanghu_supervisor_lifecycle_contract_source, 100);
|
||||
assert.equal(contract.implementation.target_readback_and_mandatory_reclaim_state_machine, 100);
|
||||
assert.equal(contract.implementation.declared_supervisor_core_line_and_function_coverage, 100);
|
||||
|
|
@ -82,7 +82,8 @@ test("the physical shadow and host QEMU cycles are registered without impersonat
|
|||
assert.equal(contract.implementation.guanghu_root_supervisor_contract_source, 100);
|
||||
assert.equal(contract.implementation.guanghu_root_supervisor_systemd_unit_source, 100);
|
||||
assert.equal(contract.implementation.guanghu_cross_root_fixture_builder_source, 100);
|
||||
assert.equal(contract.implementation.jd_host_qemu_cross_switch_root_supervisor, 0);
|
||||
assert.equal(contract.implementation.jd_host_qemu_cross_switch_root_supervisor, 100);
|
||||
assert.equal(contract.implementation.cross_switch_root_persistent_supervisor, 100);
|
||||
assert.equal(contract.implementation.independent_guanghu_first_boot_supervisor, 0);
|
||||
assert.equal(contract.implementation.jd_physical_deployment, 0);
|
||||
assert.equal(contract.current_target_evidence.final_state, "DORMANT");
|
||||
|
|
@ -97,6 +98,13 @@ test("the physical shadow and host QEMU cycles are registered without impersonat
|
|||
assert.equal(contract.pre_root_supervisor_qemu_evidence.cross_switch_root_persistent_supervisor, 0);
|
||||
assert.equal(contract.pre_root_supervisor_qemu_evidence.final_guanghu_os_master, 0);
|
||||
assert.match(contract.pre_root_supervisor_qemu_evidence.server_receipt_sha256, /^[0-9a-f]{64}$/);
|
||||
assert.equal(contract.cross_root_supervisor_qemu_evidence.switch_root_entered, 100);
|
||||
assert.equal(contract.cross_root_supervisor_qemu_evidence.root_supervisor_resident, 100);
|
||||
assert.equal(contract.cross_root_supervisor_qemu_evidence.physical_boot_files_changed, false);
|
||||
assert.equal(contract.cross_root_supervisor_qemu_evidence.physical_reboot_performed, false);
|
||||
assert.equal(contract.cross_root_supervisor_qemu_evidence.linux_on_demand_subcontrol, 0);
|
||||
assert.equal(contract.cross_root_supervisor_qemu_evidence.final_guanghu_os_master, 0);
|
||||
assert.match(contract.cross_root_supervisor_qemu_evidence.server_receipt_sha256, /^[0-9a-f]{64}$/);
|
||||
assert.equal(contract.native_public_projection_shadow_evidence.synthetic_ready_shadow_readback, 100);
|
||||
assert.equal(contract.native_public_projection_shadow_evidence.post_test_state, "DORMANT");
|
||||
assert.equal(contract.native_public_projection_shadow_evidence.live_native_freshness_readback, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue