Skip to content

v0.3.0 - Autonomous Execution & Self-Healing Workflow

Choose a tag to compare

@Devgustavogomes Devgustavogomes released this 02 Sep 23:43
· 170 commits to main since this release

What's Changed

✨ New Features & Workflow Enhancements

  • Reactive Task Scheduler & Concurrency: Implemented an event-driven TaskScheduler with DAGResolver to resolve dependencies dynamically and execute independent tasks concurrently, complete with real-time terminal progress indicators (AgentProgressUI and TerminalSchedulerReporter).
  • Self-Healing Plan Generation: codeforge plan generate now features automatic error healing. When deterministic validation detects schema or structural dependency errors, CodeForge automatically re-invokes the planner agent with explicit diagnostic feedback to correct the task DAG.
  • Smart Task Retries (codeforge task retry): Execution errors and stack traces are captured directly in the execution state. Retrying a task or spec automatically injects the prior failure diagnostics into the AI agent's fresh prompt for targeted self-correction.
  • Task Management Suite (codeforge task reset, info, complete): Added codeforge task reset to reset a single task or entire spec back to pending state without execution, codeforge task info to inspect objectives, files, constraints, and criteria, and codeforge task complete for manual status overrides.
  • Interactive Configuration (codeforge config): New command to interactively configure default environments, select separate AI agents for planning (plannerAgent) and execution (executorAgent), and manage language preferences.
  • Multi-Agent Runners & Stdin Streaming: Added child process runners for Claude Code, OpenAI Codex, Google Antigravity, and Cursor, streaming prompt payloads through stdin to eliminate OS command-line length limits.
  • Internationalization (i18n): Added multilingual support across all CLI commands, interactive menus, and prompt generation (en, pt, es).
  • Interactive CLI & Unified Back Navigation: Running codeforge without arguments opens the full interactive TUI menu, with uniform ← Back options across all interactive prompts.
  • Live Status Dashboard (codeforge status): Live execution dashboard rendering in an alternate screen buffer (flicker-free), with an optional --once flag for static CI/scripting output.

♻️ Refactor, Architecture & Quality

  • Clean Architecture Use Cases: Migrated procedural operations into decoupled application use cases (GeneratePlanUseCase, ValidatePlanUseCase, TaskOperationsUseCase, GetSpecStatusUseCase, ConfigureEnvironmentUseCase, InitializeWorkspaceUseCase, CreateDocUseCase, UpdateDocUseCase).
  • Infrastructure Gateways & Repositories: Isolated Git operations into GitGateway (NodeGitGateway) and separated state persistence with ExecutionStateRepository and DocsManifestRepository.
  • ESLint & TypeScript Tooling: Configured ESLint with modern flat config (eslint.config.js) and @typescript-eslint, maintaining strict types across the codebase.
  • Test Suite Expansion: Added comprehensive unit tests covering the reactive TaskScheduler, DAG resolution, task operations, environment configuration, and execution state repository.
  • README: Updated documentation to reflect the autonomous execution engine, smart retries with error injection, new task commands, and multi-agent configuration.