It's working for me now. The trick was to always run the filter AFTER junk classification. Another user suggested this, but I've lost track of whom. If you really NEED to filter prior to junk classification, I guess you lose.
Thunderbird v115.6.0 (64-bit), MacOS 14.2.1 (apple silicon)My message filter (boiled down for debugging) consists of:When getting new mail, filter before junk classificationMatch: All messagesOne action: Tag with "filtered" tagIt never runs automatic...