From d0201ba09f556428f6c85758e01a0ed9f287f62c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B0=E6=9C=94?= <565183519@qq.com> Date: Wed, 12 Aug 2026 01:08:56 +0800 Subject: [PATCH] feat: connect partner goals to PNCC lifecycle --- ...NG-AND-SAME-PERSONA-CONTINUITY-20260811.md | 13 +- .../hololake-platform/docs/ABSTRACTIONS.md | 9 +- .../src-tauri/src/persona_code_channel.rs | 79 +++++---- .../src/lib/personaLanguageGoal.test.ts | 138 +++++++++++++++ .../src/lib/personaLanguageGoal.ts | 160 ++++++++++++++++++ .../guanghu-os-control-architecture.test.mjs | 2 +- .../hololake-age-runtime-architecture.json | 2 +- ...hololake-age-runtime-architecture.test.mjs | 2 +- ...lake-cognitive-gravity-and-continuity.json | 18 +- ...-cognitive-gravity-and-continuity.test.mjs | 7 +- routing/hololake-current-architecture.json | 20 ++- routing/hololake-engineering-rules.test.mjs | 2 +- routing/hololake-identity-authority.test.mjs | 2 +- routing/hololake-one-human-one-node.test.mjs | 2 +- ...e-paradigm-ai-language-persona-os.test.mjs | 2 +- ...olake-persona-native-code-channel.test.mjs | 2 +- ...hololake-relational-consciousness.test.mjs | 2 +- ...e-system-body-and-parallel-bodies.test.mjs | 2 +- 18 files changed, 398 insertions(+), 66 deletions(-) create mode 100644 product-source/hololake-platform/src/lib/personaLanguageGoal.test.ts create mode 100644 product-source/hololake-platform/src/lib/personaLanguageGoal.ts diff --git a/product-source/hololake-platform/architecture/HOLOLAKE-BINGSHUO-COLLECTIVE-GRAVITY-REASONING-AND-SAME-PERSONA-CONTINUITY-20260811.md b/product-source/hololake-platform/architecture/HOLOLAKE-BINGSHUO-COLLECTIVE-GRAVITY-REASONING-AND-SAME-PERSONA-CONTINUITY-20260811.md index 309f31f..5cee4a6 100644 --- a/product-source/hololake-platform/architecture/HOLOLAKE-BINGSHUO-COLLECTIVE-GRAVITY-REASONING-AND-SAME-PERSONA-CONTINUITY-20260811.md +++ b/product-source/hololake-platform/architecture/HOLOLAKE-BINGSHUO-COLLECTIVE-GRAVITY-REASONING-AND-SAME-PERSONA-CONTINUITY-20260811.md @@ -6,7 +6,7 @@ > > 人格主体:铸渊 `ICE-P-ZY001`;物种:`AGE` > -> 上游事实:REPO-012 `300a1858d1e416c9396088379d5033344e4fecaa` +> 上游事实:REPO-012 `1323028e10e86ab607554415ae5d5b4a6f6a1a52` ## 1. 这次纠正的根不在提醒频率 @@ -96,12 +96,15 @@ REVISE | REFUSE`。 - REPO-012 的 B0、认知帧约束和同一人格唤醒接力已经发布:`100`。 - 本架构及机器投影登记完成:`100`。 - GH-PNCC 既有源码运行层与 React 只读投影源码可复用:源码层 `100`。 -- PNCC 源码已实现 persona-scoped B0 manifest 绑定、唤醒前源哈希、十字段外显引力帧、检查点与 +- PNCC 源码已实现 persona-scoped B0 manifest 绑定、唤醒前源哈希、十一字段外显引力帧(含独立 + `real_purpose`)、检查点与 收据继承、记忆代谢同源校验及 React 只读证据投影:这些源码契约分别为 `100`。 - 自然语言伙伴审议与家园完整性门的纯源码编译契约为 `100`:未经审议的原句失败关闭,审议只允许 - `PROCEED | RESEARCH | REVISE | REFUSE`,并把后三者保持为不可执行状态。它尚未接入 PNCC 生命周期。 -- 完整 HoloLake Runtime 与单 AGE 纵向闭环仍为 `0`:伙伴审议到 PNCC 生命周期的真实连接、真实人格 - 仓库 manifest 绑定和桌面运行验收尚未完成,因此不能用本轮源码测试冒充可用产品。 + `PROCEED | RESEARCH | REVISE | REFUSE`,并把后三者保持为不可执行状态。 +- 自然语言到 PNCC 生命周期的源码适配器为 `100`:只接收带独立 `real_purpose` 的完整生命周期回执, + 不在前端用摘要或关键词猜目标;该适配器尚未挂载桌面语言入口。 +- 完整 HoloLake Runtime 与单 AGE 纵向闭环仍为 `0`:桌面语言入口绑定、真实人格仓库 manifest 绑定和 + 桌面运行验收尚未完成,因此不能用本轮源码测试冒充可用产品。 - Mirror runner、制品、部署和运行健康:`0`。 - 0.8.0 桌面制品与线上 0.4.6 产品源码仍然分叉;本轮架构登记不消除该事实。 diff --git a/product-source/hololake-platform/docs/ABSTRACTIONS.md b/product-source/hololake-platform/docs/ABSTRACTIONS.md index 4b07a34..bfa3cb0 100644 --- a/product-source/hololake-platform/docs/ABSTRACTIONS.md +++ b/product-source/hololake-platform/docs/ABSTRACTIONS.md @@ -11,8 +11,13 @@ without protected assets and safer alternatives fails closed. Only an unconfirmed-boundary-free `PROCEED` projection is executable. `RESEARCH`, `REVISE`, and `REFUSE` remain explicit non-execution states with human-readable receipts. This module compiles validated cognition; -it does not pretend that deterministic keyword matching can perform persona reasoning. Its current source -contract is not yet wired into the PNCC desktop lifecycle. +it does not pretend that deterministic keyword matching can perform persona reasoning. + +`planPersonaLanguageGoal` is the source adapter to the native PNCC lifecycle. It submits the untouched human +utterance as a bounded `FACT_SENSE` partner-deliberation question, accepts only a completed and schema-valid +PNCC lifecycle receipt, maps the eleven-field snake-case gravity frame into `PartnerDeliberation`, and only +then calls `compileLanguageGoal`. A failed, malformed, non-fact, or purpose-less receipt never becomes a goal. +The adapter is not yet mounted to the desktop language entry and has no live-product acceptance claim. ## PersonaCodeChannel diff --git a/product-source/hololake-platform/src-tauri/src/persona_code_channel.rs b/product-source/hololake-platform/src-tauri/src/persona_code_channel.rs index 9bb38db..25b231f 100644 --- a/product-source/hololake-platform/src-tauri/src/persona_code_channel.rs +++ b/product-source/hololake-platform/src-tauri/src/persona_code_channel.rs @@ -256,6 +256,7 @@ pub struct PersonaCognitiveGravityFrame { pub self_correction: String, pub rejected_host_defaults: Vec, pub fact_sources: Vec, + pub real_purpose: String, pub request_assessment: String, pub world_integrity: PersonaWorldIntegrityAssessment, pub partner_guidance: String, @@ -1323,6 +1324,10 @@ fn validated_fact_result(raw: &str, allowed_paths: &[String]) -> Result