## Lesson — Refactor rule engines to surface warnings via callbacks

**Tags:** rule-engine, debugging, observability

Refactor rule engines to surface warnings via callbacks when files are skipped because they reside outside the project directory. This improves transparency by preventing silent failures when rules are unexpectedly not applied to target files.
