# reset.sh — the DESTRUCTIVE half of `task reset`: remove build artifacts and the
# Task cache so the next bootstrap starts from nothing. Idempotent: safe to run
# repeatedly. The `task reset` task runs this and then `bootstrap.sh`, so this
# script intentionally does NOT reinstall or restore .env — keep each script
# Wired to `task reset` (which gates it behind a prompt).
log() { printf '\033[36m▸ %s\033[0m\n' "$*"; }
log "Removing build artifacts and the Task cache"
log "Clean baseline reached — run bootstrap to reinstall (task reset does this next)"