feat: admit signed native composition module

This commit is contained in:
冰朔 2026-08-19 01:52:47 +08:00
commit 593d5e5884
22 changed files with 1735 additions and 28 deletions

View file

@ -1,7 +1,7 @@
{
"schema": "hololake.module-donor-admission-registry/v1",
"record_id": "HLP-MODULE-DONOR-ADMISSION-001",
"state": "DONORS_QUARANTINED_CANDIDATES_NUMBERED_NOT_ADMITTED",
"state": "ONE_CANDIDATE_ADMITTED_REMAINING_DONORS_QUARANTINED",
"root_rule": {
"official_base": "HOLOLAKE_0.5.0_NUMBERED_IPC_ROOT",
"repair_old_application_in_place": false,
@ -64,12 +64,17 @@
"admission_order": 1,
"candidate_number": "HLP-DONOR-CAND-0001",
"name": "native_composition_module_runtime",
"state": "QUARANTINED_ASSESS_FIRST",
"state": "ADMITTED_INSTALLED_RUNTIME_ACCEPTED",
"paths": [
"contracts/native-composition-runtime.json",
"src/modules/native-composition",
"src-tauri/src/native_composition.rs"
"src-tauri/src/native_composition.rs",
"src/styles.css#native-composition-selectors-only"
],
"style_dependency_discovered_during_admission": "Only selectors prefixed native-composition or composition- were isolated into the module directory; unrelated global donor CSS remains prohibited.",
"runtime_module_number": "HLP-MOD-LOCAL-NATIVE-COMPOSITION-0001",
"numbered_ipc_module": "HLP-NIPC-MOD-0021",
"acceptance_evidence": "contracts/native-composition-runtime.json#current_acceptance",
"why_first": "A module needs an isolated mount, self-test, unmount and rollback boundary before content modules can be admitted safely."
},
{
@ -173,8 +178,10 @@
"HLP-NIPC-OP-0065",
"HLP-NIPC-OP-0066",
"HLP-NIPC-OP-0067",
"HLP-NIPC-OP-0068",
"HLP-NIPC-OP-0069"
"HLP-NIPC-OP-0068",
"HLP-NIPC-OP-0069",
"HLP-NIPC-OP-0070",
"HLP-NIPC-OP-0071"
],
"source_repository_is_directly_executable": false,
"immutable_signed_artifact_required": true,

View file

@ -0,0 +1,66 @@
{
"schema": "hololake.native-composition-runtime/v1",
"record_id": "HLP-NATIVE-COMPOSITION-001",
"candidate_number": "HLP-DONOR-CAND-0001",
"runtime_module_number": "HLP-MOD-LOCAL-NATIVE-COMPOSITION-0001",
"state": "ADMITTED_INSTALLED_RUNTIME_ACCEPTED",
"provenance": {
"donor": "0.4.1 read-only candidate paths",
"donor_contract_state": "INSTALLED_RUNTIME_ACCEPTED",
"donor_apple_notarization": "NOT_PERFORMED_MISSING_CREDENTIALS",
"current_mainline_reuses_bulk_source": false
},
"internal_object": {
"schema": "hololake.native-object/v1",
"encoding": "BOUNDED_JSON",
"script_allowed": false,
"html_allowed": false,
"external_file_format_as_runtime_allowed": false,
"maximum_rows": 5000,
"maximum_columns": 64,
"maximum_cell_bytes": 10000
},
"module_contract": {
"schema": "hololake.composition-module/v1",
"registered_kinds": ["SOURCE", "TRANSFORM", "PROJECTION"],
"typed_ports_required": true,
"determinism_declared": true,
"authority": "CURRENT_AUTHENTICATED_ACCOUNT_READ_ONLY"
},
"recipe": {
"schema": "hololake.composition-recipe/v1",
"registered_modules_only": true,
"directed_acyclic_graph_required": true,
"current_account_only": true,
"native_validation_required": true
},
"human_projection": {
"views": ["DASHBOARD", "COMPARISON", "VERTICAL_BAR", "CLASSIFICATION", "TABLE"],
"shares_one_execution_result": true,
"owns_source_data": false,
"direct_write_authority": false
},
"admission": {
"signed_package_required": true,
"adapter": "native-composition-v1",
"numbered_routes_required": true,
"active_module_required_before_execution": true,
"installed_runtime_acceptance_required": true,
"hardcoded_sample_may_satisfy_acceptance": false
},
"current_acceptance": {
"observed_at": "2026-08-19T01:49:35+08:00",
"signed_debug_binary_sha256": "0bff08787950b69ef0a1565fc32a7537dae53da184c4a1a4fb30ca62eca9f48c",
"developer_id_team": "825A9L3G7Q",
"module_package_sha256": "dfb343019810f8f845ab415259be2eccbe63d88a03bf26a277950610edb64329",
"account_number_observed": "ICE-GL∞",
"real_native_rows": 129,
"real_native_total_bytes_display": "1.0 MB",
"real_groups": 14,
"measure_switch_observed": "DOCUMENT_COUNT_TO_TOTAL_BYTES",
"install_receipts": ["INSTALL", "MOUNT", "SELF_TEST_PASS"],
"restart_recovery": "ACTIVE_AND_REEXECUTED",
"execution_receipt_prefixes": ["0449582510a5", "092febd75c38"],
"apple_notarization": "FINAL_RELEASE_PENDING_ALL_MODULES"
}
}

View file

@ -61,7 +61,9 @@
"zero_point_verify",
"zero_point_sync",
"zero_point_status",
"get_module_runtime_snapshot"
"get_module_runtime_snapshot",
"get_bundled_module_catalog",
"get_native_composition_module_registry"
],
"input_wrapper_aliases": [
"confirm_hololake_update_install",
@ -98,7 +100,9 @@
"mount_module",
"self_test_module",
"unmount_module",
"rollback_module"
"rollback_module",
"activate_bundled_module",
"execute_knowledge_native_composition"
],
"direct_field_aliases": {
"perform_code_repo_login": [
@ -240,6 +244,16 @@
"module_number": "HLP-NIPC-MOD-0019",
"target_number": "HLP-NIPC-TGT-0019",
"internal_name": "zero_point"
},
{
"module_number": "HLP-NIPC-MOD-0020",
"target_number": "HLP-NIPC-TGT-0020",
"internal_name": "module_package_runtime"
},
{
"module_number": "HLP-NIPC-MOD-0021",
"target_number": "HLP-NIPC-TGT-0021",
"internal_name": "native_composition"
}
],
"operations": [
@ -1001,6 +1015,50 @@
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "STATE_CHANGE",
"payload_schema": "hololake.numbered-ipc.payload/rollback_module/v1"
},
{
"operation_number": "HLP-NIPC-OP-0070",
"alias": "get_bundled_module_catalog",
"handler": "module_package_runtime::get_bundled_module_catalog",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0020",
"target_number": "HLP-NIPC-TGT-0020",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "READ_OR_STATUS",
"payload_schema": "hololake.numbered-ipc.payload/get_bundled_module_catalog/v1"
},
{
"operation_number": "HLP-NIPC-OP-0071",
"alias": "activate_bundled_module",
"handler": "module_package_runtime::activate_bundled_module",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0020",
"target_number": "HLP-NIPC-TGT-0020",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "STATE_CHANGE",
"payload_schema": "hololake.numbered-ipc.payload/activate_bundled_module/v1"
},
{
"operation_number": "HLP-NIPC-OP-0072",
"alias": "get_native_composition_module_registry",
"handler": "native_composition::get_native_composition_module_registry",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0021",
"target_number": "HLP-NIPC-TGT-0021",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "READ_OR_STATUS",
"payload_schema": "hololake.numbered-ipc.payload/get_native_composition_module_registry/v1"
},
{
"operation_number": "HLP-NIPC-OP-0073",
"alias": "execute_knowledge_native_composition",
"handler": "native_composition::execute_knowledge_native_composition",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0021",
"target_number": "HLP-NIPC-TGT-0021",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "READ_OR_STATUS",
"payload_schema": "hololake.numbered-ipc.payload/execute_knowledge_native_composition/v1"
}
]
}