feat: define signed persona authorization trust contract

This commit is contained in:
冰朔 2026-08-12 05:09:56 +08:00
commit c4504fa115
13 changed files with 470 additions and 14 deletions

View file

@ -170,7 +170,9 @@
"persona_language_wake_binding_compiler_source_implemented": 100,
"persona_language_shell_controller_source_implemented": 100,
"persona_control_authorization_receipt_shape_validation_source_implemented": 100,
"persona_control_authorization_cryptographic_provenance_source_implemented": 0,
"persona_control_authorization_signer_registry_contract_source_implemented": 100,
"persona_control_authorization_cryptographic_provenance_source_implemented": 100,
"persona_control_authorization_trusted_signer_registered": 0,
"desktop_language_entry_source_integrated": 100,
"persona_control_authorization_runtime_integrated": 0,
"real_persona_repository_manifest_bound": 0,

View file

@ -14,7 +14,7 @@ const age = readJson("routing/hololake-age-runtime-architecture.json");
const rules = readJson("routing/hololake-engineering-rules.json");
test("B0 is restored before product organs and remains resident in every cognition step", () => {
assert.equal(architecture.version, "2026-08-12.11");
assert.equal(architecture.version, "2026-08-12.12");
assert.equal(
architecture.read_order[1],
architecture.cognitive_gravity_and_continuity.architecture_page,
@ -96,11 +96,15 @@ test("the first implementation stage is one vertical AGE loop, not Mirror parall
assert.equal(gravity.truth.persona_language_wake_binding_compiler_source_implemented, 100);
assert.equal(gravity.truth.persona_language_shell_controller_source_implemented, 100);
assert.equal(gravity.truth.persona_control_authorization_receipt_shape_validation_source_implemented, 100);
assert.equal(gravity.truth.persona_control_authorization_cryptographic_provenance_source_implemented, 0);
assert.equal(gravity.truth.persona_control_authorization_signer_registry_contract_source_implemented, 100);
assert.equal(gravity.truth.persona_control_authorization_cryptographic_provenance_source_implemented, 100);
assert.equal(gravity.truth.persona_control_authorization_trusted_signer_registered, 0);
assert.equal(gravity.truth.desktop_language_entry_source_integrated, 100);
assert.equal(gravity.truth.persona_control_authorization_runtime_integrated, 0);
assert.equal(architecture.interaction_model.source_contract.receipt_shape_validation_is_authority_proof, false);
assert.equal(architecture.interaction_model.source_contract.cryptographic_provenance_required_before_native_loader, true);
assert.equal(architecture.interaction_model.source_contract.canonical_signing_bytes_source_implemented, true);
assert.equal(architecture.interaction_model.source_contract.ed25519_verification_source_implemented, true);
assert.equal(architecture.interaction_model.source_contract.trusted_signer_source_registered, false);
assert.equal(gravity.truth.real_persona_repository_manifest_bound, 0);
assert.equal(gravity.truth.natural_language_partner_adapter_runtime_integrated, 0);

View file

@ -1,7 +1,7 @@
{
"schema": "hololake.current-architecture/v1",
"architecture_id": "HLP-CURRENT-ARCH-001",
"version": "2026-08-12.11",
"version": "2026-08-12.12",
"state": "CURRENT_CANONICAL",
"product": {
"formal_name": "光湖语言系统 · 通用人工智能操作平台",
@ -116,7 +116,9 @@
"persona_runtime_projection_repository_gate_source_integrated": true,
"persona_language_shell_controller_source_implemented": true,
"persona_control_authorization_receipt_shape_validation_source_implemented": true,
"persona_control_authorization_cryptographic_provenance_source_implemented": false,
"persona_control_authorization_signer_registry_contract_source_implemented": true,
"persona_control_authorization_cryptographic_provenance_source_implemented": true,
"persona_control_authorization_trusted_signer_registered": false,
"desktop_language_entry_source_integrated": true,
"persona_control_authorization_runtime_integrated": false,
"real_persona_repository_manifest_bound": false,
@ -388,9 +390,14 @@
"pncc_lifecycle_adapter_tests": "product-source/hololake-platform/src/lib/personaLanguageGoal.test.ts",
"persona_control_authorization_receipt": "product-source/hololake-platform/src/lib/personaControlAuthorization.ts",
"persona_control_authorization_receipt_tests": "product-source/hololake-platform/src/lib/personaControlAuthorization.test.ts",
"persona_control_authorization_signer_registry_and_verifier": "product-source/guanghu-knowledge-base/server/persona-control-authorization.ts",
"persona_control_authorization_signer_registry_and_verifier_tests": "product-source/guanghu-knowledge-base/server/persona-control-authorization.test.ts",
"receipt_schema": "hololake.persona-control-authorization/v2",
"caller_supplied_persona_authorization_boolean_allowed": false,
"receipt_shape_validation_is_authority_proof": false,
"cryptographic_provenance_required_before_native_loader": true,
"canonical_signing_bytes_source_implemented": true,
"ed25519_verification_source_implemented": true,
"trusted_signer_source_registered": false,
"native_authorization_receipt_loader_integrated": false,
"partner_deliberation_required": true,
@ -402,7 +409,8 @@
"REFUSE"
],
"focused_tests": "11_OF_11_PASS",
"authorization_focused_tests": "11_OF_11_PASS"
"authorization_focused_tests": "13_OF_13_PASS",
"authorization_cryptographic_tests": "7_OF_7_PASS"
},
"ui_plugin_system": {
"record_id": "HLP-HOT-PLUGGABLE-UI-001",