We can use the placement mode setting in KWin to bypass the need to "maximize" after the window opens, KWin does this for us.
We keep the kwin maximize script to enforce docked mode changing window maximization (since the policy only affects new windows).
Upgrading on pmOS from Plasma 5, where we used to ship custom configs seems to have kwin get stuck having the kdecoration plugin disabled. Manually enable it.