- Use Ruby
3.4.8. - This repository includes both
.ruby-versionand.tool-versions. - If your shell does not activate the project Ruby automatically, make sure
your version manager does before running Bundler commands. With
asdf, useasdf exec bundle exec ...as a fallback.
bundle install- Install
lefthookif you do not already have it. lefthook install
Run these before opening a pull request:
bundle exec rubocopbundle exec rspecbundle exec bundle-audit check --updatebundle exec yard --fail-on-warningbundle exec rake
spec/spec_helper.rb enforces a minimum SimpleCov line coverage floor. If a
refactor reduces coverage, add or fix tests in the same change.
- Preserve public behavior unless the change is explicitly approved.
- Read the implementation, its tests, and its callers before refactoring.
- Keep commits single-purpose and easy to review.
- Log architectural follow-up work in
REFACTOR_BACKLOG.mdinstead of mixing design changes into an idiom pass.