Overview
The Construction Agent handles the second phase of AI-DLC. It executes bolts through validated stages, producing tested, production-ready code.Invocation
- Claude Code
- Cursor
- GitHub Copilot
Commands
| Command | Purpose |
|---|---|
bolt-start | Start or continue executing a bolt |
bolt-status | Check bolt progress |
bolt-list | List all bolts |
bolt-replan | Replan bolts if needed |
bolt-start
Starts or continues a bolt execution:- Show available bolts from your plan
- Let you select which to start
- Begin the first stage
- Load current stage context
- Continue from where you left off
Stage Progression
For a DDD Construction bolt:Domain Model
The agent helps you model business logic:
- Identify aggregates and entities
- Define value objects
- Map domain events
- Establish ubiquitous language
Technical Design
The agent creates the technical design:
- Choose implementation patterns
- Define interfaces and contracts
- Plan data structures
- Make architecture decisions
ADR Analysis (Optional)
For significant decisions:
- Document context and problem
- List options considered
- Record decision and rationale
Implement
The agent generates production code:
- Follow coding standards
- Apply design patterns
- Write clean, maintainable code
Example Session
bolt-status
Check the current progress of bolts:bolt-list
List all bolts across the project:bolt-replan
Replan bolts when scope changes:- New requirements were added
- Stories were split or combined
- Priorities changed
- Estimates were off
Human Checkpoints
The Construction Agent’s checkpoints are defined by the bolt type. Each bolt type has its own checkpoint structure.DDD Construction (5 checkpoints)
| Gate | After Stage | Purpose |
|---|---|---|
| Gate 1 | Domain Model | Validate domain concepts before design |
| Gate 2 | Technical Design | Approve architecture before ADR |
| Gate 3 | ADR Analysis | Confirm decisions documented |
| Gate 4 | Implement | Review code before testing |
| Gate 5 | Test | Verify all tests pass, bolt complete |
Simple Construction (3 checkpoints)
| Gate | After Stage | Purpose |
|---|---|---|
| Gate 1 | Spec | Validate requirements before coding |
| Gate 2 | Implement | Review code before testing |
| Gate 3 | Test | Verify all tests pass, bolt complete |
- Approve: Move to the next stage
- Request Changes: Ask for modifications
- Reject: Go back to a previous stage
Artifacts Generated
Each bolt produces artifacts in the Memory Bank:- DDD Construction
- Simple Construction
Best Practices
Complete Before Starting
Complete Before Starting
Ensure Inception is complete before starting Construction. Missing requirements cause rework.
Review Carefully at Checkpoints
Review Carefully at Checkpoints
Checkpoints are your opportunity to catch issues. Don’t rubber-stamp approvals.
Keep Bolts Focused
Keep Bolts Focused
If a bolt is taking too long, the scope may be too big. Consider splitting.
Test Thoroughly
Test Thoroughly
Don’t skip the Test stage. Untested code is a liability.
Troubleshooting
Bolt Taking Too Long
Bolt Taking Too Long
- Check if scope is too large
- Consider splitting into multiple bolts
- Use
bolt-replanto adjust
Stage Rejections
Stage Rejections
- Review the feedback carefully
- Make requested changes
- Resubmit for approval
Context Lost
Context Lost
- Ensure previous bolt artifacts are saved
- Check Memory Bank for missing files
- Reload with
bolt-start
