Repository navigation
Review angles: check that doc claims are true, not just present - #9
Conversation
On OMGCode PR 70, CodeRabbit raised 11 findings and omg-review-bot (which runs this skill) raised none. Most of that miss was a parsing bug in the bot, but six findings were false claims in Markdown the PR added: a wrong journal error code, a recovery step that ignored rotated archives, an over-broad compatibility claim, a changelog entry that contradicted the next one. The skill only asked whether docs were updated, and large-PR triage ranked docs last, so a reviewer following it would skim them. - review-angles.md: list every concrete claim a changed doc makes (codes, limits, paths, preconditions, recovery steps, compatibility) and check each against the code or ADR at the layer it describes; walk recovery steps against the code; check limit claims at the boundary; keep changelog entries, summaries and ADRs in agreement. - review-angles.md also: sibling implementations reach the same outcome on unusual input; fallbacks fit the limits they enforce; error advice fits every case that reaches it; older readers accept the largest encoded record; persistence tests reload from storage before asserting. - SKILL.md: triage no longer skims docs that state the contract of code in the same change; tier 4 makes a false claim someone acts on a defect, whatever its tier. - reporting.md: a doc claim someone will act on is a (Defect), ranked by what following it causes; stale wording that changes no action is [P4] MINOR (Quality). - verification.md: new false-positive pattern, "Doc claim checked at the wrong layer". - instructions.md: claims in AGENTS.md and CLAUDE.md about code behaviour are checked against the code. - evals: corpus version 2 with five new cases (stale doc code, recovery step missing archives, adapter divergence, replay test without a reload, and one accurate doc change as a false-positive check); the README's sample predictions cover every case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 37 minutes. View limit details
No actionable comments were generated in the recent review. WalkthroughThe pull request updates code-review instructions, checklists, verification guidance, and reporting criteria. It also adds five evaluation cases and lists their IDs in the predictions example. ChangesCode Review Guidance
Estimated code review effort: 2 (Simple) | ~12 minutes Change: Other Possibly related PRs
Suggested reviewers: Merge Risk:
|
|
✅ Review posted on
The review is posted here. |
There was a problem hiding this comment.
🤖 Automated review of 3817e1e
Bot review number 1 of 30.
The PR strengthens documentation-claim review in the skill and adds five corpus cases; the changes are broadly consistent. One severity-rule conflict remains: the new documentation rule caps data-loss claims at P2, while the existing severity table defines data loss as P1, so a data-destroying doc instruction could be under-ranked.
Findings: 🟡 1 × [P3] MINOR (Defect) · 🔵 1 × [P4] MINOR (Quality)
🛑 Changes requested: 1 unresolved finding(s) at [P3] MINOR (Defect) or above. I'll withdraw this once they're fixed or resolved.
Model beam → deepseek-v4.1-flash · skill code-change-review · 7 files reviewed. Reply to an inline comment to discuss it.
- reporting.md: a false doc claim now ranks on the same scale as code. Following it in normal use and losing or corrupting data is [P1], matching the severity table; being left stuck stays [P2]. - evals: three more cases cover rules the earlier cases missed. A rejection fallback that exceeds the smallest result limit and gives file-edit advice to every tool; a raised event limit whose largest escaped message an older build rejects; and a clean case where the doc names the CLI code correctly while the journal uses another name, which checks the "wrong layer" false-positive pattern. The README's sample predictions cover all 14 cases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
There was a problem hiding this comment.
🤖 Automated re-review of 07768f0
Bot review number 2 of 30.
New findings are only on code changed since the last review (3817e1e); the rest was reviewed then.
No new issues found in the changed lines reviewed.
No new issues found in this update.
✅ Approved: no unresolved findings at [P3] MINOR (Defect) or above.
Model beam · skill code-change-review · 7 files reviewed. Reply to an inline comment to discuss it.



Why
On OMGCode PR 70, CodeRabbit raised 11 findings and omg-review-bot, which runs this skill, raised none. Most of that miss was a JSON-parsing bug in the bot: when the model's answer was malformed, the bot threw its findings away. That bug is being fixed separately in LLM-PR-Bot.
The rest of the gap is in this skill. Six of CodeRabbit's findings were false claims in Markdown the PR added:
The skill only asked whether docs were updated, and large-PR triage ranked docs last, so a reviewer following it would skim them.
What changes
review-angles.md, Documentation. List every concrete claim a changed doc makes and check each against the code or ADR, at the layer it describes. Claims include codes, limits, paths, preconditions, recovery steps and compatibility. Walk recovery steps against the code, check limit claims at the boundary, and keep changelog entries, summaries and ADRs in agreement.review-angles.md, other angles from the same PR:SKILL.md. Triage no longer skims docs that state the contract of code in the same change. Tier 4 makes a false claim someone will act on a defect, whatever its tier.reporting.md. A false doc claim someone will act on is a(Defect), ranked by what following it causes:[P3]usually,[P2]if following it leaves them stuck or loses data. Stale wording that changes no one's action is[P4] MINOR (Quality).verification.md. New false-positive pattern, "Doc claim checked at the wrong layer". The same event often has different names at the CLI, journal and UI layers, so a doc can be right about one and wrong about another.instructions.md. Claims inAGENTS.mdandCLAUDE.mdabout code behaviour are checked against the code, not only reviewed as prompts.evals/. Corpus version 2 adds five cases: a stale doc code, a recovery step that misses archives, adapter divergence, a replay test that never reloads, and one accurate doc change as a false-positive check. The README's sample predictions now cover every case.Testing
python skills/code-change-review/scripts/detect_languages.py --check: passes.python -m unittest discover -s tests -v: 30 tests pass. The 3 skips are symlink tests that need elevated privileges on Windows, and skip the same way onmain.python scripts/score_evals.pywith the README's sample predictions: 11 cases, precision and recall 1.0. That only checks the file is well formed.After merging
The deployed bot runs the skill from an uploaded zip. Rebuild and upload it, or the bot keeps the old rules.
🤖 Generated with Claude Code
CodeRabbit
(Defect), usually[P3], or[P2]when they leave users stuck or lose data. Stale wording that changes no action is[P4] MINOR (Quality).AGENTS.mdandCLAUDE.mdcode claims must match code, including preconditions.cases.jsonmoves to version 2 with five manual-review cases. The README lists the new case IDs. No model has run on these cases yet.