Repository navigation
fix: v3.3.3 — 扫描器校准:占位符不再阻断、补个人邮箱与手机号、历史 P1 只报告 - #4
Merged
Merged
Conversation
hyt315
force-pushed
the
fix/v3.3.3-p0
branch
from
November 11, 2026 17:09
0750a14 to
8160a7b
Compare
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.
问题(来自重新审视,均有实测)
<owner>/<repo>占位符即使在代码块里也判 P0,与 SKILL.md“占位符不算泄露”矛盾。C:\Windows、C:\ProgramData、YourName、<用户名>都报 P1:在一个真实 Windows 工具项目上,--strict当前树就有 92 条 P1,几乎全是误报。zhang.san@163.com、11 位手机号均未检出。--strict --history在本仓库自身就 FAIL(历史 P1=24),CI 靠拆成两步绕过。改动
<owner>/<repo>P0 规则({owner}规则保留)。windows-absolute-path降为 P2,并排除系统目录;Unix 家目录排除 user、you、runner 等。personal_patterns:个人邮箱域、大陆手机号(P1);提交邮箱属个人邮箱域时升为 P1。--strict只阻断当前树的 P1;历史 P1 只报告,历史 P0 仍阻断。CI 合并为一步--strict --history。.git/config、历史三处扫描共用一个_match_line。test_rules_single_source跳过__pycache__。--pin已同步。验证
--strict --history结果为 PASS(历史 P1=9,只报告)。