CodeRabbit: review against AGENTS.md and design/

Merged
AL
2d ago
+50-3

Closes #331.

  • .coderabbit.yaml:
    • skips H5P's vendored core, the pack's generated index and lz-string, the files .oxlintrc.json skips in #326;
    • turns Biome, ESLint, markdownlint, LanguageTool, HTMLHint, Stylelint and yamllint off, keeping oxlint, which reads the repository's own config once #326 merges (CodeRabbit runs it only where an oxlint config exists); the security scanners stay on;
    • skips Dependabot's pull requests;
    • writes no summary into the description, posts no fortune and suggests no reviewers;
    • applies design/*.md to every file (applyTo: '**'); a plain entry would scope it to design/ alone. AGENTS.md is read by default.
  • ci.yml: .coderabbit.yaml is ignored like the docs, so a change to it alone starts no run, nor picks every lane.
  • design/testing.md: a paragraph saying so, that CodeRabbit reads the file from the pull request's own branch, and how to ask for a review again.

Checked against CodeRabbit's schema (schema.v2.json) with ajv: valid; a misspelled key fails it. The scope job's pattern was run on sample change lists. Merge after #326.


Summary by cubic

Adds CodeRabbit config so pull requests are reviewed against AGENTS.md and design/ instead of the default rules.

  • Skips vendored and generated files and Dependabot pull requests, turns off all lint tools except oxlint, and applies design/*.md guidelines to every file.
  • Writes no summary, fortune, or reviewer suggestions into the PR description.
  • CI now treats .coderabbit.yaml like the docs, so a change to it alone starts no test run.
  • Adds a note in design/testing.md on how to request another review with @coderabbitai review.

Closes #331.