pub fn is_rewritable_command(cmd: &str) -> bool
Check if a command string matches a rewritable prefix (for hook handlers). Excludes Search, FileRead, and DirList (all have dedicated rewrite paths).