Under the hood
Internal cleanup of the dangerous rm-with-unset-variable safety check, no visible behavior change
What
The safety check that warns about bash commands like rm -rf $UNSET/* (deleting based on a variable that might be empty or unset) now builds its warning message through a shared helper function instead of assembling the text inline. The check still fires under the same internal event name, tengu_bash_dangerous_rm_too_complex.
Why
This is an internal refactor; the warning shown to users for this kind of risky command is expected to stay the same.