mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
- Introduced a new pipeline service to manage custom workflow steps that execute after a feature is marked "In Progress". - Added API endpoints for configuring, saving, adding, updating, deleting, and reordering pipeline steps. - Enhanced the UI to support pipeline settings, including a dialog for managing steps and integration with the Kanban board. - Updated the application state management to handle pipeline configurations per project. - Implemented dynamic column generation in the Kanban board to display pipeline steps between "In Progress" and "Waiting Approval". - Added documentation for the new pipeline feature, including usage instructions and configuration details. This feature allows for a more structured workflow, enabling automated processes such as code reviews and testing after feature implementation.
4.4 KiB
4.4 KiB
Pipeline Feature
Custom pipeline steps that run automatically after a feature completes "In Progress", creating a sequential workflow for code review, security audits, testing, and more.
Overview
The pipeline feature allows users to define custom workflow steps that execute automatically after the main implementation phase. Each step prompts the agent with specific instructions while maintaining the full conversation context.
How It Works
- Feature completes "In Progress" - When the agent finishes implementing a feature
- Pipeline steps execute sequentially - Each configured step runs in order
- Agent receives instructions - The step's instructions are sent to the agent
- Context preserved - Full chat history is maintained between steps
- Final status - After all steps complete, the feature moves to "Waiting Approval" or "Verified"
Configuration
Accessing Pipeline Settings
- Click the gear icon on the "In Progress" column header
- Or click the gear icon on any pipeline step column
Adding Pipeline Steps
- Click "Add Pipeline Step"
- Optionally select a pre-built template from the dropdown:
- Code Review
- Security Review
- Testing
- Documentation
- Performance Optimization
- Customize the Step Name
- Choose a Color for the column
- Write or modify the Agent Instructions
- Click "Add Step"
Managing Steps
- Reorder: Use the up/down arrows to change step order
- Edit: Click the pencil icon to modify a step
- Delete: Click the trash icon to remove a step
- Load from file: Upload a
.mdor.txtfile for instructions
Storage
Pipeline configuration is stored per-project at:
{project}/.automaker/pipeline.json
Pre-built Templates
Code Review
Comprehensive code quality review covering:
- Readability and maintainability
- DRY principle and single responsibility
- Best practices and conventions
- Performance considerations
- Test coverage
Security Review
OWASP-focused security audit including:
- Input validation and sanitization
- SQL injection and XSS prevention
- Authentication and authorization
- Data protection
- Common vulnerability checks (OWASP Top 10)
Testing
Test coverage verification:
- Unit test requirements
- Integration testing
- Test quality standards
- Running and validating tests
Documentation
Documentation requirements:
- Code documentation (JSDoc/docstrings)
- API documentation
- README updates
- Changelog entries
Performance Optimization
Performance review covering:
- Algorithm optimization
- Memory usage
- Database/API optimization
- Frontend performance (if applicable)
UI Changes
Kanban Board
- Pipeline columns appear between "In Progress" and "Waiting Approval"
- Each pipeline column shows features currently in that step
- Gear icon on columns opens pipeline settings
Horizontal Scrolling
- Board supports horizontal scrolling when many columns exist
- Minimum window width reduced to 600px to accommodate various screen sizes
Technical Details
Files Modified
Types:
libs/types/src/pipeline.ts- PipelineStep, PipelineConfig typeslibs/types/src/index.ts- Export pipeline types
Server:
apps/server/src/services/pipeline-service.ts- CRUD operations, status transitionsapps/server/src/routes/pipeline/- API endpointsapps/server/src/services/auto-mode-service.ts- Pipeline execution integration
UI:
apps/ui/src/store/app-store.ts- Pipeline state managementapps/ui/src/lib/http-api-client.ts- Pipeline API clientapps/ui/src/components/views/board-view/constants.ts- Dynamic column generationapps/ui/src/components/views/board-view/kanban-board.tsx- Pipeline props, scrollingapps/ui/src/components/views/board-view/dialogs/pipeline-settings-dialog.tsx- Settings UIapps/ui/src/hooks/use-responsive-kanban.ts- Scroll support
API Endpoints
POST /api/pipeline/config - Get pipeline config
POST /api/pipeline/config/save - Save pipeline config
POST /api/pipeline/steps/add - Add a step
POST /api/pipeline/steps/update - Update a step
POST /api/pipeline/steps/delete - Delete a step
POST /api/pipeline/steps/reorder - Reorder steps
Status Flow
backlog → in_progress → pipeline_step1 → pipeline_step2 → ... → verified/waiting_approval
Pipeline statuses use the format pipeline_{stepId} to support unlimited dynamic steps.