Repository navigation
fix(comment-hygiene): preserve EMU underscore owners in vendored library - #66
Conversation
Follow-up sync. The prior sync (#62) tightened the owner/repo#N owner class to [A-Za-z0-9-], which dropped '_' and made the gate miss deferred-work refs for GitHub Enterprise Managed Users, whose logins carry an '_SHORTCODE' suffix (e.g. mona-cat_octo/scratch#12). Re-sync the vendored library to match standards, which corrected the class to [A-Za-z0-9_-] — excluding only '.' (the bare-domain fix) while keeping '_'. superset-test.sh still passes; the file shellchecks clean. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FSMCZgc6Dj6MaKLxDBSJFw
|
Claude finished @kyle-sexton's task in 1m 5s —— View job PR Review
LGTM. This is a precise, well-reasoned fix. Here's my analysis: Regex correctnessThe owner character class changes from Does the bare-domain protection from #62 hold? The leading boundary Does the EMU owner case now work? For
Previously this scanned clean; now it's correctly flagged. ✓ No false-positive risk introduced. Adding Comment qualityThe rewritten block comment is accurate and complete:
No issues found. The change is minimal, correct, and well-documented. |


Follow-up to #62, syncing the corrected library from melodic-software/standards#74.
#62 tightened the
owner/repo#Nowner class to[A-Za-z0-9-], which dropped_. GitHub Enterprise Managed Users have logins with an_SHORTCODEsuffix (e.g.mona-cat_octo,fabrikam_admin), so// see mona-cat_octo/scratch#12started scanning clean — the hygiene gate missed deferred-work refs in EMU repos. The corrected owner class[A-Za-z0-9_-]excludes only.(keeping the bare-domain fix) while preserving_.Re-synced byte-identical to standards main.
superset-test.shpasses;shellcheckclean.🤖 Generated with Claude Code
Note
Low Risk
Single-regex tweak in a vendored detection policy; improves coverage for EMU refs without changing auth or runtime behavior.
Overview
Restores
_in theowner/repo#Nregex owner class ([A-Za-z0-9_-]+instead of[A-Za-z0-9-]+) so comment-hygiene flags cross-repo refs likemona-cat_octo/scratch#12again after a prior tightening dropped underscores.Comments now state that only
.is excluded from owners (bare-domain false positives) and that GitHub EMU logins need_in the owner segment. Repo-name matching and boundary rules are unchanged.Reviewed by Cursor Bugbot for commit 218bef0. Bugbot is set up for automated code reviews on this repo. Configure here.