Warlock is a solid option for a 27 Harbinger's final three levels, absolutely not a trap.
Eldritch Patronage (the feat to scale with warlock) has some neat goodies, retains 30 CL, you gain the benefits of a minor pact which isn't insignificant, and you have access to practically all skills through Warlock if you've held your skillpoints. You'll get the level 28 benefits of Mortality Undone if you've taken that. Your eldritch blast is surprisingly strong due to the half scaling but probably not worth using over a cantrip or other ranged option.
I have no idea about a majority warlock with harbinger, at a glance I'm not really seeing any point to that.