From 90f46dec507066829d474d55101cc8d4a2e37a81 Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 13 Jul 2026 08:03:39 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=94=B6=E5=8F=A3=20Monitor=20?= =?UTF-8?q?=E7=A9=BA=E5=BA=93=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../R2.5.1_Task_Report.md | 11 +++++++++++ .../R2.5.2_Task_Report.md | 18 ++++++++++++++++++ .../MDTODO/web-sentinel-runtime-reliability.md | 4 ++-- 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 docs/MDTODO/details/web-sentinel-runtime-reliability/R2.5.1_Task_Report.md create mode 100644 docs/MDTODO/details/web-sentinel-runtime-reliability/R2.5.2_Task_Report.md diff --git a/docs/MDTODO/details/web-sentinel-runtime-reliability/R2.5.1_Task_Report.md b/docs/MDTODO/details/web-sentinel-runtime-reliability/R2.5.1_Task_Report.md new file mode 100644 index 00000000..d8bf9860 --- /dev/null +++ b/docs/MDTODO/details/web-sentinel-runtime-reliability/R2.5.1_Task_Report.md @@ -0,0 +1,11 @@ +# R2.5.1 任务报告 + +## 结论 + +- 已按 [#1873 最新决策](https://github.com/pikasTech/unidesk/issues/1873#issuecomment-4954659225) 冻结为空库切换:旧 SQLite 历史允许全部丢弃,不执行 export/import/verify,不把 legacy gap 或 payload conflict 作为门禁。 +- #1873 正文与 MDTODO 已同步为“从新数据开始”,后续 Artificer 不再收到迁移旧数据的冲突要求。 +- 切换只允许处理 Monitor 专属 `web_probe_monitor` database/schema;AgentRun、Decision Center 等 Host PG sibling database 不在 mutation 范围。 + +## 边界 + +不双写、不回读 SQLite、不补洞,也不新增迁移兼容层、合同、租约、安全机制或围栏。R2.5.2 仅负责受控空库与 schema 就绪证据。 diff --git a/docs/MDTODO/details/web-sentinel-runtime-reliability/R2.5.2_Task_Report.md b/docs/MDTODO/details/web-sentinel-runtime-reliability/R2.5.2_Task_Report.md new file mode 100644 index 00000000..20c17069 --- /dev/null +++ b/docs/MDTODO/details/web-sentinel-runtime-reliability/R2.5.2_Task_Report.md @@ -0,0 +1,18 @@ +# R2.5.2 任务报告 + +## 结论 + +- [PR #1903](https://github.com/pikasTech/unidesk/pull/1903) 已合并,merge commit 为 `0213fe0196515e99ceba2b2f84adfad90acbe7c2`,提供 YAML-first 的 Monitor 专属 Host PG `plan/status/reset --confirm` 受控入口。 +- owning YAML 精确限制 database=`web_probe_monitor`、owner=`web_probe_monitor`、schema=`monitor`;CLI 不接受任意 database 或 SQL 参数。 +- 空库操作已将 Monitor 业务行从 938 清为 0;未导入或读取 SQLite 历史。 + +## 验证 + +- 持久化 CLI 实测:`databaseExists=true`、`schemaReady=true`、`empty=true`、`ready=true`、`businessRows=0`,schema version=`2026-07-12-p17-3`。 +- sibling OID 摘要保持为 `agentrun_v02:59744,decision_center:119248`,证明未重建这两个数据库。 +- 独立定向测试 `8 pass / 0 fail`;`check --syntax-only` 为 `11/11`;`git diff --check` 通过。 +- 审查发现并修复 `status` 假绿:`ready=false` 现在同时让远端 shell、JSON `ok` 和上层命令退出失败。 + +## 后续 + +只允许 R2.5.3 / R2.6.3 从该空库实施 Release B,开始接收新数据;禁止再次清库或恢复 SQLite 历史。 diff --git a/docs/MDTODO/web-sentinel-runtime-reliability.md b/docs/MDTODO/web-sentinel-runtime-reliability.md index 7a6e8f1b..85bb0fad 100644 --- a/docs/MDTODO/web-sentinel-runtime-reliability.md +++ b/docs/MDTODO/web-sentinel-runtime-reliability.md @@ -51,11 +51,11 @@ PR 合并后只等待自动发布链,使用受控 Web sentinel 原入口产生 按 [#1873 用户最新决策](https://github.com/pikasTech/unidesk/issues/1873#issuecomment-4954659225) 放弃全部 SQLite 历史数据迁移,以空 Monitor Host PG 从新数据开始;先清空并验证 Monitor 专属数据库/schema,再完成 Release B 原子切换,SQLite、legacy gap 与 migration 不进入运行路径,不双写、不回读、不补洞,完成任务后将详细报告写入[任务报告](./details/web-sentinel-runtime-reliability/R2.5_Task_Report.md)。 -#### R2.5.1 [in_progress] +#### R2.5.1 [completed] 按 [#1873 最新决策](https://github.com/pikasTech/unidesk/issues/1873#issuecomment-4954659225) 冻结空库切换边界:取消 legacy gap、SQLite export/import/verify 和 payload conflict 作为门禁,确认只清空 Monitor 自有 Host PG database/schema,不影响共享 Host PG 其他服务,完成任务后将详细报告写入[任务报告](./details/web-sentinel-runtime-reliability/R2.5.1_Task_Report.md)。 -#### R2.5.2 +#### R2.5.2 [completed] 通过 YAML-first 受控入口按 [#1873 最新决策](https://github.com/pikasTech/unidesk/issues/1873#issuecomment-4954659225) 清空或重建 Monitor 专属 Host PG database/schema,验收 schema ready、业务数据 0 行且不读取 SQLite,再允许 Release B,完成任务后将详细报告写入[任务报告](./details/web-sentinel-runtime-reliability/R2.5.2_Task_Report.md)。