lix-2026
a2cb1338c8
chore: 保存当前架构收口与 bug 修复快照
...
归档本轮 P0/P1 bug 修复、设计审查迁移、AI selection scope 收口与 stream contract 调整,并保留当前 05 主线迁移起点。
2026-05-18 17:01:35 +08:00
lix-2026
3311bd0366
chore: document architecture gaps and add dev hot reload
...
- add npm dev:hot wrapper using cargo-watch and page reload polling
- add mnote-web dev hot reload endpoint and coverage
- record current architecture review and tracked bug findings across realtime, tree, editor, and AI runtimes
Verification:
- node scripts/task-dev-hot-plan-test.js
- node --check scripts/dev-hot.js
- cargo test -p mnote-web dev_hot -- --nocapture
2026-05-17 23:09:56 +08:00
lix-2026
f292c6710a
feat: EditorRuntimeActor - 三层缓存/delta/事件架构
...
Phase A — EditorRuntimeActor 内存缓存层
- 新增 editor_actor.rs: EditorBlockDocument 内存态 + apply_command + load_or_init
- block.rs 四个写工具(replace/insert/delete/move)接入 actor 路径
- editor_actor feature flag(MNOTE_WEB_ENABLE_EDITOR_ACTOR=true 默认开启)
- bridge-runtime 三个核心函数公开化
- rust-toolchain: 1.89 → stable(修复 spike WASM 编译阻塞)
Phase B — 编辑器增量 delta channel
- BlockDelta/DeltaOperation 类型 + actor.build_block_delta()
- leptos-tiptap spike: mnote:editor:block-delta CustomEvent 监听 + JSON patch
- DocumentAiAgentPanel: 拦截 blockDelta → window dispatchEvent
- 工具响应含 blockDelta 字段供前端消费
Phase C — 事件 stream delta
- broadcast channel 在 AppState/actor/SSE 三层贯通
- tree_events SSE 端点发 block.delta 事件
- 旧客户端降级兼容
环境修复
- rustc recursion_limit = 1024(修复 Leptos SSR 类型深度溢出)
- run-convex-deploy.js(封装 Convex function 部署到本地后端 3210)
ref: design/07-ai/process/7-13-page-block-editor-runtime-actor-v1.md
2026-05-16 22:03:30 +08:00
lix-2026
384da4e44c
feat(tree): checkpoint resource lifecycle work
...
提交当前顶层 mnote Git 工作区,范围集中在 04-tree-domain 的 resource/trash/filetree 生命周期、mnote-web resource_trash 路由、Convex/Next 兼容接口、sidebar/file-tree 客户端适配、smoke 脚本与对应设计/bug 记录。
不包含被 ignore 的 design/05-editor-mainline/reference-code/leptos-tiptap 嵌套仓库改动。新增 smoke 的测试密码改为运行时读取 MNOTE_E2E_PASSWORD,避免提交明文 credential assignment。
2026-05-16 07:38:45 +08:00
lix-2026
d1d19f755c
docs(design): 归档 10-review 到 done
...
将 10-review 的 01-06 文档统一迁入 done/,根目录 README 收缩为索引。
补充各历史审查稿的归档说明,并把 06 的活跃引用改到 done/ 下,避免后续重复把已完成审查当成当前待办。
2026-05-14 16:30:13 +08:00
lix-2026
96e03645f7
chore: 收口 review 执行清单与 runtime 验证
...
- 补齐 design/10-review 执行清单、验收标准与相关设计治理记录
- 迁移已完成的 tree、mindmap、runtime fallback、AI kernel 等设计和缺陷条目
- 推进 Rust Web runtime、tree/sidebar、page aggregate、mindmap 与 OnlyOffice 路由侧验证支撑
- 增加 task177-task180 smoke/audit 脚本及前端相关测试覆盖
2026-05-14 05:52:08 +08:00
lix-2026
b4a452a8b7
20260513 mindmap优化01
2026-05-13 22:43:16 +08:00