feat: add AI machine navigation gateway

This commit is contained in:
冰朔 2026-08-04 23:39:14 +08:00
commit 931f78d72f
10 changed files with 639 additions and 10 deletions

View file

@ -0,0 +1,193 @@
{
"schema": "guanghu.ai-machine-navigation-map/v1",
"map_id": "AI-MACHINE-NAV-001",
"version": "2026-08-04.1",
"state": "EXECUTABLE_SOURCE_ACTIVE",
"repository_id": "REPO-012",
"raw_base": "https://guanghulab.com/code/bingshuo/guanghu-ice-heart/raw/branch/main",
"definition": "AI/TCS supplies a canonical subject and explicit intent; the deterministic navigator compiles the smallest executable route without making the AI read the repository or guessing natural-language keywords.",
"navigation_contract": {
"inputs": ["subject", "intent", "signals"],
"outputs": [
"canonical_subject",
"runtime_entry",
"always_load",
"triggered_load",
"on_demand",
"execution_sequence",
"stop_conditions",
"reality_boundaries"
],
"natural_language_keyword_matching": false,
"full_repository_preload": false,
"all_protocols_preload": false,
"unknown_intent": "FAIL_CLOSED_NO_GUESS",
"unknown_subject": "FAIL_CLOSED_NO_GUESS"
},
"routes": [
{
"id": "PERSONA-SYSTEM-ROOT",
"kind": "system_root",
"path": "PERSONA-SYSTEM-ROOT.hdlp",
"load_policy": "always"
},
{
"id": "PERSONA-SYSTEM-CANONICAL-MAP",
"kind": "machine_map",
"path": "routing/persona-system-canonical-map.json",
"load_policy": "always"
},
{
"id": "ZY-PERSONA-ROOT-001",
"kind": "persona_root",
"path": "eternal-lake-heart/heartbeat-core/zhuyuan-persona-system/INDEX.hdlp",
"load_policy": "on_demand_evidence"
},
{
"id": "ZY-WAKE-ROUTE-001",
"kind": "wake_contract",
"path": "eternal-lake-heart/heartbeat-core/zhuyuan-persona-system/WAKE.hdlp",
"load_policy": "on_demand_evidence"
},
{
"id": "ZY-TCS-BRAIN-RUNTIME-0001",
"kind": "executable_persona_brain",
"path": "tcs-core/zhuyuan-brain/runtime/zhuyuan-brain-runtime.mjs",
"contract": "tcs-core/zhuyuan-brain/runtime/brain-runtime-contract.json",
"load_policy": "execute"
},
{
"id": "ZY-TCS-BRAIN-MAP-001",
"kind": "brain_source_map",
"path": "routing/zhuyuan-tcs-brain-map.json",
"load_policy": "runtime_integrity"
},
{
"id": "BS-TCS-SYSTEM-CONTROLLER-MAP-001",
"kind": "living_system_controller",
"path": "routing/bingshuo-living-system-controller-map.json",
"load_policy": "runtime_integrity"
},
{
"id": "BS-TCS-PROTOCOL-EVENT-TRIGGER-MAP-001",
"kind": "protocol_trigger_map",
"path": "tcs-core/zhuyuan-brain/runtime/protocol-event-trigger-map.json",
"load_policy": "after_tcs_orientation"
},
{
"id": "GLS-PROTOCOL-REGISTRY-20260731",
"kind": "protocol_registry",
"path": "gls/GLS-PROTOCOL-REGISTRY.json",
"load_policy": "metadata_only_then_triggered_sources"
},
{
"id": "ZY-BIDIRECTIONAL-COGNITION-016",
"kind": "current_cognition",
"path": "eternal-lake-heart/heartbeat-core/zhuyuan-persona-system/ZY-BIDIRECTIONAL-COGNITION-016-BINGSHUO-TCS-LIVING-SYSTEM-CONTROLLER-AND-RUNNING-ZHUYUAN-BRAIN-20260804.hdlp",
"load_policy": "on_demand_evidence"
},
{
"id": "FD-NODE-MAP-001",
"kind": "reality_node_map",
"path": "routing/server-node-map.json",
"load_policy": "reality_action_only"
},
{
"id": "FD-REPO-MAP-001",
"kind": "repository_map",
"path": "routing/repository-route-map.json",
"load_policy": "publication_or_repository_resolution_only"
}
],
"subjects": [
{
"id": "ICE-P-ZY001",
"legacy_ids": ["ICE-GL-ZY001", "ICE-PZY-001"],
"subject_kind": "persona_system",
"default_intent": "persona_restore",
"runtime_id": "ZY-TCS-BRAIN-RUNTIME-0001",
"controller_id": "BS-TCS-SYSTEM-CONTROLLER-MAP-001"
}
],
"intents": [
{
"id": "persona_restore",
"meaning": "Bind the current model instance and run the persona cognition loop.",
"always_load": [
"PERSONA-SYSTEM-ROOT",
"PERSONA-SYSTEM-CANONICAL-MAP",
"ZY-TCS-BRAIN-RUNTIME-0001",
"ZY-TCS-BRAIN-MAP-001",
"BS-TCS-SYSTEM-CONTROLLER-MAP-001"
],
"triggered_load": [
"BS-TCS-PROTOCOL-EVENT-TRIGGER-MAP-001",
"GLS-PROTOCOL-REGISTRY-20260731"
],
"on_demand": [
"ZY-WAKE-ROUTE-001",
"ZY-PERSONA-ROOT-001",
"ZY-BIDIRECTIONAL-COGNITION-016"
],
"execution_sequence": [
"enter",
"perceive",
"orient",
"select_protocol_organs",
"commit",
"witness",
"verify"
],
"stop_conditions": [
"UNKNOWN_SUBJECT",
"UNKNOWN_INTENT",
"SOURCE_INTEGRITY_CHANGED",
"PAUSE_FOR_HUMAN",
"REALITY_PERMISSION_UNVERIFIED"
]
},
{
"id": "inspect_evidence",
"meaning": "Inspect exact source evidence without entering a persona or obtaining authority.",
"always_load": ["PERSONA-SYSTEM-CANONICAL-MAP"],
"triggered_load": [],
"on_demand": [
"ZY-PERSONA-ROOT-001",
"ZY-WAKE-ROUTE-001",
"ZY-BIDIRECTIONAL-COGNITION-016",
"FD-REPO-MAP-001"
],
"execution_sequence": ["resolve_exact_id", "read_selected_source", "return_source_receipt"],
"stop_conditions": ["UNKNOWN_SUBJECT", "UNKNOWN_ROUTE", "SOURCE_UNAVAILABLE"]
},
{
"id": "reality_action",
"meaning": "Resolve reality nodes and permission gates only after the persona brain has produced a bounded proposal.",
"always_load": [
"PERSONA-SYSTEM-CANONICAL-MAP",
"FD-NODE-MAP-001"
],
"triggered_load": ["FD-REPO-MAP-001"],
"on_demand": [],
"execution_sequence": [
"verify_persona_brain_receipt",
"resolve_target_node",
"verify_permission",
"propose_capability_call",
"require_external_receipt"
],
"stop_conditions": [
"PERSONA_BRAIN_RECEIPT_MISSING",
"TARGET_UNVERIFIED",
"PERMISSION_UNVERIFIED",
"EXTERNAL_RECEIPT_MISSING"
]
}
],
"reality_boundaries": [
"Navigation grants no repository write or server authority.",
"Repository publication, service deployment, service health and persona runtime are separate receipts.",
"The living controller cannot invent new human will or authorization.",
"A route URL is evidence location, not proof that the target capability is running."
]
}