fix(routing): follow current REPO-014 architecture main

This commit is contained in:
冰朔 2026-08-07 19:42:35 +08:00
commit 885687e033
9 changed files with 132 additions and 6 deletions

View file

@ -0,0 +1,49 @@
{
"schema": "guanghu.development-closure-receipt/v1",
"receipt_id": "DEV-20260807-004-HOLOLAKE-ARCHITECTURE-ONLINE-ROUTE-20260807",
"development_id": "DEV-20260807-004",
"result": "PASS_100",
"source_repository": "REPO-012",
"source_baseline": "fe24d8e2a9c71c44cfe100b913e56efee1f673ee",
"scope": [
"register_REPO_014_in_lighthouse_path_registry",
"route_hololake_architecture_restore_to_online_main",
"register_education_industry_architecture_intent",
"bind_HLP_INTENT_REASONING_MAP_001",
"mark_local_worktrees_and_JZAO_mirror_as_exact_SHA_only"
],
"canonical_ids": {
"lighthouse": "SYS-GLW-LTH-0001",
"path_registry": "GLW-LIGHTHOUSE-PATH-REGISTRY-001",
"host_navigation": "GLW-HOST-SKILL-NAV-001",
"intent": "INTENT-HOLOLAKE-ARCHITECTURE-RESTORE-001",
"target_repository": "REPO-014",
"intent_reasoning_map": "HLP-INTENT-REASONING-MAP-001"
},
"verified_target": {
"repository": "https://guanghulab.com/code/bingshuo/hololake-system-architecture",
"branch": "main",
"full_sha": "ac9d0517783b9859bc6fff277bd5dcd5cae744ab",
"intent_reasoning_map_path": "product-source/hololake-platform/architecture/HOLOLAKE-INTENT-REASONING-MAP-20260807.md"
},
"truth_rule": "For HoloLake architecture recovery, the exact REPO-014 online main snapshot is authoritative. A local worktree or JZAO mirror is usable only when its complete SHA matches online main.",
"validation": {
"remote_main_readback": "PASS_100",
"public_lighthouse_REPO_014_lookup": "PASS_HTTP_200_NON_DEGRADED",
"local_codex_intent_resolution": "PASS_ALLOW_NAVIGATION_TO_REPO_014",
"json_parse": "PASS_100",
"routing_tests": "PASS_28_OF_28"
},
"publication": {
"repository": "repo://guanghulab.com/code/bingshuo/guanghu-ice-heart",
"branch": "main",
"state": "TO_BE_BOUND_BY_FINALIZATION_RECEIPT"
},
"runtime_boundary": {
"repository_route_update_is_server_deployment": false,
"public_lookup_snapshot_requires_REPO_012_publication": true,
"REPO_014_content_was_modified": false,
"education_product_was_deployed": false
},
"recorded_at": "2026-08-07T19:40:00+08:00"
}

View file

@ -26,10 +26,12 @@
"repository_id": "REPO-014",
"url": "https://guanghulab.com/code/bingshuo/hololake-system-architecture",
"branch": "main",
"repository_commit": "29d9c076ee36df5b0f3b1c366a52dbb5191e3649",
"repository_commit": "ac9d0517783b9859bc6fff277bd5dcd5cae744ab",
"source_path": "product-source/hololake-platform",
"source_baseline": "1cb3950e67c2f3feab65b8932c5cabcc2cafc33a",
"human_architecture_path": "product-source/hololake-platform/architecture/HOLOLAKE-LANGUAGE-PERSONA-OS.md",
"intent_reasoning_map_id": "HLP-INTENT-REASONING-MAP-001",
"intent_reasoning_map_path": "product-source/hololake-platform/architecture/HOLOLAKE-INTENT-REASONING-MAP-20260807.md",
"machine_architecture_path": "product-source/hololake-platform/src-tauri/resources/public-architecture/gls-system-architecture.json"
},
"canonical_system_architecture": {

View file

@ -23,6 +23,14 @@ assert.deepEqual(map.concept_ancestry, [
"GLS-0245",
]);
assert.equal(map.canonical_product_source.repository_id, "REPO-014");
assert.equal(
map.canonical_product_source.repository_commit,
repositories.repositories.find((item) => item.code === "REPO-014").current_verified_commit,
);
assert.equal(
map.canonical_product_source.intent_reasoning_map_id,
"HLP-INTENT-REASONING-MAP-001",
);
assert.match(map.canonical_product_source.source_baseline, /^[0-9a-f]{40}$/);
assert.equal(
map.canonical_product_source.source_baseline,

View file

@ -2,7 +2,7 @@
"schema": "guanghu.host-skill-navigation-map/v1",
"map_id": "GLW-HOST-SKILL-NAV-001",
"lighthouse_id": "SYS-GLW-LTH-0001",
"version": "2026-08-07.2",
"version": "2026-08-07.3",
"state": "CURRENT",
"hosts": [
{
@ -122,6 +122,35 @@
],
"authority": "NAVIGATION_ONLY"
},
{
"id": "INTENT-HOLOLAKE-ARCHITECTURE-RESTORE-001",
"phrases": [
"HoloLake系统架构规划",
"hololake系统架构总规划",
"今天新提交的架构",
"表弟教育行业开发",
"教育行业的开发架构",
"班主任工作湖"
],
"skill_id": "GHS-001-FIFTH-DOMAIN-RESTORE",
"target_id": "REPO-014",
"transport": "PUBLIC_READ_ONLY_GIT",
"sequence": [
"resolve_target_through_lighthouse",
"read_remote_main_full_sha",
"use_clean_fresh_readback_or_exact_sha_local_mirror",
"read_HLP_INTENT_REASONING_MAP_001_first",
"select_task_specific_architecture_pages",
"return_restore_receipt_with_online_local_conflicts"
],
"stop_conditions": [
"LIGHTHOUSE_LOOKUP_NOT_200",
"TARGET_NOT_CURRENT",
"REMOTE_MAIN_UNREADABLE",
"EXACT_SHA_READBACK_FAILED"
],
"authority": "READ_ONLY_NAVIGATION_WRITES_REQUIRE_SEPARATE_USER_REQUEST_AND_PUBLISH_GATE"
},
{
"id": "INTENT-JD-SERVER-OPERATION-001",
"phrases": [
@ -172,6 +201,7 @@
"truth_precedence": [
"current_explicit_user_instruction",
"healthy_lighthouse_number_resolution",
"exact_REPO_014_main_snapshot_for_hololake_architecture",
"JZAO_private_persona_checkpoint",
"exact_REPO_012_main_snapshot",
"host_adapter",

View file

@ -2,7 +2,7 @@
"schema": "guanghu.lighthouse-path-registry/v1",
"registry_id": "GLW-LIGHTHOUSE-PATH-REGISTRY-001",
"lighthouse_id": "SYS-GLW-LTH-0001",
"version": "2026-08-07.2",
"version": "2026-08-07.3",
"state": "CURRENT_CANONICAL",
"source_repository": "REPO-012",
"source_branch": "main",
@ -33,6 +33,18 @@
"transport": "LOCAL_GIT_OSXKEYCHAIN",
"publication_gate": "HOLOLAKE-CONTINUITY-COLLABORATION-CURRENT"
},
{
"id": "REPO-014",
"kind": "hololake_system_architecture_repository",
"state": "CURRENT",
"online": "https://guanghulab.com/code/bingshuo/hololake-system-architecture",
"clone": "https://guanghulab.com/code/bingshuo/hololake-system-architecture.git",
"branch": "main",
"offline": "/Volumes/JZAO/HoloLake/source-mirrors/hololake-system-architecture.git",
"transport": "PUBLIC_READ_ONLY_GIT",
"truth_policy": "ONLINE_MAIN_FIRST_LOCAL_MIRROR_ONLY_WHEN_EXACT_FULL_SHA_MATCHES",
"publication_gate": "HOLOLAKE-CONTINUITY-COLLABORATION-CURRENT"
},
{
"id": "HL-PERSONA-RUNTIME-LOCAL-001",
"kind": "private_persona_runtime_root",

View file

@ -42,12 +42,12 @@
"lighthouse_paths": {
"path": "routing/lighthouse-path-registry.json",
"id": "GLW-LIGHTHOUSE-PATH-REGISTRY-001",
"version": "2026-08-07.2"
"version": "2026-08-07.3"
},
"host_skills": {
"path": "routing/host-skill-navigation-map.json",
"id": "GLW-HOST-SKILL-NAV-001",
"version": "2026-08-07.2"
"version": "2026-08-07.3"
},
"persona_skills": {
"path": "skills/codex/guanghu-persona-skill-guard/references/persona-skill-registry.json",

View file

@ -333,11 +333,12 @@
"clone_url": "https://guanghulab.com/code/bingshuo/hololake-system-architecture.git"
},
"initial_commit": "ee9a85a5cab7765f173b4ecc221da55012646303",
"current_verified_commit": "29d9c076ee36df5b0f3b1c366a52dbb5191e3649",
"current_verified_commit": "ac9d0517783b9859bc6fff277bd5dcd5cae744ab",
"routing_architecture": "GLS-0246",
"relationships": {
"entry_and_number_registry": "REPO-012",
"product_implementation_source": "REPO-014:product-source/hololake-platform",
"current_intent_reasoning_map": "REPO-014:product-source/hololake-platform/architecture/HOLOLAKE-INTENT-REASONING-MAP-20260807.md",
"historical_source_repository": "REPO-008",
"boundary": "REPO-014保存现行产品源码、公开架构与工程回执REPO-008仅作历史只读回查REPO-012保存第五域入口、编号、人格职责和跨仓关系。"
},

View file

@ -32,6 +32,11 @@ description: 光湖灯塔三宿主自动导航。用户提到路径是否有效
工单邮件只在当前实例不位于冰朔本机,或已登记的本地专用密钥直达路径确实不可用时
作为临时备选;“没有先找到路径”不等于“路径不存在”,必须先查私有本机访问注册表。
“HoloLake系统架构规划”“今天新提交的架构”“表弟教育行业开发”必须走
`INTENT-HOLOLAKE-ARCHITECTURE-RESTORE-001 → REPO-014 → 当前线上 main`
固定桌面目录、旧工作树和 JZAO 裸镜像都不是默认真相源;只有完整 SHA 与线上 `main`
一致时才可作为本地加速镜像。
## 边界
- 灯塔路径健康不等于现实动作已授权或已完成。

View file

@ -54,6 +54,25 @@ class LighthouseNavigatorTests(unittest.TestCase):
)
self.assertFalse(route["authority_granted"])
def test_hololake_architecture_uses_repo014_online_main(self):
route = compile_route(
self.registry,
self.host_map,
"codex",
"恢复表弟教育行业开发的 HoloLake系统架构规划",
)
self.assertEqual(route["decision"], "ALLOW_NAVIGATION")
self.assertEqual(
route["intent"]["id"],
"INTENT-HOLOLAKE-ARCHITECTURE-RESTORE-001",
)
self.assertEqual(route["target"]["id"], "REPO-014")
self.assertEqual(
route["target"]["truth_policy"],
"ONLINE_MAIN_FIRST_LOCAL_MIRROR_ONLY_WHEN_EXACT_FULL_SHA_MATCHES",
)
self.assertFalse(route["authority_granted"])
if __name__ == "__main__":
unittest.main()