Module cook

Module cook 

Source
Expand description

Cook module - orchestrates improvement sessions

This module has been refactored to use a component-based architecture with dependency injection for improved testability and maintainability.

Re-exports§

pub use command::CookCommand;
pub use environment::PathResolver;
pub use environment::Platform;
pub use orchestrator::CookConfig;
pub use orchestrator::CookOrchestrator;
pub use orchestrator::DefaultCookOrchestrator;

Modules§

command
commit_tracker
Git commit tracking and verification
common_strings
Common strings interning for performance optimization
coordinators
Specialized coordinators for cook module
environment
Environment management for workflow execution
error
Error handling with context preservation
execution
Command execution and subprocess management
expression
Expression evaluation for conditional workflow execution
git_ops
Thread-safe git operations
input
interaction
User interaction handling for cook operations
orchestrator
Cook orchestrator module
retry
Retry and error handling utilities for subprocess execution
retry_state
Retry state management for checkpoint persistence and restoration
retry_v2
Enhanced retry strategies with configurable backoff
session
Session management for cook operations
signal_handler
workflow
Workflow execution module

Functions§

cook
Main entry point for cook operations
run_improvement_loop
Legacy function for backward compatibility Delegates to the new orchestrator