feat: M1.1 完成 + M1.2 启动 — 全量更新

M1.1 收尾:
- 24项 P0/P1/P2 bug 修复 (Rust 107 tests + Flutter 15 tests)
- Flutter App v0.3: cupertino_icons 修复, 单元测试, 调试面板, APK 52.6MB
- 示例插件完善: manifest.json + 请求/响应示范 + 7个测试
- API 文档重写 (以 routes.rs 为唯一权威)
- MILESTONES.md 更新至 100%

M1.2 启动:
- P0: 插件管理 API 闭环 (handle_manager_message Custom 分支 + broadcast_plugin_states)
- ServiceManager 集成测试 8/8 (tests/m1_2_service_manager.rs)
- M1.2 测试计划 (docs/M1.2_TEST_PLAN.md, 18个E2E场景)
- 动态插件系统: auto_rollback + version_manager GC + 路径穿越防护

总计: Rust 115/115 测试, Flutter 15/15 测试, 零 warning

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
showen
2026-03-14 18:12:42 +08:00
parent 8ed9cb2d9d
commit d30c111c71
68 changed files with 8115 additions and 1201 deletions

View File

@@ -119,8 +119,11 @@
- 编译环境:`export PATH="/home/showen/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/bin:$PATH"`
- 测试命令:`cargo test`, `cargo check`, `cargo clippy`
- 运行命令:`cargo run --release -- --config configs/xxx.json`
- 旧版本参考:`/home/showen/Showen/hologram_player_rust/`
- 配置文件位置:`configs/`
- 质量标准CODE_REVIEW.md
- 测试指南TESTING.md
- **必须实际运行程序并截图验证功能**
## 最新工作记录
- 2026-03-14完成 `docs/M1.2_TEST_PLAN.md` 首版,覆盖 6 个内置插件、动态插件系统、Flutter App 的 HTTP/WebSocket/BLE 集成测试范围。
- 2026-03-14在测试计划中识别两个 M1.2 对齐风险:`/api/plugins*` 当前缺少 Manager 侧 `Custom` 命令闭环;`/api/plugins` 依赖的 `plugin_states` 推送链路未在源码中看到生产者。