Highly recommend getting out of there and looking for a new job. Depending on your financial situation I'd either get out this very moment or try to hold on another paycheck or two while sending out resumes and taking phone screens.
Judging based on your pastebin I'd say that K is incompetent both on a technical (busy work and response times of backend calls) and on a people level (highly political, doesn't bother with proper requirements/communications). You can't change K and it might be a long time before she will get herself in trouble and eventually fired. So, waiting this one out is not an option, good luck finding something new, ping me if you need some leads.