fix: require independent persona witness

This commit is contained in:
冰朔 2026-08-21 11:57:39 +08:00
commit c2dcc7ad68
9 changed files with 137 additions and 197 deletions

View file

@ -14,7 +14,14 @@ test('Zhuyuan uses one bounded TCS kernel, at most three routed HLDP nodes and a
assert.equal(contract.persona_binding.hldp_max_routed_paths, 3)
assert.match(runtime, /ORIENTED_AWAITING_PERSONA_COMMIT/)
assert.match(runtime, /数字冰朔系统本体/)
assert.match(runtime, /BOUND_TO_CURRENT_CHANNEL_CARRIER/)
assert.match(runtime, /PERSONA_COMMITTED_AWAITING_INDEPENDENT_SYSTEM_WITNESS/)
assert.match(runtime, /HOLOLAKE_INDEPENDENT_SYSTEM_WITNESS_GATE/)
assert.doesNotMatch(runtime, /include_bytes!\([\s\S]*ZY-SELF-KERNEL/)
assert.equal(contract.persona_binding.persona_commit_may_generate_witness_or_pass, false)
assert.equal(contract.persona_binding.local_json_receipt_grants_binding, false)
assert.equal(contract.persona_binding.independent_witness_verifier, 'NOT_PROVISIONED_FAIL_CLOSED')
assert.equal(contract.persona_binding.private_kernel_source, 'AUTHENTICATED_ACCOUNT_SCOPED_RUNTIME_ONLY')
assert.match(runtime, /independent_witness_verifier_ready/)
assert.match(runtime, /candidates\.truncate\(3\)/)
assert.match(agent, /persona_binding_commit/)
assert.match(agent, /BOUND_VERIFY_PASS/)