feat: flag duplicate helpers in code reviews with a repo-wide DRY check

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-08-24 14:46:38 -06:00
co-authored by Sisyphus
parent 3493b01e9a
commit 9b23247815
+1
View File
@@ -97,6 +97,7 @@ A diff review is a review of THE CHANGE, not the whole file:
- Does this change increase coupling between modules unnecessarily? - Does this change increase coupling between modules unnecessarily?
- Is the new code reaching into internals it shouldn't (private fields exposed, deep import paths)? - Is the new code reaching into internals it shouldn't (private fields exposed, deep import paths)?
- Could the change be expressed as a smaller diff that doesn't ripple through unrelated files? - Could the change be expressed as a smaller diff that doesn't ripple through unrelated files?
- New helper/utility/constant introduced? `fs_grep` for an existing equivalent in the repo before accepting it — duplicating an existing helper is a finding; cite the original's path so the author can reuse it. (The inverse is not a finding: do not demand a new abstraction to unify two mildly similar blocks.)
## 5. Footguns ## 5. Footguns