//! Excluded-path filtering.
//!
//! Ports `EXCLUDED_PATHS` / `isExcludedPath` from
//! `packages/kindling-adapter-claude-code/src/claude-code/filter.ts` (the
//! plugin hook filter has no path rules; the adapter set is the canonical
//! one and is identical in the OpenCode adapter).
use OnceLock;
use Regex;
/// True if a file path should be excluded from capture.