A gem that adds rake tasks to Rails applications for automated Claude Code execution of WorkVector tasks.
Add to your Gemfile:
gem 'wv_runner', git: 'https://github.com/jchsoft/wv_runner.git'Then run:
bundle installrake wv_runner:run_oncerake wv_runner:run_todayrake wv_runner:run_daily| Variable | Values | Description |
|---|---|---|
verbose |
true |
Show full JSON output instead of formatted messages |
WV_RUNNER_ASCII |
1 |
Use ASCII icons instead of emoji (for terminals without emoji support) |
Example:
WV_RUNNER_ASCII=1 rake wv_runner:run_once- WorkLoop: Main execution loop that orchestrates task processing
- ClaudeCode: Interface to Claude Code runner
- Decider: Decision logic for task routing and prioritization
Run all tests using the test runner:
ruby test_runner.rbThis will run all 128 tests across 14 test files and provide a summary:
- Total runs, assertions, failures, and errors
- Individual test file results
- Clear pass/fail status
You can also run individual test files:
ruby -I lib -I test test/services/work_loop_test.rb
ruby -I lib -I test test/services/claude_code_base_test.rb
ruby -I lib -I test test/services/claude_code_step_tests.rbThis gem is under active development. The service classes are currently scaffolded and ready for implementation.
MIT