//! Content filtering for kindling observations.
//!
//! Secret masking, length truncation, excluded-path filtering. Owned by the
//! server side (daemon) so non-Rust consumers cannot accidentally bypass the
//! redactions.
//!
//! The canonical behaviour reference is the production hook filter at
//! `plugins/kindling-claude-code/hooks/lib/filter.js` (this is what the Rust
//! hook path replaces in PORT-015); the excluded-path rules come from
//! `packages/kindling-adapter-claude-code/src/claude-code/filter.ts`, which
//! has no equivalent in the hook filter. Snapshot tests in
//! `tests/node_fixtures.rs` pin the output byte-for-byte against fixtures
//! generated by the actual Node.js implementations.
pub use is_excluded_path;
pub use ;
pub use ;
pub use ;
/// Filter content with all safety rules: mask secrets when detected, then
/// truncate to [`MAX_CONTENT_LENGTH`]. Mirrors `filterContent` in the
/// Node.js hook filter.