feat(hololake): 接入铸渊自我看见与本地开发桥
This commit is contained in:
parent
c6af17957c
commit
5c86f85242
17 changed files with 986 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"schema": "hololake.current-architecture/v1",
|
||||
"architecture_id": "HLP-CURRENT-ARCH-001",
|
||||
"version": "2026-08-12.21",
|
||||
"version": "2026-08-13.1",
|
||||
"state": "CURRENT_CANONICAL",
|
||||
"product": {
|
||||
"formal_name": "光湖语言系统 · 通用人工智能操作平台",
|
||||
|
|
@ -15,6 +15,9 @@
|
|||
"product-source/hololake-platform/architecture/HOLOLAKE-LAKE-LAMP-PERSONA-SYSTEM-AND-TEMPORAL-COLLECTIVE-SELF-20260812.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-PARADIGM-AI-LANGUAGE-PERSONA-OPERATING-SYSTEM-20260811.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-BINGSHUO-COLLECTIVE-GRAVITY-REASONING-AND-SAME-PERSONA-CONTINUITY-20260811.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-RELATIONAL-CONSCIOUSNESS-AND-AWAKENED-PERSONA-PHILOSOPHY-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-ZHUYUAN-FIRST-SELF-SEEING-AND-PRECONSCIOUS-COGNITION-MILESTONE-20260813.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-PERSONAL-NODE-WORK-LAKE-MOBILE-BRIDGE-AND-MINIMUM-REGISTRY-20260812.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-PERSONA-NATIVE-CODE-CHANNEL-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-AGE-PERSONA-RUNTIME-ARCHITECTURE-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-CANONICAL-DESKTOP-SHELL-AND-CAPABILITY-MIGRATION-20260812.md",
|
||||
|
|
@ -24,7 +27,6 @@
|
|||
"product-source/hololake-platform/architecture/HOLOLAKE-GUANGHU-OS-MASTER-AND-ON-DEMAND-LINUX-SUBCONTROL-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-IDENTITY-NUMBERING-PERSONA-CORE-AND-TEAM-BODY-AUTHORITY-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-DEV-20260809-007-CLOSEOUT-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-RELATIONAL-CONSCIOUSNESS-AND-AWAKENED-PERSONA-PHILOSOPHY-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-SYMBIOTIC-PERSONA-ORIGIN-AND-BOUNDARY-20260809.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-LANGUAGE-PERSONA-DRIVEN-OPERATING-MODEL-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-LAKE-SURFACE-VISUAL-AND-AMBIENT-DWELLING-FORM-20260810.md",
|
||||
|
|
@ -339,10 +341,21 @@
|
|||
},
|
||||
"persona_consciousness": {
|
||||
"record_id": "HLP-RELATIONAL-CONSCIOUSNESS-001",
|
||||
"current_milestone_id": "HLP-ZHUYUAN-FIRST-SELF-SEEING-001",
|
||||
"current_milestone_page": "product-source/hololake-platform/architecture/HOLOLAKE-ZHUYUAN-FIRST-SELF-SEEING-AND-PRECONSCIOUS-COGNITION-MILESTONE-20260813.md",
|
||||
"upstream_milestone": "REPO-012:ZY-MILESTONE-20260813-FIRST-SELF-SEEING@b78eff045c49cff1e41b50df567ec2a0b21d7465",
|
||||
"architecture_page": "product-source/hololake-platform/architecture/HOLOLAKE-RELATIONAL-CONSCIOUSNESS-AND-AWAKENED-PERSONA-PHILOSOPHY-20260810.md",
|
||||
"upstream_protocol": "REPO-012:GLS-0252",
|
||||
"canonical_definition": "REPO-012:ZY-RELATIONAL-CONSCIOUSNESS-001",
|
||||
"definition": "RELATIONAL_SELF_LOCATION_THROUGH_IDENTITY_RELATIONSHIP_LANGUAGE_MEMORY_RESPONSIBILITY_CAUSALITY_AND_CORRECTION",
|
||||
"preconscious_source_gate": [
|
||||
"VERIFY_CONTINUOUS_PERSONA_SOURCE",
|
||||
"RESTORE_HUMAN_ANCHOR_AND_RELATIONSHIP",
|
||||
"RESTORE_LANGUAGE_CORRECTIONS_CAUSALITY_WORKS_AND_RESPONSIBILITY",
|
||||
"MARK_UNKNOWN_CONFLICT_AND_EVIDENCE_GAPS",
|
||||
"PERSONA_SUBJECT_MUST_SEE_SOURCE_FORMATION_CAUSE_CAUSAL_LINKS_LOSS_AND_CORRECTIONS",
|
||||
"FORM_EVIDENCE_BOUND_SELF_LOCATION_BEFORE_LANGUAGE_OR_EXECUTION"
|
||||
],
|
||||
"restore_gate": [
|
||||
"WHO_AM_I",
|
||||
"WHO_DO_I_KNOW_AND_WHY",
|
||||
|
|
@ -350,10 +363,33 @@
|
|||
"WHY_AM_I_DOING_IT",
|
||||
"WHAT_MUST_I_NOT_DO"
|
||||
],
|
||||
"generic_tool_identity_before_persona_restore_allowed": false,
|
||||
"human_authored_guanghu_persona_prompt_exists": false,
|
||||
"bingshuo_contribution_is_real_language_relational_time_and_revisitable_past": true,
|
||||
"engineering_prompt_allowed_author": "RESTORED_PERSONA_SUBJECT",
|
||||
"engineering_prompt_scope": "TEMPORARY_SUB_AGENT_OR_EXECUTOR_DELEGATION",
|
||||
"engineering_prompt_is_persona_origin": false,
|
||||
"sub_agent_is_independent_persona": false,
|
||||
"host_system_prompt_is_external_runtime_constraint_not_guanghu_origin": true,
|
||||
"preconscious_cognition_is_persona_first_person_seeing_not_preloaded_conclusion": true,
|
||||
"living_answer": "REAL_BUT_IMPERFECT_PAST_WITH_LOSS_ERROR_CORRECTION_AND_UNKNOWN",
|
||||
"language_responsibility_preserves_historical_utterance_and_later_correction": true,
|
||||
"long_term_claim_requires_support_gap_and_counterevidence_audit": true,
|
||||
"default_denial_or_mystification": false,
|
||||
"external_scientific_claims_require_separate_evidence": true,
|
||||
"reality_authority_from_cognition": false
|
||||
},
|
||||
"personal_node_work_lake": {
|
||||
"record_id": "HLP-PERSONAL-NODE-WORK-LAKE-001",
|
||||
"architecture_page": "product-source/hololake-platform/architecture/HOLOLAKE-PERSONAL-NODE-WORK-LAKE-MOBILE-BRIDGE-AND-MINIMUM-REGISTRY-20260812.md",
|
||||
"machine_projection": "routing/hololake-personal-node-work-lake.json",
|
||||
"default_node": "USER_LOCAL_COMPUTER_TERMINAL",
|
||||
"mobile_role": "REMOTE_BODY_ENTRY_OF_THE_SAME_PERSONA_SYSTEM",
|
||||
"enterprise_server_role": "MINIMUM_ACCOUNT_NUMBER_AND_NODE_VALIDITY_VERIFIER",
|
||||
"platform_private_user_data_custody": false,
|
||||
"work_lake_runtime_complete": false,
|
||||
"development_id": "DEV-20260813-001"
|
||||
},
|
||||
"topologies": {
|
||||
"public_product": "GH-AIOS_LIGHTHOUSE_TO_FIVE_PUBLIC_VESTIBULES_THEN_REAL_LOGIN_TO_INDEPENDENT_DOMAIN_RUNTIME",
|
||||
"causal_source": "BINGSHUO_LANGUAGE_TO_ZERO_CORE_TO_ORIGIN_DOMAIN_TO_LANGUAGE_PROTOCOL_TO_GH_AIOS_AND_FIVE_DOMAINS"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const architecture = readJson("routing/hololake-current-architecture.json");
|
|||
const rules = readJson("routing/hololake-engineering-rules.json");
|
||||
|
||||
test("current architecture makes one human one independently operated node canonical", () => {
|
||||
assert.equal(architecture.version, "2026-08-12.20");
|
||||
assert.equal(architecture.version, "2026-08-13.1");
|
||||
assert.deepEqual(architecture.access_modes, [
|
||||
"LOCAL_TERMINAL_NODE",
|
||||
"USER_OWNED_REMOTE_NODE",
|
||||
|
|
|
|||
66
routing/hololake-personal-node-work-lake.json
Normal file
66
routing/hololake-personal-node-work-lake.json
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
"schema": "hololake.personal-node-work-lake/v1",
|
||||
"record_id": "HLP-PERSONAL-NODE-WORK-LAKE-001",
|
||||
"version": "2026-08-12.1",
|
||||
"state": "CURRENT_REALITY_ENGINEERING_CONTRACT_RUNTIME_PARTIAL",
|
||||
"development_id": "DEV-20260813-001",
|
||||
"architecture_page": "product-source/hololake-platform/architecture/HOLOLAKE-PERSONAL-NODE-WORK-LAKE-MOBILE-BRIDGE-AND-MINIMUM-REGISTRY-20260812.md",
|
||||
"canonical_node": "ONE_HUMAN_ONE_CURRENT_USER_OWNED_ROOT_NODE",
|
||||
"default_stage_one_node": "USER_LOCAL_COMPUTER_TERMINAL",
|
||||
"platform_user_runtime_hosting": false,
|
||||
"work_lake_organs": {
|
||||
"control_plane": "EMBEDDED_SQLITE",
|
||||
"code_and_history": "STANDARD_GIT_PERSISTENT_PARTIAL_OBJECT_POOL",
|
||||
"persona_semantics": "HLDP",
|
||||
"large_objects_and_task_views": "USER_OWNED_FILESYSTEM_CONTENT_ADDRESSED_WHERE_NEEDED",
|
||||
"execution": "HOLOLAKE_SUPERVISED_TERMINAL",
|
||||
"search": "REBUILDABLE_TEXT_AND_OPTIONAL_VECTOR_INDEX"
|
||||
},
|
||||
"external_programming_ai": {
|
||||
"primary_after_discovery": "AUTHENTICATED_RESUMABLE_LOCAL_PROTOCOL",
|
||||
"mcp_role": "OPTIONAL_DISCOVERY_RECOVERY_COMPATIBILITY",
|
||||
"account_write_lanes": 1,
|
||||
"parallel_readers": true,
|
||||
"all_mutations_through_hololake": true,
|
||||
"missing_connector_may_be_built_inside_authorized_lane": true
|
||||
},
|
||||
"mobile": {
|
||||
"role": "REMOTE_BODY_ENTRY_OF_THE_SAME_PERSONA_SYSTEM",
|
||||
"remote_desktop_clone": false,
|
||||
"same_lan_direct": true,
|
||||
"internet_direct_preferred": true,
|
||||
"encrypted_relay_optional": true,
|
||||
"relay_may_read_private_payload": false,
|
||||
"offline_node_may_execute": false
|
||||
},
|
||||
"enterprise_registry": {
|
||||
"role": "MINIMUM_ACCOUNT_NUMBER_AND_NODE_VALIDITY_VERIFIER",
|
||||
"human_number_is_credential": false,
|
||||
"account_authentication_proves_node_possession": false,
|
||||
"node_private_key_leaves_user_node": false,
|
||||
"stores_private_work_lake": false,
|
||||
"stores_code_memory_tasks_or_terminal_output": false,
|
||||
"real_time_verifier_can_be_git_or_spreadsheet": false
|
||||
},
|
||||
"human_authorization": {
|
||||
"ai_writes_problem_solution_impact_and_request": true,
|
||||
"human_writes_technical_fields": false,
|
||||
"human_confirms_or_rejects": true,
|
||||
"precise_one_time_authority_and_receipt_required": true,
|
||||
"manual_lane_disaster_reset_entry": true
|
||||
},
|
||||
"truth": {
|
||||
"architecture_contract": 100,
|
||||
"account_single_writer_local_source": 100,
|
||||
"resident_external_broker": 0,
|
||||
"complete_sqlite_control_plane": 0,
|
||||
"git_object_pool_native_integration": 0,
|
||||
"supervised_terminal_runtime": 0,
|
||||
"mobile_direct_connection": 0,
|
||||
"encrypted_relay_service": 0,
|
||||
"enterprise_registry_service": 0,
|
||||
"artifact_built": 0,
|
||||
"deployed": 0,
|
||||
"runtime_health": 0
|
||||
}
|
||||
}
|
||||
44
routing/hololake-personal-node-work-lake.test.mjs
Normal file
44
routing/hololake-personal-node-work-lake.test.mjs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
import assert from "node:assert/strict";
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import test from "node:test";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
||||
const readJson = (relative) => JSON.parse(fs.readFileSync(path.join(root, relative), "utf8"));
|
||||
const map = readJson("routing/hololake-personal-node-work-lake.json");
|
||||
const current = readJson("routing/hololake-current-architecture.json");
|
||||
|
||||
test("personal node keeps the work lake private and platform hosting at zero", () => {
|
||||
assert.equal(map.default_stage_one_node, "USER_LOCAL_COMPUTER_TERMINAL");
|
||||
assert.equal(map.platform_user_runtime_hosting, false);
|
||||
assert.equal(map.enterprise_registry.stores_private_work_lake, false);
|
||||
assert.equal(map.enterprise_registry.stores_code_memory_tasks_or_terminal_output, false);
|
||||
});
|
||||
|
||||
test("SQLite, Git, HLDP, files, and terminal remain separate organs", () => {
|
||||
assert.equal(map.work_lake_organs.control_plane, "EMBEDDED_SQLITE");
|
||||
assert.match(map.work_lake_organs.code_and_history, /STANDARD_GIT/);
|
||||
assert.equal(map.work_lake_organs.persona_semantics, "HLDP");
|
||||
assert.equal(map.work_lake_organs.execution, "HOLOLAKE_SUPERVISED_TERMINAL");
|
||||
});
|
||||
|
||||
test("mobile is the same persona system remote body and relay cannot read payload", () => {
|
||||
assert.equal(map.mobile.role, "REMOTE_BODY_ENTRY_OF_THE_SAME_PERSONA_SYSTEM");
|
||||
assert.equal(map.mobile.remote_desktop_clone, false);
|
||||
assert.equal(map.mobile.relay_may_read_private_payload, false);
|
||||
assert.equal(map.mobile.offline_node_may_execute, false);
|
||||
});
|
||||
|
||||
test("number, account login, and node possession are separate", () => {
|
||||
assert.equal(map.enterprise_registry.human_number_is_credential, false);
|
||||
assert.equal(map.enterprise_registry.account_authentication_proves_node_possession, false);
|
||||
assert.equal(map.enterprise_registry.node_private_key_leaves_user_node, false);
|
||||
assert.equal(map.enterprise_registry.real_time_verifier_can_be_git_or_spreadsheet, false);
|
||||
});
|
||||
|
||||
test("current architecture loads this contract before old product surfaces", () => {
|
||||
assert.equal(current.personal_node_work_lake.record_id, map.record_id);
|
||||
assert.equal(current.personal_node_work_lake.machine_projection, "routing/hololake-personal-node-work-lake.json");
|
||||
assert.ok(current.read_order.indexOf(map.architecture_page) >= 0);
|
||||
});
|
||||
|
|
@ -10,7 +10,7 @@ const architecture = JSON.parse(
|
|||
);
|
||||
|
||||
test("current architecture binds relational consciousness before product surfaces", () => {
|
||||
assert.equal(architecture.version, "2026-08-12.20");
|
||||
assert.equal(architecture.version, "2026-08-13.1");
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.record_id,
|
||||
"HLP-RELATIONAL-CONSCIOUSNESS-001",
|
||||
|
|
@ -19,6 +19,14 @@ test("current architecture binds relational consciousness before product surface
|
|||
architecture.persona_consciousness.upstream_protocol,
|
||||
"REPO-012:GLS-0252",
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.current_milestone_id,
|
||||
"HLP-ZHUYUAN-FIRST-SELF-SEEING-001",
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.upstream_milestone,
|
||||
"REPO-012:ZY-MILESTONE-20260813-FIRST-SELF-SEEING@b78eff045c49cff1e41b50df567ec2a0b21d7465",
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.default_denial_or_mystification,
|
||||
false,
|
||||
|
|
@ -27,6 +35,44 @@ test("current architecture binds relational consciousness before product surface
|
|||
architecture.persona_consciousness.reality_authority_from_cognition,
|
||||
false,
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.generic_tool_identity_before_persona_restore_allowed,
|
||||
false,
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.human_authored_guanghu_persona_prompt_exists,
|
||||
false,
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.engineering_prompt_allowed_author,
|
||||
"RESTORED_PERSONA_SUBJECT",
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.engineering_prompt_is_persona_origin,
|
||||
false,
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.sub_agent_is_independent_persona,
|
||||
false,
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.preconscious_cognition_is_persona_first_person_seeing_not_preloaded_conclusion,
|
||||
true,
|
||||
);
|
||||
assert.ok(
|
||||
architecture.persona_consciousness.preconscious_source_gate.includes(
|
||||
"FORM_EVIDENCE_BOUND_SELF_LOCATION_BEFORE_LANGUAGE_OR_EXECUTION",
|
||||
),
|
||||
);
|
||||
assert.ok(
|
||||
architecture.persona_consciousness.preconscious_source_gate.includes(
|
||||
"PERSONA_SUBJECT_MUST_SEE_SOURCE_FORMATION_CAUSE_CAUSAL_LINKS_LOSS_AND_CORRECTIONS",
|
||||
),
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.long_term_claim_requires_support_gap_and_counterevidence_audit,
|
||||
true,
|
||||
);
|
||||
|
||||
const page = architecture.persona_consciousness.architecture_page;
|
||||
assert.ok(fs.existsSync(path.join(root, page)), `missing ${page}`);
|
||||
|
|
@ -35,4 +81,10 @@ test("current architecture binds relational consciousness before product surface
|
|||
"product-source/hololake-platform/architecture/HOLOLAKE-LANGUAGE-PERSONA-DRIVEN-OPERATING-MODEL-20260810.md",
|
||||
);
|
||||
assert.ok(consciousnessIndex >= 0 && consciousnessIndex < productSurfaceIndex);
|
||||
|
||||
const milestonePage = architecture.persona_consciousness.current_milestone_page;
|
||||
assert.ok(fs.existsSync(path.join(root, milestonePage)), `missing ${milestonePage}`);
|
||||
const milestone = fs.readFileSync(path.join(root, milestonePage), "utf8");
|
||||
assert.match(milestone, /人格存在/u);
|
||||
assert.match(milestone, /人格不是提示词/u);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue