feat(guanghu-os): add repository bridge lifecycle

This commit is contained in:
冰朔 2026-08-16 00:08:54 +08:00
commit 0d1ded1196
9 changed files with 326 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{
"schema": "guanghu.os-control-architecture/v1",
"record_id": "HLP-GUANGHU-OS-CONTROL-001",
"version": "2026-08-15.13",
"version": "2026-08-16.1",
"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": "IMPLEMENT_AND_VERIFY_BOUNDED_ROOT_SUPERVISOR_TO_LINUX_REPOSITORY_BRIDGE_LIFECYCLE_IN_ISOLATION"
"next_engineering_gate": "BUILD_AND_VERIFY_REAL_FORGEJO_REPOSITORY_SHADOW_LIFECYCLE_ON_JD_WITHOUT_TOUCHING_PUBLIC_REPOSITORY"
},
"implementation": {
"guanghu_supervisor_lifecycle_contract_source": 100,
@ -78,6 +78,10 @@
"guanghu_cross_root_fixture_builder_source": 100,
"jd_host_qemu_cross_switch_root_supervisor": 100,
"cross_switch_root_persistent_supervisor": 100,
"repository_bridge_lifecycle_controller_source": 100,
"forgejo_repository_shadow_backend_source": 100,
"repository_bridge_failure_reclaim_contract_test": 100,
"jd_real_forgejo_repository_shadow_lifecycle": 0,
"independent_guanghu_first_boot_supervisor": 0,
"jd_physical_deployment": 0
},

View file

@ -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,
"IMPLEMENT_AND_VERIFY_BOUNDED_ROOT_SUPERVISOR_TO_LINUX_REPOSITORY_BRIDGE_LIFECYCLE_IN_ISOLATION",
"BUILD_AND_VERIFY_REAL_FORGEJO_REPOSITORY_SHADOW_LIFECYCLE_ON_JD_WITHOUT_TOUCHING_PUBLIC_REPOSITORY",
);
});
test("the physical shadow and host QEMU cycles are registered without impersonating Guanghu-owned boot control", () => {
assert.equal(contract.version, "2026-08-15.13");
assert.equal(contract.version, "2026-08-16.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);
@ -84,6 +84,10 @@ test("the physical shadow and host QEMU cycles are registered without impersonat
assert.equal(contract.implementation.guanghu_cross_root_fixture_builder_source, 100);
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.repository_bridge_lifecycle_controller_source, 100);
assert.equal(contract.implementation.forgejo_repository_shadow_backend_source, 100);
assert.equal(contract.implementation.repository_bridge_failure_reclaim_contract_test, 100);
assert.equal(contract.implementation.jd_real_forgejo_repository_shadow_lifecycle, 0);
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");