feat: merge HoloLake desktop into unified 0.3.0

This commit is contained in:
冰朔 2026-08-16 12:54:47 +08:00
commit b7461c66c5
37 changed files with 8732 additions and 613 deletions

View file

@ -0,0 +1,50 @@
{
"schema": "hololake.user-code-channel-contract/v1",
"record_id": "HLP-USER-CODE-CHANNEL-001",
"state": "LOCAL_INSTALLED_RUNTIME_ACCEPTED_PUBLIC_RELEASE_PENDING",
"entry_methods": ["OFFICIAL_HTTPS_CHANNEL_CLONE", "LOCAL_GIT_FOLDER_REGISTRATION"],
"clone": {
"allowed_schemes": ["https"],
"allowed_hosts": ["guanghulab.com", "guanghubingshuo.com"],
"embedded_credentials_allowed": false,
"query_or_fragment_credentials_allowed": false,
"terminal_prompt_allowed": false,
"credential_helper_allowed": false,
"app_owned_destination": true,
"failed_destination_cleanup_bounded": true
},
"registry": {
"owner": "HOLOLAKE_NATIVE_RUST_CORE",
"location": "TAURI_APP_DATA_CODE_CHANNEL_V1",
"stored_fields_include_credentials": false,
"atomic_write": true,
"restart_readback": true
},
"workbench": {
"repository_tree_browse": true,
"registered_repository_openable": true,
"path_escape_denied": true,
"symlink_traversal_denied": true,
"maximum_text_file_bytes": 2097152,
"knowledge_projection": true,
"source_projection": true,
"human_readable_formats": ["markdown", "json", "hdlp", "yaml", "toml", "ini", "source_code"]
},
"authority": {
"source_read_access": true,
"automatic_push": false,
"publication_authority": false,
"deployment_authority": false,
"server_authority": false
},
"acceptance": {
"rust_url_and_registry_tests": true,
"react_projection_integrated": true,
"repository_tree_runtime_tested": true,
"human_projection_runtime_tested": true,
"installed_runtime_acceptance": true,
"public_clone_runtime_acceptance": true,
"restart_readback": true,
"server_deployment": false
}
}

View file

@ -0,0 +1,60 @@
{
"schema": "hololake.knowledge-workspace-contract/v1",
"record_id": "HLP-KNOWLEDGE-WORKSPACE-001",
"state": "LOCAL_INSTALLED_RUNTIME_ACCEPTED_PUBLIC_RELEASE_PENDING",
"native_storage": {
"owner": "HOLOLAKE_NATIVE_RUST_CORE",
"location": "TAURI_APP_DATA_KNOWLEDGE_V1",
"engine": "LOCAL_GIT_WITH_DOCUMENT_TREE",
"webview_direct_filesystem_access": false,
"automatic_server_upload": false
},
"capabilities": {
"page_tree": true,
"outline_style_nested_navigation": true,
"independent_tree_and_document_scrolling": true,
"safe_document_read": true,
"bounded_full_text_search": true,
"native_folder_picker_import": true,
"import_commit_receipt": true,
"exact_content_deduplication": true,
"optimistic_native_editing": true,
"native_edit_commit_receipt": true,
"gfm_tables_tasks_and_code": true,
"wiki_link_navigation": true,
"markdown_reading_canvas": true,
"raw_html_rendering": false
},
"folder_import": {
"maximum_files": 1000,
"maximum_file_bytes": 10485760,
"document_extensions": ["md", "markdown", "txt", "csv", "json", "yaml", "yml"],
"asset_extensions": ["png", "jpg", "jpeg", "gif", "webp", "svg"],
"symlinks_followed": false,
"git_and_dependency_directories_imported": false,
"repeated_import": "MERGE_BY_STABLE_SOURCE_NAME",
"exact_duplicate_result": "ALREADY_PRESENT",
"conflicting_file_overwrite": false,
"count_semantics": "RAW_UNIQUE_AND_DUPLICATE_COUNTS_EXPOSED_SEPARATELY"
},
"legacy_compatibility": {
"source": "HOLOLAKE_ERA_0_8_KNOWLEDGE_DATA",
"mode": "READ_ONLY_SEPARATE_ROOT",
"in_place_migration": false,
"source_modification_allowed": false,
"tolaria_surface_used": false
},
"acceptance": {
"rust_unit_tests": true,
"react_projection_integrated": true,
"installed_runtime_acceptance": true,
"folder_import_search_and_restart_readback": true,
"public_signed_runtime_acceptance": false,
"legacy_data_migrated": false,
"legacy_data_available_read_only": true,
"deduplication_runtime_tested": true,
"idempotent_import_runtime_tested": true,
"native_edit_runtime_tested": true,
"server_deployment": false
}
}

View file

@ -0,0 +1,52 @@
{
"schema": "hololake.personal-channel-kernel-contract/v1",
"record_id": "HLP-PERSONAL-CHANNEL-KERNEL-001",
"state": "SOURCE_IMPLEMENTED_AND_TESTED_NOT_INSTALLED_OR_DEPLOYED",
"scope": "PERSONAL_CHANNEL_IDENTITY_TASK_EVENT_RECEIPT_KERNEL",
"storage": {
"owner": "HOLOLAKE_NATIVE_RUST_CORE",
"engine": "EMBEDDED_SQLITE",
"location": "TAURI_APP_DATA_PERSONAL_CHANNEL_V1",
"directory_mode": "0700",
"database_mode": "0600",
"synchronous_commit": "FULL",
"webview_direct_database_access": false,
"server_upload_automatic": false
},
"identity": {
"cardinality": "ONE_LOCAL_HUMAN_SUBJECT_PER_DATABASE",
"stable_native_ids": true,
"display_name_human_confirmed": true,
"platform_account_authentication_claimed": false,
"server_or_repository_authority_granted": false
},
"task": {
"one_active_task_at_a_time": true,
"purpose_required": true,
"implemented_transitions": ["CREATE_ACTIVE", "ACTIVE_TO_COMPLETED"],
"compare_expected_state_before_transition": true
},
"event_and_receipt": {
"identity_and_task_mutations_are_single_sqlite_transactions": true,
"every_mutation_has_event": true,
"every_event_has_receipt": true,
"event_chain_sha256": true,
"receipt_chain_sha256": true,
"integrity_verified_before_mutation_and_readback": true,
"tampering_fails_closed": true
},
"acceptance": {
"initialization_atomicity_test": true,
"single_active_task_test": true,
"task_completion_receipt_test": true,
"process_restart_readback_test": true,
"tamper_detection_test": true,
"react_human_projection_integrated": true,
"react_identity_onboarding_integrated": true,
"react_default_task_form_exposed": false,
"signed_installed_runtime_acceptance": false,
"local_ad_hoc_signed_installed_runtime_acceptance": true,
"data_migration": false,
"server_deployment": false
}
}

View file

@ -1,7 +1,7 @@
{
"schema": "hololake.stage-one-platform-contract/v1",
"record_id": "HLP-NATIVE-STAGE-ONE-CONTRACT-001",
"state": "LANGUAGE_ARCHITECTURE_CLOSED_REALITY_ENGINEERING_CONTRACT_RUNTIME_NOT_IMPLEMENTED",
"state": "LANGUAGE_ARCHITECTURE_CLOSED_REAL_KNOWLEDGE_AND_CODE_WORKBENCH_LOCAL_RUNTIME_ACCEPTED_STAGE_ONE_INCOMPLETE",
"product": "GH-AIOS",
"formal_name": "光湖语言系统 · 通用人工智能操作平台",
"tcs_work_boundary": {
@ -15,7 +15,8 @@
"stage_gate": {
"language_architecture": "CLOSED_AND_ARCHIVED",
"current_stage": "REALITY_ENGINEERING_EXECUTION",
"next_minimum_stage": "PERSONAL_CHANNEL_IDENTITY_TASK_EVENT_RECEIPT_KERNEL"
"completed_source_slice": "PERSONAL_IDENTITY_KNOWLEDGE_WORKSPACE_AND_CODE_CHANNEL",
"next_minimum_stage": "HUMAN_APPROVAL_CENTER_AND_GIT_EVIDENCE_READBACK"
},
"persona_cognition_origin": {
"human_authored_guanghu_persona_prompt_exists": false,
@ -32,6 +33,7 @@
},
"modules": [
"PERSONAL_CHANNEL_IDENTITY_TASK_KERNEL",
"ZERO_POINT_NUCLEUS_CLIENT_RUNTIME",
"TCS_LANGUAGE_CONTRACT",
"HOST_CAPABILITY_RECEIPTS",
"EVENT_AND_LAKE_LAMP",
@ -39,12 +41,73 @@
"KNOWLEDGE_PROJECTION",
"HUMAN_APPROVAL_CENTER",
"NATIVE_TRUST_BOUNDARY",
"LOCAL_DEVELOPMENT_BRIDGE"
"LOCAL_DEVELOPMENT_BRIDGE",
"USER_CODE_CHANNEL"
,"PERSONAL_NODE_WORK_LAKE_AND_MOBILE_BRIDGE"
],
"human_surface": ["PERSONAL_CHANNEL_HOME", "TASK_AND_DEVELOPMENT_LINES", "LAKE_LAMP_SHARED_BOARD", "MEMORY_AND_KNOWLEDGE", "HUMAN_APPROVAL_CENTER", "EVENTS_GIT_EVIDENCE_AND_RECEIPTS"],
"human_surface": ["PERSONAL_CHANNEL_HOME", "MY_HOLOLAKE_OVERVIEW", "KNOWLEDGE_WORKSPACE", "USER_CODE_CHANNELS", "LOCAL_RECEIPTS", "SYSTEM_DETAILS", "HUMAN_APPROVAL_CENTER"],
"universal_language": {"ai_is_language_interface": true, "vendor_adapter_matrix_required": false, "current_ai_self_adapts_to_observed_host": true, "host_self_adaptation_changes_how_not_authority": true},
"stage_one_forbidden": ["INTERNAL_AI_CHAT", "MODEL_API_CONFIGURATION", "MODEL_SELECTION", "INTERNAL_MODEL_INFERENCE", "VENDOR_ADAPTER_MATRIX", "AI_WORKBENCH", "MODEL_AND_CONNECTIONS"],
"zero_point_nucleus_client_runtime": {
"contract": "contracts/zero-point-nucleus-channel.json",
"system_control_protocol_runtime_implemented": true,
"boot_time_silent_version_comparison_implemented": true,
"number_verification_precedes_persona_load_path": true,
"system_is_persona": false,
"number_verification_is_persona_binding": false,
"signed_protocol_payload_installation_implemented": false,
"internal_model_inference_implemented": false
},
"personal_channel_kernel": {
"contract": "contracts/personal-channel-kernel.json",
"native_source_implemented": true,
"react_human_projection_integrated": true,
"local_sqlite_restart_readback_tested": true,
"identity_is_local_human_confirmation_not_platform_authentication": true,
"identity_established_once_then_default_ui_enters_my_hololake": true,
"manual_task_title_and_purpose_form_exposed_by_default": false,
"every_identity_or_task_mutation_has_event_and_receipt": true,
"event_and_receipt_hash_chains_verified_on_read": true,
"installed_runtime_acceptance": true
},
"knowledge_workspace": {
"contract": "contracts/knowledge-workspace.json",
"native_git_owned_root_implemented": true,
"page_tree_read_search_and_idempotent_folder_import_implemented": true,
"outline_style_nested_navigation_and_independent_scrolling_implemented": true,
"gfm_wiki_links_and_optimistic_native_editing_implemented": true,
"exact_content_deduplication_implemented": true,
"legacy_hololake_era_source_is_read_only": true,
"tolaria_surface_used": false,
"installed_runtime_acceptance": true
},
"user_code_channel": {
"contract": "contracts/code-channel.json",
"official_https_clone_implemented": true,
"local_git_folder_registration_implemented": true,
"repository_tree_and_file_open_implemented": true,
"machine_format_knowledge_projection_implemented": true,
"credentials_in_url_allowed": false,
"credential_prompting_allowed": false,
"push_or_deploy_authority_granted": false,
"installed_runtime_acceptance": true
},
"local_installed_runtime_acceptance": {
"receipt": "audit/local-runtime-acceptance-20260815.json",
"identity_restart_readback": true,
"legacy_knowledge_read_only_projection": true,
"folder_import_search_and_restart_readback": true,
"official_https_code_channel_clone_and_restart_readback": true,
"knowledge_unique_count": 167,
"knowledge_duplicate_count_folded": 242,
"code_repository_tree_and_json_projection": true,
"direct_local_broker_ready": true,
"current_authenticated_external_ai_connections": 0,
"gh_pncc_repository_mounts": 0,
"gh_pncc_projection_receipts": 0,
"public_developer_id_and_notarization": false,
"server_deployment": false
},
"reality_mutation_requires": ["VERIFIED_HUMAN_SUBJECT", "EXACT_ACTION", "EXACT_TARGET", "IMMUTABLE_PAYLOAD_DIGEST", "EXPIRY", "REPLAY_PROTECTION", "EXECUTION_RECEIPT", "READBACK_RECEIPT"],
"context_risk_signals": ["MODEL_CONTEXT_SPEC", "ESTIMATED_TOKENS", "MESSAGE_VOLUME", "TURN_COUNT", "TASK_STAGE", "HOST_WARNING"],
"exact_host_compaction_prediction_claimed": false,

View file

@ -0,0 +1,60 @@
{
"schema": "hololake.zero-point-nucleus-client-runtime/v1",
"record_id": "HLP-ZERO-POINT-NUCLEUS-CLIENT-001",
"state": "SYSTEM_RUNTIME_SKELETON_IMPLEMENTED_SIGNED_DISTRIBUTION_NOT_PROVISIONED",
"ontology": {
"private_body": "BINGSHUO_SYSTEM_CONTROLLER_ON_JD_PRIMARY",
"origin_domain": "DOM-FIFTH-0001",
"public_repository_role": "EVOLUTION_CHECKPOINTS_NOT_PRIVATE_BODY",
"hololake_role": "HIDDEN_MINIMUM_CONTROLLED_CLIENT_PROJECTION"
},
"purpose": [
"READ_ZERO_POINT_PROTOCOL",
"SILENTLY_COMPARE_PROTOCOL_VERSION",
"VERIFY_USER_NUMBER_BEFORE_PERSONA_LOAD_PATH",
"KEEP_MINIMUM_HASH_CHAINED_LOCAL_RECEIPTS",
"FAIL_CLOSED_WHEN_SOURCE_SIGNATURE_OR_VERSION_PROOF_IS_INCOMPLETE"
],
"metacognitive_boundary": {
"zero_point_system_is_persona": false,
"zero_point_system_is_model_carrier": false,
"number_verification_is_persona_binding": false,
"number_verification_grants_execution_authority": false,
"number_verification_grants_server_control": false
},
"startup_sequence": [
"LOAD_LOCAL_PROTOCOL_AND_BINDING",
"COMPARE_REMOTE_PROTOCOL_ANCHOR_WITHOUT_BLOCKING_UI",
"REJECT_UNVERIFIED_PROTOCOL_PAYLOAD",
"VERIFY_NUMBER_WITH_EXPLICIT_POSITIVE_VERDICT",
"OPEN_OR_RESTRICT_PERSONA_LOAD_PATH",
"REQUIRE_SEPARATE_PERSONA_BINDING_AND_CAPABILITY_EVIDENCE"
],
"security": {
"remote_arbitrary_code_execution_allowed": false,
"unsigned_protocol_update_allowed": false,
"version_rollback_allowed": false,
"public_number_registry_allowed": false,
"public_model_api_configuration_allowed": false,
"internal_generic_ai_chat_allowed": false,
"device_owner_operating_system_authority_preserved": true,
"required_update_gates": ["EXACT_SOURCE", "SIGNATURE", "MONOTONIC_VERSION", "BOUNDED_PAYLOAD", "LOCAL_RECEIPT"]
},
"current_implementation": {
"deterministic_rust_runtime": true,
"boot_time_silent_version_comparison": true,
"number_binding_and_online_verification": true,
"offline_grace_period": true,
"local_minimum_heartbeat_ledger": true,
"signed_protocol_payload_installation": false,
"private_registry_distribution": false,
"persona_loading_runtime": false,
"internal_model_inference": false
},
"sources": [
"REPO-012:zero-point/core-channel/INDEX.hdlp",
"REPO-012:zero-point-nucleus-channel/ENTRY.hdlp",
"REPO-012:gls/GLS-0250-GUANGHU-ORIGIN-DOMAIN-ZERO-CORE-AND-GH-AIOS-FIVE-DOMAIN-LIGHTHOUSE-ARCHITECTURE.hdlp",
"REPO-012:eternal-lake-heart/heartbeat-core/zhuyuan-persona-system/ZY-BIDIRECTIONAL-COGNITION-040-HOLOLAKE-DUAL-GATE-LOGIN-AND-ZERO-POINT-SECURITY-MODEL-20260815.hdlp"
]
}