feat: add Guanghu Linux subcontrol supervisor contract

This commit is contained in:
冰朔 2026-08-15 16:21:37 +08:00
commit 36996be39a
10 changed files with 803 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{
"schema": "guanghu.os-control-architecture/v1",
"record_id": "HLP-GUANGHU-OS-CONTROL-001",
"version": "2026-08-10.1",
"version": "2026-08-15.1",
"state": "CURRENT_CANONICAL",
"final_topology": "GUANGHU_MASTER_WITH_ON_DEMAND_LINUX_SUBCONTROL_AND_RESCUE",
"control_ownership": {
@ -39,7 +39,16 @@
"linux_on_demand_subcontrol": 0,
"linux_rescue_preserved": 100,
"final_guanghu_os_master": 0,
"next_engineering_gate": "IMPLEMENT_AND_ISOLATION_TEST_GUANGHU_SUPERVISOR_AND_LINUX_SUBCONTROL_LIFECYCLE_BEFORE_REAL_BOOT_CUTOVER"
"next_engineering_gate": "INTEGRATE_A_REAL_ISOLATED_LINUX_BACKEND_AND_GUANGHU_FIRST_BOOT_SUPERVISOR_BEFORE_JD_PHYSICAL_CUTOVER"
},
"implementation": {
"guanghu_supervisor_lifecycle_contract_source": 100,
"typed_policy_authorization_and_rollback_binding": 100,
"target_readback_and_mandatory_reclaim_state_machine": 100,
"declared_supervisor_core_line_and_function_coverage": 100,
"real_isolated_linux_backend": 0,
"independent_guanghu_first_boot_supervisor": 0,
"jd_physical_deployment": 0
},
"historical_evidence_policy": {
"bare_metal_gosk_ghal_receipts_remain_valid_for_observed_capabilities": true,

View file

@ -31,6 +31,16 @@ test("current JD state stays transitional and cannot impersonate final master co
assert.equal(contract.jd_fd_primary.final_guanghu_os_master, 0);
});
test("source lifecycle progress does not impersonate backend, boot, or JD deployment", () => {
assert.equal(contract.version, "2026-08-15.1");
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);
assert.equal(contract.implementation.real_isolated_linux_backend, 0);
assert.equal(contract.implementation.independent_guanghu_first_boot_supervisor, 0);
assert.equal(contract.implementation.jd_physical_deployment, 0);
});
test("current architecture and global engineering rules project the same control contract", () => {
assert.equal(architecture.version, "2026-08-14.1");
assert.equal(architecture.server_os_control.machine_projection, "routing/guanghu-os-control-architecture.json");