- Source misc/core.func and misc/tools.func; reuse ensure_dependencies,
color/formatting/icons.
- Override silent() with a simple log-to-file wrapper so set -e and the
EXIT trap own all failure handling; apply $STD to the curl download
and the bash install in install_loop.
- Replace every "|| exit 0" whiptail bailout with a labeled cancelled()
call so silent exits become diagnosable.
- EXIT trap now prints orphan CTID cleanup hints + the last 20 lines of
the silent log on non-zero exit.
- Drop CLI flag parsing (--dry-run/--help) and inline comments.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>