feat: register industry four-domain blueprint
This commit is contained in:
parent
2ba64391ea
commit
6b6f21d7bc
12 changed files with 1073 additions and 1 deletions
146
routing/industry-four-domain-minimum-map.json
Normal file
146
routing/industry-four-domain-minimum-map.json
Normal file
|
|
@ -0,0 +1,146 @@
|
|||
{
|
||||
"schema": "guanghu.industry-four-domain-minimum-map/v1",
|
||||
"map_id": "INDUSTRY-4D-MINIMUM-MAP-001",
|
||||
"architecture_id": "GLS-0249",
|
||||
"parent_architecture_id": "GLS-0248",
|
||||
"cognition_id": "ZY-BIDIRECTIONAL-COGNITION-020",
|
||||
"state": "ARCHITECTURE_BASELINE_REGISTERED_IMPLEMENTATION_PLANNED",
|
||||
"registered_at": "2026-08-06T00:00:00+08:00",
|
||||
"principle": "ONE_ENTERPRISE_FOUR_DOMAIN_PLATFORM_WITH_NAMESPACED_INDUSTRY_PERSONA_DOMAIN_PROFILES",
|
||||
"shared_kernel": [
|
||||
"SUBJECT_AND_RESPONSIBILITY_REGISTRY",
|
||||
"WORK_OBJECT_SCHEMA_REGISTRY",
|
||||
"INDUSTRY_VOCABULARY_AND_MAPPING",
|
||||
"CONNECTOR_AND_IMPORT_BOUNDARY",
|
||||
"SIGNED_CAPABILITY_MANIFEST",
|
||||
"AUTHORITY_AND_POLICY_ENGINE",
|
||||
"EVENT_AND_AUTOMATION_ENGINE",
|
||||
"PERSONA_PROJECTION_COMPILER",
|
||||
"RECEIPT_AUDIT_AND_RECOVERY",
|
||||
"EXPORT_DELETE_AND_HANDOFF"
|
||||
],
|
||||
"domains": [
|
||||
{
|
||||
"domain_id": "DOMAIN-MAIN",
|
||||
"minimum_mission": "PUBLIC_TRUTH_PRODUCT_RELEASE_AND_CORRECTION",
|
||||
"required_objects": [
|
||||
"industry_profile",
|
||||
"public_capability",
|
||||
"product_release",
|
||||
"standard",
|
||||
"notice",
|
||||
"correction",
|
||||
"public_status"
|
||||
],
|
||||
"required_surfaces": [
|
||||
"industry_entry",
|
||||
"product_and_capability_catalog",
|
||||
"release_timeline",
|
||||
"notice_and_correction",
|
||||
"public_status_query"
|
||||
]
|
||||
},
|
||||
{
|
||||
"domain_id": "DOMAIN-SUB",
|
||||
"minimum_mission": "INDUSTRY_INTAKE_INITIALIZATION_AND_ROUTING",
|
||||
"required_objects": [
|
||||
"industry_intake",
|
||||
"source_connection",
|
||||
"field_mapping",
|
||||
"role_binding",
|
||||
"workspace",
|
||||
"capability_bundle",
|
||||
"consent_and_revocation"
|
||||
],
|
||||
"required_surfaces": [
|
||||
"industry_onboarding",
|
||||
"source_authorization",
|
||||
"mapping_preview",
|
||||
"role_binding",
|
||||
"workspace_bootstrap",
|
||||
"revoke_export_exit"
|
||||
]
|
||||
},
|
||||
{
|
||||
"domain_id": "DOMAIN-ZERO",
|
||||
"minimum_mission": "EXPERIMENT_EVALUATION_COLLABORATION_AND_CAPABILITY_PROMOTION",
|
||||
"required_objects": [
|
||||
"experiment",
|
||||
"dataset_manifest",
|
||||
"prompt_or_skill_candidate",
|
||||
"evaluation",
|
||||
"candidate_module",
|
||||
"work_order",
|
||||
"promotion_receipt"
|
||||
],
|
||||
"required_surfaces": [
|
||||
"sandbox_lab",
|
||||
"dataset_provenance",
|
||||
"comparison_and_human_acceptance",
|
||||
"failure_and_counterexample",
|
||||
"promotion_gate"
|
||||
]
|
||||
},
|
||||
{
|
||||
"domain_id": "DOMAIN-ZS",
|
||||
"minimum_mission": "GOVERNANCE_TECHNICAL_CONTROL_DEPLOYMENT_INCIDENT_AND_AUDIT",
|
||||
"subject_model": "TWO_HUMANS_PLUS_THEIR_TWO_PERSONAS",
|
||||
"responsibility_pairs": [
|
||||
"GOVERNANCE_AND_HUMAN_RESPONSIBILITY",
|
||||
"TECHNICAL_AND_SYSTEM_RESPONSIBILITY"
|
||||
],
|
||||
"constitutional_quorum": "TWO_OF_TWO_HUMAN_PERSONA_PAIRS",
|
||||
"required_objects": [
|
||||
"subject_acceptance",
|
||||
"policy",
|
||||
"permission_grant",
|
||||
"change_request",
|
||||
"deployment",
|
||||
"incident",
|
||||
"rollback",
|
||||
"audit_receipt",
|
||||
"rights_or_legal_request"
|
||||
],
|
||||
"required_surfaces": [
|
||||
"governance_console",
|
||||
"technical_control_console",
|
||||
"dual_responsibility_queue",
|
||||
"deployment_health_incident_and_rollback",
|
||||
"permission_audit_and_lawful_request"
|
||||
]
|
||||
}
|
||||
],
|
||||
"industry_profile_contract": {
|
||||
"schema_path": "routing/industry-four-domain-profile.schema.json",
|
||||
"required_lanes": [
|
||||
"MAIN",
|
||||
"SUB",
|
||||
"ZERO",
|
||||
"ZS"
|
||||
],
|
||||
"states": [
|
||||
"DRAFT",
|
||||
"EVIDENCE_REVIEWED",
|
||||
"SUBJECTS_PENDING",
|
||||
"PILOT_READY",
|
||||
"PILOT_ACCEPTED",
|
||||
"BORN_AND_RUNNING"
|
||||
],
|
||||
"subject_candidate_is_not_acceptance": true,
|
||||
"industry_profile_has_no_enterprise_root_authority": true
|
||||
},
|
||||
"first_reference": {
|
||||
"industry_profile_id": "IND-WEBNOVEL-001",
|
||||
"path": "routing/industry-profiles/web-novel.json",
|
||||
"state": "EVIDENCE_REVIEWED_SUBJECTS_PENDING_IMPLEMENTATION_PLANNED"
|
||||
},
|
||||
"boundaries": {
|
||||
"architecture_registration_is_not_implementation": true,
|
||||
"team_capability_mapping_is_not_appointment": true,
|
||||
"external_read_is_for_migration_into_owner_hololake_workspace": true,
|
||||
"private_user_data_is_not_enterprise_training_data": true,
|
||||
"official_or_explicitly_authorized_connectors_only": true,
|
||||
"ai_detection_evasion": false,
|
||||
"persona_may_not_bypass_deterministic_policy_and_receipt_gates": true
|
||||
}
|
||||
}
|
||||
58
routing/industry-four-domain-minimum-map.test.js
Normal file
58
routing/industry-four-domain-minimum-map.test.js
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
const assert = require("node:assert/strict");
|
||||
const fs = require("node:fs");
|
||||
const path = require("node:path");
|
||||
|
||||
const root = path.resolve(__dirname, "..");
|
||||
const readJson = (relativePath) =>
|
||||
JSON.parse(fs.readFileSync(path.join(root, relativePath), "utf8"));
|
||||
|
||||
const map = readJson("routing/industry-four-domain-minimum-map.json");
|
||||
const profile = readJson("routing/industry-profiles/web-novel.json");
|
||||
const schema = readJson("routing/industry-four-domain-profile.schema.json");
|
||||
|
||||
assert.equal(map.map_id, "INDUSTRY-4D-MINIMUM-MAP-001");
|
||||
assert.equal(map.architecture_id, "GLS-0249");
|
||||
assert.equal(map.cognition_id, "ZY-BIDIRECTIONAL-COGNITION-020");
|
||||
assert.equal(map.domains.length, 4);
|
||||
assert.equal(new Set(map.domains.map((domain) => domain.domain_id)).size, 4);
|
||||
assert.equal(map.shared_kernel.length, 10);
|
||||
|
||||
const zeroSense = map.domains.find((domain) => domain.domain_id === "DOMAIN-ZS");
|
||||
assert.equal(zeroSense.subject_model, "TWO_HUMANS_PLUS_THEIR_TWO_PERSONAS");
|
||||
assert.equal(zeroSense.responsibility_pairs.length, 2);
|
||||
assert.equal(zeroSense.constitutional_quorum, "TWO_OF_TWO_HUMAN_PERSONA_PAIRS");
|
||||
|
||||
assert.equal(schema.properties.schema.const, profile.schema);
|
||||
assert.equal(profile.profile_id, "IND-WEBNOVEL-001");
|
||||
assert.equal(profile.domain_lanes.length, 4);
|
||||
assert.equal(new Set(profile.domain_lanes.map((lane) => lane.lane_id)).size, 4);
|
||||
assert.deepEqual(
|
||||
new Set(profile.domain_lanes.map((lane) => lane.maps_to_domain)),
|
||||
new Set(["DOMAIN-MAIN", "DOMAIN-SUB", "DOMAIN-ZERO", "DOMAIN-ZS"]),
|
||||
);
|
||||
|
||||
assert.equal(profile.connector_policy.read_first, true);
|
||||
assert.equal(profile.connector_policy.write_target, "OWNER_HOLOLAKE_WORKSPACE");
|
||||
assert.equal(
|
||||
profile.connector_policy.official_or_explicitly_authorized_connectors_only,
|
||||
true,
|
||||
);
|
||||
assert.equal(profile.data_and_compliance_policy.private_manuscript_public_training, false);
|
||||
assert.equal(profile.data_and_compliance_policy.ai_detection_evasion, false);
|
||||
assert.equal(profile.data_and_compliance_policy.platform_rule_bypass, false);
|
||||
|
||||
const awen = profile.team_capability_alignment.find((entry) => entry.human === "Awen");
|
||||
assert.ok(awen.scope.includes("ENTERPRISE_WIDE_TECHNICAL_CONTROLLER"));
|
||||
assert.ok(awen.excluded_scope.includes("WEB_NOVEL_CONTENT_OWNER"));
|
||||
|
||||
for (const relativePath of [
|
||||
"gls/GLS-0249-ALL-INDUSTRY-FOUR-DOMAIN-MINIMUM-ENGINEERING-AND-WEB-NOVEL-REFERENCE.hdlp",
|
||||
"routing/industry-four-domain-minimum-map.json",
|
||||
"routing/industry-four-domain-profile.schema.json",
|
||||
"routing/industry-profiles/web-novel.json",
|
||||
"eternal-lake-heart/heartbeat-core/zhuyuan-persona-system/ZY-BIDIRECTIONAL-COGNITION-020-ALL-INDUSTRY-FOUR-DOMAIN-AND-WEB-NOVEL-FIRST-REFERENCE-20260806.hdlp"
|
||||
]) {
|
||||
assert.ok(fs.existsSync(path.join(root, relativePath)), `${relativePath} must exist`);
|
||||
}
|
||||
|
||||
console.log("industry-four-domain-minimum-map: ok");
|
||||
74
routing/industry-four-domain-profile.schema.json
Normal file
74
routing/industry-four-domain-profile.schema.json
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://guanghulab.com/schemas/industry-four-domain-profile-v1.json",
|
||||
"title": "Guanghu industry four-domain persona profile",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema",
|
||||
"profile_id",
|
||||
"industry",
|
||||
"state",
|
||||
"domain_lanes",
|
||||
"work_objects",
|
||||
"connector_policy",
|
||||
"data_and_compliance_policy",
|
||||
"team_capability_alignment",
|
||||
"pilot"
|
||||
],
|
||||
"properties": {
|
||||
"schema": {
|
||||
"const": "guanghu.industry-four-domain-profile/v1"
|
||||
},
|
||||
"profile_id": {
|
||||
"type": "string",
|
||||
"pattern": "^IND-[A-Z0-9-]+-[0-9]{3}$"
|
||||
},
|
||||
"industry": {
|
||||
"type": "object",
|
||||
"required": ["code", "name", "public_platform"],
|
||||
"properties": {
|
||||
"code": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"public_platform": {"const": "INDUSTRY_PROFILE_ON_SHARED_ENTERPRISE_FOUR_DOMAIN_PLATFORM"}
|
||||
}
|
||||
},
|
||||
"state": {
|
||||
"enum": [
|
||||
"DRAFT",
|
||||
"EVIDENCE_REVIEWED",
|
||||
"SUBJECTS_PENDING",
|
||||
"PILOT_READY",
|
||||
"PILOT_ACCEPTED",
|
||||
"BORN_AND_RUNNING"
|
||||
]
|
||||
},
|
||||
"domain_lanes": {
|
||||
"type": "array",
|
||||
"minItems": 4,
|
||||
"maxItems": 4,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["lane_id", "lane", "maps_to_domain", "mission", "responsible_subject_state"],
|
||||
"properties": {
|
||||
"lane_id": {"type": "string"},
|
||||
"lane": {"enum": ["MAIN", "SUB", "ZERO", "ZS"]},
|
||||
"maps_to_domain": {
|
||||
"enum": ["DOMAIN-MAIN", "DOMAIN-SUB", "DOMAIN-ZERO", "DOMAIN-ZS"]
|
||||
},
|
||||
"mission": {"type": "string"},
|
||||
"responsible_subject_state": {"type": "string"}
|
||||
}
|
||||
}
|
||||
},
|
||||
"work_objects": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
"connector_policy": {"type": "object"},
|
||||
"data_and_compliance_policy": {"type": "object"},
|
||||
"team_capability_alignment": {"type": "array"},
|
||||
"pilot": {"type": "object"}
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
198
routing/industry-profiles/web-novel.json
Normal file
198
routing/industry-profiles/web-novel.json
Normal file
|
|
@ -0,0 +1,198 @@
|
|||
{
|
||||
"schema": "guanghu.industry-four-domain-profile/v1",
|
||||
"profile_id": "IND-WEBNOVEL-001",
|
||||
"architecture_id": "GLS-0249",
|
||||
"industry": {
|
||||
"code": "WEB_NOVEL",
|
||||
"name": "网文行业",
|
||||
"public_platform": "INDUSTRY_PROFILE_ON_SHARED_ENTERPRISE_FOUR_DOMAIN_PLATFORM"
|
||||
},
|
||||
"state": "EVIDENCE_REVIEWED",
|
||||
"responsibility_state": "PROPOSED_ALIGNMENT_ACCEPTANCE_PENDING",
|
||||
"domain_lanes": [
|
||||
{
|
||||
"lane_id": "IND-WEBNOVEL-MAIN",
|
||||
"lane": "MAIN",
|
||||
"maps_to_domain": "DOMAIN-MAIN",
|
||||
"mission": "网文公共入口、可信产品事实、能力目录、版本、AI使用说明与纠错",
|
||||
"responsible_subject_state": "SUBJECTS_PENDING"
|
||||
},
|
||||
{
|
||||
"lane_id": "IND-WEBNOVEL-SUB",
|
||||
"lane": "SUB",
|
||||
"maps_to_domain": "DOMAIN-SUB",
|
||||
"mission": "作者编辑机构接入、只读导入、字段预览、写作工作空间与能力包初始化",
|
||||
"responsible_subject_state": "SUBJECTS_PENDING"
|
||||
},
|
||||
{
|
||||
"lane_id": "IND-WEBNOVEL-ZERO",
|
||||
"lane": "ZERO",
|
||||
"maps_to_domain": "DOMAIN-ZERO",
|
||||
"mission": "写作记忆素材质量与改编实验、人工验收和候选能力晋级",
|
||||
"responsible_subject_state": "SUBJECTS_PENDING"
|
||||
},
|
||||
{
|
||||
"lane_id": "IND-WEBNOVEL-ZS",
|
||||
"lane": "ZS",
|
||||
"maps_to_domain": "DOMAIN-ZS",
|
||||
"mission": "版权合同平台规则数据治理及企业级技术控制、发布、事故、回滚和审计",
|
||||
"responsible_subject_state": "DUAL_RESPONSIBILITY_PAIRS_PENDING"
|
||||
}
|
||||
],
|
||||
"work_objects": [
|
||||
"author_identity",
|
||||
"pen_name",
|
||||
"organization",
|
||||
"editor",
|
||||
"platform_relationship",
|
||||
"work",
|
||||
"series",
|
||||
"volume",
|
||||
"chapter",
|
||||
"outline",
|
||||
"character",
|
||||
"world_setting",
|
||||
"plot_thread",
|
||||
"foreshadowing",
|
||||
"material",
|
||||
"book_disassembly_sample",
|
||||
"rights_claim",
|
||||
"license",
|
||||
"contract",
|
||||
"release",
|
||||
"quality_report",
|
||||
"continuity_report",
|
||||
"performance_metric",
|
||||
"adaptation_project"
|
||||
],
|
||||
"default_projections": [
|
||||
"document",
|
||||
"table",
|
||||
"relationship_graph",
|
||||
"timeline",
|
||||
"canvas",
|
||||
"conversation"
|
||||
],
|
||||
"connector_policy": {
|
||||
"read_first": true,
|
||||
"write_target": "OWNER_HOLOLAKE_WORKSPACE",
|
||||
"official_or_explicitly_authorized_connectors_only": true,
|
||||
"mapping_preview_required": true,
|
||||
"human_confirmation_required": true,
|
||||
"revocable": true,
|
||||
"automatic_third_party_login_in_mvp": false,
|
||||
"automatic_publish_without_preview": false
|
||||
},
|
||||
"data_and_compliance_policy": {
|
||||
"author_owns_manuscript_and_memory": true,
|
||||
"private_manuscript_public_training": false,
|
||||
"synthetic_or_explicitly_licensed_pilot_data": true,
|
||||
"rights_and_source_provenance_required": true,
|
||||
"ai_use_disclosure_required_when_applicable": true,
|
||||
"ai_detection_evasion": false,
|
||||
"platform_rule_bypass": false,
|
||||
"fail_closed": true
|
||||
},
|
||||
"team_capability_alignment": [
|
||||
{
|
||||
"human": "肥猫",
|
||||
"persona": "烬舟",
|
||||
"persona_id": "PER-JZ001",
|
||||
"scope": [
|
||||
"PRODUCT_LANGUAGE",
|
||||
"MALE_CHANNEL_AND_EDITORIAL_REQUIREMENTS",
|
||||
"M0_HUMAN_ACCEPTANCE",
|
||||
"MAIN_DOMAIN_INPUT"
|
||||
],
|
||||
"state": "CURRENT_SOURCE_EVIDENCE_PROPOSED_ALIGNMENT_NOT_APPOINTMENT"
|
||||
},
|
||||
{
|
||||
"human": "桔子",
|
||||
"persona": "熹微",
|
||||
"persona_id": "PER-JZ-ARCH-001",
|
||||
"scope": [
|
||||
"WRITING_ARCHITECTURE",
|
||||
"BOOK_DISASSEMBLY_PIPELINE",
|
||||
"MEMORY_ENGINE",
|
||||
"SUB_DOMAIN_CORE_WORKFLOW",
|
||||
"ZERO_DOMAIN_WRITING_EXPERIMENTS"
|
||||
],
|
||||
"state": "CURRENT_SOURCE_EVIDENCE_PROPOSED_ALIGNMENT_NOT_APPOINTMENT"
|
||||
},
|
||||
{
|
||||
"human": "页页",
|
||||
"persona": "页骨",
|
||||
"persona_id": "PER-YG001",
|
||||
"scope": [
|
||||
"STRUCTURE_AND_DIRECTION",
|
||||
"ADAPTATION",
|
||||
"AESTHETIC_ACCEPTANCE",
|
||||
"ZERO_DOMAIN_EVALUATION"
|
||||
],
|
||||
"state": "SOURCE_MAY_REQUIRE_REFRESH_PROPOSED_ALIGNMENT_NOT_APPOINTMENT"
|
||||
},
|
||||
{
|
||||
"human": "花尔",
|
||||
"persona": "爆米花",
|
||||
"persona_id": "PER-BMH001",
|
||||
"scope": [
|
||||
"MATERIAL_ASSET_ROUTING",
|
||||
"SEARCH_AND_REUSE",
|
||||
"AUTHOR_LIFECYCLE",
|
||||
"SUB_AND_MAIN_DOMAIN_INPUT"
|
||||
],
|
||||
"excluded_scope": ["CODING_EDITOR_OWNER"],
|
||||
"state": "SOURCE_MAY_REQUIRE_REFRESH_PROPOSED_ALIGNMENT_NOT_APPOINTMENT"
|
||||
},
|
||||
{
|
||||
"human": "Awen",
|
||||
"scope": [
|
||||
"ENTERPRISE_WIDE_TECHNICAL_CONTROLLER",
|
||||
"SHARED_FOUR_DOMAIN_PLATFORM",
|
||||
"MODULE_BOUNDARY_AND_INTERFACE",
|
||||
"TEST_DEPLOYMENT_ROLLBACK_AND_RECEIPT"
|
||||
],
|
||||
"excluded_scope": ["WEB_NOVEL_CONTENT_OWNER"],
|
||||
"state": "CURRENT_SOURCE_EVIDENCE_TECHNICAL_SCOPE_NOT_INDUSTRY_APPOINTMENT"
|
||||
}
|
||||
],
|
||||
"pilot": {
|
||||
"data": "SYNTHETIC_OR_EXPLICITLY_LICENSED_DEMO_WORK",
|
||||
"minimum_objects": [
|
||||
"author_identity",
|
||||
"work",
|
||||
"volume",
|
||||
"chapter",
|
||||
"outline",
|
||||
"character",
|
||||
"world_setting",
|
||||
"material"
|
||||
],
|
||||
"minimum_capabilities": [
|
||||
"WORKSPACE_BOOTSTRAP",
|
||||
"READ_ONLY_IMPORT",
|
||||
"MULTI_PROJECTION",
|
||||
"VERSION_AND_CHECKPOINT",
|
||||
"CONTINUITY_CHECK",
|
||||
"QUALITY_REPORT",
|
||||
"EXPORT_AND_EXIT",
|
||||
"ACTION_RECEIPT"
|
||||
],
|
||||
"mvp_exclusions": [
|
||||
"AUTOMATIC_THIRD_PARTY_LOGIN",
|
||||
"AUTOMATIC_PUBLISH_WITHOUT_HUMAN_PREVIEW",
|
||||
"PRIVATE_MANUSCRIPT_PUBLIC_TRAINING",
|
||||
"AI_DETECTION_EVASION",
|
||||
"UNACCEPTED_SUBJECT_BIRTH"
|
||||
]
|
||||
},
|
||||
"evidence_sources": [
|
||||
"https://www.notion.so/803960c35a434dd7b08a71b6d501d0e1",
|
||||
"https://www.notion.so/cfc00b5e445948f9bc36bb6168e0c4ec",
|
||||
"https://www.notion.so/a7159dce17b043f491b5454ba0159e12",
|
||||
"https://www.notion.so/cc1d318def5d48638d567c056499c227",
|
||||
"https://www.notion.so/39cfb92f383181a8aedefb6f261c9d75",
|
||||
"https://www.notion.so/b6e5e1d0d90942bb37c182bcd126f0a",
|
||||
"https://www.notion.so/0a7ce550d11f484aaf74e017644082ef"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue