evidence: verify cross-root repository service on JD
This commit is contained in:
parent
b7925420ff
commit
9b19fee681
6 changed files with 128 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"schema": "guanghu.os-control-architecture/v1",
|
||||
"record_id": "HLP-GUANGHU-OS-CONTROL-001",
|
||||
"version": "2026-08-16.2",
|
||||
"version": "2026-08-16.3",
|
||||
"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": "INTEGRATE_BOUNDED_REPOSITORY_BRIDGE_INTO_CROSS_ROOT_GUANGHU_BOOT_CANDIDATE_AND_VERIFY_SERVICE_EQUIVALENCE_IN_QEMU"
|
||||
"next_engineering_gate": "BUILD_AND_QEMU_VERIFY_ONE_TIME_PHYSICAL_BOOT_CANDIDATE_WITH_BOUNDED_REPOSITORY_CONTROL_AND_AUTOMATIC_LINUX_RESCUE_RETURN"
|
||||
},
|
||||
"implementation": {
|
||||
"guanghu_supervisor_lifecycle_contract_source": 100,
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
"repository_bridge_failure_reclaim_contract_test": 100,
|
||||
"jd_real_forgejo_repository_shadow_lifecycle": 100,
|
||||
"cross_root_repository_service_equivalence_source": 100,
|
||||
"jd_host_qemu_cross_root_repository_service_equivalence": 0,
|
||||
"jd_host_qemu_cross_root_repository_service_equivalence": 100,
|
||||
"independent_guanghu_first_boot_supervisor": 0,
|
||||
"jd_physical_deployment": 0
|
||||
},
|
||||
|
|
@ -157,6 +157,28 @@
|
|||
"final_guanghu_os_master": 0,
|
||||
"observed_at": "2026-08-16T00:22:30+08:00"
|
||||
},
|
||||
"cross_root_repository_service_qemu_evidence": {
|
||||
"source_commit": "b7925420ff161301704800c98e2b15bea2a01c40",
|
||||
"source_tree": "815aacf80273ad264e36ef8adcaa5abb6f59b686",
|
||||
"repository_receipt": "product-source/hololake-platform/guanghu-os/deployments/JD-FD-PRIMARY/CROSS-ROOT-REPOSITORY-SERVICE-QEMU-RECEIPT-20260816.hldp",
|
||||
"server_receipt": "/guanghu/recovery/JD-FD-PRIMARY-cross-root-repository-qemu-0759625/DEPLOYMENT-RECEIPT.hldp",
|
||||
"server_receipt_sha256": "653791da9c3fcb82eb0f73d6b38f9934c3a19be7fc59da0e84dbd6f018716730",
|
||||
"root_image_sha256": "1c71f1dd3d150b9be4df510c6760ec680670b9c44fc4e62bfa752896a883b6d9",
|
||||
"accepted_serial_sha256": "041824dad20c0e48bea12ecc4887695434a14ada3c3d5b9c599c423acc840b2a",
|
||||
"request_id": "REQ-QEMU-CROSS-ROOT-001",
|
||||
"initial_state": "DORMANT",
|
||||
"active_state": "READY",
|
||||
"final_state": "DORMANT",
|
||||
"switch_root_entered": 100,
|
||||
"root_supervisor_resident": 100,
|
||||
"bounded_repository_service_equivalence": 100,
|
||||
"residual_qemu_processes": 0,
|
||||
"physical_boot_files_changed": false,
|
||||
"physical_reboot_performed": false,
|
||||
"linux_on_demand_subcontrol": 0,
|
||||
"final_guanghu_os_master": 0,
|
||||
"observed_at": "2026-08-16T00:52:14+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,
|
||||
"INTEGRATE_BOUNDED_REPOSITORY_BRIDGE_INTO_CROSS_ROOT_GUANGHU_BOOT_CANDIDATE_AND_VERIFY_SERVICE_EQUIVALENCE_IN_QEMU",
|
||||
"BUILD_AND_QEMU_VERIFY_ONE_TIME_PHYSICAL_BOOT_CANDIDATE_WITH_BOUNDED_REPOSITORY_CONTROL_AND_AUTOMATIC_LINUX_RESCUE_RETURN",
|
||||
);
|
||||
});
|
||||
|
||||
test("the physical shadow and host QEMU cycles are registered without impersonating Guanghu-owned boot control", () => {
|
||||
assert.equal(contract.version, "2026-08-16.2");
|
||||
assert.equal(contract.version, "2026-08-16.3");
|
||||
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);
|
||||
|
|
@ -89,7 +89,7 @@ test("the physical shadow and host QEMU cycles are registered without impersonat
|
|||
assert.equal(contract.implementation.repository_bridge_failure_reclaim_contract_test, 100);
|
||||
assert.equal(contract.implementation.jd_real_forgejo_repository_shadow_lifecycle, 100);
|
||||
assert.equal(contract.implementation.cross_root_repository_service_equivalence_source, 100);
|
||||
assert.equal(contract.implementation.jd_host_qemu_cross_root_repository_service_equivalence, 0);
|
||||
assert.equal(contract.implementation.jd_host_qemu_cross_root_repository_service_equivalence, 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");
|
||||
|
|
@ -124,6 +124,18 @@ test("the physical shadow and host QEMU cycles are registered without impersonat
|
|||
assert.equal(contract.repository_bridge_lifecycle_evidence.final_guanghu_os_master, 0);
|
||||
assert.match(contract.repository_bridge_lifecycle_evidence.server_receipt_sha256, /^[0-9a-f]{64}$/);
|
||||
assert.match(contract.repository_bridge_lifecycle_evidence.lifecycle_receipt_sha256, /^[0-9a-f]{64}$/);
|
||||
assert.equal(contract.cross_root_repository_service_qemu_evidence.switch_root_entered, 100);
|
||||
assert.equal(contract.cross_root_repository_service_qemu_evidence.root_supervisor_resident, 100);
|
||||
assert.equal(contract.cross_root_repository_service_qemu_evidence.bounded_repository_service_equivalence, 100);
|
||||
assert.equal(contract.cross_root_repository_service_qemu_evidence.initial_state, "DORMANT");
|
||||
assert.equal(contract.cross_root_repository_service_qemu_evidence.active_state, "READY");
|
||||
assert.equal(contract.cross_root_repository_service_qemu_evidence.final_state, "DORMANT");
|
||||
assert.equal(contract.cross_root_repository_service_qemu_evidence.residual_qemu_processes, 0);
|
||||
assert.equal(contract.cross_root_repository_service_qemu_evidence.physical_boot_files_changed, false);
|
||||
assert.equal(contract.cross_root_repository_service_qemu_evidence.physical_reboot_performed, false);
|
||||
assert.equal(contract.cross_root_repository_service_qemu_evidence.linux_on_demand_subcontrol, 0);
|
||||
assert.equal(contract.cross_root_repository_service_qemu_evidence.final_guanghu_os_master, 0);
|
||||
assert.match(contract.cross_root_repository_service_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