chore: land tree view-state, vault, Pi module split, and repo hygiene
Persist PageTree expand state via control-plane view-state and align chevron/DOM with restored expansion; keep Sidex-style shallow page-tree scan and drop the unused recursive scanner that only added cargo noise. Add password vault workbench routes/runtime/skill/CLI, split page_ai_pi into a module package, and retire Hermes/ACP/OpenHub recycle + root harness evidence from the index while gitignoring recycle and local diag dumps. Archive superseded design/bugs docs under old/, point architecture at ARCHITECTURE.md, and refresh smokes for Pi S1–S7, vault, and editor regressions so the working tree can stay clean.
This commit is contained in:
@@ -4,9 +4,19 @@
|
||||
Owner:07-ai / mnote-web / control-plane
|
||||
日期:2026-07-03
|
||||
|
||||
## 0. 口径修订(2026-07-18)
|
||||
|
||||
> **覆盖本稿原「保留 OpenHub 生产基线 / Pi 不作为默认入口」结论。**
|
||||
|
||||
- 代码已默认 `enable_page_ai_pi_lab=true`(`MNOTE_PAGE_AI_PI_LAB`)。
|
||||
- OpenHub / Pi TS 已退役到 recycle 边界,不再是生产基线。
|
||||
- 当前 Page AI 默认主链为 **Pi Rust + LightRAG + Turso/libSQL control-plane**。
|
||||
- 本稿后续只承接 Pi Lab **去 spike / 产品化**(持久化、模块拆分、命名),不再要求「保留 OpenHub 主线」。
|
||||
- 上位收口:`design/10-review/process/21-mvp-post-architecture-closure-checklist-v1.md`。
|
||||
|
||||
## 1. 结论
|
||||
|
||||
本稿确认一个新方向:**保留 OpenHub 作为当前生产基线,同时新开 Pi-first Page AI Lab,验证 Pi 是否能成为 MNote-native Page AI runtime**。
|
||||
本稿原确认方向为:**保留 OpenHub 作为生产基线,同时新开 Pi-first Page AI Lab**。该「双主线」结论已被 2026-07-18 口径修订覆盖;以下历史正文仅作背景,实施以 §0 与 checklist 21 为准。
|
||||
|
||||
这里的 Pi 指当前官方仓库 `earendil-works/pi` / 旧 `badlogic/pi-mono`,当前 npm 主包已迁到 `@earendil-works/*`。本轮重新拉取的源码证据位于:
|
||||
|
||||
@@ -16,11 +26,11 @@ Owner:07-ai / mnote-web / control-plane
|
||||
|
||||
Pi 不是 OpenHub 的直接替代品,但它是当前最值得优先 spike 的底层候选。原因是:Pi 已经具备 coding agent、RPC、session tree、tool event、extension / skill / package、provider auth、多模型和可扩展工具体系;这些比通用 UI 框架更贴近 MNote 的 local-first Page AI 目标。
|
||||
|
||||
硬边界:
|
||||
硬边界(2026-07-18 修订):
|
||||
|
||||
- 不替换当前 OpenHub 主线。
|
||||
- 不把 Pi Lab 作为默认 Page AI 入口。
|
||||
- 不把 Pi JSONL session 直接当作 MNote 长期会话真相。
|
||||
- ~~不替换当前 OpenHub 主线。~~ → OpenHub 已退役;Pi Rust 为默认 Page AI。
|
||||
- ~~不把 Pi Lab 作为默认 Page AI 入口。~~ → 默认开启;「Lab」仅为入口名。
|
||||
- 不把 Pi JSONL session 直接当作 MNote 长期会话真相(元数据走 control-plane)。
|
||||
- 不绕过 MNote `AiAccessScope` / allowed roots / Turso control-plane。
|
||||
- 不把第三方 Pi package 当成已验收能力;每个第三方包必须通过本地 smoke 后才能纳入。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user