pub fn classify(
base_command: &Word,
words: &[Word],
kb: &KnowledgeBase,
) -> CommandInfoExpand description
Classify a command using the knowledge base.
Takes the base command name and the full word list (including the command
itself). Returns a CommandInfo describing the command’s effect,
subcommand, escalation flags, affected paths, and env gates.