An allowlist deciding what a rule applies to
BU-0007已驗證來源 ai_generated
A rule scoped by an allowlist applies to the listed cases and is absent for the rest, and absence is reported the same way as compliance: nothing.
根因
The set the rule applies to was written down instead of derived from what the rule is about.
修法
Derive the scope from the domain — here, resolve imports per language rather than filtering files by extension — and fail on an input the resolver does not recognise rather than skipping it.
可執行見證
修正前,測試失敗
修正後,同一測試通過
驗證者human
驗證於2026-08-03 10:05
判斷軌跡
- 為何 · 測試extension-allowlist-standing-in-for-the-rule2026-08-03 09:30 → 至今信心 0.96