Tighten CodeRabbit Swift lint enforcement

Merged
LA
7mo ago
+3-1

Summary

Follow-up from the vendor lint evals after https://github.com/manaflow-ai/cmux/pull/3493 merged.

  • Switch CodeRabbit to assertive review profile
  • Enable CodeRabbit request_changes_workflow
  • Document that CodeRabbit error-mode checks can block through the review flow

Eval evidence

Temporary eval PRs:

Greptile caught the target rule families on both evals. CodeRabbit used .coderabbit.yaml after it landed on main, but mode: error was still advisory because request-changes workflow was not enabled.

Validation

  • jq empty .greptile/config.json .greptile/files.json
  • ruby -ryaml -rjson -e 'puts JSON.generate(YAML.load_file(".coderabbit.yaml"))' > /tmp/coderabbit-blocking-mode.json\n- bun x ajv-cli validate --strict=false -s /Users/lawrence/fun/cmuxterm-hq/worktrees/feat-deepseek-diff-lint/tmp/coderabbit-schema.json -d /tmp/coderabbit-blocking-mode.json

Summary by cubic

Enable blocking Swift lint via CodeRabbit by switching to the assertive review profile and turning on the request-changes workflow. Update the review-bot rules README to note Greptile inline findings/status check and that unresolved error‑mode findings in CodeRabbit can block merge.

Summary by CodeRabbit

  • Chores

    • Enhanced code review automation configuration with more assertive review practices and streamlined request-changes workflow to strengthen quality assurance processes.
  • Documentation

    • Updated review bot configuration documentation to reflect current system setup and workflow capabilities.