Repository navigation
refactor(review): replace the synced guide with one copied file - #109
Merged
Merged
Conversation
OCR loads one file per rule entry. Move the shared guide, copied from lexmount/ai-template-py with its source commit in the first line, and the Browser Eval supplement into .opencodereview/review-rules.md, and point OCR at it. Remove the sync tool, lock and review-check gate; drift in review prompt text is visible in ordinary PR review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every repository's OCR rule points at docs/references/review-guidelines.md, so keep the combined shared guide and Browser Eval supplement there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
✅ Re-review complete · 055457f
No findings in this incremental review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#101 made OCR load Browser Eval's supplement by extending the shared sync tool with a marker section. That kept the sync tool, a SHA-256 lock and a CI gate in place, all to protect review prompt text. This PR replaces that machinery with a plain copy.
OCR loads one file per rule entry, so the shared rules and Browser Eval's rules have to live in one file. That file stays at
docs/references/review-guidelines.md, the path every lexmount repository'srule.jsonalready uses:lexmount/ai-template-py, with its source commit in the first line;AGENTS.mdandCONTRIBUTING.md.To update the shared section, copy the new upstream text in an ordinary PR and bump the commit ID. Drift shows up in normal PR review.
Changes
docs/references/review-guidelines.md: adds the source-commit header, updates the shared text to lexmount/ai-template-py#8 and drops the sync marker..opencodereview/rule.json: unchanged.scripts/review_guidelines.py,review-guidelines.lock.json, andmake review-check(no longer inci-tests).AGENTS.mdand.github/workflows/README.mddescribe where each part is edited.Net: 6 files, +17/−215.
Dependency
The header names commit
7add9a55from lexmount/ai-template-py#8, which removes the sync tool upstream. After #8 merges, update the commit ID in the first line; there is no lock to re-pin.Validation
make lint-checkruff steps,check_track_naming.pyandtests/test_source_language_policy.py(15 passed) all pass.make ci, because the dependency fetch failed offline.Follow-up to #101.
🤖 Generated with Claude Code