This is continuation to below my earlier Question.
Context: I am a Lead Developer working for a US based client. Client operates on a client-vendor-employee model. My Employer is the vendor to the client. In our team there are other team members who are from different vendors.
Situation:I worked hard for an year and nurterd good team and prepare strong base for success of the project. My team members most of them belongs IT outsourcing Organization. After an year this Outsourcing Company shows competent teammember who are nurtured by me and take over the entire project and I lost my role and my plans in the project.
My IntentionI have talked with my manager and my manager shows me another good opportunity, where as I have to start again from Zero. Based on the past experience, I would like to avoid the earlier debacle.
What kind of preventive measures that I can took from starting?
Updates based on Comments
What Kind of Contract?
I am hired Employee for the Client. My Contract is getting extended as long as client have work for me.
Where Does Client and Vendor Live?
Both Live in USA in the same City.
What Country laws are you legally subject in your work
US Labor Laws