pub fn filter_harmful_args(args: &[String]) -> Vec<String>Expand description
Removes automation-revealing flags from the argument list.
Iterates over the provided args and drops any that start with a prefix in
HARMFUL_ARGS. This is a safety net – even if a user adds --enable-automation
in extra_flags, it will be silently removed here.