If the article's title I'm trying to save contains an ampersand, it treats the ampersand as part of the code.
As an example, see the following diff:
The bot was only supposed to recategorize the article, but wound up overwriting the article with the text from [[Day]].
Am I missing a simple way to get around this problem?
That's a bug. Please, download new version 2.7.