c59d5b8c77
die() calls exit directly; bash's ERR trap does not fire on an explicit exit, only when a command's non-zero status propagates through normal control flow. Verified empirically during Task 4 implementation - switched to a ROLLBACK_ARMED-guarded EXIT trap, which fires on any shell exit.