By the first law, we know $\text{d}U=\delta Q+\delta W$ and, on adiabats, we know $\text{d} U=\delta W$. But what is $\delta W$ for irreversible adiabatic processes? Take a thermally isolated container. If I stir it, I increase it's energy but clearly $-p\text{d}V$ is $0$ because the volume didn't increase. This leads me to believe that $-p\text{d}V$ only applies for reversible adiabats. Fair enough. This means the definition of work depends on the path even within just the adiabatic curves but, for a general thermodynamic system, what is this definition? Or must be it be defined for every new system?
Edit: To clarify my question, consider processes that are only quasistatic which are well-defined continuous paths on the state space. For reversible processes, we can go straight from looking at the path in the state space to the work done if we know it is adiabatic. For irreversible adiabats, is this possible for a general thermodynamic system or must we always appeal to the physical realization of such process to determine it?