I've identified a few things I need in a contract to be a good fit for me, and one of those is a flexible management. I want a team and management that doesn't micro manage, is capable of adjusting to change, supports appropriate level of refactoring, and generally sticks to what I feel 'agile' development is suppose to be.
I want a manager that if I go to him and say I don't like a ticket because x they would be willing to say "hmm your right, maybe we should instead consider doing Y'. Not that they have to always agree with me, but they should listen to their programmers and be flexible enough to be willing to consider alternatives, honestly debate when feature creep or refactoring may be justifiable for long term growth vs when it's too excessive. I don't want management that is going to say you can't do that with a ticket because it will affect our burn rate, why should making a made up statistic look 'good' be one's top priority in decision making? In short folks who actually listen to their development team!
Furthermore while I know technical debt will always exist in a project, and to a certain degree developers are generally going to prefer cleaning it up more them management because we want to be proud of our code while management just wants something that meets customer needs, I also want to avoid management that accepts too high a level of technical debt without making any real efforts to cleaning it up.
And of course I just want pleasant manager. One that doesn't point fingers when bugs inevitable happens but instead focuses on fixing things, one that is willing to listen to a developer and try to tailor tickets to the developers interest (within reason, obviously some work just needs to be done rather or not it's enjoyable). A manager that's simple pleasant to deal with.
Of course I say I want this, but how do I know if I'm getting it? A contract feels like such an unknown when I go in. I can ask questions at an interview, but the people who are interviewing me will often say what they think I want to hear, I've been assured that their team is just like what I want when it totally wasn't on plenty of occasions. Even when I ask questions I don't really feel like I have any real understanding for what I'm getting myself into before I have to pick something and that I just have to pray it will work out.
So how do I ask questions that actually give me useful feedback on what the management and team will be like? How do I know going in if it's going to be a team and management structure I'll work well in or one I'll hate before I commit myself?