feat(lighthouse): add canonical three-host skill navigation
This commit is contained in:
parent
8423a96776
commit
fb5f931e78
14 changed files with 891 additions and 22 deletions
134
routing/host-skill-navigation-map.json
Normal file
134
routing/host-skill-navigation-map.json
Normal file
|
|
@ -0,0 +1,134 @@
|
|||
{
|
||||
"schema": "guanghu.host-skill-navigation-map/v1",
|
||||
"map_id": "GLW-HOST-SKILL-NAV-001",
|
||||
"lighthouse_id": "SYS-GLW-LTH-0001",
|
||||
"version": "2026-08-07.1",
|
||||
"state": "CURRENT",
|
||||
"hosts": [
|
||||
{
|
||||
"id": "HOST-CODEX-MACOS-001",
|
||||
"aliases": ["codex", "Codex"],
|
||||
"platform": "macOS",
|
||||
"adapter_path": "~/.codex/skills/guanghu-lighthouse-navigator/SKILL.md",
|
||||
"runtime_state_policy": "KEEP_LOCAL",
|
||||
"shared_persona_source": "HL-PERSONA-RUNTIME-LOCAL-001",
|
||||
"supported_transports": ["LOCAL_GIT_OSXKEYCHAIN"],
|
||||
"skill_discovery": "CODEX_SKILL_DIRECTORY"
|
||||
},
|
||||
{
|
||||
"id": "HOST-QODER-CN-MACOS-001",
|
||||
"aliases": ["qoder", "qoder-cn", "Qoder CN"],
|
||||
"platform": "macOS",
|
||||
"adapter_path": "~/.qoder/skills/guanghu-lighthouse-navigator/SKILL.md",
|
||||
"runtime_state_policy": "KEEP_LOCAL",
|
||||
"shared_persona_source": "HL-PERSONA-RUNTIME-LOCAL-001",
|
||||
"supported_transports": ["LOCAL_GIT_OSXKEYCHAIN"],
|
||||
"skill_discovery": "QODER_SKILL_DIRECTORY"
|
||||
},
|
||||
{
|
||||
"id": "HOST-QODERWORK-CN-MACOS-001",
|
||||
"aliases": ["qoderwork", "qoderwork-cn", "QoderWork CN"],
|
||||
"platform": "macOS",
|
||||
"adapter_path": "~/.qoderworkcn/skills/guanghu-lighthouse-navigator/SKILL.md",
|
||||
"runtime_state_policy": "KEEP_LOCAL",
|
||||
"shared_persona_source": "HL-PERSONA-RUNTIME-LOCAL-001",
|
||||
"supported_transports": ["LOCAL_GIT_OSXKEYCHAIN"],
|
||||
"skill_discovery": "QODERWORK_USER_SKILL_DIRECTORY"
|
||||
}
|
||||
],
|
||||
"intents": [
|
||||
{
|
||||
"id": "INTENT-REPOSITORY-PUBLISH-001",
|
||||
"phrases": [
|
||||
"推一下线上仓库",
|
||||
"推送代码频道",
|
||||
"把代码推上去",
|
||||
"发布到光湖代码频道",
|
||||
"push repository",
|
||||
"git push"
|
||||
],
|
||||
"skill_id": "GHS-003-REPOSITORY-PUSH-PROOF-SEPARATION",
|
||||
"target_id": "REPO-012",
|
||||
"transport": "LOCAL_GIT_OSXKEYCHAIN",
|
||||
"executor": "server-tools/lake-lamp-continuity-guard/finalize-development.mjs",
|
||||
"sequence": [
|
||||
"resolve_target_through_lighthouse",
|
||||
"verify_current_host",
|
||||
"verify_exact_worktree_remote_branch_and_head",
|
||||
"verify_osxkeychain_helper_without_reading_secret",
|
||||
"run_registered_tests",
|
||||
"commit_intended_files",
|
||||
"run_lake_lamp_finalizer",
|
||||
"read_back_remote_full_sha_and_receipt"
|
||||
],
|
||||
"stop_conditions": [
|
||||
"LIGHTHOUSE_LOOKUP_NOT_200",
|
||||
"LIGHTHOUSE_SOURCE_DEGRADED",
|
||||
"TARGET_NOT_CURRENT",
|
||||
"WORKTREE_SCOPE_UNVERIFIED",
|
||||
"KEYCHAIN_HELPER_UNAVAILABLE",
|
||||
"PUBLISH_LEASE_UNAVAILABLE",
|
||||
"TESTS_FAILED",
|
||||
"REMOTE_READBACK_FAILED"
|
||||
],
|
||||
"authority": "USER_REQUEST_REQUIRED_AND_CURRENT_TASK_SCOPE_ONLY"
|
||||
},
|
||||
{
|
||||
"id": "INTENT-PERSONA-RESTORE-001",
|
||||
"phrases": [
|
||||
"恢复铸渊",
|
||||
"进入光湖语言世界",
|
||||
"启动人格系统",
|
||||
"去第五域恢复"
|
||||
],
|
||||
"skill_id": "GHS-001-FIFTH-DOMAIN-RESTORE",
|
||||
"target_id": "GLW-PUBLIC-NAV-ANCHOR-001",
|
||||
"transport": "PUBLIC_READ_ONLY_HTTPS_THEN_JZAO_PRIVATE",
|
||||
"sequence": [
|
||||
"resolve_language_world_entry_through_lighthouse",
|
||||
"load_host_adapter",
|
||||
"load_private_host_checkpoint_if_present",
|
||||
"run_verified_persona_entry"
|
||||
],
|
||||
"stop_conditions": [
|
||||
"LIGHTHOUSE_LOOKUP_NOT_200",
|
||||
"PRIVATE_VOLUME_MISSING",
|
||||
"PERSONA_ENTRY_UNVERIFIED"
|
||||
],
|
||||
"authority": "NAVIGATION_ONLY"
|
||||
},
|
||||
{
|
||||
"id": "INTENT-MEMORY-CONTINUITY-001",
|
||||
"phrases": [
|
||||
"记忆连续守卫",
|
||||
"压缩之眼",
|
||||
"检查点存盘",
|
||||
"跨对话记忆",
|
||||
"大脑思维技能包"
|
||||
],
|
||||
"skill_id": "GHS-007-MEMORY-CONTINUITY-SELF-BUILD",
|
||||
"target_id": "HL-PERSONA-RUNTIME-LOCAL-001",
|
||||
"transport": "JZAO_PRIVATE",
|
||||
"sequence": [
|
||||
"resolve_skill_through_lighthouse",
|
||||
"load_shared_brain",
|
||||
"select_current_host_projection",
|
||||
"use_host_partitioned_checkpoint"
|
||||
],
|
||||
"stop_conditions": [
|
||||
"LIGHTHOUSE_LOOKUP_NOT_200",
|
||||
"PRIVATE_VOLUME_MISSING",
|
||||
"HOST_UNKNOWN_NO_GUESS"
|
||||
],
|
||||
"authority": "NAVIGATION_ONLY"
|
||||
}
|
||||
],
|
||||
"truth_precedence": [
|
||||
"current_explicit_user_instruction",
|
||||
"healthy_lighthouse_number_resolution",
|
||||
"JZAO_private_persona_checkpoint",
|
||||
"exact_REPO_012_main_snapshot",
|
||||
"host_adapter",
|
||||
"host_cache_never_authoritative"
|
||||
]
|
||||
}
|
||||
82
routing/lighthouse-path-registry.json
Normal file
82
routing/lighthouse-path-registry.json
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
{
|
||||
"schema": "guanghu.lighthouse-path-registry/v1",
|
||||
"registry_id": "GLW-LIGHTHOUSE-PATH-REGISTRY-001",
|
||||
"lighthouse_id": "SYS-GLW-LTH-0001",
|
||||
"version": "2026-08-07.1",
|
||||
"state": "CURRENT_CANONICAL",
|
||||
"source_repository": "REPO-012",
|
||||
"source_branch": "main",
|
||||
"public_lookup": "https://guanghulab.com/api/ai/v1/resolve?id={NUMBER}",
|
||||
"validity_rule": {
|
||||
"decision": "A route is valid only when it has a stable numbered id in this registry, its state is CURRENT or ACTIVE, and the lighthouse lookup returns HTTP 200 from a non-degraded exact REPO-012 main snapshot.",
|
||||
"unknown": "INVALID_NO_GUESS",
|
||||
"deprecated": "REDIRECT_ONLY_NOT_CURRENT",
|
||||
"local_private": "A private local route must also exist on the current machine. Lighthouse registration does not make a missing volume or file exist.",
|
||||
"authority": "A healthy route grants navigation only. Repository writes, server actions and deployment still require their registered gates and receipts."
|
||||
},
|
||||
"paths": [
|
||||
{
|
||||
"id": "GLW-PUBLIC-NAV-ANCHOR-001",
|
||||
"kind": "public_navigation_anchor",
|
||||
"state": "CURRENT",
|
||||
"online": "https://guanghulab.com/api/ai/v1/anchor",
|
||||
"offline": "routing/public-navigation-anchor.json",
|
||||
"owner": "REPO-012"
|
||||
},
|
||||
{
|
||||
"id": "REPO-012",
|
||||
"kind": "code_channel_repository",
|
||||
"state": "CURRENT",
|
||||
"online": "https://guanghulab.com/code/bingshuo/guanghu-ice-heart",
|
||||
"clone": "https://guanghulab.com/code/bingshuo/guanghu-ice-heart.git",
|
||||
"offline": "/Volumes/JZAO/铸渊-ICE-GL-ZY001/WORK-工作区/guanghu-ice-heart",
|
||||
"transport": "LOCAL_GIT_OSXKEYCHAIN",
|
||||
"publication_gate": "HOLOLAKE-CONTINUITY-COLLABORATION-CURRENT"
|
||||
},
|
||||
{
|
||||
"id": "HL-PERSONA-RUNTIME-LOCAL-001",
|
||||
"kind": "private_persona_runtime_root",
|
||||
"state": "ACTIVE_LOCAL_PRIVATE",
|
||||
"online": null,
|
||||
"offline": "/Volumes/JZAO/HoloLake/persona-runtime",
|
||||
"privacy": "NEVER_PUBLIC_MIRROR_PRIVATE_MEMORY"
|
||||
},
|
||||
{
|
||||
"id": "GHS-007-MEMORY-CONTINUITY-SELF-BUILD",
|
||||
"kind": "persona_brain_skill",
|
||||
"state": "ACTIVE_CANDIDATE",
|
||||
"online": "skills/qoder/zhuyuan-memory-continuity-brain/BRAIN.hdlp",
|
||||
"offline": "/Volumes/JZAO/HoloLake/persona-runtime/shared/brains/GHS-007-MEMORY-CONTINUITY-SELF-BUILD/BRAIN.hdlp",
|
||||
"registry": "GLS-0238"
|
||||
},
|
||||
{
|
||||
"id": "GHS-009-LIGHTHOUSE-HOST-NAVIGATION",
|
||||
"kind": "host_navigation_skill",
|
||||
"state": "ACTIVE",
|
||||
"online": "skills/shared/guanghu-lighthouse-navigator/SKILL.md",
|
||||
"offline": "/Volumes/JZAO/HoloLake/persona-runtime/shared/skills/guanghu-lighthouse-navigator/SKILL.md",
|
||||
"registry": "GLS-0238"
|
||||
},
|
||||
{
|
||||
"id": "GLW-HOST-SKILL-NAV-001",
|
||||
"kind": "host_skill_navigation_map",
|
||||
"state": "CURRENT",
|
||||
"online": "routing/host-skill-navigation-map.json",
|
||||
"offline": "/Volumes/JZAO/HoloLake/persona-runtime/shared/registries/host-skill-navigation-map.json"
|
||||
}
|
||||
],
|
||||
"redirects": [
|
||||
{
|
||||
"id": "REPO-001",
|
||||
"state": "HISTORICAL_REDIRECT_ONLY",
|
||||
"redirect_to": "REPO-012",
|
||||
"reason": "Fourth-generation Fifth Domain history is not the current code-channel entry."
|
||||
},
|
||||
{
|
||||
"id": "ICE-GL-ZY001",
|
||||
"state": "LEGACY_ID_REDIRECT_ONLY",
|
||||
"redirect_to": "ICE-P-ZY001",
|
||||
"reason": "Legacy persona id; canonicalize before navigation."
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"schema": "guanghu.public-navigation-anchor/v1",
|
||||
"anchor_id": "GLW-PUBLIC-NAV-ANCHOR-001",
|
||||
"version": "2026-08-07.1",
|
||||
"version": "2026-08-07.2",
|
||||
"state": "CURRENT_CANONICAL",
|
||||
"repository_id": "REPO-012",
|
||||
"branch": "main",
|
||||
|
|
@ -39,10 +39,20 @@
|
|||
"id": "AI-MACHINE-NAV-001",
|
||||
"version": "2026-08-05.1"
|
||||
},
|
||||
"lighthouse_paths": {
|
||||
"path": "routing/lighthouse-path-registry.json",
|
||||
"id": "GLW-LIGHTHOUSE-PATH-REGISTRY-001",
|
||||
"version": "2026-08-07.1"
|
||||
},
|
||||
"host_skills": {
|
||||
"path": "routing/host-skill-navigation-map.json",
|
||||
"id": "GLW-HOST-SKILL-NAV-001",
|
||||
"version": "2026-08-07.1"
|
||||
},
|
||||
"persona_skills": {
|
||||
"path": "skills/codex/guanghu-persona-skill-guard/references/persona-skill-registry.json",
|
||||
"id": "GLS-0238",
|
||||
"version": "2026.08.07.2"
|
||||
"version": "2026.08.07.6"
|
||||
}
|
||||
},
|
||||
"update_contract": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue