//! Windsurf / Cascade: `.windsurf/hooks.json`, `pre_write_code`.
//!
//! The event *is* the matcher here — there is a separate hook for reading
//! (`pre_read_code`) and for writing (`pre_write_code`), so Ralon registers
//! only the second and reads are never in question.
//!
//! Blocking is by exit code 2 alone; no output shape is documented for it. The
//! entry carries both `command` and `powershell` because Cascade picks by
//! platform, and a hook that only works on macOS would be worse than none on a
//! Windows machine — which is where Ralon's own enforcement is strongest, but
//! the hook still has to be honest about covering the agent.
use ;
pub const SETTINGS: &str = ".windsurf/hooks.json";
pub const EVENT: &str = "pre_write_code";