Exhibit A: the joke routine That’s Good / That’s Bad from an Archie Campbell comedy sketch — discussed in my 7/22/19 posting “Oh that’s good”.
Exhibit B: the principles that predict when a N + N compound in English has primary accent on the first (modifier) N (front stress, or forestress) and when that accent falls on the second (head) N (back stress, or afterstress) — discussed in my old paper “Forestress and afterstress”, (OSU Working Papers in Linguistics, 1986, viewable on-line here).
From a sufficiently abstract point of view, these two phenomena can be seen to be manifestations of a single scheme, which I’ll refer to as exception-triggered alternation.

