Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

127 Commits

Folders and files

Repository files navigation

CustomRules

This repository separates reviewed rule sources from generated client artifacts.

Branch contract

  • master: catalogs, manual sources, build scripts, workflows, Egern modules, Stash overrides, Sub-Store scripts, and icon assets/collections.
  • auto-build: generated rules only. Every rule artifact is marked AUTO-GENERATED. DO NOT EDIT.

Production rule URLs use:

https://raw.githubusercontent.com/SchweppesSoda/CustomRules/refs/heads/auto-build/...

Non-rule resources such as Egern/Modules/, Stash/ and Icons/ continue to use master.

Icons

Icons/ contains fixed PNG selections, mirrored Sub-Store collections, source provenance and original licenses. Use the selected collection or all packages. Weekly/manual icon sync has its own workflow, tests and dependency file under Icons/; it never builds rules or changes auto-build. Automatic library updates keep selected artwork fixed. See the icon guide for direct image URLs and source usage restrictions.

Unified client subscriptions

Reviewed sources produce shared domain, IP and classical sets for Mihomo, Stash and Egern. The rule guide describes source selection and client-specific semantics.

Shared China coverage

China coverage combines the pinned MetaCubeX snapshot with reviewed supplements and exclusions.

Conservative ad blocking

AdBlockLite, AdBlock and HTTPDNS have distinct sources and routing requirements; they are not interchangeable.

Migration validation

Validate consumers against verified artifacts before changing subscriptions. Retired clients stay outside active discovery.

Claude supplemental routing

Claude supplements cover optional telemetry and ASN routing without changing exit selection.

Policy aggregates

Policy aggregates preserve the exact member union and each client's rule conditions.

Egern rule partitions

Egern partitions preserve source order while separating domestic and overseas policy coverage.

Sources

Source ownership covers manual rules, catalogs, upstream declarations, generated airport markers and the pinned compiler.

Published formats

The format guide documents stable YAML, MRS and LIST paths, behavior and compatibility exceptions.

Safety and reproducibility

Build and validation explains the workflow's validation gates, reproducibility checks and bounded build evidence.

Stash and other non-rule resources

  • Egern 网络诊断雷达: native widgets combining local/exit IP information, ASN, IPPure risk and service probes, with medium/large layouts and scoped local caching.
  • Stash/Overrides/: reusable Stash modules.
  • Stash/Scripts/: scripts used by Stash modules.
  • Stash/Rules/: Stash-specific supplements.
  • Sub-Store/scripts/stash-provider-transform.js: provider transformation.

Maintenance entry points

AGENTS.md records the master / auto-build exception, checkout ownership, validation and commit rules. .github/workflows/sync-rules.yml owns generated publication; scripts/verify_consumers.py checks downstream subscription paths and behavior.

PO0 official reporting modules belong to VPS-Toolkit, and reusable maintenance workflows belong to proxy-vps-skills. Private client configuration and device recovery records remain outside this public repository.

Use ignored .tmp/ for disposable checks and .build/ for build/tool caches. Before cleanup, distinguish disposable output from unique recovery evidence; see temporary files and build evidence.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages