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

@@ -11,7 +11,7 @@
use anyhow::Result;
use showen_v2::core::config::AppConfig;
use showen_v2::core::message::{Destination, Envelope, Message};
use showen_v2::core::message::Message;
use showen_v2::core::plugin::{CapabilityTestResult, Platform, Plugin, PluginContext, PluginInfo};
use showen_v2::core::plugin_loader::{
ErrorPolicy, PluginLoader, PluginManifest, PluginRegistry, PluginRegistryEntry,
@@ -84,21 +84,6 @@ fn manifest(id: &str, version: &str) -> PluginManifest {
}
}
fn manifest_with_caps(id: &str, version: &str, caps: Vec<&str>, required: Vec<&str>) -> PluginManifest {
PluginManifest {
id: id.to_string(),
version: version.to_string(),
sdk_version: "0.2.0".to_string(),
dependencies: vec![],
error_policy: ErrorPolicy::AutoRollback,
so_filename: format!("lib{}.so", id.replace('-', "_")),
capabilities: caps.iter().map(|s| s.to_string()).collect(),
required_capabilities: required.iter().map(|s| s.to_string()).collect(),
test_timeout_ms: 5000,
auto_test: true,
}
}
fn setup_registry(store: &Path, plugin_id: &str, active: &str, stable: Option<&str>) {
let loader = PluginLoader::new(store);
let mut registry = PluginRegistry::default();