Agenda is reacting to some keystrokes typed in Alfred 4 bar, when it is active. E. g.: CMD+1, CMD+2 etc., and, in a very dangerous way, DELETE.
I thought Agenda was mysteriously corrupting notes until I realized I was erasing their contents without noticing while typing and correcting text in Alfred.