fix(clash): GitHub 域名彻底从 AI 分组剥离

ruleset=🐙 Github 从 ai.list 之后移到所有 AI ruleset 之前。

ai.list 里带了 6 条 GitHub 域名:api.github.com、copilot-proxy /
copilot-telemetry / copilot-telemetry-service.githubusercontent.com、
copilot-workspace.githubnext.com、githubcopilot.com。原先 Github ruleset
排在它后面,这 6 条全被 OpenAI&Anthropic 接管。

GitHub.list 里 github.com、githubusercontent.com、githubnext.com、
githubcopilot.com 四条 DOMAIN-SUFFIX 正好完整覆盖这 6 条,提前即可全部夺回,
无需逐条写内联规则。本地 OpenAI/Anthropic/Gemini/Cursor/Grok.list 已确认
不含任何 GitHub 域名,不受影响。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UxP6Vcsnw1gZFKv9QVsbMP
This commit is contained in:
ZLX
2026-09-10 18:41:04 +08:00
parent 980ad395b4
commit 6cef06c4b6
2 changed files with 11 additions and 6 deletions

View File

@@ -2,7 +2,8 @@
# 域名部分基于 https://github.com/blackmatrix7/ios_rule_script rule/Clash/GitHub/GitHub.list
# 本地改动:
# - 移除 DOMAIN-KEYWORD,github —— 会抢走 ChinaOnly.list 里的 kgithub.com 等国内镜像
# - githubcopilot.com / githubnext.com 保留作兜底, 实际由更靠前的 ai.list 命中并归入 AI 分组
# - githubcopilot.com / githubnext.com 归本组: ruleset 已排在所有 AI ruleset 之前,
# GitHub 全部域名(含 api.github.com 与 Copilot 系)不再被 OpenAI&Anthropic 接管
# IP 部分由 generate_github_rules.py 从 https://api.github.com/meta 生成, 见文件末尾标记块
DOMAIN-SUFFIX,atom.io