I assure you, your imputation is incorrect.
You provide useful historical context, the history of automata is fascinating but is not in any way counterfactual to Lovelace's primacy.
Automata certainly inspired A.I. & robotics, both the pioneers & modern roboticists like Tilden's BEAM and Brook's Behaviour-based robots, exploring mechanical intelligence. Automata influenced early British Cybernetics ( e.g. Grey Walter's Turtles ) & thence the schools of Artificial Life. Daniel Dennet's influential Theory of Mind cites Vaucason's duck automata among others.
I reiterate, if Babbage wrote a program we have no record today. Lovelace was capable of writing the program. Lovelace published one and that's what counts. Thus:
Lady Ada Lovelace was the 1st programmer.
Without clear and undisputable evidence to the contrary I shall side with Alan Turing on the matter, he cites both Lovelace & Babbage as inspirations.
your imputation is incorrect.
You confidently assert that ... gender stereotypes in the 19th
century, but magically believe they don't apply to you. What pixie-dust gives you that superpower? Babbage wrote a program we have no record today.
This is silly. His computer are the evidence. You cannot build a computer without thinking about (and writing) programs.
A master takes credit for nothing, and blame for everything. I remain convinced that Babbage 'used' Lovelace to popularise his
ideas, and that Lovelace merely help him writing.That may change in the future, given that we now have a lot of female scientists. OTOH, given the statistically undeniable inability of highly educated women to procreate, society will probably soon revert back to the traditional model.
BTW, you have not addressed the pixie-dust question.
Using numbers to represent syntax (what you lazily attribute to Lovelace too) is much older and can be found for example in Leibniz's 1666 "Dissertatio de arte combinatoria", where one finds a detailed exposition of a method to associate numbers with linguistic notions. I have no idea if Leibniz was the first to do this. Leibniz also built some early calculators/computers, and is thus a cornerstone of the tradition that lead to the emergence of computers. This tradition was known in Babbage's time, and most likely to Babbage.
In the light of all this, I remain convinced that Lovelace helped Babbage to write up and popularise his ideas.
[1] W. Zhao, Rendering the Illusion of Life: Art, Science and Politics in Automata from the Central European Princely Collections.
[2] D. Summers Stay, Machinamenta: The thousand year quest to build a creative machine.