Warp through development cycles with automated BDD and Claude Coder
Project description
BDD Claude Orchestrator
๐ค Automated BDD development with Claude Coder orchestration ๐ค
A Python CLI tool that continuously runs Claude Coder until all BDD tests pass, with real-time monitoring, dependency management, and zero human intervention required.
โจ Features
- ๐ Fully Automated BDD Development - Zero human intervention once started
- ๐ Real-time Scoreboards - JSON files with live progress tracking
- ๐ค Claude Integration - Automated Claude Coder execution with activity monitoring
- ๐งช BDD Test Management - Behave integration with pass/fail parsing
- ๐ Complexity Monitoring - Radon integration for code quality assurance
- ๐ฏ Reality Enforcement - Screenshot capture and mock detection
- ๐ Dependency Management - Smart feature ordering and dependency tracking
- ๐จ Beautiful CLI - Rich console output with ASCII art and progress indicators
๐ Quick Start
-
Run the orchestrator:
python3 run_orchestrator.py -
Choose "Quick Start" from the menu - The tool will:
- Create a Python 3.10 virtual environment
- Set up BDD project structure (
/features,/features/steps) - Install all dependencies automatically
- Run Claude Coder in a loop until all tests pass
-
Monitor progress via:
- Beautiful CLI dashboard with live updates
- Real-time scoreboard files in
./scoreboards/ - Screenshots of UI tests in
./scoreboards/screenshots/
๐ Project Structure
After initialization, your project will have:
your-project/
โโโ features/ # BDD feature files
โ โโโ environment.py # Behave configuration
โ โโโ steps/ # Step definitions
โ โโโ *.feature # Gherkin feature files
โโโ scoreboards/ # Real-time status files
โ โโโ master_status.json # Overall progress
โ โโโ bdd_status.json # Test results
โ โโโ claude_status.json # Claude activity
โ โโโ complexity_status.json # Code quality metrics
โ โโโ screenshots/ # UI test verification
โโโ venv/ # Virtual environment
โโโ behave.ini # Behave configuration
โโโ dependency.md # Feature dependencies
๐ Scoreboards
The orchestrator maintains real-time JSON files that you can tail or consume:
# Monitor overall progress
tail -f scoreboards/master_status.json
# Watch BDD test results
tail -f scoreboards/bdd_status.json
# Track Claude activity
tail -f scoreboards/claude_status.json
# Monitor code complexity
tail -f scoreboards/complexity_status.json
๐๏ธ CLI Options
# Interactive menu (default)
python3 run_orchestrator.py
# Skip menu and run immediately
python3 run_orchestrator.py --quick-start
# Show version
python3 run_orchestrator.py --version
# Help
python3 run_orchestrator.py --help
โ๏ธ Configuration
The orchestrator can be configured through:
- Interactive Menu - Configure settings through the CLI
- Command Line Arguments - Pass options directly
- Environment Variables - Set
ANTHROPIC_API_KEYfor Claude - Configuration Files -
behave.inifor BDD settings
๐ How It Works
- Environment Setup - Creates venv, installs dependencies, sets up BDD structure
- Initial Validation - Checks Python version, Claude availability, BDD setup
- Orchestration Loop:
- Run BDD tests with behave
- Parse results (pass/fail/undefined/skipped counts)
- If not all passing โ send results to Claude
- Monitor Claude execution in real-time
- Update scoreboards continuously
- Repeat until success or max iterations
๐ Requirements
- Python 3.10+ (automatically checked)
- Claude Code CLI (must be installed and authenticated)
- Git (for project management)
๐ ๏ธ Development
Install in development mode:
pip install -e .
Run with development dependencies:
pip install -r requirements.txt
python3 run_orchestrator.py
๐ Example Output
๐ BDD Claude Orchestrator v1.0
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[Iter 1] ๐ Setup complete โ Starting authentication.feature
[Iter 1] ๐ BDD: 0/12 tests | Complexity: - | Claude: Analyzing requirements
[Iter 2] ๐ BDD: 3/12 โ | Complexity: B | Claude: auth_steps.py โ login logic
[Iter 3] ๐ BDD: 8/12 โ | Complexity: B | Claude: models.py โ user validation
[Iter 4] โ 2 failed: password-reset, profile-update | Claude: debugging flows
[Iter 5] ๐ BDD: 12/12 โ | Complexity: A | Claude: Final verification โจ
๐ ALL TESTS PASSING! Total time: 23m 45s
๐ฏ Reality Enforcement
The orchestrator ensures authentic implementations:
- No Mocks Allowed - Detects and prevents placeholder implementations
- UI Screenshot Verification - Captures real browser interactions
- Database Connections - Requires real data persistence
- API Integration - Tests against actual endpoints
- Fast-Fail Design - Stops execution if tests are unrealistic
๐ Dependency Management
Features can specify dependencies in dependency.md:
# Feature Dependencies
user_registration.feature -> (no dependencies)
user_authentication.feature -> user_registration.feature
user_profile.feature -> user_authentication.feature
Claude automatically maintains this file and executes features in dependency order.
๐ง Future Features
- Web UI Dashboard consuming scoreboard files
- Multi-project Support with workspace management
- CI/CD Integration for automated PR validation
- Advanced Analytics and performance tracking
- Plugin System for custom analyzers
๐ License
MIT License - see LICENSE file for details.
๐ค Contributing
- Fork the repository
- Create a feature branch
- Add tests for new functionality
- Submit a pull request
๐ Support
- Issues: Create a GitHub issue for bugs or feature requests
- Documentation: See
prodspec.mdfor detailed technical specifications - Scoreboards: Monitor
./scoreboards/directory for real-time status
Built with โค๏ธ by Claude Code
Zero human intervention. Maximum test coverage. Real implementations only.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file warpcode-1.0.2.tar.gz.
File metadata
- Download URL: warpcode-1.0.2.tar.gz
- Upload date:
- Size: 33.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c291eecb1007d156d4e8b7e491d8152f978b57b676c4af7669b63a9a4e5b63a2
|
|
| MD5 |
1242e5219c7b444ae0246816baad6c77
|
|
| BLAKE2b-256 |
953c27796de62a5e9cade28efe92b7a46c1672f939c2eec1104ee6d0b158fe19
|
File details
Details for the file warpcode-1.0.2-py3-none-any.whl.
File metadata
- Download URL: warpcode-1.0.2-py3-none-any.whl
- Upload date:
- Size: 36.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afbe610a8deba01dc2e4812d8c68a867d94f3904090510297eab046dfaff8ae1
|
|
| MD5 |
7bc693d6999609be29024276d6ef7218
|
|
| BLAKE2b-256 |
d06cbc442bf1ad511fa1cae0e0887fcf615652d2600c8d586096434073459027
|