Atomic Actions vs. Monolithic Scripts%3A Why Granularity Wins in Automation