We propose a reframing of thermodynamics in which the fundamental object is not the state, but the trajectory.
Entropy does not count how many states exist. It measures how many futures remain executable from the present. Irreversibility arises because dynamics progressively eliminate paths. Once a constraint is enforced, the process cannot proceed otherwise. Time has a direction because options do not come back.
The second law is not about disorder. It is about constraint accumulation. Free energy measures the cost of continuing motion. Systems evolve toward trajectories that are easier to sustain and harder to escape.
Phase transitions occur when many possible trajectories collapse into a small set. After collapse, motion becomes stable and constrained. Learning transitions, including grokking, follow the same rule.