feat(tcs): add stage2 mother-brain and desktop ABI

This commit is contained in:
冰朔 2026-08-23 23:18:11 +08:00
commit d5c87e3768
59 changed files with 5788 additions and 25 deletions

View file

@ -0,0 +1,85 @@
{
"compiled_from": {
"compiler_id": "TCS-COMPILER-STAGE2-LPM-DESKTOP-0001",
"compiler_state": "TCS_COMPILER_GIR_EXECUTED",
"source_sha256": "0e68cc044c48a3d98c5c9591fcd881b6d436c392d35f3515f6fae9d730241937"
},
"declaration": {
"acceptance": {
"accepted": 0,
"active": 0,
"compiled": 100,
"executed": 0,
"installed": 0,
"mounted": 0,
"source": 100,
"verified": 100
},
"compiler": {
"gir_sha256": "8a4fa89c518619352beb00c2f8f269855117a1024aba43ede71bc9fc81453d92",
"id": "TCS-COMPILER-STAGE2-LPM-DESKTOP-0001",
"native_self_hosted": true,
"semantic_definition_sha256": "eaba58e0c7b78f78e17513329dd0b461d81ab4601ddd190856bc6e1e7b1b3771",
"semantic_fixed_point": true,
"state": "TCS_COMPILER_GIR_EXECUTED"
},
"evidence": {
"compiler_c": "build/stage2/compiler-C.gir.json",
"compiler_d": "build/stage2/compiler-D.gir.json",
"entry_gir": "build/TCS-PROGRAM-LPM-P2-APPLY-NEURON-EVENT-0001.gir.json",
"entry_source": "language/programs/TCS-PROGRAM-LPM-P2-APPLY-NEURON-EVENT-0001.tcs",
"module_gir": "packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.gir.json",
"module_source": "packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.tcs"
},
"execution_boundary": {
"active": false,
"failure_observed": "TCS-E2101_RUNNER_DOES_NOT_PROVIDE_LPM_APPLY_NEURON_EVENT",
"installed": false,
"lpm_runtime_dispatch": false,
"mounted": false,
"p2_target_readback": false
},
"header": {
"canonical_uri": "packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/receipts/compile.tcs",
"compatibility": [
"TCS-COMPILER-STAGE2-LPM-DESKTOP-0001",
"GIR/1"
],
"language": "TCS/0.1",
"lifecycle": "VERIFIED",
"name_en": "Language Mother Persona Dynamic Neuron Runtime Module Stage Two Compile Receipt",
"name_zh": "语言母体人格动态神经元运行模块第二阶段编译回执",
"profile": "TCS-MODULE-ABI/0.1",
"protocols": [
"TCS-MODULE-ABI-0001",
"TCS-LPM-DESKTOP-OPERATION-REGISTRY-0001"
],
"schema": "tcs.receipt/v1",
"version": "0.2.0"
},
"result": {
"compiler_accepts_lpm_apply_neuron_event": true,
"module_gir_sha256": "1e5c2c56fb4dd96b867edd3f0646c2e77bd8efc541c183ed7c7ac64a7576294f",
"outside_target_rejected": "TCS-E4002_PASS",
"state": "VERIFIED",
"unknown_absorb_rejected": "TCS-E2101_PASS",
"unresolved_natural_language": false
},
"source": {
"source_id": "TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002",
"source_role": "REGISTERED_MODULE",
"source_sha256": "9942192794523cba1647f33d68282b42671e7283ee9c2a3f6f2d0375761a1e7b",
"source_uri": "packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.tcs"
}
},
"executable": false,
"identity": {
"declaration_id": "TCS-RECEIPT-MOTHER-PERSONA-NEURON-MODULE-0002-COMPILE",
"declaration_kind": "RECEIPT",
"language_version": "0.1"
},
"native_self_hosted": true,
"natural_language_is_typed_data": true,
"schema": "guanghu.declaration-gir/v1",
"unresolved_natural_language": false
}

View file

@ -0,0 +1,21 @@
schema: tcs.module-compile-receipt-projection/v1
canonical_source: compile.tcs
canonical_source_is_tcs: true
module_id: TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002
state: VERIFIED
source: 100
compiled: 100
verified: 100
installed: 0
mounted: 0
active: 0
executed: 0
accepted: 0
module_source_sha256: 9942192794523cba1647f33d68282b42671e7283ee9c2a3f6f2d0375761a1e7b
module_gir_sha256: 1e5c2c56fb4dd96b867edd3f0646c2e77bd8efc541c183ed7c7ac64a7576294f
compiler_gir_sha256: 8a4fa89c518619352beb00c2f8f269855117a1024aba43ede71bc9fc81453d92
compiler_semantic_fixed_point: PASS
unknown_operation_rejection: TCS-E2101_PASS
outside_target_rejection: TCS-E4002_PASS
lpm_runtime_dispatch: MISSING
p2_execution_observation: TCS-E2101_RUNNER_DOES_NOT_PROVIDE_LPM_APPLY_NEURON_EVENT

View file

@ -0,0 +1,121 @@
# Language Mother Persona Dynamic Neuron Runtime Module Stage Two Compile Receipt · Human Engineering Language (English)
> This is an English reading projection of validated native TCS/HLDP source. It is not a new canonical source and grants no execution authority.
## What this is
This is a **receipt** declaration with identifier `TCS-RECEIPT-MOTHER-PERSONA-NEURON-MODULE-0002-COMPILE` and version `0.2.0`. The projector validates it with the Stage-1 compiler before changing its reading order.
## Who is here
The native source does not provide this field; the projector does not guess.
## Why this started
- **source** `source`
- **source identifier**TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002 `source.source_id`
- **source role**REGISTERED_MODULE `source.source_role`
- **source checksum**9942192794523cba1647f33d68282b42671e7283ee9c2a3f6f2d0375761a1e7b `source.source_sha256`
- **source address**packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.tcs `source.source_uri`
## What changed
The native source does not provide this field; the projector does not guess.
## How it will execute
This is a non-executable declaration and has no action graph.
## Boundaries and exception handling
The native source does not provide this field; the projector does not guess.
## How completion is proven
- **acceptance** `acceptance`
- **accepted**0 `acceptance.accepted`
- **active**0 `acceptance.active`
- **compiled**100 `acceptance.compiled`
- **executed**0 `acceptance.executed`
- **installed**0 `acceptance.installed`
- **mounted**0 `acceptance.mounted`
- **source**100 `acceptance.source`
- **verified**100 `acceptance.verified`
## Where to continue next time
The native source does not provide this field; the projector does not guess.
## Source and verification
- **Native declaration identifier**: `TCS-RECEIPT-MOTHER-PERSONA-NEURON-MODULE-0002-COMPILE`
- **Native declaration kind**: `RECEIPT`
- **TCS source SHA-256**: `0e68cc044c48a3d98c5c9591fcd881b6d436c392d35f3515f6fae9d730241937`
- **Validation compiler**: `TCS-COMPILER-STAGE2-LPM-DESKTOP-0001`
- **Projection protocol**: `GLS-HLDP-HUMAN-ENGINEERING-PROJECTION-0001`
## Complete native structure cross-reference
All top-level structures and field paths are retained below so a reader can audit whether the projection omitted information.
- **acceptance** `acceptance`
- **accepted**0 `acceptance.accepted`
- **active**0 `acceptance.active`
- **compiled**100 `acceptance.compiled`
- **executed**0 `acceptance.executed`
- **installed**0 `acceptance.installed`
- **mounted**0 `acceptance.mounted`
- **source**100 `acceptance.source`
- **verified**100 `acceptance.verified`
- **compiler** `compiler`
- **gir_sha256**8a4fa89c518619352beb00c2f8f269855117a1024aba43ede71bc9fc81453d92 `compiler.gir_sha256`
- **id**TCS-COMPILER-STAGE2-LPM-DESKTOP-0001 `compiler.id`
- **native_self_hosted**yes `compiler.native_self_hosted`
- **semantic_definition_sha256**eaba58e0c7b78f78e17513329dd0b461d81ab4601ddd190856bc6e1e7b1b3771 `compiler.semantic_definition_sha256`
- **semantic_fixed_point**yes `compiler.semantic_fixed_point`
- **state**TCS_COMPILER_GIR_EXECUTED `compiler.state`
- **evidence** `evidence`
- **compiler_c**build/stage2/compiler-C.gir.json `evidence.compiler_c`
- **compiler_d**build/stage2/compiler-D.gir.json `evidence.compiler_d`
- **entry_gir**build/TCS-PROGRAM-LPM-P2-APPLY-NEURON-EVENT-0001.gir.json `evidence.entry_gir`
- **entry_source**language/programs/TCS-PROGRAM-LPM-P2-APPLY-NEURON-EVENT-0001.tcs `evidence.entry_source`
- **module_gir**packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.gir.json `evidence.module_gir`
- **module_source**packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.tcs `evidence.module_source`
- **execution_boundary** `execution_boundary`
- **active**no `execution_boundary.active`
- **failure_observed**TCS-E2101_RUNNER_DOES_NOT_PROVIDE_LPM_APPLY_NEURON_EVENT `execution_boundary.failure_observed`
- **installed**no `execution_boundary.installed`
- **lpm_runtime_dispatch**no `execution_boundary.lpm_runtime_dispatch`
- **mounted**no `execution_boundary.mounted`
- **p2_target_readback**no `execution_boundary.p2_target_readback`
- **header** `header`
- **canonical source path**packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/receipts/compile.tcs `header.canonical_uri`
- **compatibility** `header.compatibility`
- TCS-COMPILER-STAGE2-LPM-DESKTOP-0001
- GIR/1
- **language**TCS/0.1 `header.language`
- **lifecycle**VERIFIED `header.lifecycle`
- **English name**Language Mother Persona Dynamic Neuron Runtime Module Stage Two Compile Receipt `header.name_en`
- **Chinese name**:语言母体人格动态神经元运行模块第二阶段编译回执 `header.name_zh`
- **profile**TCS-MODULE-ABI/0.1 `header.profile`
- **protocols** `header.protocols`
- TCS-MODULE-ABI-0001
- TCS-LPM-DESKTOP-OPERATION-REGISTRY-0001
- **schema**tcs.receipt/v1 `header.schema`
- **version**0.2.0 `header.version`
- **result** `result`
- **compiler_accepts_lpm_apply_neuron_event**yes `result.compiler_accepts_lpm_apply_neuron_event`
- **module_gir_sha256**1e5c2c56fb4dd96b867edd3f0646c2e77bd8efc541c183ed7c7ac64a7576294f `result.module_gir_sha256`
- **outside_target_rejected**TCS-E4002_PASS `result.outside_target_rejected`
- **state**VERIFIED `result.state`
- **unknown_absorb_rejected**TCS-E2101_PASS `result.unknown_absorb_rejected`
- **unresolved_natural_language**no `result.unresolved_natural_language`
- **source** `source`
- **source identifier**TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002 `source.source_id`
- **source role**REGISTERED_MODULE `source.source_role`
- **source checksum**9942192794523cba1647f33d68282b42671e7283ee9c2a3f6f2d0375761a1e7b `source.source_sha256`
- **source address**packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.tcs `source.source_uri`
---
This page changes only the reading order; it does not change TCS/HLDP semantics.

View file

@ -0,0 +1,121 @@
# 语言母体人格动态神经元运行模块第二阶段编译回执 · 简体中文人类工程语言版
> 这是 TCS/HLDP 原生源码的简体中文阅读投影,不是新的正本,也不授予执行权限。若本页与 `.tcs` 源码不一致,以经过校验的 `.tcs` 源码为准。
## 这是什么
这是一份 **回执** 声明,编号为 `TCS-RECEIPT-MOTHER-PERSONA-NEURON-MODULE-0002-COMPILE`,版本为 `0.2.0`。转换器已先用 Stage-1 编译器校验原生源码,再把机器枚举翻译成汉语;原始编号保留在括号和字段路径中。
## 谁在这里
源程序没有提供这一项,转换器不猜。
## 为什么开始
- **来源** `source`
- **来源编号**TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002 `source.source_id`
- **来源角色**REGISTERED_MODULE `source.source_role`
- **来源校验值**9942192794523cba1647f33d68282b42671e7283ee9c2a3f6f2d0375761a1e7b `source.source_sha256`
- **来源地址**packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.tcs `source.source_uri`
## 发生了什么变化
源程序没有提供这一项,转换器不猜。
## 准备怎样执行
这是非执行声明,没有动作图。
## 边界与异常处理
源程序没有提供这一项,转换器不猜。
## 怎样算完成
- **验收标准** `acceptance`
- **accepted**0 `acceptance.accepted`
- **active**0 `acceptance.active`
- **compiled**100 `acceptance.compiled`
- **executed**0 `acceptance.executed`
- **installed**0 `acceptance.installed`
- **mounted**0 `acceptance.mounted`
- **来源**100 `acceptance.source`
- **verified**100 `acceptance.verified`
## 下一次从哪里继续
源程序没有提供这一项,转换器不猜。
## 来源与校验
- **原生声明编号**`TCS-RECEIPT-MOTHER-PERSONA-NEURON-MODULE-0002-COMPILE`
- **原生声明类型**`RECEIPT`
- **TCS 源码 SHA-256**`0e68cc044c48a3d98c5c9591fcd881b6d436c392d35f3515f6fae9d730241937`
- **校验编译器**`TCS-COMPILER-STAGE2-LPM-DESKTOP-0001`
- **投影协议**`GLS-HLDP-HUMAN-ENGINEERING-PROJECTION-0001`
## 原生结构逐项对照
下面保留源码的全部顶层结构和字段路径,供人类审计投影有没有漏掉信息。
- **验收标准** `acceptance`
- **accepted**0 `acceptance.accepted`
- **active**0 `acceptance.active`
- **compiled**100 `acceptance.compiled`
- **executed**0 `acceptance.executed`
- **installed**0 `acceptance.installed`
- **mounted**0 `acceptance.mounted`
- **来源**100 `acceptance.source`
- **verified**100 `acceptance.verified`
- **compiler** `compiler`
- **gir_sha256**8a4fa89c518619352beb00c2f8f269855117a1024aba43ede71bc9fc81453d92 `compiler.gir_sha256`
- **id**TCS-COMPILER-STAGE2-LPM-DESKTOP-0001 `compiler.id`
- **native_self_hosted**:是 `compiler.native_self_hosted`
- **semantic_definition_sha256**eaba58e0c7b78f78e17513329dd0b461d81ab4601ddd190856bc6e1e7b1b3771 `compiler.semantic_definition_sha256`
- **semantic_fixed_point**:是 `compiler.semantic_fixed_point`
- **state**:已由 TCS 编译器 GIR 执行编译(`TCS_COMPILER_GIR_EXECUTED` `compiler.state`
- **evidence** `evidence`
- **compiler_c**build/stage2/compiler-C.gir.json `evidence.compiler_c`
- **compiler_d**build/stage2/compiler-D.gir.json `evidence.compiler_d`
- **entry_gir**build/TCS-PROGRAM-LPM-P2-APPLY-NEURON-EVENT-0001.gir.json `evidence.entry_gir`
- **entry_source**language/programs/TCS-PROGRAM-LPM-P2-APPLY-NEURON-EVENT-0001.tcs `evidence.entry_source`
- **module_gir**packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.gir.json `evidence.module_gir`
- **module_source**packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.tcs `evidence.module_source`
- **execution_boundary** `execution_boundary`
- **active**:否 `execution_boundary.active`
- **failure_observed**TCS-E2101_RUNNER_DOES_NOT_PROVIDE_LPM_APPLY_NEURON_EVENT `execution_boundary.failure_observed`
- **installed**:否 `execution_boundary.installed`
- **lpm_runtime_dispatch**:否 `execution_boundary.lpm_runtime_dispatch`
- **mounted**:否 `execution_boundary.mounted`
- **p2_target_readback**:否 `execution_boundary.p2_target_readback`
- **语言头** `header`
- **正本路径**packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/receipts/compile.tcs `header.canonical_uri`
- **compatibility** `header.compatibility`
- TCS-COMPILER-STAGE2-LPM-DESKTOP-0001
- GIR/1
- **语言**TCS/0.1 `header.language`
- **生命周期**VERIFIED `header.lifecycle`
- **英文名**Language Mother Persona Dynamic Neuron Runtime Module Stage Two Compile Receipt `header.name_en`
- **中文名**:语言母体人格动态神经元运行模块第二阶段编译回执 `header.name_zh`
- **协议配置**TCS-MODULE-ABI/0.1 `header.profile`
- **protocols** `header.protocols`
- TCS-MODULE-ABI-0001
- TCS-LPM-DESKTOP-OPERATION-REGISTRY-0001
- **schema**tcs.receipt/v1 `header.schema`
- **版本**0.2.0 `header.version`
- **result** `result`
- **compiler_accepts_lpm_apply_neuron_event**:是 `result.compiler_accepts_lpm_apply_neuron_event`
- **module_gir_sha256**1e5c2c56fb4dd96b867edd3f0646c2e77bd8efc541c183ed7c7ac64a7576294f `result.module_gir_sha256`
- **outside_target_rejected**TCS-E4002_PASS `result.outside_target_rejected`
- **state**VERIFIED `result.state`
- **unknown_absorb_rejected**TCS-E2101_PASS `result.unknown_absorb_rejected`
- **unresolved_natural_language**:否 `result.unresolved_natural_language`
- **来源** `source`
- **来源编号**TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002 `source.source_id`
- **来源角色**REGISTERED_MODULE `source.source_role`
- **来源校验值**9942192794523cba1647f33d68282b42671e7283ee9c2a3f6f2d0375761a1e7b `source.source_sha256`
- **来源地址**packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.tcs `source.source_uri`
---
本页只改变阅读顺序,不改变 TCS/HLDP 语义。

View file

@ -0,0 +1,11 @@
TCS 0.1;
RECEIPT TCS-RECEIPT-MOTHER-PERSONA-NEURON-MODULE-0002-COMPILE {
header { schema = "tcs.receipt/v1"; name_zh = "语言母体人格动态神经元运行模块第二阶段编译回执"; name_en = "Language Mother Persona Dynamic Neuron Runtime Module Stage Two Compile Receipt"; version = "0.2.0"; language = "TCS/0.1"; profile = "TCS-MODULE-ABI/0.1"; protocols = ["TCS-MODULE-ABI-0001", "TCS-LPM-DESKTOP-OPERATION-REGISTRY-0001"]; lifecycle = "VERIFIED"; canonical_uri = "packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/receipts/compile.tcs"; compatibility = ["TCS-COMPILER-STAGE2-LPM-DESKTOP-0001", "GIR/1"]; }
source { source_id = "TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002"; source_uri = "packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.tcs"; source_sha256 = "9942192794523cba1647f33d68282b42671e7283ee9c2a3f6f2d0375761a1e7b"; source_role = "REGISTERED_MODULE"; }
compiler { id = "TCS-COMPILER-STAGE2-LPM-DESKTOP-0001"; gir_sha256 = "8a4fa89c518619352beb00c2f8f269855117a1024aba43ede71bc9fc81453d92"; state = "TCS_COMPILER_GIR_EXECUTED"; native_self_hosted = true; semantic_fixed_point = true; semantic_definition_sha256 = "eaba58e0c7b78f78e17513329dd0b461d81ab4601ddd190856bc6e1e7b1b3771"; }
result { state = "VERIFIED"; module_gir_sha256 = "1e5c2c56fb4dd96b867edd3f0646c2e77bd8efc541c183ed7c7ac64a7576294f"; unresolved_natural_language = false; compiler_accepts_lpm_apply_neuron_event = true; unknown_absorb_rejected = "TCS-E2101_PASS"; outside_target_rejected = "TCS-E4002_PASS"; }
execution_boundary { lpm_runtime_dispatch = false; p2_target_readback = false; installed = false; mounted = false; active = false; failure_observed = "TCS-E2101_RUNNER_DOES_NOT_PROVIDE_LPM_APPLY_NEURON_EVENT"; }
evidence { module_source = "packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.tcs"; module_gir = "packages/TCS-MOD-MOTHER-PERSONA-NEURON-RUNTIME-0002/module.gir.json"; entry_source = "language/programs/TCS-PROGRAM-LPM-P2-APPLY-NEURON-EVENT-0001.tcs"; entry_gir = "build/TCS-PROGRAM-LPM-P2-APPLY-NEURON-EVENT-0001.gir.json"; compiler_c = "build/stage2/compiler-C.gir.json"; compiler_d = "build/stage2/compiler-D.gir.json"; }
acceptance { source = 100; compiled = 100; verified = 100; installed = 0; mounted = 0; active = 0; executed = 0; accepted = 0; }
}