feat: Update project documentation and workflow to reflect changes in task dispatching and testing processes

- Changed references from "kilo" to "Agent 子代理" in various documentation files to align with the new task dispatching method.
- Updated CLAUDE.md to reflect the new agent-based execution model and modified task dispatch template.
- Revised PROGRESS.md to indicate successful testing and acceptance of M1.2 with detailed results.
- Enhanced communication and workflow documentation to clarify the use of Agent 子代理 for real-time collaboration and task management.
- Updated team member soul files with lessons learned from recent testing and integration experiences.
- Refactored test files to remove unused code and improve clarity, ensuring compliance with zero warning standards.
- Documented specific experiences and lessons learned during M1.2 testing, including handling of edge cases and configuration validation.
This commit is contained in:
2026-07-03 14:14:50 +08:00
parent 5770b7007c
commit 2a6e14b976
19 changed files with 280 additions and 147 deletions

View File

@@ -58,3 +58,9 @@
- BLE 注册不能靠固定 sleep需等待 `RegisterApplication` / `RegisterAdvertisement` 的真实 D-Bus reply
- 为跑通全量验证,顺手补了 `DynamicPlugin``Debug` 实现,并修正 plugin_repo 测试构造方式
- API 文档校准必须以 `src/plugins/http/routes.rs` 为唯一权威WebSocket 命令返回仍是 `{ok: ...}`HTTP 写接口才统一 `{status, message}`
## 个人经验 (2026-07-03) — M1.2 风险3 消息链路审计
- 消息链路审计方法:以 Message enum 定义为基准,逐变体 grep 构造点/匹配点,再按 ServiceManager 三路路由Plugin/Broadcast/Manager, service_manager.rs:369-377验证链路测试文件构造一律不算生产者
- 审计陷阱:构造点可能藏在 #[cfg(test)] 内(如 ble/gatt.rs:772、dynamic_plugin.rs:348必须回看 mod tests 边界再下判定
- BLE 命令的真实生产者是 core/dispatch.rs::parse_commandgatt.rs:120 调用),不在 gatt.rs 里直接构造消息
- 结论WifiProvisioned/DeviceEvent 均为"有消费无生产"的 Phase 2 占位DeviceBackend trait 连事件通道都没有plugin_rollback/switch/install 已是完整实现,队友旧注释会过时——审计要以当前代码为准,不能沿用他人历史结论