Any time that KoLmafia calls its internal "retrieve item" function to make sure that something is in inventory, if you have autoSatisfyWithMall set to true, it will buy things from the mall, if necessary, and obey the autoBuyPriceLimit. Buying restoratives, buy ingredients for concoctions, whatever.
If you explicitly type the "acquire" command into the CLI, that calls the same function, but that is deemed to be YOUR decision, and, therefore, not "automated".
Considering that you can the CLI "acquire" command into a script - and it behaves the same as if you'd typed it into the CLI - it is weird that the ASH retrieve_item function does not behave the same way. Or, perhaps, that "acquire" does not behave the same way as retrieve_item, when executed from a script, although that would be the first time a command would behave differently from the CLI vs. from a script, which seems like a bad precedent.