feat: 知识治理平台(含已验证发布/回滚契约)

全栈知识治理平台首次入库(P1-P10 + 发布链路模拟验证闭环):

- 治理核心:源目录/变更集/人工审核/发布批次/发布执行(fail-closed 闸口)
- 测试通道:WeKnora 测试 KB 上传/轮询/验收;poll 完成时写入
  parser_generation/index_generation,修复 manual/seed 路径发布闸口永久拦截
- 发布适配器 v071(本地 source=测试角色 / 云端 target=生产角色 模拟验证通过):
  * ES 导出/导入 mapping 自适应(.keyword 子字段、可选 tenant_id)
  * OSS locator 支持嵌套 scheme;chunks.seq_id 由目标序列分配
  * bundle 归档同身份重试原子替换;verifier 按 bundle chunk_type 计数
  * 回滚 job payload 支持 prior_execution_id(strict 解码)
- 三通道发布+回滚演练实测:publish 4/4 verified,检索命中,
  rollback 4/4 rolled_back,目标端 PG is_enabled=false、ES is_enabled=false
- 前端 A·Data-console 风格全站统一,120 用例通过
- 门禁:go vet / go test 全包通过,gofmt 干净
This commit is contained in:
2026-09-13 12:02:58 +08:00
committed by 姚章浩
parent ed48c4ceda
commit dcdc8d1ddd
410 changed files with 56661 additions and 1 deletions
@@ -0,0 +1,5 @@
1. [dobot_xtrainer_XXXX] Version
Version description: X-Trainer SDK script development package, including full-process code examples for data collection, training and reasoning, suitable for secondary development and scenarios requiring self-training and reasoning.
2. [qtXtrainer (XXXX)] Version
Version description: X-Trainer software with UI interface control version, can be used for device debugging and data collection and compression in a simple graphical interface, suitable for remote operation and data collection (if training and reasoning are required, please use the SDK script development package version).
+9
View File
@@ -0,0 +1,9 @@
# 全链路验证文档 2026-09-12
本文档用于验证:治理平台 → 本地 WeKnora(测试角色)→ MinerU 解析 → 索引 → 检索的完整链路。
## 内容
越疆 CRA 系列协作机器人工作半径 620mm 至 1800mm,负载 5kg。
Nova 系列工作半径 625mm 与 850mm 两种规格。
本次为模拟生产验证生成,验证完成后可撤权清理。
@@ -0,0 +1,7 @@
# Knowledge Governance P3 Durable Restart Fixture
This document is synthetic and contains no confidential information.
The unique durable restart marker is **MIKU-GOV-DURABLE-9461**.
For the question "What is the unique durable restart marker?", the exact answer is `MIKU-GOV-DURABLE-9461`.
+7
View File
@@ -0,0 +1,7 @@
# Knowledge Governance P3 Local E2E Fixture
This document is synthetic and contains no confidential information.
The unique governance validation marker is **MIKU-GOV-P3-5927**.
For the question "What is the unique governance validation marker?", the exact answer is `MIKU-GOV-P3-5927`.
+7
View File
@@ -0,0 +1,7 @@
# Knowledge Governance P3 Recovery Fixture
This document is synthetic and contains no confidential information.
The unique recovery validation marker is **MIKU-GOV-RECOVERY-7319**.
For the question "What is the unique recovery validation marker?", the exact answer is `MIKU-GOV-RECOVERY-7319`.
+7
View File
@@ -0,0 +1,7 @@
# Knowledge Governance P3 Restart Fixture
This document is synthetic and contains no confidential information.
The unique restart validation marker is **MIKU-GOV-RESTART-8642**.
For the question "What is the unique restart validation marker?", the exact answer is `MIKU-GOV-RESTART-8642`.
+7
View File
@@ -0,0 +1,7 @@
# Knowledge Governance Cross-Environment Fixture
This document is synthetic and contains no confidential information.
The unique cross-environment marker is **MIKU-GOV-CROSSENV-4185**.
For the question "What is the unique cross-environment marker?", the exact answer is `MIKU-GOV-CROSSENV-4185`.