CLAUDE.md and .claude/rules/git-workflow.md name bundle exec rake as the pre-commit gate. It always exits 1: RuboCop::RakeTask in the Rakefile passes no paths, so RuboCop descends into docs/, picks up docs/.rubocop.yml, and fails with cannot load such file -- docs_kit/rubocop, a gem that exists only in the docs bundle. CI's invocation, bundle exec rubocop lib spec, is clean (90 files, no offenses).
Fix shape: give the rake task the same scope as CI (task.patterns = %w[lib spec]) or exclude docs/** in the root .rubocop.yml, and update the two docs that name the command.
Found while seeding the lode (see the chore: seed the lode PR); lode/workflow.md and lode/testing/summary.md state the current behaviour and link here.
CLAUDE.mdand.claude/rules/git-workflow.mdnamebundle exec rakeas the pre-commit gate. It always exits 1:RuboCop::RakeTaskin the Rakefile passes no paths, so RuboCop descends intodocs/, picks updocs/.rubocop.yml, and fails withcannot load such file -- docs_kit/rubocop, a gem that exists only in the docs bundle. CI's invocation,bundle exec rubocop lib spec, is clean (90 files, no offenses).Fix shape: give the rake task the same scope as CI (
task.patterns = %w[lib spec]) or excludedocs/**in the root.rubocop.yml, and update the two docs that name the command.Found while seeding the lode (see the
chore: seed the lodePR);lode/workflow.mdandlode/testing/summary.mdstate the current behaviour and link here.