Phase 1 of Conductor integration - DAG-based plan execution support:
Types:
- Add StepExecutionResult enum (Success, Failed, Skipped, Pending, InProgress)
- Add SkipReason enum for tracking why steps were skipped
- Add PauseReason enum for execution pause states
- Add DagValidationResult enum for validation outcomes
PlanStep extensions:
- Add depends_on: Vec<String> for explicit step dependencies
- Add execution_result: Option<StepExecutionResult> for tracking
- Add retry_count: u8 for failure retry tracking
AccumulatedPlanStatus extensions:
- Add ExecutingParallel { active_count, remaining } variant
- Add Paused(PauseReason) variant
- Add Aborted { reason } variant
DAG validation (Kahn's algorithm):
- validate_dag() returns execution order with parallelism levels
- Detects cycles and missing dependencies
- dependencies_satisfied() checks if step can execute
- get_ready_steps() returns executable steps
- skip_with_dependents() cascades failure through graph
Tests: 12 new DAG validation tests covering chains, parallelism,
diamonds, cycles, missing deps, and skip cascading.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Owlen Planning Tool
Implementation planning tools for the Owlen AI agent.
Overview
This crate provides the infrastructure for "planning mode", where the agent can explore the codebase and draft a detailed implementation plan before making any changes.
Features
- Plan Generation: Tools to create and manage markdown-based implementation plans.
- Mode Switching: Primitives to transition the agent between normal and planning modes.
- Verification: Support for user review and approval of generated plans.