Repeatability
High
Bash script debugging follows a consistent pattern: identify silent failure modes, quote variables for space-safe handling, add error trapping, and validate logic. The structure is the same every time this class of script is fixed.
Ambiguity Tolerance
High
The requirements are explicitly enumerated: compress yesterday's logs, delete logs older than 30 days, alert at 80% disk usage, fix silent failures, handle spaces in filenames. Success is objectively verifiable by reading the output script.
Data & Tool Availability
High
The agent only needs the broken script text, which is provided in the task. No live system access, credentials, or external APIs are required to produce a corrected script with inline comments.
Error Cost
Medium
A flawed script deployed to production could delete wrong files or miss alerts, but the deliverable is a static file for human review before deployment — not an autonomous action. The risk is real but gated by a human review step.
Human Judgment Required
Low
The fix is technical and rule-based: proper quoting, set -e/set -u, find flags, df parsing. No taste, ethics, or relationship context is needed — just solid shell scripting knowledge.