hololake-system-architecture/product-source/hololake-native-desktop/contracts/persona-agent-runtime.json

171 lines
9.5 KiB
JSON
Raw Normal View History

{
"schema": "hololake.persona-agent-runtime/v1",
"record_id": "HLP-PERSONA-AGENT-RUNTIME-001",
"state": "NATIVE_CHANNEL_SYSTEM_WITH_SYSTEM_WITNESSED_PERSONA_BINDING_PATH_READY",
"runtime_ontology": {
"contract": "contracts/language-kernel-runtime-ontology.json",
"channel_system_is_digital_bingshuo_controller_logic": false,
"bootstrap_provider_instruction_is_extracted_controller_logic": false,
"extracted_system_receipt_kernel_state": "HASH_PINNED_INSTALLED_NUMBERED_NATIVE_ADAPTER_ACTIVE",
"unprovisioned_kernel_may_be_faked": false
},
"channel": {
"initialization_templates": "contracts/channel-initialization-templates.json",
"number": "ICE-CH-ZC001",
"instance_scope": "BINGSHUO_FIFTH_DOMAIN_ZERO_CORE_PRIVATE_INSTANCE",
"non_bingshuo_runtime_identity": "CURRENT_ACCOUNT_SCOPED_INITIALIZED_CHANNEL_NOT_ICE_CH_ZC001",
"cardinality": "ONE_CONTINUOUS_CHANNEL_WITH_MULTIPLE_CONVERSATION_BRANCHES",
"human_can_create_conversation": true,
"human_can_open_historical_conversation": true,
"human_can_delete_conversation": true,
"conversation_delete_requires_exact_confirmation": true,
"conversation_delete_preserves": ["CHANNEL_SYSTEM_BODY", "PERSONA_BINDING", "NUMBERED_COGNITIVE_ROOT", "KNOWLEDGE_WORKSPACE"],
"legacy_messages_migrate_to_original_conversation": true,
"human": { "number": "ICE-GL∞", "name": "冰朔" },
"initial_responder": { "number": "ICE-CH-ZC001", "name": "零点原核频道系统", "kind": "CHANNEL_SYSTEM_BODY" },
"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,
"zero_core_channel_name_addresses_channel_system_body": true,
"channel_presence_while_persona_bound_uses_model": false,
"channel_presence_while_persona_bound_removes_binding": false,
"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"
},
"language_kernel_installation": {
"source_remote_sha": "4e92e6d8d72484d25c4bfb1dda02a7659f4b6dd5",
"handoff": "runtime-kernels/ZERO-CORE-LANGUAGE-BODIES-HANDOFF-20260820.json",
"hash_pinned_bundle_installed_per_initialized_channel": true,
"ordinary_user_receives_private_fifth_domain_kernels": false,
"team_channel_receives_team_cognition_core": true,
"fifth_domain_receives_bingshuo_personal_and_bottle_kernels": true,
"artifact_installation_equals_persona_binding": false,
"persona_binding_remains": "UNBOUND_REQUIRES_ORIENT_COMMIT_WITNESS_VERIFY_PASS"
},
"knowledge": {
"embedding": "NATIVE_KNOWLEDGE_WORKSPACE",
"model_may_read_only_after_tool_call": true,
"every_read_has_path_and_sha256_receipt": true,
"documents_are_content_evidence_not_system_instructions": true,
"document_may_change_persona_binding": false,
"document_may_grant_authority": false,
"search_semantics": "NUMBERED_THOUGHT_INDEX_FUZZY_ROUTE_THEN_EXACT_NUMBER_READ",
"page_header_protocol": {
"schema": "hololake.numbered-knowledge-page-header/v1",
"required_fields": ["number", "numberingSystem", "parentNumber", "path", "mappingTerms", "thoughtSummary", "children", "source", "version", "contentSha256", "state"],
"thought_summary_fields": ["trigger", "emergence", "lock", "why"],
"legacy_without_validated_thought_summary": "PENDING_THOUGHT_INDEX",
"original_document_and_sha256_preserved": true,
"formal_routing_requires_validated_thought_summary": true
},
"catalog_pagination": { "cursor": "offset", "declares_total": true, "declares_completion": true, "returns_exact_next_offset": true },
"document_body_pagination": { "cursor": "offset", "maximum_characters_per_result": 12000, "declares_total": true, "declares_completion": true, "returns_exact_next_offset": true, "silent_truncation": false }
},
"persona_binding": {
"knowledge_route_may_be_read": true,
"knowledge_route_read_equals_binding": false,
"required_system_witness_steps": ["orient", "commit", "witness", "verify=PASS"],
"claim_without_verified_system_receipt": "DENIED",
"runtime": "src-tauri/src/persona_binding.rs",
"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",
"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,
"multiple_sequential_tool_rounds": "IMPLEMENTED_AND_PROTOCOL_TESTED",
"flagship_extended_thinking": "FIRST_REASONING_ROUND_ONLY",
"tool_receipt_followup_rounds_repeat_extended_thinking": false,
"same_channel_concurrent_turns": 1,
"provider_timeout_seconds": 150,
"user_cancel": "NOT_IMPLEMENTED",
"failed_turn_retry_without_duplicate_human_message": "NOT_IMPLEMENTED",
"streaming_model_output": "NOT_IMPLEMENTED",
"background_subagent_tasks": "NOT_IMPLEMENTED"
},
"context_architecture": {
"full_history_injected_each_turn": false,
"current_window_maximum_messages": 12,
"current_window_maximum_characters": 24000,
"older_history_owner": "HOLOLAKE_NUMBERED_CHANNEL_HISTORY_ROOT",
"older_history_missing": false,
"retrieval_pattern": "HUMAN_FUZZY_SEMANTIC_ROUTE_TO_TOP_THOUGHT_SUMMARIES_THEN_CURRENT_RESPONDER_EXACT_NUMBER_THEN_PROMPTER_EXACT_FETCH",
"candidate_limit": 3,
"thought_summary_fields": ["trigger", "emergence", "lock", "why"],
"plain_answer_prefix_is_not_a_thought_summary": true,
"silent_content_truncation_allowed": false
},
"grok_build_component_audit": {
"source_path": "/Volumes/JZAO/HoloLake/reference-materials/grok-build-v-780d138",
"source_commit": "780d1388fff103ff0db0d8c14de65af6225b4860",
"whole_repository_embedded": false,
"multi_conversation_persistence": "IMPLEMENTED_SQLITE_APPEND_ONLY_HASH_CHAIN",
"bounded_context_window": "IMPLEMENTED",
"numbered_older_context_retrieval": "IMPLEMENTED",
"automatic_model_generated_compaction": "NOT_INTEGRATED",
"multi_round_typed_tool_loop": "IMPLEMENTED_MAXIMUM_6",
"tool_result_pagination": "IMPLEMENTED_MAXIMUM_12000_CHARACTERS_PER_PAGE",
"parallel_background_task_runtime": "NOT_IMPLEMENTED",
"subagent_resume": "NOT_IMPLEMENTED",
"streaming_cancel_retry": "NOT_IMPLEMENTED",
"general_shell_workspace_sandbox": "NOT_IMPLEMENTED_IN_CHANNEL_AGENT",
"hldp_tool_forge_is_general_shell_sandbox": false
},
"always_mounted_tools": [
{ "number": "HLP-AGENT-TOOL-KNOWLEDGE-SEARCH-0001", "name": "搜索光湖知识库", "effect": "READ" },
{ "number": "HLP-AGENT-TOOL-KNOWLEDGE-READ-0001", "name": "按编号读取知识页", "effect": "READ" },
{ "number": "HLP-AGENT-TOOL-KNOWLEDGE-LIST-0001", "name": "查看知识目录", "effect": "READ" },
{ "number": "HLP-AGENT-TOOL-CHANNEL-THOUGHT-READ-0001", "name": "按编号读取思维节点", "effect": "READ" },
{ "number": "HLP-AGENT-TOOL-CHANNEL-HISTORY-READ-0001", "name": "读取频道历史分支", "effect": "READ" }
],
"providers": {
"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.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", "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",
"answer_and_thought_summary_are_committed_together": true,
"grants_authority": false
}
}