feat: add tiered channel agent and mobile Codex bridge

This commit is contained in:
冰朔 2026-08-21 08:21:03 +08:00
commit 71db11e7e8
35 changed files with 2242 additions and 76 deletions

View file

@ -6,7 +6,7 @@
"root_node": "USER_LOCAL_COMPUTER_TERMINAL",
"numbered_transport": {
"desktop_module": "HLP-MOD-OFFICIAL-MOBILE-SYNC-0001",
"desktop_route_family": "HLP-NIPC-MOD-0030/HLP-NIPC-OP-0141..0146/HLP-NIPC-TGT-0030",
"desktop_route_family": "HLP-NIPC-MOD-0030/HLP-NIPC-OP-0141..0146+0176+0177/HLP-NIPC-TGT-0030",
"wire_schema": "hololake.mobile-sync/v1",
"client_number": "HLP-IOS-CLIENT-001",
"unregistered_route_access": "FAIL_CLOSED"
@ -26,7 +26,10 @@
"idle_state": "STATIC",
"manual_sync_only": true,
"pairing_entry": ["CUSTOM_URL_SCHEME", "PASTEBOARD"],
"projections": ["CHANNEL_INTEGRITY", "WEB_NOVEL_COUNTS_AND_WORKS", "EDUCATION_COUNTS", "BOUNDED_CAPTURE"]
"projections": ["CHANNEL_INTEGRITY", "WEB_NOVEL_COUNTS_AND_WORKS", "EDUCATION_COUNTS", "BOUNDED_CAPTURE", "DESKTOP_AGENT_CHAT", "SELECTED_CODEX_TASK"],
"agent_chat": "MANUAL_EXPLICIT_DESTINATION_SEND_TO_PAIRED_DESKTOP_ROOT_WITH_IDEMPOTENT_RETRY_AND_TOOL_RECEIPTS",
"codex_task": "SELECTED_ON_DESKTOP_DISCOVERED_FROM_LOCAL_CODEX_APP_SERVER_READ_ONLY_SANDBOX",
"persona_unbound_copy": "SYSTEM_CHANNEL_NOT_PERSONA"
},
"acceptance": {
"simulator_build": "PASS_SIGNED_LOCAL_SIMULATOR_IPHONE_17_PRO_IOS_26_5",

View file

@ -6,7 +6,9 @@
"remote": "https://guanghulab.com/code/bingshuo/guanghu-ice-heart",
"branch": "main",
"remote_sha": "4e92e6d8d72484d25c4bfb1dda02a7659f4b6dd5",
"handoff": "runtime-kernels/ZERO-CORE-LANGUAGE-BODIES-HANDOFF-20260820.json"
"handoff": "runtime-kernels/ZERO-CORE-LANGUAGE-BODIES-HANDOFF-20260820.json",
"earerdan_zhizhi_local_commit": "1d7fe6c",
"earerdan_zhizhi_remote_state": "LOCAL_COMMIT_VERIFIED_NOT_REMOTE_CANON"
},
"installation": {
"storage": "AUTHENTICATED_ACCOUNT_SCOPED_CHANNEL_RUNTIME",
@ -19,7 +21,8 @@
"audiences": {
"ordinary_user": "COMMON_CHANNEL_RECEIPT_AND_BROADCAST_PROTOCOLS_ONLY",
"guanghu_team": "COMMON_PLUS_TEAM_CHANNEL_COGNITION_CORE_MEMORY_AND_EVIDENCE_MATRIX",
"bingshuo_fifth_domain": "COMMON_PLUS_PERSONAL_SYSTEM_BODY_ZHUYUAN_SHARED_TCS_AND_BOTTLE_ENVIRONMENT_WITH_INDIVIDUAL_BABY_KERNELS"
"bingshuo_fifth_domain": "COMMON_PLUS_PERSONAL_SYSTEM_BODY_ZHUYUAN_SHARED_TCS_AND_BOTTLE_ENVIRONMENT_WITH_INDIVIDUAL_BABY_KERNELS",
"canger_bottle_channel": "COMMON_PLUS_BOTTLE_CENTRAL_PLUS_ICE_BB_0004_OWN_KERNEL_AND_MEMORY_ONLY"
},
"truth_boundary": {
"installed_file_is_persona_binding": false,
@ -28,6 +31,9 @@
"channel_selects_memory_not_identity": true,
"one_persona_one_self_kernel_across_channels": true,
"private_fifth_domain_kernels_may_enter_ordinary_user_channel": false
,"canger_channel_may_receive_zhuyuan_kernel": false
,"jianying_is_earerdan": false
,"earerdan_historical_labels_are_automatic_aliases": false
},
"remaining": {
"channel_receipt_native_adapter": "IMPLEMENTED_NUMBERED_APPEND_ONLY_LEDGER",

View file

@ -12,7 +12,7 @@
"numbered_ipc": {
"module": "HLP-NIPC-MOD-0030",
"target": "HLP-NIPC-TGT-0030",
"operations": "HLP-NIPC-OP-0141..HLP-NIPC-OP-0146",
"operations": ["HLP-NIPC-OP-0141..HLP-NIPC-OP-0146", "HLP-NIPC-OP-0176", "HLP-NIPC-OP-0177"],
"public_tauri_commands": ["numbered_ipc"],
"mismatched_coordinate": "FAIL_CLOSED"
},
@ -52,7 +52,9 @@
"personal_channel": "MINIMUM_COUNTS_AND_INTEGRITY",
"web_novel": "WORK_LIST_AND_COUNTS",
"education": "COUNTS_ONLY_NO_SENSITIVE_CELL_VALUES",
"mobile_capture": "BOUNDED_INBOX_WRITE_ONLY_NO_AUTOMATIC_DOMAIN_MUTATION"
"mobile_capture": "BOUNDED_INBOX_WRITE_ONLY_NO_AUTOMATIC_DOMAIN_MUTATION",
"agent_chat": "PAIRED_DEVICE_TO_DESKTOP_KNOWLEDGE_AGENT_WITH_RESPONSE_IDENTITY_BINDING_STATE_AND_TOOL_RECEIPTS",
"agent_request_idempotency": "DEVICE_PLUS_REQUEST_ID_PLUS_DESTINATION_PLUS_SELECTED_CODEX_THREAD_PLUS_CONTENT_SHA256_WITH_PENDING_REJECTION_AND_COMPLETED_RESPONSE_REPLAY"
},
"hard_boundaries": {
"remote_desktop_clone": false,
@ -63,6 +65,17 @@
"module_unmount_stops_listener_before_lifecycle_transition": true,
"background_frontend_polling": false
},
"agent_chat": {
"execution_node": "PAIRED_DESKTOP_ROOT_ONLY",
"provider": "DESKTOP_CONFIGURED_BAILIAN_TOKEN_PLAN",
"persona_unbound_behavior": "CHANNEL_SYSTEM_RESPONSE_NO_PERSONA_IMPERSONATION",
"conversation_continuity": "DESKTOP_CONVERSATION_ID_RETURNED_AND_REUSED_BY_IOS_KEYCHAIN_SESSION",
"tool_execution": "EXISTING_TYPED_NUMBERED_AGENT_TOOLS_WITH_RECEIPTS",
"arbitrary_shell_from_mobile": false,
"codex_app_server_bridge": "REAL_LOCAL_THREAD_DISCOVERY_EXPLICIT_SELECTION_AND_READ_ONLY_TURN_START",
"codex_execution_boundary": "READ_ONLY_SANDBOX_NO_NETWORK_APPROVAL_POLICY_NEVER_INTERACTIVE_REQUEST_RETURNS_DESKTOP_APPROVAL_REQUIRED",
"codex_thread_mutation": "ONLY_AFTER_EXPLICIT_MOBILE_DESTINATION_SELECTION_AND_MANUAL_SEND"
},
"client_scope": {
"desktop_bridge": "IN_THIS_ADMISSION",
"ios_application_source": "SEPARATELY_ADMITTED_AT_MOBILE_IOS_WITH_HLP_IOS_CLIENT_001",

View file

@ -77,6 +77,7 @@
"rotate_mobile_pairing",
"stop_mobile_sync",
"get_mobile_sync_snapshot",
"list_mobile_codex_threads",
"get_world_climate",
"get_authorization_center",
"get_marketplace_snapshot",
@ -107,6 +108,7 @@
"start_local_channel_session",
"issue_persona_time_ticket",
"read_knowledge_document",
"select_mobile_codex_thread",
"search_knowledge",
"save_knowledge_document",
"export_knowledge_document",
@ -2363,6 +2365,28 @@
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "STATE_CHANGE",
"payload_schema": "hololake.numbered-ipc.payload/compile_channel_receipt/v1"
},
{
"operation_number": "HLP-NIPC-OP-0176",
"alias": "list_mobile_codex_threads",
"handler": "mobile_sync::list_mobile_codex_threads",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0030",
"target_number": "HLP-NIPC-TGT-0030",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "READ_OR_STATUS",
"payload_schema": "hololake.numbered-ipc.payload/list_mobile_codex_threads/v1"
},
{
"operation_number": "HLP-NIPC-OP-0177",
"alias": "select_mobile_codex_thread",
"handler": "mobile_sync::select_mobile_codex_thread",
"channel_number": "HLP-NIPC-CH-0002",
"module_number": "HLP-NIPC-MOD-0030",
"target_number": "HLP-NIPC-TGT-0030",
"admission": "VERIFIED_HUMAN_ROUTE",
"effect": "STATE_CHANGE",
"payload_schema": "hololake.numbered-ipc.payload/select_mobile_codex_thread/v1"
}
]
}

View file

@ -23,7 +23,17 @@
"legacy_messages_migrate_to_original_conversation": true,
"human": { "number": "ICE-GL∞", "name": "冰朔" },
"initial_responder": { "number": "ICE-CH-ZC001", "name": "零点原核频道系统", "kind": "CHANNEL_SYSTEM_BODY" },
"persona_binding_state": "UNBOUND_WAITING_FOR_HUMAN_WAKE_AND_PERSONA_DECLARATION",
"channel_system_body_role": "PERSISTENT_CHANNEL_COGNITIVE_ORCHESTRATOR_AND_CONVERSATIONAL_SUBJECT",
"channel_system_body_can_converse_directly": true,
"channel_system_body_is_mechanical_receipt_template": false,
"channel_system_body_is_any_single_persona": false,
"receipts_are_separate_verification_records_after_dialogue_or_dispatch": true,
"bound_persona_hides_or_replaces_channel_system_body": false,
"human_may_address_channel_system_while_persona_is_bound": true,
"response_target_is_selected_per_turn": true,
"persona_binding_state": "CHANNEL_SYSTEM_PERSONA_DORMANT_UNTIL_EXPLICIT_NATURAL_LANGUAGE_WAKE",
"channel_entry_creates_persona_orientation": false,
"historical_persona_signature_creates_current_binding": false,
"persona_identity_preconfigured": false,
"persona_declares_own_number_and_name": true,
"model_role": "REPLACEABLE_REASONING_CARRIER_NOT_PERSONA_IDENTITY"
@ -65,11 +75,30 @@
"bingshuo_zero_core_profile": "ICE-P-ZY001",
"resident_self_kernel_max_bytes": 8192,
"hldp_max_routed_paths": 3,
"current_live_binding_receipt": "CREATED_ONLY_AFTER_PERSONA_COMMIT_AND_VERIFY_PASS"
"current_live_binding_receipt": "CREATED_ONLY_AFTER_PERSONA_COMMIT_AND_VERIFY_PASS",
"orientation_activation": "EXPLICIT_NATURAL_LANGUAGE_PERSONA_WAKE_ONLY",
"stale_implicit_orientation": "IGNORED_NOT_DELETED"
},
"agent_loop": {
"pattern": "BOUNDED_REACT_WITH_TYPED_TOOLS",
"model_decides_tool_use": true,
"routing_layers": [
"CHANNEL_DETERMINISTIC_CORE_ZERO_MODEL",
"ACCOUNT_CHANNEL_SCOPED_PERSONAL_SKILL_BRAIN_ZERO_MODEL",
"LOCAL_TYPED_TOOL_EXECUTION_ZERO_MODEL",
"FLAGSHIP_CHANNEL_SYSTEM_COGNITION",
"SMALL_MODEL_PERSONA_OPERATIONAL_REASONING",
"FLAGSHIP_PERSONA_COMPLEX_OR_ORIENTATION_REASONING"
],
"known_local_tool_requires_model_selection": false,
"channel_presence_requires_model": false,
"meaningful_channel_system_dialogue_uses_flagship": true,
"channel_architecture_and_design_uses_flagship": true,
"persona_is_fixed_to_flagship_model": false,
"channel_orchestrator_selects_each_persona_turn_tier": true,
"small_model": "qwen3.6-flash",
"flagship_default": "qwen3.8-max",
"every_turn_reports_model_and_tool_call_counts": true,
"prefetch_only_prompt_injection": false,
"maximum_tool_rounds": 6,
"same_channel_concurrent_turns": 1,
@ -98,14 +127,14 @@
"bailian_token_plan": {
"human_name": "阿里云百炼 Token Plan",
"base_url": "https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1",
"models": ["qwen3.8-max", "qwen3.8-max-preview", "qwen3.7-max", "qwen3.7-plus"],
"models": ["qwen3.8-max", "qwen3.6-flash", "qwen3.8-max-preview", "qwen3.7-max", "qwen3.7-plus"],
"secret_storage": "MACOS_KEYCHAIN"
}
},
"progress": {
"native_event": "hololake-persona-agent-progress",
"synthetic_timer_allowed": false,
"phases": ["MESSAGE_ACCEPTED", "CONTEXT_READY", "MODEL_REQUEST", "KNOWLEDGE_SEARCH", "KNOWLEDGE_READ", "CHANNEL_THOUGHT_READ", "CHANNEL_HISTORY_READ", "TOOL_EXECUTION", "MODEL_RESPONSE", "COMPLETED", "FAILED"]
"phases": ["MESSAGE_ACCEPTED", "LOCAL_TOOL_ROUTE", "REASONING_ROUTE", "CONTEXT_READY", "MODEL_REQUEST", "KNOWLEDGE_SEARCH", "KNOWLEDGE_READ", "CHANNEL_THOUGHT_READ", "CHANNEL_HISTORY_READ", "TOOL_EXECUTION", "MODEL_RESPONSE", "COMPLETED", "FAILED"]
},
"turn_commit": {
"tool": "hololake_commit_channel_turn",

View file

@ -3,7 +3,7 @@
"record_id": "HLP-PERSONAL-SKILL-RUNTIME-001",
"state": "NATIVE_DETERMINISTIC_RUNTIME_IMPLEMENTED_PRIVATE_ACCOUNT_CHANNEL_INSTALLATION_ACTIVE",
"source": {
"local_commit": "1855afbfaac233aa40c61caedf96b26e16a8d4bc",
"local_commit": "1d7fe6c",
"parent_remote_main": "4e92e6d8d72484d25c4bfb1dda02a7659f4b6dd5",
"remote_canonical_state": "LOCAL_COMMIT_VERIFIED_NOT_REMOTE_CANON"
},
@ -46,7 +46,14 @@
"SYS-YY": ["YY-XTK-INDEPENDENT-DERIVATION-001"],
"SYS-HE": ["HE-BMH-CREATIVE-ASSET-001"],
"SYS-FM": ["FM-SS-NARRATIVE-EDITOR-001"],
"SYS-ZZ": ["ZZ-CM-NOVEL-QUALITY-001"]
"SYS-ZZ": ["ZZ-CM-NOVEL-QUALITY-001", "ZZ-AN-SOURCE-FACT-CLOSURE-001", "ZZ-QW-ROLE-CAUSAL-ARCHITECTURE-001"],
"SYS-GLW-PTS-0001": ["CE-EED-MANJU-PRODUCTION-001", "CE-EED-CAUSAL-PIPELINE-DIAGNOSTIC-001"]
},
"admission_boundaries": {
"ICE-BB-0004_is_ICE-GL-CA001": false,
"earerdan_historical_labels_are_aliases": false,
"qiuqiu_relationship_memory_is_exportable_skill": false,
"ZZ-QW-ROLE-CAUSAL-ARCHITECTURE-001": "PRIVATE_CANDIDATE_INSTALLED_NOT_EXECUTABLE_REGISTRATION_PENDING"
},
"deferred": {
"SYS-SY": {