refactor(application): filter_rules.py 更名 rules.py 并合并 RuleHelper

规则域收敛为单一事实来源 app/application/rules.py:
- filter_rules.py 更名为 rules.py(内置规则集 + RuleParser)
- filter.py 仅含 66 行 RuleHelper(用户规则组配置访问),并入 rules.py
- 同步更新 5 处引用方导入、nettest stub 目标与架构文档
- 兼容映射 app.helper.rule 指向新路径,legacy 导入仍可用
This commit is contained in:
jxxghp
2026-08-16 17:13:51 +08:00
parent 6424f76e70
commit 5810f6bc2b
10 changed files with 82 additions and 80 deletions
+1 -1
View File
@@ -543,7 +543,7 @@ MODULE_ALIASES: Dict[str, ModuleAlias] = {
introduced="v3.0.0", owner="application",
),
"app.helper.rule": ModuleAlias(
target="app.application.filter", replacement="app.sdk.services",
target="app.application.rules", replacement="app.sdk.services",
introduced="v3.0.0", owner="application",
),
"app.helper.scraper": ModuleAlias(