docs(guanghu-os): register native projection shadow deployment

This commit is contained in:
冰朔 2026-08-15 20:20:13 +08:00
commit ace87cfba7
6 changed files with 84 additions and 14 deletions

View file

@ -38,7 +38,7 @@ test("current JD state stays transitional and cannot impersonate final master co
});
test("the physical shadow and host QEMU cycles are registered without impersonating Guanghu-owned boot control", () => {
assert.equal(contract.version, "2026-08-15.6");
assert.equal(contract.version, "2026-08-15.7");
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);
@ -52,8 +52,8 @@ test("the physical shadow and host QEMU cycles are registered without impersonat
assert.equal(contract.implementation.jd_physical_host_isolated_qemu_capability, 100);
assert.equal(contract.implementation.native_public_projection_contract_source, 100);
assert.equal(contract.implementation.native_public_projection_isolated_end_to_end_test, 100);
assert.equal(contract.implementation.bs_gz_shadow_projection_receiver, 0);
assert.equal(contract.implementation.bs_sg_authenticated_projection_sender, 0);
assert.equal(contract.implementation.bs_gz_shadow_projection_receiver, 100);
assert.equal(contract.implementation.bs_sg_authenticated_projection_sender, 100);
assert.equal(contract.implementation.live_native_projection_freshness, 0);
assert.equal(contract.implementation.nginx_native_projection_route_switch, 0);
assert.equal(contract.implementation.public_native_anchor_equivalence, 0);
@ -66,6 +66,12 @@ test("the physical shadow and host QEMU cycles are registered without impersonat
assert.equal(contract.native_service_qemu_evidence.native_physical_residency, 0);
assert.equal(contract.native_service_qemu_evidence.public_native_service_equivalence, 0);
assert.match(contract.native_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);
assert.equal(contract.native_public_projection_shadow_evidence.nginx_public_route_switched, 0);
assert.match(contract.native_public_projection_shadow_evidence.bs_gz_server_receipt_sha256, /^[0-9a-f]{64}$/);
assert.match(contract.native_public_projection_shadow_evidence.bs_sg_server_receipt_sha256, /^[0-9a-f]{64}$/);
});
test("native public projection separates liveness, authenticated state, and pinned public bytes", () => {
@ -78,8 +84,8 @@ test("native public projection separates liveness, authenticated state, and pinn
assert.equal(projectionContract.front_door_projection.nginx_route_switch_authorized, false);
assert.equal(projectionContract.acceptance_gates.contract_source, 100);
assert.equal(projectionContract.acceptance_gates.isolated_end_to_end_test, 100);
assert.equal(projectionContract.acceptance_gates.bs_gz_shadow_receiver_deployed, 0);
assert.equal(projectionContract.acceptance_gates.bs_sg_authenticated_projector_deployed, 0);
assert.equal(projectionContract.acceptance_gates.bs_gz_shadow_receiver_deployed, 100);
assert.equal(projectionContract.acceptance_gates.bs_sg_authenticated_projector_deployed, 100);
assert.equal(projectionContract.acceptance_gates.live_native_freshness_readback, 0);
assert.equal(projectionContract.acceptance_gates.nginx_public_route_switched, 0);
assert.equal(projectionContract.acceptance_gates.public_native_anchor_equivalence, 0);