kb: 关于交叉检查 Rust/gen/content_types 和 YARA 规则覆盖的思考
作者: reyammer创建于 2026年10月1日更新于 2026年10月1日
Following #1515 and #1520, assets/content_types.yaml is now the human-editable source of truth for the content types knowledge base, and scripts/sync_kb.py validates it, derives rule_coverage ("full" | "partial" | "builtin" | "none") and in_ml_model (bool) from Rust/rules/rulesets/{full,partial}/*.yar and Rust/gen/model/config.min.json, and generates assets/content_types_kb.min.json (checked in CI by .GitHub/workflows/kb-check.yml).
Below are two optional follow-up ideas ("food for thought") around keeping the Rust crate codegen and rule parser tightly aligned with the KB metadata.
内容来源: google/magika