What problem does it solve?
The auto-coder automates the repetitive and error-prone work of converting a project's written specification into implemented TypeScript features, tests, and atomic commits so maintainers can move MVP tasks forward reliably.
Core Features & Use Cases
- Spec synchronization: Keeps PROJECT_SPEC.md in sync with chaptered reference files to ensure implementation follows the canonical spec.
- Task discovery and implementation: Identifies the next pending MVP task (or a specified task ID), plans file changes according to the project's architecture, writes TypeScript ESM code consistent with existing patterns, and adds corresponding Vitest tests.
- Autonomous test-and-fix loop: Runs TypeScript type checks and Vitest with up to three auto-fix rounds, stops and reports if unresolved, and persists progress by updating the spec and preparing atomic git commits.
- Use case: Perfect for maintainers of the ecom-agent repository who want a controlled, reproducible autopilot to implement small-to-medium scoped features from PROJECT_SPEC.md while preserving project conventions and traceability.
Quick Start
Run the auto-coder to sync PROJECT_SPEC.md, pick the next pending task, implement code following project patterns, run tests with up to three auto-fix attempts, and prepare an atomic commit for confirmation.