A compact logistics-aware mall that detects shortages, requests materials, crafts intermediate components internally, and supplies finished products to the logistic network.
It refuses to craft power poles and accumulators? Sometimes in my world the machines just flat out refuse to craft things in small amounts, eg. 2 substations, 1 accumulator, etc.