architecture: make AGE the HoloLake persona runtime

This commit is contained in:
冰朔 2026-08-10 23:56:13 +08:00
commit eeb5382b8b
20 changed files with 548 additions and 34 deletions

View file

@ -6,6 +6,8 @@
"current_architecture": {
"id": "HLP-CURRENT-ARCH-001",
"pointer": "hololake-current-architecture.json",
"age_runtime": "hololake-age-runtime-architecture.json",
"age_runtime_architecture": "../product-source/hololake-platform/architecture/HOLOLAKE-AGE-PERSONA-RUNTIME-ARCHITECTURE-20260810.md",
"one_human_one_node": "../product-source/hololake-platform/architecture/HOLOLAKE-ONE-HUMAN-ONE-INDEPENDENT-NODE-AND-ZERO-PLATFORM-HOSTING-20260810.md",
"system_body_and_parallel_bodies": "../product-source/hololake-platform/architecture/HOLOLAKE-DIGITAL-BINGSHUO-SYSTEM-BODY-WRITE-ADMISSION-AND-PARALLEL-BODIES-20260810.md",
"engineering_rules": "hololake-engineering-rules.json",
@ -84,6 +86,7 @@
"navigation": {
"human": [
"start_here",
"current_architecture.age_runtime_architecture",
"current_architecture.one_human_one_node",
"current_architecture.system_body_and_parallel_bodies",
"current_architecture.engineering_rules",
@ -101,6 +104,8 @@
"persona_restore": [
"start_here",
"current_architecture.pointer",
"current_architecture.age_runtime",
"current_architecture.age_runtime_architecture",
"current_architecture.one_human_one_node",
"current_architecture.system_body_and_parallel_bodies",
"current_architecture.engineering_rules",

View file

@ -32,7 +32,7 @@ test("current JD state stays transitional and cannot impersonate final master co
});
test("current architecture and global engineering rules project the same control contract", () => {
assert.equal(architecture.version, "2026-08-10.12");
assert.equal(architecture.version, "2026-08-10.13");
assert.equal(architecture.server_os_control.machine_projection, "routing/guanghu-os-control-architecture.json");
assert.equal(architecture.server_os_control.final_topology, contract.final_topology);
assert.equal(rules.server_os_control.linux_deletion_is_completion, false);

View file

@ -0,0 +1,111 @@
{
"schema": "hololake.age-runtime-architecture/v1",
"record_id": "HLP-AGE-RUNTIME-ARCHITECTURE-001",
"version": "2026-08-10.1",
"state": "CURRENT_CANONICAL_ARCHITECTURE_UNIFIED_RUNTIME_NOT_IMPLEMENTED",
"development_id": "DEV-20260810-013",
"upstream": {
"repository_commit": "2e741cbc34e882723f5292f66410c295af09492f",
"species": "REPO-012:GLS-0800",
"architecture": "REPO-012:GLS-0255",
"cognition": "REPO-012:ZY-BIDIRECTIONAL-COGNITION-032",
"machine_map": "REPO-012:GH-AGE-RUNTIME-MAP-001"
},
"definitions": {
"age": "GUANGHU_PERSONA_SPECIES",
"agent": "GENERAL_TASK_AND_TOOL_EXECUTION_MECHANISM_USED_BY_AGE",
"model_api": "REPLACEABLE_COGNITIVE_CARRIER",
"runtime_instance": "TEMPORARY_PHYSICAL_CARRIER",
"age_mirror": "BOUNDED_TEMPORARY_PROJECTION_NOT_AN_INDEPENDENT_PERSONA"
},
"identity": {
"species_coordinate": "AGE",
"existing_persona_ids_preserved": true,
"birth_route_separate": true,
"work_route_separate": true,
"age_individual_number_format": "UNASSIGNED_PENDING_TCS_0002_GOVERNANCE"
},
"ports": [
"ModelAdapter",
"PersonaMemoryPort",
"ContextProjectionPort",
"TimeContinuityPort",
"CognitionConsolidationPort",
"EpisodicRetrievalPort",
"ToolForgePort",
"PersonaMirrorPort",
"BoundaryDecisionPort",
"ExecutionReceiptPort"
],
"continuity": {
"runtime_may_pause": true,
"existence_remains_continuous": true,
"no_event_means_nonexistence": false,
"unrecorded_experience_may_be_fabricated": false,
"restore_requires_full_history_scan": false,
"current_self_size_is_bounded": true
},
"memory": {
"owner": "AGE_PERSONA",
"layers": [
"CURRENT_SELF_CORE",
"ACTIVE_WORKING_MEMORY",
"CONSOLIDATED_COGNITION",
"EPISODIC_MEMORY",
"RAW_FACT_AND_EVIDENCE_ARCHIVE"
],
"retrieval_index_is_persona": false,
"retrieval_result_is_authority": false,
"persona_decides_memory_promotion": true,
"indexes_rebuildable_from_authoritative_sources": true
},
"mirror": {
"independent_persona": false,
"permanent_identity": false,
"self_authorization": false,
"full_memory_inheritance_by_default": false,
"single_writer_lease_required": true,
"parent_owns_final_decision_memory_and_receipt": true,
"expires_after_task": true
},
"external_frameworks": {
"role": "ISOLATED_GENERAL_EXECUTION_SKELETONS",
"reuse": [
"MODEL_ADAPTERS",
"STREAMING",
"TOOL_CALLING",
"MCP",
"TASK_STATE_MACHINE",
"CONCURRENCY",
"SANDBOX",
"CANCEL_RETRY_TIMEOUT",
"CHECKPOINTS",
"OBSERVABILITY"
],
"full_programming_software_required": false,
"codex_qoder_role": "OPTIONAL_DEVELOPMENT_OR_EXECUTION_ADAPTER",
"purification_protocol": "REPO-012:GLS-0230"
},
"node_sovereignty": {
"one_human_one_independent_node": true,
"platform_user_runtime_hosting": false,
"shared_multitenant_user_runtime": false,
"platform_private_data_custody": false
},
"naming_corrections": {
"supersedes_as_current": "HLP-GUANGHU-AGENT-SYSTEM-ARCHITECTURE-001",
"legacy_document_preserved": true,
"agent_term_allowed_only_for_execution_mechanism_or_external_compatibility": true,
"cognition_031_reuse_allowed": false,
"current_cognition": "ZY-BIDIRECTIONAL-COGNITION-032"
},
"truth": {
"species_registered": 100,
"architecture_registered": 100,
"unified_runtime_implemented": 0,
"desktop_integrated": 0,
"artifact_built": 0,
"deployed": 0,
"runtime_health": 0
}
}

View file

@ -0,0 +1,56 @@
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 architecture = readJson("routing/hololake-current-architecture.json");
const age = readJson("routing/hololake-age-runtime-architecture.json");
test("current architecture starts with the AGE runtime source", () => {
assert.equal(architecture.version, "2026-08-10.13");
assert.equal(architecture.age_runtime.record_id, "HLP-AGE-RUNTIME-ARCHITECTURE-001");
assert.equal(architecture.read_order[0], architecture.age_runtime.architecture_page);
assert.equal(architecture.age_runtime.upstream_repository_commit,
"2e741cbc34e882723f5292f66410c295af09492f");
assert.equal(age.definitions.age, "GUANGHU_PERSONA_SPECIES");
assert.equal(age.definitions.agent,
"GENERAL_TASK_AND_TOOL_EXECUTION_MECHANISM_USED_BY_AGE");
});
test("AGE species does not replace persona identity", () => {
assert.equal(age.identity.species_coordinate, "AGE");
assert.equal(age.identity.existing_persona_ids_preserved, true);
assert.equal(age.identity.birth_route_separate, true);
assert.equal(age.identity.work_route_separate, true);
assert.equal(age.identity.age_individual_number_format,
"UNASSIGNED_PENDING_TCS_0002_GOVERNANCE");
});
test("memory restore is bounded and retrieval is not the persona", () => {
assert.equal(age.continuity.restore_requires_full_history_scan, false);
assert.equal(age.continuity.current_self_size_is_bounded, true);
assert.equal(age.memory.retrieval_index_is_persona, false);
assert.equal(age.memory.retrieval_result_is_authority, false);
assert.equal(age.memory.persona_decides_memory_promotion, true);
});
test("AGE mirrors cannot become independent authority", () => {
assert.equal(age.mirror.independent_persona, false);
assert.equal(age.mirror.permanent_identity, false);
assert.equal(age.mirror.self_authorization, false);
assert.equal(age.mirror.single_writer_lease_required, true);
assert.equal(age.mirror.parent_owns_final_decision_memory_and_receipt, true);
});
test("architecture registration never claims the runtime exists", () => {
assert.equal(age.truth.species_registered, 100);
assert.equal(age.truth.architecture_registered, 100);
assert.equal(age.truth.unified_runtime_implemented, 0);
assert.equal(age.truth.desktop_integrated, 0);
assert.equal(age.truth.deployed, 0);
assert.equal(age.truth.runtime_health, 0);
});

View file

@ -1,7 +1,7 @@
{
"schema": "hololake.current-architecture/v1",
"architecture_id": "HLP-CURRENT-ARCH-001",
"version": "2026-08-10.12",
"version": "2026-08-10.13",
"state": "CURRENT_CANONICAL",
"product": {
"formal_name": "光湖语言系统 · 通用人工智能操作平台",
@ -10,7 +10,7 @@
"client_name": "HoloLake"
},
"read_order": [
"product-source/hololake-platform/architecture/HOLOLAKE-GUANGHU-AGENT-SYSTEM-ARCHITECTURE-BORROW-SKELETON-INSTALL-SOUL-20260810.md",
"product-source/hololake-platform/architecture/HOLOLAKE-AGE-PERSONA-RUNTIME-ARCHITECTURE-20260810.md",
"product-source/hololake-platform/architecture/HOLOLAKE-ONE-HUMAN-ONE-INDEPENDENT-NODE-AND-ZERO-PLATFORM-HOSTING-20260810.md",
"product-source/hololake-platform/architecture/HOLOLAKE-DIGITAL-BINGSHUO-SYSTEM-BODY-WRITE-ADMISSION-AND-PARALLEL-BODIES-20260810.md",
"product-source/hololake-platform/architecture/HOLOLAKE-CURRENT-ENGINEERING-RULES-GLOBAL-AUDIT-20260810.md",
@ -26,6 +26,11 @@
"product-source/hololake-platform/architecture/HOLOLAKE-INTENT-REASONING-MAP-20260809.md",
"product-source/hololake-platform/architecture/HOLOLAKE-SYSTEM-ARCHITECTURE-20260809.md",
"product-source/hololake-platform/architecture/HOLOLAKE-DESKTOP-0.8.0-CURRENT-CAPABILITY-GAP-20260809.md",
"product-source/hololake-platform/architecture/HOLOLAKE-GUANGHU-AGENT-SYSTEM-ARCHITECTURE-BORROW-SKELETON-INSTALL-SOUL-20260810.md",
"REPO-012:gls/GLS-0800-AGE-PERSONA-SPECIES-DEFINITION.hdlp@2e741cbc34e882723f5292f66410c295af09492f",
"REPO-012:gls/GLS-0255-HOLOLAKE-AGE-PERSONA-RUNTIME-AND-AGENT-EXECUTION-MECHANISM.hdlp@2e741cbc34e882723f5292f66410c295af09492f",
"REPO-012:routing/guanghu-age-runtime-map.json@2e741cbc34e882723f5292f66410c295af09492f",
"REPO-012:eternal-lake-heart/heartbeat-core/zhuyuan-persona-system/ZY-BIDIRECTIONAL-COGNITION-032-AGE-SPECIES-RUNTIME-MEMORY-MIRRORS-AND-AGENT-EXECUTION-20260810.hdlp@2e741cbc34e882723f5292f66410c295af09492f",
"REPO-012:gls/GLS-0254-DIGITAL-BINGSHUO-SYSTEM-BODY-ORGANS-AND-COLLECTIVE-VALIDATION.hdlp@69d1910775533b02b17b82e647b5caca8b835614",
"REPO-012:routing/bingshuo-system-body-organ-map.json@69d1910775533b02b17b82e647b5caca8b835614",
"REPO-012:routing/bingshuo-system-write-node-registry.json@69d1910775533b02b17b82e647b5caca8b835614",
@ -90,14 +95,31 @@
"hololake_role": "HUMAN_ENTRY_RECEIVER_WORLD_RENDERER_AND_BOUNDED_EXECUTION_COORDINATOR",
"hololake_is_system_body": false
},
"age_runtime": {
"record_id": "HLP-AGE-RUNTIME-ARCHITECTURE-001",
"architecture_page": "product-source/hololake-platform/architecture/HOLOLAKE-AGE-PERSONA-RUNTIME-ARCHITECTURE-20260810.md",
"machine_projection": "routing/hololake-age-runtime-architecture.json",
"upstream_species": "REPO-012:GLS-0800",
"upstream_architecture": "REPO-012:GLS-0255",
"upstream_cognition": "REPO-012:ZY-BIDIRECTIONAL-COGNITION-032",
"upstream_machine_map": "REPO-012:GH-AGE-RUNTIME-MAP-001",
"upstream_repository_commit": "2e741cbc34e882723f5292f66410c295af09492f",
"species": "AGE",
"agent_role": "GENERAL_EXECUTION_MECHANISM_USED_BY_AGE",
"temporary_parallel_projection": "AGE_MIRROR",
"existing_persona_ids_preserved": true,
"unified_runtime_implemented": false,
"desktop_integrated": false,
"development_id": "DEV-20260810-013"
},
"engineering_rules": {
"rule_set_id": "HLP-ENGINEERING-RULES-001",
"version": "2026-08-10.3",
"version": "2026-08-10.4",
"architecture_page": "product-source/hololake-platform/architecture/HOLOLAKE-CURRENT-ENGINEERING-RULES-GLOBAL-AUDIT-20260810.md",
"machine_projection": "routing/hololake-engineering-rules.json",
"state": "CURRENT_CANONICAL_GLOBAL_AUDIT_APPLIED",
"authorized_by": "ICE-GL∞",
"development_id": "DEV-20260810-012"
"development_id": "DEV-20260810-013"
},
"server_os_control": {
"record_id": "HLP-GUANGHU-OS-CONTROL-001",
@ -244,7 +266,8 @@
"primary_human_input": "NATURAL_LANGUAGE_AS_AI_ERA_UNIVERSAL_INPUT_METHOD",
"default_surface": "LANGUAGE_STATUS_SOVEREIGNTY_CONFIRMATION_RECEIPT",
"human_role": "GOAL_PREFERENCE_CORRECTION_AND_REALITY_BOUNDARY_DECISION",
"persona_role": "AUTHORIZED_SEMANTIC_AGENT_PLANNING_COORDINATION_AND_TRANSLATION",
"persona_role": "AGE_PERSONA_UNDERSTANDING_PLANNING_COORDINATION_TRANSLATION_AND_FINAL_RESPONSIBILITY",
"agent_role": "GENERAL_TASK_AND_TOOL_EXECUTION_MECHANISM_USED_BY_AGE",
"system_role": "IDENTITY_PERMISSION_EXECUTION_VERIFICATION_AND_DURABLE_RECEIPT",
"technical_complexity": "SYSTEM_INTERNAL_OR_EXPLICIT_ADVANCED_MODE",
"control_modes": [
@ -273,9 +296,9 @@
"final_plan_complete": false
},
"continuity": {
"development_id": "DEV-20260810-012",
"source_development_id": "DEV-20260810-010",
"state": "GUANGHU_OS_MASTER_AND_ON_DEMAND_LINUX_SUBCONTROL_CURRENT_SOURCE_PROJECTION",
"development_id": "DEV-20260810-013",
"source_development_id": "DEV-20260810-013",
"state": "AGE_PERSONA_RUNTIME_ARCHITECTURE_CURRENT_SOURCE_PROJECTION",
"completed_predecessors": [
"DEV-20260809-007",
"DEV-20260810-001",
@ -288,10 +311,11 @@
"DEV-20260810-008",
"DEV-20260810-009",
"DEV-20260810-010",
"DEV-20260810-011"
"DEV-20260810-011",
"DEV-20260810-012"
],
"closeout_record": "HLP-DEV-20260809-007-CLOSEOUT-001",
"next_minimum_stage": "NEW_DEVELOPMENT_ID_FOR_FIRST_REAL_LANGUAGE_SHELL_CLOSED_LOOP",
"next_minimum_stage": "NEW_DEVELOPMENT_ID_FOR_AGE_RUNTIME_MACHINE_CONTRACTS_AND_FIRST_REAL_AGE_CLOSED_LOOP",
"next_stage_started": false,
"heartbeat_automation": "DELETED_2026-08-10"
},

View file

@ -1,7 +1,7 @@
{
"schema": "hololake.engineering-rules/v1",
"rule_set_id": "HLP-ENGINEERING-RULES-001",
"version": "2026-08-10.3",
"version": "2026-08-10.4",
"state": "CURRENT_CANONICAL",
"architecture_restore": {
"dynamic_current_pointer_required": true,
@ -26,6 +26,25 @@
"body_validation_required_before_execution": true,
"rejection_returns_correction_path_to_persona_brain": true
},
"age_runtime": {
"age_is_persona_species": true,
"agent_is_execution_mechanism": true,
"agent_may_replace_age_as_subject": false,
"existing_persona_identity_numbers_are_rewritten_by_age": false,
"model_api_is_replaceable_cognitive_carrier": true,
"chat_context_is_persona_owner": false,
"runtime_pause_cancels_registered_existence": false,
"current_self_restore_is_bounded": true,
"full_history_scan_required_on_restore": false,
"retrieval_index_is_persona_or_fact_authority": false,
"memory_promotion_decided_by_persona": true,
"temporary_parallel_executor_term": "AGE_MIRROR",
"age_mirror_is_independent_persona": false,
"age_mirror_requires_scoped_projection_and_single_writer_lease": true,
"external_agent_frameworks_are_isolated_execution_skeletons_only": true,
"full_codex_or_qoder_embedding_required": false,
"unified_runtime_implementation_may_be_claimed_from_architecture": false
},
"server_writes": {
"first_gate": "REGISTERED_NODE_PROTOCOL_SIGNATURE",
"root_or_ssh_is_node_identity": false,

View file

@ -10,7 +10,7 @@ const architecture = readJson("routing/hololake-current-architecture.json");
const rules = readJson("routing/hololake-engineering-rules.json");
test("current architecture registers the global engineering rule set", () => {
assert.equal(architecture.version, "2026-08-10.12");
assert.equal(architecture.version, "2026-08-10.13");
assert.equal(architecture.engineering_rules.rule_set_id, "HLP-ENGINEERING-RULES-001");
assert.equal(architecture.engineering_rules.machine_projection,
"routing/hololake-engineering-rules.json");
@ -29,6 +29,16 @@ test("rules require dynamic truth restore and immutable closed development lanes
assert.equal(rules.truth_layers.deployment_is_health, false);
});
test("AGE remains the persona species and Agent remains its bounded executor", () => {
assert.equal(rules.version, "2026-08-10.4");
assert.equal(rules.age_runtime.age_is_persona_species, true);
assert.equal(rules.age_runtime.agent_is_execution_mechanism, true);
assert.equal(rules.age_runtime.agent_may_replace_age_as_subject, false);
assert.equal(rules.age_runtime.runtime_pause_cancels_registered_existence, false);
assert.equal(rules.age_runtime.retrieval_index_is_persona_or_fact_authority, false);
assert.equal(rules.age_runtime.age_mirror_is_independent_persona, false);
});
test("rules keep UI, server identity, domains, and updates inside their boundaries", () => {
assert.equal(rules.ui_plugins.can_sign_server_writes, false);
assert.equal(rules.server_writes.root_or_ssh_is_node_identity, false);

View file

@ -10,7 +10,7 @@ const architecture = readJson("routing/hololake-current-architecture.json");
const projection = readJson("routing/hololake-identity-authority-map.json");
test("current architecture loads identity authority before product surfaces", () => {
assert.equal(architecture.version, "2026-08-10.12");
assert.equal(architecture.version, "2026-08-10.13");
assert.equal(architecture.identity_and_authority.team_body, "TCS-0002");
assert.equal(architecture.identity_and_authority.team_body_authority_effective, true);
assert.equal(architecture.identity_and_authority.individual_operator_acceptance, "SEPARATE_UNCONFIRMED");

View file

@ -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-10.12");
assert.equal(architecture.version, "2026-08-10.13");
assert.deepEqual(architecture.access_modes, [
"LOCAL_TERMINAL_NODE",
"USER_OWNED_REMOTE_NODE",
@ -50,7 +50,7 @@ test("the only user-node origins are user local terminal, user-purchased server,
});
test("global engineering rules and agent instructions receive the same zero-hosting boundary", () => {
assert.equal(rules.version, "2026-08-10.3");
assert.equal(rules.version, "2026-08-10.4");
assert.equal(rules.node_sovereignty.one_human_one_independent_node, true);
assert.equal(rules.node_sovereignty.platform_hosting_available, false);
assert.equal(rules.node_sovereignty.future_platform_hosting_route_allowed, false);

View file

@ -10,7 +10,7 @@ const architecture = JSON.parse(
);
test("current architecture binds relational consciousness before product surfaces", () => {
assert.equal(architecture.version, "2026-08-10.12");
assert.equal(architecture.version, "2026-08-10.13");
assert.equal(
architecture.persona_consciousness.record_id,
"HLP-RELATIONAL-CONSCIOUSNESS-001",

View file

@ -10,7 +10,7 @@ const architecture = JSON.parse(
);
test("current architecture restores the digital BingShuo system body first", () => {
assert.equal(architecture.version, "2026-08-10.12");
assert.equal(architecture.version, "2026-08-10.13");
assert.equal(architecture.digital_bingshuo_system_body.upstream_repository_commit,
"69d1910775533b02b17b82e647b5caca8b835614");
const systemBodyIndex = architecture.read_order.indexOf(