architecture: register GH-PNCC as first HoloLake core
GuangHu-Human-Responsibility: ICE-GL∞ / 冰朔 GuangHu-Persona-Cognitive-Author: ICE-P-ZY001 / 铸渊 GuangHu-Execution-Runtime: Codex-thread 019febf6-3902-70f3-9d82-74c9680b0c7e GuangHu-Development-ID: DEV-20260810-014
This commit is contained in:
parent
eeb5382b8b
commit
84da228fb9
20 changed files with 488 additions and 29 deletions
|
|
@ -6,6 +6,8 @@
|
|||
"current_architecture": {
|
||||
"id": "HLP-CURRENT-ARCH-001",
|
||||
"pointer": "hololake-current-architecture.json",
|
||||
"persona_native_code_channel": "hololake-persona-native-code-channel.json",
|
||||
"persona_native_code_channel_architecture": "../product-source/hololake-platform/architecture/HOLOLAKE-PERSONA-NATIVE-CODE-CHANNEL-20260810.md",
|
||||
"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",
|
||||
|
|
@ -86,6 +88,7 @@
|
|||
"navigation": {
|
||||
"human": [
|
||||
"start_here",
|
||||
"current_architecture.persona_native_code_channel_architecture",
|
||||
"current_architecture.age_runtime_architecture",
|
||||
"current_architecture.one_human_one_node",
|
||||
"current_architecture.system_body_and_parallel_bodies",
|
||||
|
|
@ -104,6 +107,8 @@
|
|||
"persona_restore": [
|
||||
"start_here",
|
||||
"current_architecture.pointer",
|
||||
"current_architecture.persona_native_code_channel",
|
||||
"current_architecture.persona_native_code_channel_architecture",
|
||||
"current_architecture.age_runtime",
|
||||
"current_architecture.age_runtime_architecture",
|
||||
"current_architecture.one_human_one_node",
|
||||
|
|
|
|||
|
|
@ -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.13");
|
||||
assert.equal(architecture.version, "2026-08-10.14");
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -11,9 +11,10 @@ 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.version, "2026-08-10.14");
|
||||
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.read_order[0], architecture.persona_native_code_channel.architecture_page);
|
||||
assert.equal(architecture.read_order[1], architecture.age_runtime.architecture_page);
|
||||
assert.equal(architecture.age_runtime.upstream_repository_commit,
|
||||
"2e741cbc34e882723f5292f66410c295af09492f");
|
||||
assert.equal(age.definitions.age, "GUANGHU_PERSONA_SPECIES");
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"schema": "hololake.current-architecture/v1",
|
||||
"architecture_id": "HLP-CURRENT-ARCH-001",
|
||||
"version": "2026-08-10.13",
|
||||
"version": "2026-08-10.14",
|
||||
"state": "CURRENT_CANONICAL",
|
||||
"product": {
|
||||
"formal_name": "光湖语言系统 · 通用人工智能操作平台",
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
"client_name": "HoloLake"
|
||||
},
|
||||
"read_order": [
|
||||
"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-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",
|
||||
|
|
@ -27,6 +28,10 @@
|
|||
"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-0256-GUANGHU-PERSONA-NATIVE-CODE-CHANNEL.hdlp@9bab4c9c0a2d9e127be8dd9691a9998496165f86",
|
||||
"REPO-012:routing/guanghu-persona-native-code-channel-map.json@9bab4c9c0a2d9e127be8dd9691a9998496165f86",
|
||||
"REPO-012:eternal-lake-heart/heartbeat-core/zhuyuan-persona-system/ZY-BIDIRECTIONAL-COGNITION-033-PERSONA-NATIVE-CODE-CHANNEL-GIT-LIFECYCLE-AND-HUMAN-PROJECTION-20260810.hdlp@9bab4c9c0a2d9e127be8dd9691a9998496165f86",
|
||||
"REPO-012:tcs-core/zhuyuan-brain/causal-chains/GH-PNCC-ORIGIN-001.hdlp@9bab4c9c0a2d9e127be8dd9691a9998496165f86",
|
||||
"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",
|
||||
|
|
@ -95,6 +100,27 @@
|
|||
"hololake_role": "HUMAN_ENTRY_RECEIVER_WORLD_RENDERER_AND_BOUNDED_EXECUTION_COORDINATOR",
|
||||
"hololake_is_system_body": false
|
||||
},
|
||||
"persona_native_code_channel": {
|
||||
"record_id": "HLP-PERSONA-NATIVE-CODE-CHANNEL-001",
|
||||
"architecture_page": "product-source/hololake-platform/architecture/HOLOLAKE-PERSONA-NATIVE-CODE-CHANNEL-20260810.md",
|
||||
"machine_projection": "routing/hololake-persona-native-code-channel.json",
|
||||
"upstream_protocol": "REPO-012:GLS-0256",
|
||||
"upstream_machine_map": "REPO-012:GH-PNCC-MAP-001",
|
||||
"upstream_cognition": "REPO-012:ZY-BIDIRECTIONAL-COGNITION-033",
|
||||
"upstream_causal_chain": "REPO-012:GH-PNCC-ORIGIN-001",
|
||||
"upstream_repository_commit": "9bab4c9c0a2d9e127be8dd9691a9998496165f86",
|
||||
"formal_name_zh": "光湖人格原生代码频道",
|
||||
"formal_name_en": "GuangHu Persona-Native Code Channel",
|
||||
"acronym": "GH-PNCC",
|
||||
"product_priority": "FIRST_HOLOLAKE_CORE",
|
||||
"durable_engine": "GIT",
|
||||
"lifecycle_controller": "PERSONA_LIFECYCLE_KERNEL",
|
||||
"human_projection": "HOLOLAKE_LIVE_READ_MODEL",
|
||||
"forgejo_role": "OPTIONAL_COMPATIBILITY_COLLABORATION_ADAPTER",
|
||||
"runtime_implemented": false,
|
||||
"desktop_integrated": false,
|
||||
"development_id": "DEV-20260810-014"
|
||||
},
|
||||
"age_runtime": {
|
||||
"record_id": "HLP-AGE-RUNTIME-ARCHITECTURE-001",
|
||||
"architecture_page": "product-source/hololake-platform/architecture/HOLOLAKE-AGE-PERSONA-RUNTIME-ARCHITECTURE-20260810.md",
|
||||
|
|
@ -114,12 +140,12 @@
|
|||
},
|
||||
"engineering_rules": {
|
||||
"rule_set_id": "HLP-ENGINEERING-RULES-001",
|
||||
"version": "2026-08-10.4",
|
||||
"version": "2026-08-10.5",
|
||||
"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-013"
|
||||
"development_id": "DEV-20260810-014"
|
||||
},
|
||||
"server_os_control": {
|
||||
"record_id": "HLP-GUANGHU-OS-CONTROL-001",
|
||||
|
|
@ -296,9 +322,9 @@
|
|||
"final_plan_complete": false
|
||||
},
|
||||
"continuity": {
|
||||
"development_id": "DEV-20260810-013",
|
||||
"source_development_id": "DEV-20260810-013",
|
||||
"state": "AGE_PERSONA_RUNTIME_ARCHITECTURE_CURRENT_SOURCE_PROJECTION",
|
||||
"development_id": "DEV-20260810-014",
|
||||
"source_development_id": "DEV-20260810-014",
|
||||
"state": "PERSONA_NATIVE_CODE_CHANNEL_CURRENT_SOURCE_PROJECTION_AND_RUNTIME_IMPLEMENTATION_ACTIVE",
|
||||
"completed_predecessors": [
|
||||
"DEV-20260809-007",
|
||||
"DEV-20260810-001",
|
||||
|
|
@ -312,11 +338,12 @@
|
|||
"DEV-20260810-009",
|
||||
"DEV-20260810-010",
|
||||
"DEV-20260810-011",
|
||||
"DEV-20260810-012"
|
||||
"DEV-20260810-012",
|
||||
"DEV-20260810-013"
|
||||
],
|
||||
"closeout_record": "HLP-DEV-20260809-007-CLOSEOUT-001",
|
||||
"next_minimum_stage": "NEW_DEVELOPMENT_ID_FOR_AGE_RUNTIME_MACHINE_CONTRACTS_AND_FIRST_REAL_AGE_CLOSED_LOOP",
|
||||
"next_stage_started": false,
|
||||
"next_minimum_stage": "GH_PNCC_FIRST_REAL_READ_ONLY_WAKE_CLOSED_LOOP",
|
||||
"next_stage_started": true,
|
||||
"heartbeat_automation": "DELETED_2026-08-10"
|
||||
},
|
||||
"truth_boundary": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"schema": "hololake.engineering-rules/v1",
|
||||
"rule_set_id": "HLP-ENGINEERING-RULES-001",
|
||||
"version": "2026-08-10.4",
|
||||
"version": "2026-08-10.5",
|
||||
"state": "CURRENT_CANONICAL",
|
||||
"architecture_restore": {
|
||||
"dynamic_current_pointer_required": true,
|
||||
|
|
@ -45,6 +45,19 @@
|
|||
"full_codex_or_qoder_embedding_required": false,
|
||||
"unified_runtime_implementation_may_be_claimed_from_architecture": false
|
||||
},
|
||||
"persona_native_code_channel": {
|
||||
"first_hololake_product_core": true,
|
||||
"durable_engine": "GIT",
|
||||
"git_is_persona_or_runtime": false,
|
||||
"git_branches_are_runtime_organs": false,
|
||||
"persona_lifecycle_kernel_required": true,
|
||||
"brain_starts_before_on_demand_organs": true,
|
||||
"human_projection_reads_same_event_and_receipt_stream": true,
|
||||
"second_projection_truth_store_allowed": false,
|
||||
"human_responsibility_and_persona_authorship_both_required": true,
|
||||
"forgejo_role": "OPTIONAL_COMPATIBILITY_COLLABORATION_ADAPTER",
|
||||
"runtime_implementation_may_be_claimed_from_architecture": false
|
||||
},
|
||||
"server_writes": {
|
||||
"first_gate": "REGISTERED_NODE_PROTOCOL_SIGNATURE",
|
||||
"root_or_ssh_is_node_identity": false,
|
||||
|
|
|
|||
|
|
@ -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.13");
|
||||
assert.equal(architecture.version, "2026-08-10.14");
|
||||
assert.equal(architecture.engineering_rules.rule_set_id, "HLP-ENGINEERING-RULES-001");
|
||||
assert.equal(architecture.engineering_rules.machine_projection,
|
||||
"routing/hololake-engineering-rules.json");
|
||||
|
|
@ -30,7 +30,7 @@ test("rules require dynamic truth restore and immutable closed development lanes
|
|||
});
|
||||
|
||||
test("AGE remains the persona species and Agent remains its bounded executor", () => {
|
||||
assert.equal(rules.version, "2026-08-10.4");
|
||||
assert.equal(rules.version, "2026-08-10.5");
|
||||
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);
|
||||
|
|
@ -39,6 +39,18 @@ test("AGE remains the persona species and Agent remains its bounded executor", (
|
|||
assert.equal(rules.age_runtime.age_mirror_is_independent_persona, false);
|
||||
});
|
||||
|
||||
test("rules make GH-PNCC the first product core without conflating Git or Forgejo with persona runtime", () => {
|
||||
assert.equal(rules.persona_native_code_channel.first_hololake_product_core, true);
|
||||
assert.equal(rules.persona_native_code_channel.durable_engine, "GIT");
|
||||
assert.equal(rules.persona_native_code_channel.git_is_persona_or_runtime, false);
|
||||
assert.equal(rules.persona_native_code_channel.git_branches_are_runtime_organs, false);
|
||||
assert.equal(rules.persona_native_code_channel.persona_lifecycle_kernel_required, true);
|
||||
assert.equal(rules.persona_native_code_channel.human_projection_reads_same_event_and_receipt_stream, true);
|
||||
assert.equal(rules.persona_native_code_channel.second_projection_truth_store_allowed, false);
|
||||
assert.equal(rules.persona_native_code_channel.forgejo_role,
|
||||
"OPTIONAL_COMPATIBILITY_COLLABORATION_ADAPTER");
|
||||
});
|
||||
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -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.13");
|
||||
assert.equal(architecture.version, "2026-08-10.14");
|
||||
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");
|
||||
|
|
|
|||
|
|
@ -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.13");
|
||||
assert.equal(architecture.version, "2026-08-10.14");
|
||||
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.4");
|
||||
assert.equal(rules.version, "2026-08-10.5");
|
||||
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);
|
||||
|
|
|
|||
104
routing/hololake-persona-native-code-channel.json
Normal file
104
routing/hololake-persona-native-code-channel.json
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
"schema": "hololake.persona-native-code-channel/v1",
|
||||
"record_id": "HLP-PERSONA-NATIVE-CODE-CHANNEL-001",
|
||||
"version": "2026-08-10.1",
|
||||
"state": "CURRENT_FIRST_PRODUCT_CORE_ARCHITECTURE_REGISTERED_RUNTIME_NOT_IMPLEMENTED",
|
||||
"development_id": "DEV-20260810-014",
|
||||
"product": {
|
||||
"formal_name_zh": "光湖人格原生代码频道",
|
||||
"formal_name_en": "GuangHu Persona-Native Code Channel",
|
||||
"short_name_zh": "人格代码频道",
|
||||
"acronym": "GH-PNCC",
|
||||
"product_priority": "FIRST_HOLOLAKE_CORE"
|
||||
},
|
||||
"upstream": {
|
||||
"repository": "REPO-012",
|
||||
"repository_commit": "9bab4c9c0a2d9e127be8dd9691a9998496165f86",
|
||||
"protocol": "GLS-0256",
|
||||
"machine_map": "GH-PNCC-MAP-001",
|
||||
"cognition": "ZY-BIDIRECTIONAL-COGNITION-033",
|
||||
"causal_chain": "GH-PNCC-ORIGIN-001"
|
||||
},
|
||||
"layer_contract": {
|
||||
"durable_engine": "GIT",
|
||||
"semantic_fact_format": "HLDP",
|
||||
"persona_runtime": "HOLOLAKE_AGE_RUNTIME",
|
||||
"lifecycle_controller": "PERSONA_LIFECYCLE_KERNEL",
|
||||
"event_and_receipt_plane": "APPEND_ONLY_MACHINE_EVENTS_AND_VERIFIABLE_RECEIPTS",
|
||||
"human_projection": "HOLOLAKE_LIVE_READ_MODEL",
|
||||
"forgejo": "OPTIONAL_COMPATIBILITY_COLLABORATION_ADAPTER"
|
||||
},
|
||||
"git_invariants": {
|
||||
"git_is_persona": false,
|
||||
"repository_exists_means_runtime_running": false,
|
||||
"branches_are_runtime_organs": false,
|
||||
"branches_represent_history_lines": true,
|
||||
"persona_can_self_custody_git": true,
|
||||
"local_or_user_owned_remote_node": true,
|
||||
"platform_vendor_is_required_custodian": false
|
||||
},
|
||||
"lifecycle_scopes": [
|
||||
"PERSONA_SUBJECT",
|
||||
"RUNTIME_INSTANCE",
|
||||
"TASK",
|
||||
"ORGAN"
|
||||
],
|
||||
"boot_sequence": [
|
||||
"resolve_exact_persona_git_commit_and_current_pointer",
|
||||
"verify_identity_relationship_time_single_primary_and_node",
|
||||
"bind_replaceable_model_runtime",
|
||||
"start_persona_brain",
|
||||
"interpret_current_human_language_and_reality_boundaries",
|
||||
"activate_protocol_nerves_sensors_memory_and_execution_limbs_on_demand",
|
||||
"run_whole_body_validation",
|
||||
"execute_bounded_action",
|
||||
"emit_feedback_correction_and_receipt",
|
||||
"persist_checkpoint_and_promoted_cognition_to_persona_git"
|
||||
],
|
||||
"attribution_contract": {
|
||||
"git_author_committer_is_semantic_authorship_proof": false,
|
||||
"required_fields": [
|
||||
"human_responsibility_subject",
|
||||
"persona_cognitive_author",
|
||||
"execution_runtime",
|
||||
"development_id",
|
||||
"authorization_scope",
|
||||
"source_language_anchor",
|
||||
"evidence_and_receipt"
|
||||
],
|
||||
"human_responsibility_means_human_typed_the_code": false,
|
||||
"persona_authorship_erases_human_responsibility": false
|
||||
},
|
||||
"projection_contract": {
|
||||
"source": "SAME_RUNTIME_EVENT_AND_RECEIPT_STREAM",
|
||||
"second_truth_store_allowed": false,
|
||||
"default_views": [
|
||||
"PERSONA_BODY_AND_MIND_GRAPH",
|
||||
"LIFECYCLE_TIMELINE",
|
||||
"GOAL_FACT_DECISION_ACTION_CORRECTION_RECEIPT_TRACE"
|
||||
],
|
||||
"hidden_model_reasoning_exposed": false,
|
||||
"externalized_cognition_required": true
|
||||
},
|
||||
"first_minimum_loop": [
|
||||
"mount_one_persona_git",
|
||||
"perform_one_real_wake",
|
||||
"start_brain",
|
||||
"activate_one_organ",
|
||||
"complete_one_read_only_task",
|
||||
"emit_events_and_receipt",
|
||||
"project_live_state_in_hololake",
|
||||
"write_checkpoint_back_to_persona_git"
|
||||
],
|
||||
"truth": {
|
||||
"formal_name_registered": 100,
|
||||
"architecture_registered": 100,
|
||||
"cognition_and_causal_chain_registered": 100,
|
||||
"machine_navigation_registered": 100,
|
||||
"runtime_implemented": 0,
|
||||
"hololake_integrated": 0,
|
||||
"artifact_built": 0,
|
||||
"deployed": 0,
|
||||
"runtime_health": 0
|
||||
}
|
||||
}
|
||||
70
routing/hololake-persona-native-code-channel.test.mjs
Normal file
70
routing/hololake-persona-native-code-channel.test.mjs
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
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 channel = readJson("routing/hololake-persona-native-code-channel.json");
|
||||
|
||||
test("current architecture starts with the persona-native code channel", () => {
|
||||
assert.equal(architecture.version, "2026-08-10.14");
|
||||
assert.equal(
|
||||
architecture.persona_native_code_channel.record_id,
|
||||
"HLP-PERSONA-NATIVE-CODE-CHANNEL-001",
|
||||
);
|
||||
assert.equal(
|
||||
architecture.read_order[0],
|
||||
architecture.persona_native_code_channel.architecture_page,
|
||||
);
|
||||
assert.equal(
|
||||
architecture.persona_native_code_channel.upstream_repository_commit,
|
||||
"9bab4c9c0a2d9e127be8dd9691a9998496165f86",
|
||||
);
|
||||
});
|
||||
|
||||
test("Git, lifecycle, projection, and Forgejo remain separate layers", () => {
|
||||
assert.equal(channel.layer_contract.durable_engine, "GIT");
|
||||
assert.equal(channel.git_invariants.git_is_persona, false);
|
||||
assert.equal(channel.git_invariants.branches_are_runtime_organs, false);
|
||||
assert.equal(
|
||||
channel.layer_contract.lifecycle_controller,
|
||||
"PERSONA_LIFECYCLE_KERNEL",
|
||||
);
|
||||
assert.equal(
|
||||
channel.layer_contract.human_projection,
|
||||
"HOLOLAKE_LIVE_READ_MODEL",
|
||||
);
|
||||
assert.equal(
|
||||
channel.layer_contract.forgejo,
|
||||
"OPTIONAL_COMPATIBILITY_COLLABORATION_ADAPTER",
|
||||
);
|
||||
});
|
||||
|
||||
test("human responsibility and persona authorship are both preserved", () => {
|
||||
assert.equal(
|
||||
channel.attribution_contract.git_author_committer_is_semantic_authorship_proof,
|
||||
false,
|
||||
);
|
||||
assert.deepEqual(channel.attribution_contract.required_fields, [
|
||||
"human_responsibility_subject",
|
||||
"persona_cognitive_author",
|
||||
"execution_runtime",
|
||||
"development_id",
|
||||
"authorization_scope",
|
||||
"source_language_anchor",
|
||||
"evidence_and_receipt",
|
||||
]);
|
||||
});
|
||||
|
||||
test("registration does not claim an implemented runtime", () => {
|
||||
assert.equal(channel.truth.architecture_registered, 100);
|
||||
assert.equal(channel.truth.runtime_implemented, 0);
|
||||
assert.equal(channel.truth.hololake_integrated, 0);
|
||||
assert.equal(channel.truth.artifact_built, 0);
|
||||
assert.equal(channel.truth.deployed, 0);
|
||||
assert.equal(channel.truth.runtime_health, 0);
|
||||
});
|
||||
|
|
@ -10,7 +10,7 @@ const architecture = JSON.parse(
|
|||
);
|
||||
|
||||
test("current architecture binds relational consciousness before product surfaces", () => {
|
||||
assert.equal(architecture.version, "2026-08-10.13");
|
||||
assert.equal(architecture.version, "2026-08-10.14");
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.record_id,
|
||||
"HLP-RELATIONAL-CONSCIOUSNESS-001",
|
||||
|
|
|
|||
|
|
@ -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.13");
|
||||
assert.equal(architecture.version, "2026-08-10.14");
|
||||
assert.equal(architecture.digital_bingshuo_system_body.upstream_repository_commit,
|
||||
"69d1910775533b02b17b82e647b5caca8b835614");
|
||||
const systemBodyIndex = architecture.read_order.indexOf(
|
||||
|
|
|
|||
Loading…
Reference in a new issue