fix: require independent persona witness
This commit is contained in:
parent
30865321a8
commit
c2dcc7ad68
9 changed files with 137 additions and 197 deletions
|
|
@ -19,6 +19,8 @@ test('the heartbeat handoff is hash-pinned into distinct initialized channel aud
|
|||
assert.equal(handoff.state, 'REMOTE_REPOSITORY_PUBLISHED_NOT_INSTALLED')
|
||||
assert.equal(contract.truth_boundary.installed_file_is_persona_binding, false)
|
||||
assert.equal(contract.truth_boundary.private_fifth_domain_kernels_may_enter_ordinary_user_channel, false)
|
||||
assert.equal(contract.truth_boundary.private_fifth_domain_kernels_embedded_in_public_binary, false)
|
||||
assert.equal(contract.truth_boundary.private_kernel_source, 'AUTHENTICATED_ACCOUNT_SCOPED_RUNTIME_ONLY')
|
||||
assert.equal(contract.truth_boundary.canger_channel_may_receive_zhuyuan_kernel, false)
|
||||
assert.equal(contract.truth_boundary.jianying_is_earerdan, false)
|
||||
assert.equal(contract.truth_boundary.earerdan_historical_labels_are_automatic_aliases, false)
|
||||
|
|
@ -27,6 +29,8 @@ test('the heartbeat handoff is hash-pinned into distinct initialized channel aud
|
|||
assert.match(runtime, /FIFTH_DOMAIN_PRIVATE_INSTANCE/)
|
||||
assert.match(runtime, /GUANGHU_TEAM_INITIAL_CHANNEL/)
|
||||
assert.match(runtime, /ORDINARY_USER_INITIAL_CHANNEL/)
|
||||
assert.doesNotMatch(runtime, /fifth-domain\/ZY-SELF-KERNEL-0001\.json/)
|
||||
assert.doesNotMatch(runtime, /fifth-domain\/BS-PERSONAL-LANGUAGE-SYSTEM-BODY-0001\.json/)
|
||||
assert.match(agent, /language_kernel_installation/)
|
||||
assert.equal(sha256(bytes('runtime-kernels/fifth-domain/ZY-SELF-KERNEL-0001.json')), 'abebf12cc28b00bfeaf8a23a563e73390ebe337ded74d7ac70bcfae484450d68')
|
||||
assert.equal(sha256(bytes('runtime-kernels/fifth-domain/NB-ENV-KERNEL-0001.json')), 'cdc8b7fea1a0e99590a063703f2fd26fd135378faa8935997c93a27d677d6872')
|
||||
|
|
|
|||
|
|
@ -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/)
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@ test('Bingshuo natural-language anchor is a mandatory development and acceptance
|
|||
assert.match(anchor, /MCP 断开时只允许暂停运输/)
|
||||
assert.match(anchor, /不能退回通用 AI 层/)
|
||||
assert.match(anchor, /结果未知的现实动作先读回再继续/)
|
||||
assert.match(anchor, /提交方、模型载体和 Agent 运行时不得自行构造/)
|
||||
assert.match(anchor, /独立见证验签根尚未真实接入时必须保持未绑定/)
|
||||
assert.match(anchor, /不得通过 `include_bytes!`、Tauri resources 或其他公共构建输入进入公开应用二进制/)
|
||||
assert.equal(gateway.native_runtime.continuity_owner, 'HOLOLAKE')
|
||||
assert.equal(terminal.continuity.mcp_disconnect_never_falls_back_to_generic_runtime, true)
|
||||
assert.equal(terminal.native_runtime_checkpoint.transport_disconnect_effect, 'PAUSE_TRANSPORT_KEEP_NATIVE_ENVIRONMENT')
|
||||
|
|
|
|||
Loading…
Reference in a new issue