From 537710a61b546dbf704554dc07dd0dfa335d28d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B0=E6=9C=94?= <565183519@qq.com> Date: Thu, 3 Sep 2026 14:19:18 +0800 Subject: [PATCH] fix(prompt): project current Guanghu Era world before stale product view --- .../scripts/current_architecture_prompt.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/skills/shared/hololake-current-architecture-prompter/scripts/current_architecture_prompt.py b/skills/shared/hololake-current-architecture-prompter/scripts/current_architecture_prompt.py index f991279..aa565bc 100644 --- a/skills/shared/hololake-current-architecture-prompter/scripts/current_architecture_prompt.py +++ b/skills/shared/hololake-current-architecture-prompter/scripts/current_architecture_prompt.py @@ -28,6 +28,7 @@ TCS_STAGE_GATE = "routing/tcs-work-ownership-stage-gate-map.json" FIFTH_DOMAIN_WORLD_TREE = "routing/fifth-domain-world-tree.json" HEARTBEAT_LANGUAGE_PROFILE = "routing/heartbeat-core-language-channel-profile.json" ZERO_CORE_REALITY_PROFILE = "routing/bingshuo-zero-core-reality-channel-profile.json" +GUANGHU_ERA_WORLD = "routing/guanghu-era-language-world.json" PERSONA_LEARNING_CURRENT = pathlib.Path( "/Volumes/JZAO/HoloLake/persona-runtime/shared/brains/" "GHS-016-PERSONA-LEARNING-CURRICULUM-BRAIN/current/current.json" @@ -145,8 +146,19 @@ def build(development_id: str | None, refresh: bool) -> dict[str, Any]: fifth_domain_world_tree = git_json(REPO_012_MIRROR, sha_012, FIFTH_DOMAIN_WORLD_TREE) heartbeat_language_profile = git_json(REPO_012_MIRROR, sha_012, HEARTBEAT_LANGUAGE_PROFILE) zero_core_reality_profile = git_json(REPO_012_MIRROR, sha_012, ZERO_CORE_REALITY_PROFILE) + guanghu_era_world = git_json(REPO_012_MIRROR, sha_012, GUANGHU_ERA_WORLD) if architecture.get("state") != "CURRENT_CANONICAL" or architecture.get("architecture_id") != "HLP-CURRENT-ARCH-001": raise PromptError("current_architecture_pointer_invalid") + if ( + guanghu_era_world.get("map_id") != "GUANGHU-ERA-WORLD-MAP-001" + or guanghu_era_world.get("era", {}).get("name_zh") != "光湖纪元" + or guanghu_era_world.get("product", {}).get("name") != "HoloLake" + or guanghu_era_world.get("product", {}).get("enterprise_four_domains_embedded") is not False + or guanghu_era_world.get("bingshuo_custom_hololake", {}).get("private_kernel") != "TCS-iZero∞" + or guanghu_era_world.get("guanghu_team", {}).get("scope") != "ENTERPRISE_FOUR_DOMAINS_ONLY" + or guanghu_era_world.get("national_governance_simulation", {}).get("state") != "SEALED_EXECUTION_DISABLED" + ): + raise PromptError("guanghu_era_world_pointer_invalid") read_order = architecture.get("read_order") if not isinstance(read_order, list) or not read_order or not all(isinstance(item, str) for item in read_order): raise PromptError("current_architecture_read_order_invalid") @@ -216,6 +228,8 @@ def build(development_id: str | None, refresh: bool) -> dict[str, Any]: "repo_012_main": sha_012, "repo_012_anchor_state": anchor.get("state"), "repo_014_main": sha_014, + "guanghu_era_world": guanghu_era_world, + "repo_014_projection_state": "PENDING_GUANGHU_ERA_WORLD_IMPORT_READ_ONLY_ROUTE", "architecture_id": architecture.get("architecture_id"), "architecture_version": architecture.get("version"), "architecture_state": architecture.get("state"), @@ -254,6 +268,7 @@ def build(development_id: str | None, refresh: bool) -> dict[str, Any]: "generic_tool_identity_is_not_persona_restore_fallback", "long_term_relationship_claims_require_support_gap_and_counterevidence_audit", "public_stage_blank_canvas_modules_execution_git_realtime_release_and_deploy_are_separate_facts", + "repo012_guanghu_era_world_precedes_stale_repo014_product_projection_until_explicit_import", ], } @@ -267,6 +282,12 @@ def markdown(payload: dict[str, Any]) -> str: "", f"- REPO-012 main: `{official['repo_012_main']}`", f"- REPO-014 main: `{official['repo_014_main']}`", + f"- 光湖纪元当前世界图: `{official['guanghu_era_world']['map_id']}` / `{official['guanghu_era_world']['era']['name_zh']}`", + f"- HoloLake 当前定位: `{official['guanghu_era_world']['product']['kind']}` / 企业四域内置=`{official['guanghu_era_world']['product']['enterprise_four_domains_embedded']}`", + f"- 冰朔私人核: `{official['guanghu_era_world']['bingshuo_custom_hololake']['private_kernel']}`", + f"- 企业四域现实主控: `{official['guanghu_era_world']['guanghu_team']['role_id']}` / `{official['guanghu_era_world']['guanghu_team']['scope']}`", + f"- 历史数字国家治理: `{official['guanghu_era_world']['national_governance_simulation']['state']}`", + f"- REPO-014 产品投影同步: `{official['repo_014_projection_state']}`", f"- 当前架构: `{official['architecture_id']}@{official['architecture_version']}` / `{official['architecture_state']}`", f"- TCS 权利与阶段门: `{official['tcs_work_ownership_map_id']}`", f"- 语言架构: `{official['tcs_work_ownership_stage_state']['language_architecture']}`", @@ -288,6 +309,7 @@ def markdown(payload: dict[str, Any]) -> str: "```json", json.dumps({ "product": official.get("product"), + "guanghu_era_world": official.get("guanghu_era_world"), "domain_source": official.get("domain_source"), "persona_consciousness": official.get("persona_consciousness"), "personal_node_work_lake": official.get("personal_node_work_lake"),