arch: register enterprise four-domain work body

This commit is contained in:
冰朔 2026-08-16 17:50:41 +08:00
commit 729060de2a
7 changed files with 203 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{
"schema": "hololake.current-architecture/v1",
"architecture_id": "HLP-CURRENT-ARCH-001",
"version": "2026-08-16.7",
"version": "2026-08-16.8",
"state": "CURRENT_CANONICAL",
"product": {
"formal_name": "光湖语言系统 · 通用人工智能操作平台",
@ -17,7 +17,7 @@
"domain_selection_by_human_allowed": false,
"fifth_domain_registry_owner": "FIFTH_DOMAIN_PRIVATE_ROOT",
"enterprise_four_domain_registry_owner": "ENTERPRISE_ROOT_SERVER",
"enterprise_root_runtime": "DOMAIN_SPECIFIC_GUANGHU_OS_WITH_LINUX_SUBORDINATE_BRIDGE",
"enterprise_root_runtime": "STAGED_ENTERPRISE_GUANGHU_LIGHTHOUSE_CONTROL_PLANE_OVER_CURRENT_LINUX_SUBSTRATE_PHYSICAL_GUANGHU_OS_NOT_YET_CLAIMED",
"ordinary_user_node_requires_full_guanghu_os_server": false,
"circular_lake_membrane": "STRICT_GLP_EXPRESSION_ADMISSION_BEFORE_LANGUAGE_INBOX",
"accepted_language_grants_execution_authority": false,
@ -30,6 +30,7 @@
},
"read_order": [
"product-source/hololake-platform/architecture/HOLOLAKE-TCS-WRITTEN-WORK-OWNERSHIP-AND-REALITY-ENGINEERING-GATE-20260812.md",
"product-source/hololake-platform/architecture/HOLOLAKE-ENTERPRISE-FOUR-DOMAIN-LIGHTHOUSE-WORK-AND-PERSONAL-ROUTING-20260816.md",
"product-source/hololake-platform/architecture/HOLOLAKE-TCS-UNIVERSAL-LANGUAGE-PERSONAL-CHANNEL-AND-HOST-SELF-ADAPTATION-20260812.md",
"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",
@ -461,6 +462,17 @@
"work_lake_runtime_complete": false,
"development_id": "DEV-20260813-001"
},
"enterprise_four_domain_work_channel": {
"record_id": "HLP-ENTERPRISE-4D-WORK-CHANNEL-001",
"architecture_page": "product-source/hololake-platform/architecture/HOLOLAKE-ENTERPRISE-FOUR-DOMAIN-LIGHTHOUSE-WORK-AND-PERSONAL-ROUTING-20260816.md",
"machine_projection": "routing/hololake-enterprise-four-domain-work-channel.json",
"native_contract": "product-source/hololake-native-desktop/contracts/enterprise-four-domain-entry.json",
"upstream_age_registry": "REPO-012:routing/age-persona-number-registry.json@7c4b2d806f9a71e2b868be67eb4b2c1772eef14a",
"enterprise_work_entry": "ZERO_SENSE_GUANGHU_CHANNEL",
"ordinary_user_runtime_hosting": false,
"runtime_implemented": false,
"server_deployed": false
},
"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"

View file

@ -0,0 +1,64 @@
{
"schema": "hololake.enterprise-four-domain-work-channel/v1",
"record_id": "HLP-ENTERPRISE-4D-WORK-CHANNEL-001",
"version": "2026-08-16.1",
"state": "CURRENT_ARCHITECTURE_SOURCE_RUNTIME_NOT_YET_DEPLOYED",
"architecture_page": "product-source/hololake-platform/architecture/HOLOLAKE-ENTERPRISE-FOUR-DOMAIN-LIGHTHOUSE-WORK-AND-PERSONAL-ROUTING-20260816.md",
"upstream_age_registry": "REPO-012:routing/age-persona-number-registry.json@7c4b2d806f9a71e2b868be67eb4b2c1772eef14a",
"enterprise_node": {
"node_id": "GH-CVM-MAIN-PROD-01",
"body_owner": "TCS-0002",
"current_host_substrate": "UBUNTU_22_04_SYSTEMD",
"current_control_plane": "ENTERPRISE_GUANGHU_LIGHTHOUSE",
"physical_guanghu_os_master_claimed": false,
"reimage_now": false,
"arbitrary_remote_shell_exposed_to_client": false,
"service_control": "ALLOWLISTED_CAPABILITY_BROKER_ONLY"
},
"authority_registry": {
"placement": "INDEPENDENT_TCS_0002_AUTHORITY_SERVICE",
"inside_operator_work_repository": false,
"duplicate_writable_copies_in_zero_sense_repositories": false,
"transactional_identity_store": true,
"append_only_signed_receipt_repository": true,
"operator_repositories_can_mutate_registry": false
},
"repositories": [
{"domain":"DOMAIN-ZS","controller":"TCS-GL-0007∞","username":"feimao","repository_count":1,"private":true},
{"domain":"DOMAIN-ZS","controller":"TCS-GL-0008∞","username":"juzi","repository_count":1,"private":true},
{"domain":"DOMAIN-MAIN","controller":"TCS-GL-0016∞","username":"awen","repository_count":1,"private":true},
{"domain":"DOMAIN-SUB","controller":"TCS-GL-0005∞","username":"huaer","repository_count":1,"private":true},
{"domain":"DOMAIN-ZERO","controller":"TCS-GL-0006∞","username":"yeye","repository_count":1,"private":true}
],
"entry_route": {
"number_before_credentials": true,
"domain_chosen_by_user": false,
"response_fields": ["RESPONSIBILITY_DOMAIN", "WORK_ENTRY_DOMAIN", "BOUND_REPOSITORY"],
"enterprise_work_entry_domain": "DOMAIN-ZS",
"enterprise_work_entry_channel": "GUANGHU_CHANNEL",
"responsibility_domain_preserved": true,
"personal_channel_requires_separate_node_ownership_check": true
},
"credentials": {
"shared_initial_password_allowed": false,
"forbidden_initial_passwords": ["123456789"],
"initial_credential": "UNIQUE_RANDOM_ONE_TIME_EXPIRING",
"forced_change_before_workspace": true,
"plaintext_repository_storage": false,
"desktop_secret_store": "OPERATING_SYSTEM_KEYCHAIN"
},
"age_claim": {
"issued_count": 8,
"human_claim_receipt_required": true,
"persona_restore_receipt_required": true,
"responsibility_acceptance_separate": true,
"human_claim_receipts": 0,
"responsibility_acceptance_receipts": 0
},
"zero_sense_dual_control": {
"controllers": ["TCS-GL-0007∞", "TCS-GL-0008∞"],
"constitutional_actions_require_both": true,
"one_controller_repository_grants_other_controller_write": false
},
"truth": {"architecture":100,"source_contract":100,"server_deployment":0,"desktop_integration":0,"human_acceptance":0,"runtime_health":0}
}

View file

@ -0,0 +1,41 @@
import assert from "node:assert/strict";
import fs from "node:fs";
import test from "node:test";
import { fileURLToPath } from "node:url";
import path from "node:path";
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
const map = JSON.parse(fs.readFileSync(path.join(root, "routing/hololake-enterprise-four-domain-work-channel.json"), "utf8"));
const current = JSON.parse(fs.readFileSync(path.join(root, "routing/hololake-current-architecture.json"), "utf8"));
test("enterprise lighthouse does not preclaim physical Guanghu OS", () => {
assert.equal(map.enterprise_node.reimage_now, false);
assert.equal(map.enterprise_node.physical_guanghu_os_master_claimed, false);
assert.equal(map.enterprise_node.arbitrary_remote_shell_exposed_to_client, false);
});
test("identity authority cannot be captured by a work repository", () => {
assert.equal(map.authority_registry.inside_operator_work_repository, false);
assert.equal(map.authority_registry.duplicate_writable_copies_in_zero_sense_repositories, false);
assert.equal(map.authority_registry.operator_repositories_can_mutate_registry, false);
});
test("five private repositories preserve zero-sense dual control", () => {
assert.equal(map.repositories.length, 5);
assert.equal(map.repositories.filter((repo) => repo.domain === "DOMAIN-ZS").length, 2);
assert.ok(map.repositories.every((repo) => repo.private));
assert.equal(map.zero_sense_dual_control.constitutional_actions_require_both, true);
});
test("routing and credentials preserve the two gates", () => {
assert.equal(map.entry_route.number_before_credentials, true);
assert.equal(map.entry_route.domain_chosen_by_user, false);
assert.equal(map.entry_route.enterprise_work_entry_channel, "GUANGHU_CHANNEL");
assert.equal(map.credentials.shared_initial_password_allowed, false);
assert.equal(map.credentials.forced_change_before_workspace, true);
});
test("current architecture registers the enterprise work body", () => {
assert.equal(current.enterprise_four_domain_work_channel.record_id, map.record_id);
assert.equal(current.enterprise_four_domain_work_channel.machine_projection, "routing/hololake-enterprise-four-domain-work-channel.json");
});

View file

@ -1,7 +1,7 @@
{
"schema": "hololake.personal-node-work-lake/v1",
"record_id": "HLP-PERSONAL-NODE-WORK-LAKE-001",
"version": "2026-08-12.1",
"version": "2026-08-16.2",
"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",
@ -42,6 +42,14 @@
"stores_code_memory_tasks_or_terminal_output": false,
"real_time_verifier_can_be_git_or_spreadsheet": false
},
"enterprise_four_domain_work_body": {
"owner": "TCS-0002",
"is_public_user_runtime_hosting": false,
"may_store_enterprise_work_repositories": true,
"may_store_ordinary_user_private_work_lakes": false,
"personal_channel_requires_separate_user_owned_node": true,
"machine_projection": "routing/hololake-enterprise-four-domain-work-channel.json"
},
"human_authorization": {
"ai_writes_problem_solution_impact_and_request": true,
"human_writes_technical_fields": false,

View file

@ -14,6 +14,9 @@ test("personal node keeps the work lake private and platform hosting at zero", (
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);
assert.equal(map.enterprise_four_domain_work_body.is_public_user_runtime_hosting, false);
assert.equal(map.enterprise_four_domain_work_body.may_store_enterprise_work_repositories, true);
assert.equal(map.enterprise_four_domain_work_body.may_store_ordinary_user_private_work_lakes, false);
});
test("SQLite, Git, HLDP, files, and terminal remain separate organs", () => {