Plan Mode is a cognitive forcing system that requires reasoning about: - Happy path - Negative case - Boundary condition New tools: - plan_read: Read current plan for session - plan_write: Create/update plan with YAML content (validates structure) - plan_approve: Mark current revision as approved New command: - /feature <description>: Start Plan Mode for a new feature Plan schema requires: - plan_id, revision, approved_revision - items with id, description, state, touches, checks (happy/negative/boundary) - evidence and notes required when marking items done Verification: - plan_verify() called automatically when all items are done/blocked Removed: - todo_read, todo_write tools - todo.rs module and related tests
25 lines
774 B
Rust
25 lines
774 B
Rust
//! Tool execution module for G3 agent.
|
|
//!
|
|
//! This module contains all tool implementations that the agent can execute.
|
|
//! Tools are organized by category:
|
|
//! - `shell` - Shell command execution and background processes
|
|
//! - `file_ops` - File reading, writing, and editing
|
|
//! - `plan` - Plan Mode for structured task planning
|
|
//! - `webdriver` - Browser automation via WebDriver
|
|
//! - `misc` - Other tools (screenshots, code search, etc.)
|
|
//! - `research` - Web research via scout agent
|
|
//! - `memory` - Workspace memory (remember)
|
|
//! - `acd` - Aggressive Context Dehydration (rehydrate)
|
|
|
|
pub mod executor;
|
|
pub mod acd;
|
|
pub mod file_ops;
|
|
pub mod memory;
|
|
pub mod misc;
|
|
pub mod plan;
|
|
pub mod research;
|
|
pub mod shell;
|
|
pub mod webdriver;
|
|
|
|
pub use executor::ToolExecutor;
|