chore: retire openhub and pi ts runtime

This commit is contained in:
Agent Board
2026-07-12 14:18:26 +08:00
parent 62959b0c4d
commit 2f5902e3e7
45 changed files with 367 additions and 925 deletions
@@ -0,0 +1,34 @@
# 7-66 Page AI Pi TS / OpenHub 软删除收口 Checklist v1
状态:done
Owner07-ai / mnote-web
日期:2026-07-12
## 1. 背景
Pi TS 与 OpenHub 已不再作为当前 Page AI 主链。当前主线收口为 MNote 托管的 Pi Rust Page AIOpenHub 与 Pi TS 仅作为历史对照保留到 `recycle/20260712-pi-ts-openhub-retirement/`
## 2. Checklist
- [x] 移除 `page_ai_openhub` active route,并把原 route 源码软归档到 recycle。
- [x] 移除 `/page-ai/openhub/*``/api/page-ai/openhub/*` active router 入口。
- [x] 移除 Pi TS runtime fallback、`MNOTE_PAGE_AI_PI_TS_BIN``PI_LAB_RUNTIME_IMPL_TS`
- [x] AI 管理页不再展示 OpenHub Admin 入口或兼容卡片。
- [x] `dev:hot` / `desktop:hot` 不再默认启动或 health check OpenHub。
- [x] OpenHub 专项 smoke 与融合设计稿软归档到 recycle。
- [x] Pi Lab 静态 / 浏览器 smoke 改为验证 Pi Rust 独立 drawer 与退役 host 隔离。
- [x] 跑完静态、Rust、浏览器与 CodeGraph 验证后移入 `done/`
## 3. 验收命令
```bash
node scripts/task-pi-lab-static-smoke.js
node scripts/task-ai-management-control-plane-static-smoke.js
node scripts/task-dev-hot-plan-test.js
node --test scripts/desktop-hot.test.js
cargo test --manifest-path rust/Cargo.toml -p mnote-web page_ai_pi -- --nocapture
cargo test --manifest-path rust/Cargo.toml -p mnote-web ai_admin -- --nocapture
git diff --check
codegraph sync .
codegraph status .
```