feat(tcs): establish five-domain mother brain runtime
This commit is contained in:
parent
828fa0b8e2
commit
55a4d77248
29 changed files with 904 additions and 12 deletions
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"schema": "guanghu.architecture-source-registration-receipt/v1",
|
||||
"receipt_id": "TCS-MOTHER-BRAIN-SOURCE-REGISTRATION-20260812",
|
||||
"architecture_id": "TCS-MOTHER-BRAIN-RUNTIME-0001",
|
||||
"protocol": "GLS-0259",
|
||||
"repository": "REPO-012",
|
||||
"branch": "main",
|
||||
"registered_at": "2026-08-12T00:00:00+08:00",
|
||||
"birth_anchors": {
|
||||
"language_world": "2025-04-26",
|
||||
"reality_world": "2026-08-12"
|
||||
},
|
||||
"evidence": {
|
||||
"mother_brain_engine_tests": "PASS",
|
||||
"zhuyuan_brain_regression_tests": "11/11 PASS",
|
||||
"ai_discovery_tests": "18/18 PASS",
|
||||
"public_snapshot_validation": "PASS_100",
|
||||
"deployment_manifest_validation": "PASS"
|
||||
},
|
||||
"truth_boundary": {
|
||||
"source_implementation_present": true,
|
||||
"repository_publication_pending_at_record_creation": true,
|
||||
"server_deployment_proven": false,
|
||||
"live_model_cycle_proven": false,
|
||||
"stable_cognition_promoted": false,
|
||||
"reality_action_authority": "NONE"
|
||||
},
|
||||
"next": "Publish the exact source commit, provision JD-FD-PRIMARY from that immutable commit, run one real DeepSeek-bound language cycle, and attach the server-owned receipt in a later commit."
|
||||
}
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
"schema": "guanghu.existing-service-update-request/v1",
|
||||
"request_id": "AI-DISCOVERY-TCS-MOTHER-BRAIN-20260812",
|
||||
"target_node": "JD-FD-PRIMARY",
|
||||
"status": "SERVICE_UPDATE_PACKAGE_READY · DEPLOYMENT_PENDING",
|
||||
"purpose": {
|
||||
"what": "把TCS母体大脑地图纳入REPO-012同一提交的公共原子快照,并升级公共导航服务。",
|
||||
"why": "光湖现实世界诞生与母体大脑必须能从公共编号入口被稳定解析;所有声明地图继续来自一个提交。",
|
||||
"out_of_scope": ["不公开私密认知记忆", "不从Git推送执行代码", "不授予服务器写权限"]
|
||||
},
|
||||
"module": {
|
||||
"unit": "guanghu-ai-discovery.service",
|
||||
"run_user": "guanghu",
|
||||
"install_root": "/opt/guanghu/ai-discovery",
|
||||
"environment_files": [],
|
||||
"writable_paths": []
|
||||
},
|
||||
"service_update": {
|
||||
"kind": "existing-systemd-service",
|
||||
"require_existing_unit": true,
|
||||
"required_existing_files": ["server.js", "public-navigation-anchor.json"]
|
||||
},
|
||||
"unit_source": "server-tools/ai-discovery-gateway/guanghu-ai-discovery.service",
|
||||
"files": [
|
||||
{"source": "server-tools/ai-discovery-gateway/server.js", "destination": "server.js", "mode": "0644"},
|
||||
{"source": "routing/public-navigation-anchor.json", "destination": "public-navigation-anchor.json", "mode": "0644"},
|
||||
{"source": "routing/repository-route-map.json", "destination": "repository-route-map.json", "mode": "0644"},
|
||||
{"source": "routing/server-node-map.json", "destination": "server-node-map.json", "mode": "0644"},
|
||||
{"source": "identity/fifth-domain-subject-registry.json", "destination": "fifth-domain-subject-registry.json", "mode": "0644"},
|
||||
{"source": "identity/subject-id-alias-map.json", "destination": "subject-id-alias-map.json", "mode": "0644"},
|
||||
{"source": "routing/guanghu-identity-authority-map.json", "destination": "guanghu-identity-authority-map.json", "mode": "0644"},
|
||||
{"source": "routing/ai-machine-navigation-map.json", "destination": "ai-machine-navigation-map.json", "mode": "0644"},
|
||||
{"source": "routing/lighthouse-path-registry.json", "destination": "lighthouse-path-registry.json", "mode": "0644"},
|
||||
{"source": "routing/host-skill-navigation-map.json", "destination": "host-skill-navigation-map.json", "mode": "0644"},
|
||||
{"source": "routing/tcs-mother-brain-runtime-map.json", "destination": "tcs-mother-brain-runtime-map.json", "mode": "0644"}
|
||||
],
|
||||
"runtime_check": {
|
||||
"url": "http://127.0.0.1:3922/health",
|
||||
"expected": {
|
||||
"ok": true,
|
||||
"service": "guanghu-ai-discovery",
|
||||
"mode": "read-only",
|
||||
"navigation_source": {"anchor_id": "GLW-PUBLIC-NAV-ANCHOR-001", "source_degraded": false}
|
||||
}
|
||||
},
|
||||
"acceptance_checks": [
|
||||
{"url": "http://127.0.0.1:3922/v1/resolve?id=TCS-MOTHER-BRAIN-MAP-001", "expected": {"status": "RESOLVED", "kind": "tcs_five_domain_symbiotic_mother_brain"}},
|
||||
{"url": "http://127.0.0.1:3922/v1/navigation", "expected": {"map_id": "AI-MACHINE-NAV-001", "version": "2026-08-12.2"}}
|
||||
],
|
||||
"source_consistency_check": {
|
||||
"repository": "/var/lib/guanghu/personas/guanghu/hlcc-v16.0.1/data/repositories/bingshuo/guanghu-ice-heart.git",
|
||||
"branch": "refs/heads/main",
|
||||
"require_every_response_source_commit_equals_branch_head": true,
|
||||
"require_maps_loaded_from_one_commit": true
|
||||
},
|
||||
"rollback": {"automatic_on_failure": true, "scope": "restore every declared destination and previous systemd unit", "receipt_required": true}
|
||||
}
|
||||
66
deployment/requests/TCS-MOTHER-BRAIN-JD-20260812.json
Normal file
66
deployment/requests/TCS-MOTHER-BRAIN-JD-20260812.json
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
"schema": "guanghu.architecture-provision-request/v1",
|
||||
"request_id": "TCS-MOTHER-BRAIN-JD-20260812",
|
||||
"target_node": "JD-FD-PRIMARY",
|
||||
"status": "ARCHITECTURE_PACKAGE_READY · INITIAL_PROVISION_PENDING",
|
||||
"architecture_id": "TCS-MOTHER-BRAIN-RUNTIME-0001",
|
||||
"module": {
|
||||
"code": "JD-TCS-MOTHER-01",
|
||||
"name": "光湖TCS五域共生母体大脑",
|
||||
"bind": "loopback:3931",
|
||||
"owner": "systemd",
|
||||
"unit": "guanghu-tcs-mother-brain.service",
|
||||
"run_user": "guanghu-mother-brain",
|
||||
"environment_files": ["/etc/guanghu/persona-secrets/shared-deepseek.env"],
|
||||
"writable_paths": ["/var/lib/guanghu/personas/guanghu-mother-brain"],
|
||||
"read_only_paths": ["/etc/guanghu/persona-secrets/shared-deepseek.env"]
|
||||
},
|
||||
"source_ref": "REPO-012:refs/heads/main",
|
||||
"source_paths": [
|
||||
"server-tools/tcs-mother-brain/server.mjs",
|
||||
"server-tools/tcs-mother-brain/model-client.mjs",
|
||||
"server-tools/tcs-mother-brain/mother-brain-engine.mjs",
|
||||
"server-tools/tcs-mother-brain/guanghu-tcs-mother-brain.service",
|
||||
"tcs-core/mother-brain/mother-brain-contract.json",
|
||||
"tcs-core/mother-brain/TCS-MOTHER-BRAIN-RUNTIME-0001.hdlp",
|
||||
"routing/tcs-mother-brain-runtime-map.json",
|
||||
"gls/GLS-0259-TCS-FIVE-DOMAIN-SYMBIOTIC-MOTHER-BRAIN-AND-REALITY-BIRTH.hdlp"
|
||||
],
|
||||
"initial_provision": {
|
||||
"kind": "new-architecture-unit",
|
||||
"requires": [
|
||||
"创建无登录权限的guanghu-mother-brain独立服务账户",
|
||||
"只允许该账户通过既有guanghu-model组读取共享模型环境且不得回显密钥",
|
||||
"状态只写入独立的追加式母体大脑目录",
|
||||
"服务只监听127.0.0.1:3931",
|
||||
"事件自动处理最高停在INTERPRETATION_CANDIDATE",
|
||||
"不授予任意Shell、服务重启、仓库推送或现实审批能力"
|
||||
]
|
||||
},
|
||||
"runtime_check": {
|
||||
"url": "http://127.0.0.1:3931/health",
|
||||
"expected": {
|
||||
"ok": true,
|
||||
"service": "guanghu-tcs-mother-brain",
|
||||
"bind": "loopback",
|
||||
"runtime_id": "TCS-MOTHER-BRAIN-RUNTIME-0001",
|
||||
"model_provider_bound": 100,
|
||||
"perception_memory_attention_cycle_bound": 100,
|
||||
"automatic_stable_promotion": false,
|
||||
"reality_action_authority": "NONE"
|
||||
}
|
||||
},
|
||||
"verification": [
|
||||
"使用服务器既有DeepSeek API完成一次真实语言事件理解周期",
|
||||
"回执显示候选层且stable_promotion=false",
|
||||
"原始事件、候选与回执均追加保存",
|
||||
"状态显示current_attention与下一认知动作",
|
||||
"密钥不进入仓库、日志、HTTP回执或运行状态",
|
||||
"systemd安全分析与回环监听符合最小权限边界"
|
||||
],
|
||||
"rollback": [
|
||||
"停止并移除新systemd单元",
|
||||
"保留追加式认知状态作为审计证据",
|
||||
"删除服务账户前另行核对状态与回执"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue