Decide how AI helps with a failing release script
Your task
Your release job failed a minute ago with line 212: RELEASE_TAG: unbound variable. It comes from release.sh, a 300-line Bash script written 2 years ago by someone who has left. It tags the build, runs database migrations and switches traffic to the new version. Nobody on the team knows it well, and a release is waiting.
You could paste the script and the error into a chat assistant and ask what is going on. Or you could point a coding agent at the repo and tell it to fix the release.
Which do you reach for first, and why?
It covers
- Tool selection
- Exploratory vs known